package jetbrains.mps.lang.dataFlow.analyzers.generator.template.main; /*Generated by MPS */ import jetbrains.mps.generator.runtime.Generated; import jetbrains.mps.generator.crossmodel.ExportLabelContext; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; import jetbrains.mps.internal.collections.runtime.ListSequence; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations; import jetbrains.mps.internal.collections.runtime.IVisitor; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; @Generated public class ExportLabelFunctions { public static void marshal_6332494575505825672(final ExportLabelContext ctx) { SPropertyOperations.set(ctx.getKeeper(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), SPropertyOperations.getString(ctx.getOutput(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); ListSequence.fromList(SLinkOperations.getChildren(ctx.getOutput(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101d9d3ca30L, 0x4a9a46de59132803L, "member"))).visitAll(new IVisitor<SNode>() { public void visit(SNode it) { ListSequence.fromList(SLinkOperations.getChildren(ctx.getKeeper(), MetaAdapterFactory.getContainmentLink(0x97a52717898f4598L, 0x8150573d9fd03868L, 0x57e18a43f31d0ef6L, 0x3dafeb069349ceeaL, "member"))).addElement(SNodeOperations.copyNode(it)); } }); } public static void marshal_1417545764634750374(final ExportLabelContext ctx) { SPropertyOperations.set(ctx.getKeeper(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), SPropertyOperations.getString(ctx.getOutput(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); ListSequence.fromList(SLinkOperations.getChildren(ctx.getOutput(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101d9d3ca30L, 0x4a9a46de59132803L, "member"))).visitAll(new IVisitor<SNode>() { public void visit(SNode it) { ListSequence.fromList(SLinkOperations.getChildren(ctx.getKeeper(), MetaAdapterFactory.getContainmentLink(0x97a52717898f4598L, 0x8150573d9fd03868L, 0x13ac225cc9e9f5bfL, 0x3dafeb06931e61abL, "member"))).addElement(SNodeOperations.copyNode(it)); } }); } public static void unmarshal_6332494575505825674(final ExportLabelContext ctx) { SPropertyOperations.set(ctx.getOutput(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), SPropertyOperations.getString(ctx.getKeeper(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); ListSequence.fromList(SLinkOperations.getChildren(ctx.getKeeper(), MetaAdapterFactory.getContainmentLink(0x97a52717898f4598L, 0x8150573d9fd03868L, 0x57e18a43f31d0ef6L, 0x3dafeb069349ceeaL, "member"))).visitAll(new IVisitor<SNode>() { public void visit(SNode it) { ListSequence.fromList(SLinkOperations.getChildren(ctx.getOutput(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101d9d3ca30L, 0x4a9a46de59132803L, "member"))).addElement(SNodeOperations.copyNode(it)); } }); } public static void unmarshal_1417545764634750376(final ExportLabelContext ctx) { SPropertyOperations.set(ctx.getOutput(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), SPropertyOperations.getString(ctx.getKeeper(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); ListSequence.fromList(SLinkOperations.getChildren(ctx.getKeeper(), MetaAdapterFactory.getContainmentLink(0x97a52717898f4598L, 0x8150573d9fd03868L, 0x13ac225cc9e9f5bfL, 0x3dafeb06931e61abL, "member"))).visitAll(new IVisitor<SNode>() { public void visit(SNode it) { ListSequence.fromList(SLinkOperations.getChildren(ctx.getOutput(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101d9d3ca30L, 0x4a9a46de59132803L, "member"))).addElement(SNodeOperations.copyNode(it)); } }); } }