Package jetbrains.mps.generator.runtime
Interface WeavingWithAnchor
- 
- All Known Subinterfaces:
 TemplateWeavingRule
- All Known Implementing Classes:
 TemplateWeavingRuleInterpreted,WeaveRuleBase
public interface WeavingWithAnchorCommon interface for weave macro and weave rule to answer location to weave node into.- Since:
 - 3.3
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SNodegetAnchorNode(TemplateContext context, SNode outputParent, SNode outputNode)anchor node to followoutputNodein the children list ofoutputParent,nullindicating 'end of the list', 
 - 
 
- 
- 
Method Detail
- 
getAnchorNode
@Nullable SNode getAnchorNode(@NotNull TemplateContext context, @NotNull SNode outputParent, @NotNull SNode outputNode) throws GenerationFailureException
anchor node to followoutputNodein the children list ofoutputParent,nullindicating 'end of the list',- Throws:
 GenerationFailureException
 
 - 
 
 -