13.18. slot merge
Aus Hugo Doku
@#slot_merge<![flag, ]slot_id, [merge_strategy ] !>
Description:
While calling the slot with the given slot_id the output of this slot is merged with all other outputs on this location. E.g. imagine your slot_id outputs something like an import instruction. Several Frame objects then can result in multiple occurence of the same import instruction. To avoid this, use slot_merge, which merges all the outputs.
Parameter:
| Name | Type | Meaning |
|---|---|---|
| flag | boolean | Flag, if set to true, the function is called, otherwise not. (Default-Value: true) |
| slot_id | String | Name of the slot, which is called. |
| merge_strategy | IMergeStrategy | An object, which implements a merge_strategy, which should be used when merging. |
Next: 13.19. invoke
