Package jetbrains.mps.generator.runtime
Interface ApplySink
- 
- All Known Implementing Classes:
 CollectorSink
public interface ApplySinkPROVISIONAL INTERFACE, NOT IN USE Alternative toFragmentResultas return value, this is a context object to get populated by template, that is, instead of crafting nodes and wrapping them with aFragmentResultobjects, template could pipe created nodes right into the sink for consumption (either regular 'apply' or sophisticated 'weave').- Since:
 - 2018.3
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(SContainmentLink aggregation, Collection<SNode> nodes)voidadd(SContainmentLink aggregation, SNode node)voidadd(SNode node) 
 - 
 
- 
- 
Method Detail
- 
add
void add(SNode node) throws GenerationFailureException
- Throws:
 GenerationFailureException
 
- 
add
void add(SContainmentLink aggregation, SNode node) throws GenerationFailureException
- Throws:
 GenerationFailureException
 
- 
add
void add(SContainmentLink aggregation, Collection<SNode> nodes) throws GenerationFailureException
- Throws:
 GenerationFailureException
 
 - 
 
 -