@Override public Collection<SNode> weave( @NotNull NodeWeaveFacility.WeaveContext weaveContext, @NotNull NodeWeaveFacility weaveSupport) throws GenerationException { final TemplateContext templateContext = weaveSupport.getTemplateContext(); SNode tnodepart0 = applyPart0(templateContext); weaveSupport.weaveNode( MetaAdapterFactory.getContainmentLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer"), tnodepart0); return TemplateUtil.singletonList(tnodepart0); }
@Override public Collection<SNode> weave( @NotNull NodeWeaveFacility.WeaveContext weaveContext, @NotNull NodeWeaveFacility weaveSupport) throws GenerationException { final TemplateContext templateContext = weaveSupport.getTemplateContext().subContext(getParametersAsMap()); SNode tnodepart0 = applyPart0(templateContext); weaveSupport.weaveNode( MetaAdapterFactory.getContainmentLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b200L, 0xf8cc6bf961L, "statement"), tnodepart0); return TemplateUtil.singletonList(tnodepart0); }
public Collection<SNode> weave( @NotNull TemplateExecutionEnvironment environment, @NotNull TemplateContext context, @NotNull SNode outputContextNode) throws GenerationException { SNode tnodepart0 = applyPart0(environment, context); SNodeReference weaveTf0 = new SNodePointer( "r:592e27b6-d258-4bf2-9e32-25019862e1f1(jetbrains.mps.traceInfo.testWeavingGenerated.data.generator.template.main@generator)", "6186432342008522553"); NodeWeaveFacility weaveSupport0 = environment.weaveNode(context, weaveTf0); weaveSupport0.weave( outputContextNode, MetaAdapterFactory.getContainmentLink( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101d9d3ca30L, 0x4a9a46de59132803L, "member"), tnodepart0); return TemplateUtil.singletonList(tnodepart0); }