package jetbrains.mps.lang.generator.generator.baseLanguage.template.main;
/*Generated by MPS */
import jetbrains.mps.generator.runtime.Generated;
import jetbrains.mps.generator.impl.query.QueryProviderBase;
import jetbrains.mps.generator.template.CreateRootRuleContext;
import jetbrains.mps.internal.collections.runtime.ListSequence;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import jetbrains.mps.internal.collections.runtime.IWhereFilter;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations;
import jetbrains.mps.generator.template.DropRootRuleContext;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.AttributeOperations;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.IAttributeDescriptor;
import jetbrains.mps.internal.collections.runtime.Sequence;
import jetbrains.mps.generator.template.BaseMappingRuleContext;
import jetbrains.mps.generator.impl.GeneratorUtilEx;
import jetbrains.mps.generator.template.PropertyMacroContext;
import jetbrains.mps.generator.template.TemplateFunctionMethodName;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations;
import jetbrains.mps.generator.impl.template.VariableNameSource;
import jetbrains.mps.util.NameUtil;
import jetbrains.mps.lang.generator.generator.baseLanguage.template.util.GenUtil;
import jetbrains.mps.lang.generator.behavior.LoopMacro__BehaviorDescriptor;
import jetbrains.mps.generator.impl.template.MetaObjectGenerationHelper;
import jetbrains.mps.generator.impl.GeneratorUtil;
import jetbrains.mps.lang.core.behavior.PropertyAttribute__BehaviorDescriptor;
import jetbrains.mps.lang.core.behavior.LinkAttribute__BehaviorDescriptor;
import org.jetbrains.mps.openapi.model.SReference;
import jetbrains.mps.lang.pattern.behavior.PatternVarsUtil;
import jetbrains.mps.lang.generator.behavior.VarMacro__BehaviorDescriptor;
import jetbrains.mps.smodel.adapter.ids.MetaIdHelper;
import jetbrains.mps.generator.impl.CrossModelUtil;
import org.jetbrains.mps.openapi.language.SConcept;
import org.jetbrains.mps.openapi.language.SProperty;
import org.jetbrains.mps.openapi.language.SReferenceLink;
import org.jetbrains.mps.openapi.language.SContainmentLink;
import jetbrains.mps.generator.template.ReferenceMacroContext;
import jetbrains.mps.baseLanguage.behavior.ClassConcept__BehaviorDescriptor;
import jetbrains.mps.generator.template.IfMacroContext;
import jetbrains.mps.lang.generator.behavior.NodeMacro__BehaviorDescriptor;
import jetbrains.mps.generator.impl.RuleUtil;
import java.util.List;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.lang.generator.behavior.BaseMappingRule__BehaviorDescriptor;
import jetbrains.mps.lang.generator.behavior.TemplateSwitchMacro__BehaviorDescriptor;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodeContext;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SConceptOperations;
import jetbrains.mps.lang.smodel.behavior.ConceptId__BehaviorDescriptor;
import jetbrains.mps.lang.smodel.behavior.PropertyId__BehaviorDescriptor;
import jetbrains.mps.lang.smodel.behavior.ReferenceLinkId__BehaviorDescriptor;
import jetbrains.mps.lang.smodel.behavior.ContainmentLinkId__BehaviorDescriptor;
import jetbrains.mps.baseLanguage.behavior.ConceptFunction__BehaviorDescriptor;
import jetbrains.mps.baseLanguage.closures.constraints.ClassifierTypeUtil;
import jetbrains.mps.lang.pattern.behavior.PatternExpression__BehaviorDescriptor;
import java.util.Iterator;
import jetbrains.mps.typesystem.inference.TypeChecker;
import jetbrains.mps.generator.template.TemplateArgumentContext;
import jetbrains.mps.internal.collections.runtime.ITranslator2;
import jetbrains.mps.internal.collections.runtime.ISelector;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodesContext;
import java.util.ArrayList;
import org.jetbrains.mps.openapi.model.SModel;
import jetbrains.mps.generator.template.MapSrcMacroPostProcContext;
import jetbrains.mps.generator.template.MappingScriptContext;
import jetbrains.mps.baseLanguage.behavior.IOperation__BehaviorDescriptor;
import jetbrains.mps.lang.generator.generationContext.behavior.GenerationContextOp_PatternRef__BehaviorDescriptor;
import jetbrains.mps.lang.generator.behavior.IGeneratorParameter__BehaviorDescriptor;
import org.jetbrains.mps.openapi.model.SModelReference;
import jetbrains.mps.generator.template.TemplateQueryContext;
import jetbrains.mps.generator.template.TemplateVarContext;
import java.util.Map;
import jetbrains.mps.generator.impl.query.ReductionRuleCondition;
import java.util.HashMap;
import org.jetbrains.annotations.NotNull;
import jetbrains.mps.generator.impl.query.QueryKey;
import jetbrains.mps.generator.template.ReductionRuleQueryContext;
import jetbrains.mps.generator.impl.GenerationFailureException;
import jetbrains.mps.generator.impl.query.MapRootRuleCondition;
import jetbrains.mps.generator.template.MapRootRuleContext;
import jetbrains.mps.generator.impl.query.CreateRootCondition;
import jetbrains.mps.generator.impl.query.DropRuleCondition;
import jetbrains.mps.generator.impl.query.ScriptCodeBlock;
import jetbrains.mps.generator.impl.query.MapConfigurationCondition;
import jetbrains.mps.generator.impl.query.SourceNodeQuery;
import jetbrains.mps.generator.impl.query.QueryKeyImpl;
import org.jetbrains.annotations.Nullable;
import jetbrains.mps.generator.impl.query.SourceNodesQuery;
import java.util.Collection;
import jetbrains.mps.util.IterableUtil;
import jetbrains.mps.generator.impl.query.PropertyValueQuery;
import jetbrains.mps.generator.impl.query.IfMacroCondition;
import jetbrains.mps.generator.impl.query.ReferenceTargetQuery;
import jetbrains.mps.generator.impl.query.VariableValueQuery;
import jetbrains.mps.generator.impl.query.CallArgumentQuery;
import jetbrains.mps.generator.impl.query.MapPostProcessor;
@Generated
public class QueriesGenerated extends QueryProviderBase {
public QueriesGenerated() {
super(1);
}
public static boolean createRootRule_Condition_9109410030988282270(final CreateRootRuleContext _context) {
return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))).any(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return ListSequence.fromList(SLinkOperations.getChildren(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x2aa0a7e0ae5c5367L, "exports"))).isNotEmpty();
}
});
}
public static boolean dropRootRule_Condition_4914935534439454950(final DropRootRuleContext _context) {
if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c108ca66L, "jetbrains.mps.baseLanguage.structure.ClassConcept"))) {
final SNode generatedAnn = SNodeOperations.getNode("6ed54515-acc8-4d1e-a16c-9fd6cfe951ea/java:jetbrains.mps.generator.runtime(MPS.Core/)", "~Generated");
return AttributeOperations.getAttribute(_context.getNode(), new IAttributeDescriptor.NodeAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11017244494L, "jetbrains.mps.lang.generator.structure.RootTemplateAnnotation"))) != null || Sequence.fromIterable(SLinkOperations.collect(SLinkOperations.getChildren(SNodeOperations.as(_context.getNode(), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c108ca66L, "jetbrains.mps.baseLanguage.structure.ClassConcept")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x114a6be947aL, 0x114a6beb0bdL, "annotation")), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x114a6b4ccabL, 0x114a6b85d40L, "annotation"))).all(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return it != generatedAnn;
}
});
}
return true;
}
public static boolean baseMappingRule_Condition_747214206848656615(final BaseMappingRuleContext _context) {
return AttributeOperations.getAttribute(_context.getNode(), new IAttributeDescriptor.NodeAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11017244494L, "jetbrains.mps.lang.generator.structure.RootTemplateAnnotation"))) != null;
}
public static boolean baseMappingRule_Condition_2489587833474146248(final BaseMappingRuleContext _context) {
return GeneratorUtilEx.shallGenerateFunctionToEvaluate(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212910601107(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.createRootRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854cL, "conditionFunction")));
}
public static Object propertyMacro_GetPropertyValue_1071051212910861396(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.dropRootRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad314d7L, "conditionFunction")));
}
public static Object propertyMacro_GetPropertyValue_4325729345997000398(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.dropAttributeRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x67b585b44f4df327L, "condition")));
}
public static Object propertyMacro_GetPropertyValue_1071051212910901336(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212910958956(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.propertyMacro_GetPropertyValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, 0x10fe3b4023fL, "propertyValueFunction")));
}
public static Object propertyMacro_GetPropertyValue_1071051212910998621(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.referenceMacro_GetReferent(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, 0x10fe489d9feL, "referentFunction")));
}
public static Object propertyMacro_GetPropertyValue_1071051212911058298(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.ifMacro_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x10feeff8ac3L, "conditionFunction")));
}
public static Object propertyMacro_GetPropertyValue_1071051212911080361(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_8080464361018862848(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.templateArgumentQuery((SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression")) ? SLinkOperations.getTarget(SNodeOperations.as(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, 0x380132d742e94e82L, "query")) : _context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_1071051212911233830(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212911685726(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_MapperFunction(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212911736057(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212911793786(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.weaving_MappingRule_ContextNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x113d0a12fc5L, "contextNodeQuery")));
}
public static Object propertyMacro_GetPropertyValue_1021062414717397609(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.weaving_AnchorQuery(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212911821257(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.mappingScript_CodeBlock(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x116596b2f70L, "codeBlock")));
}
public static Object propertyMacro_GetPropertyValue_1071051212912069051(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.patternRule_Condition(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_1071051212911979113(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.mappingConfiguration_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x6cab949e66d5b3bbL, "condition")));
}
public static Object propertyMacro_GetPropertyValue_1071051212912007398(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.insertMacro_Query(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1231e32ff7a958ceL, 0x1231e32ff7a9efcdL, "createNodeQuery")));
}
public static Object propertyMacro_GetPropertyValue_1071051212912036150(final PropertyMacroContext _context) {
return TemplateFunctionMethodName.varValue_Query(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, 0x45991daad6a644d4L, "value")));
}
public static Object propertyMacro_GetPropertyValue_6304885153124990689(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6304885153124990610(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_5898140574782661229(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5070605274413823535(final PropertyMacroContext _context) {
return "my" + NameUtil.capitalize(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_5070605274413823604(final PropertyMacroContext _context) {
return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5070605274413823668(final PropertyMacroContext _context) {
return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2367250605808799510(final PropertyMacroContext _context) {
// to keep name of the variable "context" even if I need to create subContext with name, alter name of the parameter
// if there's ML, local variable "context" would get declared
return ((SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")) != null) ? "contextNoLabel" : "context");
}
public static Object propertyMacro_GetPropertyValue_5070605274413823760(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_1669041086427295498(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5070605274413825597(final PropertyMacroContext _context) {
return "applyPart" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_5070605274413823491(final PropertyMacroContext _context) {
return GenUtil.asIdentifier("Template_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_99767819676237359(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676237422(final PropertyMacroContext _context) {
return "loopList" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_6635545314666844192(final PropertyMacroContext _context) {
return "loopIndex_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047ce009c3L, 0x671e792f3d97a344L, "counterVarName")) + "_" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676237438(final PropertyMacroContext _context) {
return "itnode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676237520(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676237539(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_6635545314666879616(final PropertyMacroContext _context) {
return (String) LoopMacro__BehaviorDescriptor.getCounterVarName_id5KmckUrI7Lz.invoke(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_99767819676237604(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6437850093717217532(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(SNodeOperations.getConcept(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_8285036680620207089(final PropertyMacroContext _context) {
return GenUtil.saveNodeVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0], false);
}
public static Object propertyMacro_GetPropertyValue_4155486055398183477(final PropertyMacroContext _context) {
return GeneratorUtil.getTemplateNodeId(_context.getOriginalCopiedInputNode(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_3413262193426133452(final PropertyMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x2f5e57e174670914L, "propertyIndex"));
}
public static Object propertyMacro_GetPropertyValue_2338220375237878109(final PropertyMacroContext _context) {
return NameUtil.escapeString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x746e600f0bda67f9L, "propertyValue")));
}
public static Object propertyMacro_GetPropertyValue_3413262193426185159(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_2338220375237894689(final PropertyMacroContext _context) {
SNode original = SNodeOperations.getParent(_context.getNode());
return original.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_3413262193427304317(final PropertyMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex"));
}
public static Object propertyMacro_GetPropertyValue_3413262193427369237(final PropertyMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex"));
}
public static Object propertyMacro_GetPropertyValue_2338220375238797115(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, "jetbrains.mps.lang.generator.structure.GeneratorInternal_ReferenceDescriptor")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, 0x2073070af8a5157eL, "targetModel"));
}
public static Object propertyMacro_GetPropertyValue_2338220375238797128(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, "jetbrains.mps.lang.generator.structure.GeneratorInternal_ReferenceDescriptor")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, 0x2073070af8a51580L, "targetNodeId"));
}
public static Object propertyMacro_GetPropertyValue_3413262193427392384(final PropertyMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex"));
}
public static Object propertyMacro_GetPropertyValue_4155486055398184031(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, "jetbrains.mps.lang.generator.structure.GeneratorInternal_InternalReferenceDescriptor")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, 0x2073070af8a4e533L, "templateNodeId"));
}
public static Object propertyMacro_GetPropertyValue_4565390460241594511(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, "jetbrains.mps.lang.generator.structure.GeneratorInternal_InternalReferenceDescriptor")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, 0x2073070af8a4e535L, "resolveInfo"));
}
public static Object propertyMacro_GetPropertyValue_3413262193426266134(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(LinkAttribute__BehaviorDescriptor.getLink_id1avfQ4BEFo6.invoke(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_4219501964100097020(final PropertyMacroContext _context) {
SReference ref = SNodeOperations.getParent(_context.getNode()).getReference(AttributeOperations.getLink(_context.getNode()));
if (ref == null) {
return "";
}
SNode target = jetbrains.mps.util.SNodeOperations.getTargetNodeSilently(ref);
if (target != null && SNodeOperations.isInstanceOf(target, MetaAdapterFactory.getInterfaceConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, "jetbrains.mps.lang.core.structure.INamedConcept"))) {
return SPropertyOperations.getString(SNodeOperations.cast(target, MetaAdapterFactory.getInterfaceConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, "jetbrains.mps.lang.core.structure.INamedConcept")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
String resolveInfo = ((jetbrains.mps.smodel.SReference) ref).getResolveInfo();
if (resolveInfo != null) {
return resolveInfo;
}
return "";
}
public static Object propertyMacro_GetPropertyValue_7748672315440951459(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_3413262193426337447(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(_context.getNode().getContainmentLink());
}
public static Object propertyMacro_GetPropertyValue_3413262193426462306(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(_context.getNode().getContainmentLink());
}
public static Object propertyMacro_GetPropertyValue_1246578104714225930(final PropertyMacroContext _context) {
return "child" + ++((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_3413262193426490675(final PropertyMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).record(_context.getNode().getContainmentLink());
}
public static Object propertyMacro_GetPropertyValue_8196331069071119405(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676501654(final PropertyMacroContext _context) {
return "callInputNode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676501738(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676501766(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_99767819676501945(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676502083(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_4155486055398088682(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_4155486055398088745(final PropertyMacroContext _context) {
return "copySrcInput" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_439634159192472878(final PropertyMacroContext _context) {
return GeneratorUtil.getTemplateNodeId(_context.getOriginalCopiedInputNode(SNodeOperations.getParent(_context.getNode())));
}
public static Object propertyMacro_GetPropertyValue_2197859704660436416(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_747214206848678950(final PropertyMacroContext _context) {
return GenUtil.asIdentifier("Template_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_1104862325080102158(final PropertyMacroContext _context) {
return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_1104862325080104985(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x113e48b50faL, "topPriorityGroup"));
}
public static Object propertyMacro_GetPropertyValue_4429320018138031261(final PropertyMacroContext _context) {
return GenUtil.asIdentifier("Mapping_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_4155486055398088841(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_4155486055398089017(final PropertyMacroContext _context) {
return "copyListInput" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_439634159192472864(final PropertyMacroContext _context) {
return GeneratorUtil.getTemplateNodeId(_context.getOriginalCopiedInputNode(SNodeOperations.getParent(_context.getNode())));
}
public static Object propertyMacro_GetPropertyValue_2197859704660389765(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_8961331321403205875(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676502773(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676502791(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_99767819676502956(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676503179(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676503236(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676503306(final PropertyMacroContext _context) {
return "sourceNode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676503352(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676503380(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_8196331069071058928(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676502136(final PropertyMacroContext _context) {
return "callInputNode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676502248(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_99767819676502464(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_1749921652111953143(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676503594(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_99767819676503670(final PropertyMacroContext _context) {
return "sourceList" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676503685(final PropertyMacroContext _context) {
return "itnode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676503728(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_99767819676503747(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_99767819676504012(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5851073518441517513(final PropertyMacroContext _context) {
return "mapSrcOutput" + ++((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_4155486055398308291(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_5898456405536876912(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11013931abdL, 0x11055b6dd7bL, "generatorMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c67157L, "messageText"));
}
public static Object propertyMacro_GetPropertyValue_5898456405536884428(final PropertyMacroContext _context) {
return _context.createUniqueName("ex", SNodeOperations.getContainingRoot(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_1147906725605420839(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_1147906725605070488(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_2226924809855981419(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_3571912445009832360(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_3571912445009832376(final PropertyMacroContext _context) {
return "weaveEachList" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_5390171681995367031(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc6d8f674L, "applyToConceptInheritors"));
}
public static Object propertyMacro_GetPropertyValue_9191117361655049561(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_1147906725605225580(final PropertyMacroContext _context) {
int index = -1;
if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"))).indexOf(_context.getNode());
} else if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, "jetbrains.mps.lang.generator.structure.TemplateSwitch"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, "jetbrains.mps.lang.generator.structure.TemplateSwitch")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"))).indexOf(_context.getNode());
}
if (index == -1) {
return _context.createUniqueName("ReductionRule", SNodeOperations.getParent(_context.getNode()));
}
return "ReductionRule" + index;
}
public static Object propertyMacro_GetPropertyValue_3615289984452243753(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc6d8f674L, "applyToConceptInheritors"));
}
public static Object propertyMacro_GetPropertyValue_3615289984452265167(final PropertyMacroContext _context) {
return SPropertyOperations.hasValue(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fd54746dbL, 0x11243d5018aL, "keepSourceRoot"), "true", null);
}
public static Object propertyMacro_GetPropertyValue_9191117361655049511(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_1949333268577554902(final PropertyMacroContext _context) {
int index = -1;
if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"))).indexOf(_context.getNode());
}
if (index == -1) {
return _context.createUniqueName("RootMappingRule", SNodeOperations.getParent(_context.getNode()));
}
return "RootMappingRule" + index;
}
public static Object propertyMacro_GetPropertyValue_3876694689067951568(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c67157L, "messageText"));
}
public static Object propertyMacro_GetPropertyValue_3876694689067952313(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c67157L, "messageText"));
}
public static Object propertyMacro_GetPropertyValue_3876694689067952360(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c67157L, "messageText"));
}
public static Object propertyMacro_GetPropertyValue_1940510396026567414(final PropertyMacroContext _context) {
return GenUtil.asIdentifier("Switch_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_8196331069071255561(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2321430363679348482(final PropertyMacroContext _context) {
return "mapSrcOutput" + ++((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_99767819676169157(final PropertyMacroContext _context) {
SNode original = _context.getOriginalCopiedInputNode(_context.getNode());
return SNodeOperations.getModel(original).getReference().toString();
}
public static Object propertyMacro_GetPropertyValue_99767819676169177(final PropertyMacroContext _context) {
SNode original = _context.getOriginalCopiedInputNode(_context.getNode());
return original.getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5659786285834812664(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x457655815a794e79L, 0x457655815a794e7aL, "parameter")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_9191117361655049416(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x1179c9e8cacL, "label")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2802008106680387215(final PropertyMacroContext _context) {
int index = -1;
if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"))).indexOf(_context.getNode());
}
if (index == -1) {
return _context.createUniqueName("CreateRootRule", SNodeOperations.getParent(_context.getNode()));
}
return "CreateRootRule" + index;
}
public static Object propertyMacro_GetPropertyValue_2802008106680387170(final PropertyMacroContext _context) {
return ((String) _context.getVariable("className"));
}
public static Object propertyMacro_GetPropertyValue_59720043761737692(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc6d8f674L, "applyToConceptInheritors"));
}
public static Object propertyMacro_GetPropertyValue_9191117361655150455(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2802008106680349013(final PropertyMacroContext _context) {
int index = -1;
if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"))).indexOf(_context.getNode());
}
if (index == -1) {
return _context.createUniqueName("WeavingRule", SNodeOperations.getParent(_context.getNode()));
}
return "WeavingRule" + index;
}
public static Object propertyMacro_GetPropertyValue_9191117361655049724(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebbaL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2802008106680387020(final PropertyMacroContext _context) {
int index = -1;
if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))) {
index = ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"))).indexOf(_context.getNode());
}
if (index == -1) {
return _context.createUniqueName("PatternRule", SNodeOperations.getParent(_context.getNode()));
}
return "PatternRule" + index;
}
public static Object propertyMacro_GetPropertyValue_1783393805964901684(final PropertyMacroContext _context) {
return _context.getOriginalInputModel().getReference().toString();
}
public static Object propertyMacro_GetPropertyValue_7635689088545006189(final PropertyMacroContext _context) {
return jetbrains.mps.util.SNodeOperations.getModelLongName(_context.getOriginalInputModel());
}
public static Object propertyMacro_GetPropertyValue_2100259113989702578(final PropertyMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).count();
}
public static Object propertyMacro_GetPropertyValue_2990947723228973264(final PropertyMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfe43cb41d0L, "jetbrains.mps.lang.generator.structure.TemplateDeclaration")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).indexOf(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_8371596541809419362(final PropertyMacroContext _context) {
SNode vardecl = null;
if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPatternVarRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPatternVarRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, 0x40be82ad503b3ec4L, "patternVarDecl"));
} else if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPropertyPatternRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPropertyPatternRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, 0x42d71bfbeb1a5de9L, "propertyPattern"));
} else if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, "jetbrains.mps.lang.generator.structure.TemplateArgumentLinkPatternRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, "jetbrains.mps.lang.generator.structure.TemplateArgumentLinkPatternRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, 0x42d71bfbeb1a5deaL, "patternVar"));
}
if ((vardecl == null)) {
_context.showErrorMessage(_context.getNode(), "unknown pattern reference");
return "????";
}
return PatternVarsUtil.getFieldName(vardecl);
}
public static Object propertyMacro_GetPropertyValue_9191117361655150336(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_1368513600865828086(final PropertyMacroContext _context) {
String val = ((GenUtil.isNodeVariable(_context, SNodeOperations.getParent(_context.getNode())) ? "tnodepart" : "tlistpart")) + ((Integer) _context.getVariable("index"));
// FIXME Does anyone care about name associated with weave's TF? Why do we save it here?
_context.putTransientObject(_context.getNode(), val);
return val;
}
public static Object propertyMacro_GetPropertyValue_9196441569928398217(final PropertyMacroContext _context) {
return "'" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")) + "' (" + _context.getOriginalInputModel().getReference().getModelName() + ")";
}
public static Object propertyMacro_GetPropertyValue_9196441569928383193(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x1165f0d3f2fL, "modifiesModel"));
}
public static Object propertyMacro_GetPropertyValue_9196441569928602697(final PropertyMacroContext _context) {
return GenUtil.asIdentifier("Script_" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static Object propertyMacro_GetPropertyValue_6389702176794111045(final PropertyMacroContext _context) {
String n = "applyNode" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("toExtract"))).indexOf(_context.getNode());
GenUtil.markExtractedMethodForTemplate(_context, _context.getNode(), n);
return n;
}
public static Object propertyMacro_GetPropertyValue_6389702176794341064(final PropertyMacroContext _context) {
// FIXME can't use saveListVar as it doesn't force value override,
// which is essential as there's already another name associated with the node
// (i.e. its name inside applyNode() method)
String name = "tlist" + ++((int[]) _context.getVariable("varindex"))[0];
_context.putTransientObject(_context.getNode(), name);
return name;
}
public static Object propertyMacro_GetPropertyValue_2760176984813718888(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_2760176984813718924(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2760176984813718936(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_2760176984813719532(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_787641416589878848(final PropertyMacroContext _context) {
return GenUtil.saveNodeVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0], true);
}
public static Object propertyMacro_GetPropertyValue_4672632171991713666(final PropertyMacroContext _context) {
return "insertInput" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_4672632171991748257(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_3462145372628093855(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_3462145372628093889(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_3462145372628093901(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_3462145372628094067(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_812193811988884565(final PropertyMacroContext _context) {
return "weaveList" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_812193811988884584(final PropertyMacroContext _context) {
return "itnode" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_7173753398979240163(final PropertyMacroContext _context) {
return "weaveContextVar" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_5015072279636784130(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_6156996919798915795(final PropertyMacroContext _context) {
return "varValue" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_6635545314667369113(final PropertyMacroContext _context) {
if (isEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")))) {
_context.showErrorMessage(_context.getNode(), "$VAR$ annotation has no name");
}
return (String) VarMacro__BehaviorDescriptor.getName_id2n6lsTIwojm.invoke(_context.getNode());
}
public static Object propertyMacro_GetPropertyValue_5015072279636784176(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_6635545314667334736(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5015072279636784342(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5433312185282565647(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_2038100691500430151(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_2038100691500430163(final PropertyMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).newName();
}
public static Object propertyMacro_GetPropertyValue_5433312185282565715(final PropertyMacroContext _context) {
return "copySrcInput" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_2038100691500430340(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6254388211301138917(final PropertyMacroContext _context) {
return GenUtil.saveListVar(_context, _context.getNode(), ++((int[]) _context.getVariable("varindex"))[0]);
}
public static Object propertyMacro_GetPropertyValue_6254388211301138985(final PropertyMacroContext _context) {
return "switchInput" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_6254388211303266437(final PropertyMacroContext _context) {
return "switch" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_238835255332226454(final PropertyMacroContext _context) {
return "switchContext" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_238835255332026593(final PropertyMacroContext _context) {
return "args" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_238835255331274489(final PropertyMacroContext _context) {
return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6254388211303727083(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_238835255332430216(final PropertyMacroContext _context) {
return "switchContext" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_238835255332430238(final PropertyMacroContext _context) {
return "args" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object propertyMacro_GetPropertyValue_238835255332430254(final PropertyMacroContext _context) {
return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6254388211301139368(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6254388211304013897(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_6254388211303538830(final PropertyMacroContext _context) {
return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
}
public static Object propertyMacro_GetPropertyValue_5777101398023822701(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398024771993(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_6269311107409466841(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398025471962(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_6269311107407489390(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398026490051(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5777101398026914859(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398027060591(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5777101398027750728(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398027864345(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5777101398028648510(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398028941392(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5777101398029211234(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398029211334(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5777101398029963970(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5777101398030860975(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_6269311107410848033(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_4560626146938627430(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_1278277619664967171(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_1278277619664967269(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_1278277619665299235(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_1278277619665299333(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3188250212959938105(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_8269982547288486710(final PropertyMacroContext _context) {
long msb = MetaIdHelper.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())).getConceptId().getLanguageId().getIdValue().getMostSignificantBits();
return "0x" + Long.toHexString(msb) + "L";
}
public static Object propertyMacro_GetPropertyValue_8269982547288486727(final PropertyMacroContext _context) {
long lsb = MetaIdHelper.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())).getConceptId().getLanguageId().getIdValue().getLeastSignificantBits();
return "0x" + Long.toHexString(lsb) + "L";
}
public static Object propertyMacro_GetPropertyValue_8269982547288486744(final PropertyMacroContext _context) {
long id = MetaIdHelper.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())).getConceptId().getIdValue();
return "0x" + Long.toHexString(id) + "L";
}
public static Object propertyMacro_GetPropertyValue_8269982547288497124(final PropertyMacroContext _context) {
long id = MetaIdHelper.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())).getIdValue();
return "0x" + Long.toHexString(id) + "L";
}
public static Object propertyMacro_GetPropertyValue_8269982547288486757(final PropertyMacroContext _context) {
return PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode()).getName();
}
public static Object propertyMacro_GetPropertyValue_1547633452932955847(final PropertyMacroContext _context) {
// in case porperty value contains backslash or anything else not suited for Java
return NameUtil.escapeString(SNodeOperations.getParent(_context.getNode()).getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())));
}
public static Object propertyMacro_GetPropertyValue_3188250212959938205(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_9056552524812524628(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_9056552524812524722(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_8530069850499411464(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_8530069850499411561(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_4426797670062877386(final PropertyMacroContext _context) {
return (String) VarMacro__BehaviorDescriptor.getName_id2n6lsTIwojm.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x3d6f2506d88aa028L, 0x25c655ce6e80fddaL, "varmacro")));
}
public static Object propertyMacro_GetPropertyValue_9109410030988164098(final PropertyMacroContext _context) {
return CrossModelUtil.getMarshalFunctionName(SNodeOperations.getParent(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_9109410030988186352(final PropertyMacroContext _context) {
return CrossModelUtil.getUnmarshalFunctionName(SNodeOperations.getParent(_context.getNode()));
}
public static Object propertyMacro_GetPropertyValue_1515402509390412296(final PropertyMacroContext _context) {
return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x1507ca8da7f37f1eL, "applyToSubConcepts"));
}
public static Object propertyMacro_GetPropertyValue_7598352112177474746(final PropertyMacroContext _context) {
return ((String) _context.getVariable("className"));
}
public static Object propertyMacro_GetPropertyValue_3115958756404799055(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_3115958756405106495(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3115958756404799175(final PropertyMacroContext _context) {
SNode templateTarget = SNodeOperations.getParent(_context.getNode()).getReferenceTarget(LinkAttribute__BehaviorDescriptor.getLink_id1avfQ4BEFo6.invoke(_context.getNode()));
// This is what MacroResolver used to do in getDefaultResolveInfo().
// I wonder why IResolveInfo case wasn't considered
return (templateTarget == null ? "null" : templateTarget.getName());
}
public static Object propertyMacro_GetPropertyValue_3115958756404799292(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_6403651919169168859(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_6403651919169168872(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_6403651919169169019(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5360282374927335198(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_5360282374927335211(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_5360282374927335299(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_1173958055623964962(final PropertyMacroContext _context) {
return _context.getNode().getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_1173958055623964975(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_1173958055623965063(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_7935480418424906314(final PropertyMacroContext _context) {
// use macro's id, not the one of the query to match QueryKey.getTemplateNode()
return SNodeOperations.getParent(_context.getNode()).getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_7935480418424906327(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_7935480418424906415(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_7935480418425016167(final PropertyMacroContext _context) {
// use macro's id, not the one of the post-processing block to match QueryKey.getTemplateNode()
return SNodeOperations.getParent(_context.getNode()).getNodeId().toString();
}
public static Object propertyMacro_GetPropertyValue_7935480418425016184(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_7935480418425016272(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3257252407656719884(final PropertyMacroContext _context) {
return ((SConcept[]) _context.getVariable("var:concepts")).length;
}
public static Object propertyMacro_GetPropertyValue_3257252407656719900(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3257252407656719987(final PropertyMacroContext _context) {
return ((SProperty[]) _context.getVariable("var:properties")).length;
}
public static Object propertyMacro_GetPropertyValue_3257252407656720003(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3257252407656720090(final PropertyMacroContext _context) {
return ((SReferenceLink[]) _context.getVariable("var:associations")).length;
}
public static Object propertyMacro_GetPropertyValue_3257252407656720106(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object propertyMacro_GetPropertyValue_3257252407656720193(final PropertyMacroContext _context) {
return ((SContainmentLink[]) _context.getVariable("var:aggregations")).length;
}
public static Object propertyMacro_GetPropertyValue_3257252407656720209(final PropertyMacroContext _context) {
return ((Integer) _context.getVariable("cv:c"));
}
public static Object referenceMacro_GetReferent_1071051212912102696(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, "jetbrains.mps.lang.generator.structure.PatternReduction_MappingRule")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb5L, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_5898140574782692882(final ReferenceMacroContext _context) {
return (String) _context.getTransientObject(SNodeOperations.getParent(_context.getNode()));
}
public static Object referenceMacro_GetReferent_1830209218526504981(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(_context.getNode()));
}
public static Object referenceMacro_GetReferent_5070605274413825727(final ReferenceMacroContext _context) {
// FIXME replace with CALL reduce_TemplateNodeAsCollectionOrNull and change return value to Collection
return GenUtil.getVarHack(_context, SNodeOperations.getParent(_context.getNode()));
}
public static Object referenceMacro_GetReferent_99767819676237414(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047ce009c3L, 0x10fef5e42d7L, "sourceNodesQuery")));
}
public static Object referenceMacro_GetReferent_99767819676237591(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676237635(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676237672(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676237687(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_1246578104714226075(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_1246578104714226025(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_1545727400807789647(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_1246578104714225944(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_99767819676501695(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_4155486055398088737(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10389b50fefL, 0x10ff3aea96eL, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_9196441569928526463(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x116597b27aaL, 0x116597b663aL, "mappingScript")), "mappingScript"))).first();
}
public static Object referenceMacro_GetReferent_9196441569928526547(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x116597b27aaL, 0x116597b663aL, "mappingScript")), "mappingScript"))).first();
}
public static Object referenceMacro_GetReferent_4155486055398089009(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1038b0c2cc7L, 0x11002d48f34L, "sourceNodesQuery")));
}
public static Object referenceMacro_GetReferent_99767819676502879(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676502915(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676502943(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676503162(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence")));
}
public static Object referenceMacro_GetReferent_99767819676503298(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_99767819676502177(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_99767819676503662(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11003977640L, "sourceNodesQuery")));
}
public static Object referenceMacro_GetReferent_5851073518441464937(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_MapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x1109d5f7af9L, "mapperFunction")));
}
public static Object referenceMacro_GetReferent_5851073518441464969(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_99767819676503944(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676503981(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676503999(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5851073518441500518(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5851073518441500544(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_5851073518441517554(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_5851073518441517569(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_99767819676504227(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_8961331321403161971(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_8961331321403242048(final ReferenceMacroContext _context) {
SNode selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
}).first();
return GenUtil.getVarHack(_context, selected);
}
public static Object referenceMacro_GetReferent_8961331321403242155(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object referenceMacro_GetReferent_8961331321403162191(final ReferenceMacroContext _context) {
SNode selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
}).first();
return GenUtil.getVarHack(_context, selected);
}
public static Object referenceMacro_GetReferent_8961331321403206158(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("contextVar"));
}
public static Object referenceMacro_GetReferent_5898456405536876871(final ReferenceMacroContext _context) {
if (SPropertyOperations.hasValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11013931abdL, 0x11055b6dd7bL, "generatorMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c93e57L, "messageType"), "error", "info")) {
return "error";
}
if (SPropertyOperations.hasValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11013931abdL, 0x11055b6dd7bL, "generatorMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c93e57L, "messageType"), "warning", "info")) {
return "warning";
}
return "info";
}
public static Object referenceMacro_GetReferent_1147906725605332182(final ReferenceMacroContext _context) {
SNode firstCase = ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).first();
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(firstCase, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645011ba5L, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_1147906725605332201(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645011ba5L, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_3571912445009827127(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1104fcac3b1L, 0x1104fccff43L, "sourceNodesQuery")));
}
public static Object referenceMacro_GetReferent_4006750417599303468(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("outputContextNodeVar"));
}
public static Object referenceMacro_GetReferent_3615289984453649264(final ReferenceMacroContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b6e730L, "applicableConcept"));
}
public static Object referenceMacro_GetReferent_1751251480823453085(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_9191117361655049641(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_3615289984453667927(final ReferenceMacroContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b6e730L, "applicableConcept"));
}
public static Object referenceMacro_GetReferent_59720043761728339(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_8626372016104475444(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("varname"));
}
public static Object referenceMacro_GetReferent_8626372016104475500(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("varname"));
}
public static Object referenceMacro_GetReferent_5851073518441286399(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("resultVar"));
}
public static Object referenceMacro_GetReferent_5851073518441355282(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_MapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")));
}
public static Object referenceMacro_GetReferent_5851073518441339666(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_2321430363679349185(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("resultVar"));
}
public static Object referenceMacro_GetReferent_2321430363679348353(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2321430363679348390(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2321430363679349175(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("resultVar"));
}
public static Object referenceMacro_GetReferent_8196331069071255548(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5851073518441393845(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5851073518441396798(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_5851073518441414370(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.mapSrcMacro_PostMapperFunction(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")));
}
public static Object referenceMacro_GetReferent_2321430363679348536(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2321430363679348576(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_3615289984453483303(final ReferenceMacroContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad36598L, "applicableConcept"));
}
public static Object referenceMacro_GetReferent_3615289984453679355(final ReferenceMacroContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b6e730L, "applicableConcept"));
}
public static Object referenceMacro_GetReferent_59720043761737764(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.baseMappingRule_Condition(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")));
}
public static Object referenceMacro_GetReferent_9191117361655150438(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_9191117361655150594(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_7057563018698266779(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_9191117361655150707(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_9191117361655049707(final ReferenceMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence")));
}
public static Object referenceMacro_GetReferent_2990947723228973305(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "templDeclarationClass"))).first();
}
public static Object referenceMacro_GetReferent_2990947723228997818(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "templDeclarationClass"))).first();
}
public static Object referenceMacro_GetReferent_4006750417599310434(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("outputContextNodeVar"));
}
public static Object referenceMacro_GetReferent_7664108699562529367(final ReferenceMacroContext _context) {
return "applyPart" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(_context.getNode());
}
public static Object referenceMacro_GetReferent_7664108699562529851(final ReferenceMacroContext _context) {
return "applyPart" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(_context.getNode());
}
public static Object referenceMacro_GetReferent_7664108699562529691(final ReferenceMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
return "applyPart" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(Sequence.fromIterable(selected).first());
}
public static Object referenceMacro_GetReferent_7664108699562529310(final ReferenceMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
return "applyPart" + Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(Sequence.fromIterable(selected).first());
}
public static Object referenceMacro_GetReferent_5577795813925668091(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(((SNode) _context.getVariable("template")), "templDeclarationClass"))).first();
}
public static Object referenceMacro_GetReferent_5891355986060228614(final ReferenceMacroContext _context) {
return "apply";
}
public static Object referenceMacro_GetReferent_4006750417599168095(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("weaveContextVar"));
}
public static Object referenceMacro_GetReferent_8152851815335332077(final ReferenceMacroContext _context) {
return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(((SNode) _context.getVariable("template")), "templDeclarationClass"))).first();
}
public static Object referenceMacro_GetReferent_8152851815335395323(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("weaveContextVar"));
}
public static Object referenceMacro_GetReferent_6389702176794341089(final ReferenceMacroContext _context) {
return ((String) _context.getVariable("methName"));
}
public static Object referenceMacro_GetReferent_2760176984813719455(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2760176984813719491(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2760176984813719519(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_3462145372628093990(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_3462145372628094026(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_3462145372628094054(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_812193811988884557(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodesQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x300c02df884235d3L, 0x300c02df884261ebL, "nodesToWeaveQuery")));
}
public static Object referenceMacro_GetReferent_5015072279636784265(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5015072279636784301(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5015072279636784329(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5433312185282565700(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2b456582595e739bL, 0x2b456582595e73d1L, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_5510169400914809445(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_5510169400914809481(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_2038100691500430327(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301138970(final ReferenceMacroContext _context) {
return TemplateFunctionMethodName.sourceSubstituteMacro_SourceNodeQuery(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e51747593L, 0xda3dc6e5174759eL, "sourceNodeQuery")));
}
public static Object referenceMacro_GetReferent_6254388211301139227(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301139263(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301139278(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301139418(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301139454(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_6254388211301139469(final ReferenceMacroContext _context) {
return GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
}
public static Object referenceMacro_GetReferent_4914935534439684251(final ReferenceMacroContext _context) {
// method parameter
return "_context";
}
public static Object referenceMacro_GetReferent_1515402509390411125(final ReferenceMacroContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x67b585b44f4d943eL, "applicableConcept"));
}
public static Object referenceMacro_GetReferent_3079684480024208924(final ReferenceMacroContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static boolean ifMacro_Condition_3115958756406635509(final IfMacroContext _context) {
return ((Boolean) _context.getVariable("var:nonReflectiveQueries"));
}
public static boolean ifMacro_Condition_7714599636078859501(final IfMacroContext _context) {
return SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression"));
}
public static boolean ifMacro_Condition_1071051212912102675(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb5L, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_1071051212912102685(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb5L, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_7602140671021486924(final IfMacroContext _context) {
return ((Boolean) _context.getVariable("var:nonReflectiveQueries"));
}
public static boolean ifMacro_Condition_7602140671021077467(final IfMacroContext _context) {
return ((Boolean) _context.getVariable("var:nonReflectiveQueries"));
}
public static boolean ifMacro_Condition_6389702176794336635(final IfMacroContext _context) {
if (((Integer) _context.getVariable("macrosToSkip")) == 0 && ((int[]) _context.getVariable("varindex"))[0] > 0) {
return GenUtil.getExtractedMethodName(_context, _context.getNode()) != null;
}
return false;
}
public static boolean ifMacro_Condition_6389702176794336734(final IfMacroContext _context) {
return Sequence.fromIterable(SNodeOperations.ofConcept(SNodeOperations.getChildren(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, "jetbrains.mps.lang.generator.structure.NodeMacro"))).count() <= ((Integer) _context.getVariable("macrosToSkip"));
}
public static boolean ifMacro_Condition_6304885153124996297(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")) != null);
}
public static boolean ifMacro_Condition_5898140574782661240(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")) != null);
}
public static boolean ifMacro_Condition_5070605274413823686(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5070605274413823790(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")) != null);
}
public static boolean ifMacro_Condition_5070605274413825720(final IfMacroContext _context) {
return false;
}
public static boolean ifMacro_Condition_1669041086427295482(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, 0x1179c366b2fL, "labelDeclaration")) != null);
}
public static boolean ifMacro_Condition_7664108699562529990(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7173753398979040507(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).isNotEmpty();
}
public static boolean ifMacro_Condition_6635545314666833090(final IfMacroContext _context) {
return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047ce009c3L, 0x671e792f3d97a344L, "counterVarName")));
}
public static boolean ifMacro_Condition_99767819676237501(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_6635545314666868548(final IfMacroContext _context) {
return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047ce009c3L, 0x671e792f3d97a344L, "counterVarName")));
}
public static boolean ifMacro_Condition_99767819676237613(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_99767819676237647(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_6437850093717095447(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_6458924870075003617(final IfMacroContext _context) {
return GenUtil.hasIncomingRefs(_context.getNode());
}
public static boolean ifMacro_Condition_3413262193425984768(final IfMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x2f5e57e174670914L, "propertyIndex")) == -1;
}
public static boolean ifMacro_Condition_3413262193426157918(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_2338220375237894709(final IfMacroContext _context) {
SNode original = SNodeOperations.getParent(_context.getNode());
return original.getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())) != null;
}
public static boolean ifMacro_Condition_3413262193427293259(final IfMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex")) == -1;
}
public static boolean ifMacro_Condition_3413262193427369224(final IfMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex")) == -1;
}
public static boolean ifMacro_Condition_4155486055398183990(final IfMacroContext _context) {
return SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, "jetbrains.mps.lang.generator.structure.GeneratorInternal_ReferenceDescriptor"));
}
public static boolean ifMacro_Condition_3413262193427392371(final IfMacroContext _context) {
return SPropertyOperations.getInteger(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex")) == -1;
}
public static boolean ifMacro_Condition_3413262193426235017(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_2262517311778571143(final IfMacroContext _context) {
return ListSequence.fromList(SNodeOperations.getChildren(_context.getNode())).any(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return !(RuleUtil.isTemplateLanguageElement(it));
}
});
}
public static boolean ifMacro_Condition_3413262193426331685(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_1246578104714225920(final IfMacroContext _context) {
return GenUtil.isNullableNodeVariable(_context, _context.getNode());
}
public static boolean ifMacro_Condition_3413262193426462293(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_1545727400807800598(final IfMacroContext _context) {
return GenUtil.isNonNullNodeVariable(_context, _context.getNode());
}
public static boolean ifMacro_Condition_3413262193426490662(final IfMacroContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")) == null;
}
public static boolean ifMacro_Condition_1246578104714225980(final IfMacroContext _context) {
return GenUtil.isCollectionVariable(_context, _context.getNode());
}
public static boolean ifMacro_Condition_99767819676501704(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676501719(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676501748(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676501778(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode()) || (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676501954(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676501994(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676502092(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676502118(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621abebb5L, "sourceNodeQuery")) == null);
}
public static boolean ifMacro_Condition_7817023234861714866(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10389b50fefL, 0x10ff3aea96eL, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_2197859704660436425(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_330395710727937993(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"))).isNotEmpty() || ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727937977(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727937961(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727937945(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938023(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x11c0adbe243L, "dropRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7598352112177547224(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x67b585b44f4e06dbL, "dropAttrubuteRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_9196441569928526436(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597a610dL, "preMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_9196441569928526530(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597e20a5L, "postMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938040(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"))).isNotEmpty() || ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938056(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938072(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938088(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938104(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x11c0adbe243L, "dropRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7598352112177585480(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x67b585b44f4e06dbL, "dropAttrubuteRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_9196441569928526511(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597a610dL, "preMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_9196441569928526569(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597e20a5L, "postMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080138621(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x6cab949e66d5b3bbL, "condition")) != null);
}
public static boolean ifMacro_Condition_1104862325080237997(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"))).isNotEmpty() || ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080243253(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080248538(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080262578(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080267918(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x11c0adbe243L, "dropRootRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7598352112177621832(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x67b585b44f4e06dbL, "dropAttrubuteRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080273323(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597e20a5L, "postMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1104862325080289486(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597a610dL, "preMappingScript"))).isNotEmpty();
}
public static boolean ifMacro_Condition_2197859704660389774(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676502803(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_99767819676502891(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_99767819676502965(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_99767819676503088(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence"))) != null;
}
public static boolean ifMacro_Condition_99767819676503188(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence"))) != null && (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_99767819676503220(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence")) != null);
}
public static boolean ifMacro_Condition_4155486055398003984(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676503333(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676503362(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676503392(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")) != null) || (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_99767819676503510(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676503522(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11003064fa9L, "sourceNodeQuery")) == null);
}
public static boolean ifMacro_Condition_99767819676502186(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676502230(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676502260(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode()) || (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_99767819676502473(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_99767819676502513(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_1749921652111953152(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_1749921652111950789(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x14f7f8a311b8f14fL, 0x14f7f8a311b93f35L, "sourceNodeQuery")) == null);
}
public static boolean ifMacro_Condition_99767819676503709(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_5851073518441464978(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")) != null);
}
public static boolean ifMacro_Condition_5851073518441464987(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x1109d5f7af9L, "mapperFunction")) != null);
}
public static boolean ifMacro_Condition_99767819676503896(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x1109d5f7af9L, "mapperFunction")) == null);
}
public static boolean ifMacro_Condition_99767819676503956(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_99767819676504021(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar != null && (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_5851073518441500560(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")) != null) && innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_5851073518441517581(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x11d4561610fL, "postMapperFunction")) != null) && innervar.startsWith("tlist");
}
public static boolean ifMacro_Condition_99767819676504239(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x107ce4fbf98L, 0x1109d5f7af9L, "mapperFunction")) == null) && GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip"))) != null;
}
public static boolean ifMacro_Condition_8961331321403162002(final IfMacroContext _context) {
// FIXME resembles reduce_fragmentParts a lot
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
});
return Sequence.fromIterable(selected).all(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.isNodeVariable(_context, it);
}
});
}
public static boolean ifMacro_Condition_8961331321403242082(final IfMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
});
return Sequence.fromIterable(selected).count() == 1 && GenUtil.isCollectionVariable(_context, Sequence.fromIterable(selected).first());
}
public static boolean ifMacro_Condition_8961331321403162164(final IfMacroContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
}).count() > 1;
}
public static boolean ifMacro_Condition_8961331321403162224(final IfMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
});
return Sequence.fromIterable(selected).count() == 1;
}
public static boolean ifMacro_Condition_8961331321403206165(final IfMacroContext _context) {
return !("context".equals(((String) _context.getVariable("contextVar"))));
}
public static boolean ifMacro_Condition_5898456405536876900(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11013931abdL, 0x11055b6dd7bL, "generatorMessage")) != null);
}
public static boolean ifMacro_Condition_5898456405536876921(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11013931abdL, 0x11055b6dd7bL, "generatorMessage")) != null);
}
public static boolean ifMacro_Condition_3846207671016008933(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).first(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"))) != null;
}
public static boolean ifMacro_Condition_6210299652024764760(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"))) != null;
}
public static boolean ifMacro_Condition_6210299652024797454(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"))) != null;
}
public static boolean ifMacro_Condition_1147906725605332260(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence")) != null);
}
public static boolean ifMacro_Condition_1147906725605332270(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).isNotEmpty();
}
public static boolean ifMacro_Condition_6210299652024797542(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"))) != null;
}
public static boolean ifMacro_Condition_1147906725605070316(final IfMacroContext _context) {
List<SNode> fragments = SNodeOperations.getNodeDescendants(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x7b85dded0be53d6cL, 0x7b85dded0be53d6fL, "contentNode")), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, "jetbrains.mps.lang.generator.structure.TemplateFragment"), false, new SAbstractConcept[]{});
Iterable<SNode> selected = ListSequence.fromList(fragments).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return _context.getTransientObject(SNodeOperations.getParent(it)) != null;
}
});
if (Sequence.fromIterable(selected).count() == 1) {
String varname = (String) _context.getTransientObject(SNodeOperations.getParent(Sequence.fromIterable(selected).first()));
_context.putTransientObject(_context.getNode(), varname);
return false;
}
return true;
}
public static boolean ifMacro_Condition_2226924809856058005(final IfMacroContext _context) {
String varname = (String) _context.getTransientObject(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x112103dd1e8L, 0x112103ebf76L, "templateNode")));
if (varname != null) {
_context.putTransientObject(_context.getNode(), varname);
}
return false;
}
public static boolean ifMacro_Condition_688382666505520896(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_9191117361655049635(final IfMacroContext _context) {
return false;
}
public static boolean ifMacro_Condition_9191117361655049581(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence"))) != null && (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_8371596541809145634(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence"))) != null;
}
public static boolean ifMacro_Condition_688382666505321993(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_3589323808390161794(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_9191117361655049520(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x1179c430cc8L, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_330395710727938219(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727938235(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_330395710727889096(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x1031947e414L, "modifiedSwitch")) != null);
}
public static boolean ifMacro_Condition_330395710727938251(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"))).isNotEmpty();
}
public static boolean ifMacro_Condition_418849768498866743(final IfMacroContext _context) {
// switch may not necessarily end up with created node (e.g. dismiss rule exception)
// that's why after switch_Consequence can't use return unconditionally
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11013877b73L, "defaultConsequence"))) != null;
}
public static boolean ifMacro_Condition_4723636356214946463(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11013877b73L, "defaultConsequence")) != null);
}
public static boolean ifMacro_Condition_3876694689067951584(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")) != null) && SPropertyOperations.hasValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c93e57L, "messageType"), "error", "info");
}
public static boolean ifMacro_Condition_3876694689067952329(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")) != null) && SPropertyOperations.hasValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c93e57L, "messageType"), "info", "info");
}
public static boolean ifMacro_Condition_3876694689067952369(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")) != null) && SPropertyOperations.hasValue(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11055c63121L, 0x11055c93e57L, "messageType"), "warning", "info");
}
public static boolean ifMacro_Condition_8626372016104475454(final IfMacroContext _context) {
return ((String) _context.getVariable("varname")) != null && ((String) _context.getVariable("varname")).startsWith("tnode");
}
public static boolean ifMacro_Condition_8626372016104475477(final IfMacroContext _context) {
return ((String) _context.getVariable("varname")) != null && ((String) _context.getVariable("varname")).startsWith("tlist");
}
public static boolean ifMacro_Condition_5851073518441331027(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")) != null);
}
public static boolean ifMacro_Condition_5851073518441245352(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")) != null);
}
public static boolean ifMacro_Condition_2321430363679348305(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")) == null);
}
public static boolean ifMacro_Condition_2321430363679348365(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_8196331069071255570(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar != null && (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_2321430363679348454(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")) != null) && innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_2321430363679348548(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11d455be680L, "postMapperFunction")) != null) && innervar.startsWith("tlist");
}
public static boolean ifMacro_Condition_2321430363679348588(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")) == null) && GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip"))) != null;
}
public static boolean ifMacro_Condition_3589323808390153996(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854cL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_9191117361655049432(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x1179c9e8cacL, "label")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x1179c9e8cacL, "label")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_3589323808390182520(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad314d7L, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_3589323808390218696(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_559189405767553580(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0xe2b8adb3abb51f8L, "anchorQuery")) != null);
}
public static boolean ifMacro_Condition_9191117361655150425(final IfMacroContext _context) {
return false;
}
public static boolean ifMacro_Condition_9191117361655150650(final IfMacroContext _context) {
return false;
}
public static boolean ifMacro_Condition_9191117361655150464(final IfMacroContext _context) {
return (boolean) BaseMappingRule__BehaviorDescriptor.hasMappingLabel_id3uqP$qKDAVt.invoke(_context.getNode()) && GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence"))) != null;
}
public static boolean ifMacro_Condition_9191117361655150591(final IfMacroContext _context) {
return GenUtil.isNodeVariable(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence")));
}
public static boolean ifMacro_Condition_9191117361655150505(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence"))) != null;
}
public static boolean ifMacro_Condition_9191117361655049694(final IfMacroContext _context) {
return false;
}
public static boolean ifMacro_Condition_9191117361655049733(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence"))) != null && (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebbaL, "labelDeclaration")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebbaL, "labelDeclaration")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_8371596541809114446(final IfMacroContext _context) {
return GenUtil.getVarHack(_context, SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence"))) != null;
}
public static boolean ifMacro_Condition_4560626146942934528(final IfMacroContext _context) {
SNode generator = SNodeOperations.cast(SModelOperations.getModuleStub(_context.getOriginalInputModel()), MetaAdapterFactory.getConcept(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe21L, "jetbrains.mps.lang.project.structure.Generator"));
return (generator != null) && !(SPropertyOperations.getBoolean(generator, MetaAdapterFactory.getProperty(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe21L, 0x64a78ad4da8f85a6L, "reflectiveQueries")));
}
public static boolean ifMacro_Condition_7664108699562497131(final IfMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
return Sequence.fromIterable(selected).all(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.isNodeVariable(_context, SNodeOperations.getParent(it));
}
});
}
public static boolean ifMacro_Condition_7664108699562529595(final IfMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
if (Sequence.fromIterable(selected).count() == 1) {
return GenUtil.isCollectionVariable(_context, SNodeOperations.getParent(Sequence.fromIterable(selected).first()));
}
return false;
}
public static boolean ifMacro_Condition_7664108699562497291(final IfMacroContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
}).count() > 1;
}
public static boolean ifMacro_Condition_7664108699562497351(final IfMacroContext _context) {
Iterable<SNode> selected = Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
return Sequence.fromIterable(selected).count() == 1;
}
public static boolean ifMacro_Condition_1368513600865828059(final IfMacroContext _context) {
return GenUtil.isCollectionVariable(_context, SNodeOperations.getParent(_context.getNode()));
}
public static boolean ifMacro_Condition_6458924870076406570(final IfMacroContext _context) {
return GenUtil.isCollectionVariable(_context, SNodeOperations.getParent(_context.getNode()));
}
public static boolean ifMacro_Condition_1520710884206582570(final IfMacroContext _context) {
return ((String) _context.getVariable("contextVar")) != null;
}
public static boolean ifMacro_Condition_1520710884206584117(final IfMacroContext _context) {
boolean directRef = SNodeOperations.getModel(((SNode) _context.getVariable("template"))) == SNodeOperations.getModel(_context.getNode());
if (directRef && !(SNodeOperations.isInstanceOf(((SNode) _context.getVariable("template")), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfe43cb41d0L, "jetbrains.mps.lang.generator.structure.TemplateDeclaration")))) {
// check template
if (AttributeOperations.getAttribute(((SNode) _context.getVariable("template")), new IAttributeDescriptor.NodeAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11017244494L, "jetbrains.mps.lang.generator.structure.RootTemplateAnnotation"))) == null) {
_context.showErrorMessage(_context.getNode(), "cannot refer template root without template annotation");
return false;
}
}
return directRef;
}
public static boolean ifMacro_Condition_1520710884206584166(final IfMacroContext _context) {
return ((String) _context.getVariable("contextVar")) != null;
}
public static boolean ifMacro_Condition_8152851815335340205(final IfMacroContext _context) {
// generate templates option is per module, any template from the same model
// would be generated
return SModelOperations.getModuleStub(SNodeOperations.getModel(((SNode) _context.getVariable("template")))) == SModelOperations.getModuleStub(SNodeOperations.getModel(_context.getNode()));
}
public static boolean ifMacro_Condition_9196441569928383206(final IfMacroContext _context) {
return SPropertyOperations.hasValue(_context.getNode(), MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x1165f0cf1aaL, "scriptKind"), "pre_processing", "post_processing");
}
public static boolean ifMacro_Condition_2760176984813718960(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_2760176984813719467(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_2760176984813719541(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_4672632171991748266(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_3462145372628093916(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_3462145372628094002(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_3462145372628094076(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_4006750417599177531(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_7173753398979258055(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x300c02df884235d3L, 0x2449b12bc386c28dL, "anchorQuery")) != null);
}
public static boolean ifMacro_Condition_6635545314667336864(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_5015072279636784277(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_5015072279636784351(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_2038100691500430187(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_5510169400914809457(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_2038100691500430349(final IfMacroContext _context) {
return (boolean) NodeMacro__BehaviorDescriptor.hasMappingLabel_id5KmckUrKj9u.invoke(_context.getNode());
}
public static boolean ifMacro_Condition_6254388211303337517(final IfMacroContext _context) {
return (TemplateSwitchMacro__BehaviorDescriptor.getTemplateSwitch_idQzR6Ththuv.invoke(_context.getNode()) != null) && (SLinkOperations.getTarget(TemplateSwitchMacro__BehaviorDescriptor.getTemplateSwitch_idQzR6Ththuv.invoke(_context.getNode()), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11d88828be1L, "nullInputMessage")) != null);
}
public static boolean ifMacro_Condition_238835255332282159(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).count() > 0;
}
public static boolean ifMacro_Condition_6254388211301139239(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_6254388211303727092(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_6254388211303155799(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e51747593L, 0xda3dc6e5174759eL, "sourceNodeQuery")) != null);
}
public static boolean ifMacro_Condition_238835255332430300(final IfMacroContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).count() > 0;
}
public static boolean ifMacro_Condition_6254388211301139377(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_6254388211301139430(final IfMacroContext _context) {
String innervar = GenUtil.getVar(_context, SNodeOperations.getParent(_context.getNode()), ((Integer) _context.getVariable("macrosToSkip")));
return innervar.startsWith("tnode");
}
public static boolean ifMacro_Condition_6254388211304013906(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_6254388211301139487(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e51747593L, 0xda3dc6e5174759eL, "sourceNodeQuery")) == null);
}
public static boolean ifMacro_Condition_6254388211304326111(final IfMacroContext _context) {
_context.showErrorMessage(null, "Unsupported NodeMacro");
return false;
}
public static boolean ifMacro_Condition_6254388211303567226(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, 0x1179bf24befL, "mappingLabel")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
}
public static boolean ifMacro_Condition_5777101398026735809(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:rulesWithCondition"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398029352070(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:rulesWithCondition"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398029280661(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:rulesWithCondition"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398027561881(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:rulesWithCondition"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398028251528(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:patternRules"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398030068137(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:weaveRules"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398025939735(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:scriptsWithCode"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398023959515(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:mcWithCondition"))).isNotEmpty();
}
public static boolean ifMacro_Condition_722645242529620945(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:queries"))).isNotEmpty();
}
public static boolean ifMacro_Condition_722645242529844724(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:queries"))).isNotEmpty();
}
public static boolean ifMacro_Condition_3188250212960691894(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:macros"))).isNotEmpty();
}
public static boolean ifMacro_Condition_9056552524812639907(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:macros"))).isNotEmpty();
}
public static boolean ifMacro_Condition_8530069850499835014(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:switchCaseNodes"))).isNotEmpty();
}
public static boolean ifMacro_Condition_3115958756404955756(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:macros"))).isNotEmpty();
}
public static boolean ifMacro_Condition_6403651919169289311(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:macros"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5360282374927746195(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:queryExpr"))).isNotEmpty() || ListSequence.fromList(((List<SNode>) _context.getVariable("var:bareExpr"))).isNotEmpty();
}
public static boolean ifMacro_Condition_1173958055624161931(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:macros"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7935480418425115209(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:queries"))).isNotEmpty();
}
public static boolean ifMacro_Condition_7935480418425129349(final IfMacroContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("var:codeBlocks"))).isNotEmpty();
}
public static boolean ifMacro_Condition_5777101398030871995(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
public static boolean ifMacro_Condition_4560626146938627410(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0xe2b8adb3abb51f8L, "anchorQuery")) != null);
}
public static boolean ifMacro_Condition_4397791158780943302(final IfMacroContext _context) {
return SNodeOperations.getParent(_context.getNode()).getProperty(PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode())) != null;
}
public static boolean ifMacro_Condition_1515402509390417025(final IfMacroContext _context) {
return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x67b585b44f4df327L, "condition")) != null);
}
public static boolean ifMacro_Condition_3115958756404799188(final IfMacroContext _context) {
SReference templateTargetRef = SNodeOperations.getParent(_context.getNode()).getReference(LinkAttribute__BehaviorDescriptor.getLink_id1avfQ4BEFo6.invoke(_context.getNode()));
return templateTargetRef != null && jetbrains.mps.util.SNodeOperations.getTargetNodeSilently(templateTargetRef) != null;
}
public static boolean ifMacro_Condition_3257252407656719965(final IfMacroContext _context) {
return ((SConcept[]) _context.getVariable("var:concepts")).length > 0;
}
public static boolean ifMacro_Condition_3257252407656720068(final IfMacroContext _context) {
return ((SProperty[]) _context.getVariable("var:properties")).length > 0;
}
public static boolean ifMacro_Condition_3257252407656720171(final IfMacroContext _context) {
return ((SReferenceLink[]) _context.getVariable("var:associations")).length > 0;
}
public static boolean ifMacro_Condition_3257252407656720274(final IfMacroContext _context) {
return ((SContainmentLink[]) _context.getVariable("var:aggregations")).length > 0;
}
public static SNode sourceNodeQuery_1071051212913897962(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854cL, "conditionFunction")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914077669(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad314d7L, "conditionFunction")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_6350531115353888566(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x67b585b44f4df327L, "condition")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212913967164(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914722725(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, 0x10fe3b4023fL, "propertyValueFunction")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914681732(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, 0x10fe489d9feL, "referentFunction")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914019086(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x10feeff8ac3L, "conditionFunction")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914631800(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914531964(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914482068(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212917415957(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914373543(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x113d0a12fc5L, "contextNodeQuery")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1021062414717397618(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212917296628(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x116596b2f70L, "codeBlock")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212912102652(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a13891aL, "pattern"));
}
public static SNode sourceNodeQuery_1071051212914128473(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x6cab949e66d5b3bbL, "condition")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914188060(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1231e32ff7a958ceL, 0x1231e32ff7a9efcdL, "createNodeQuery")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_1071051212914267411(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, 0x45991daad6a644d4L, "value")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_3842310904416822044(final SourceSubstituteMacroNodeContext _context) {
// need a fake node, otherwise INCLUDE won't proceed
return SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept"));
}
public static SNode sourceNodeQuery_6254388211304681353(final SourceSubstituteMacroNodeContext _context) {
return ListSequence.fromList(Sequence.fromIterable(SNodeOperations.ofConcept(SNodeOperations.getChildren(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47ed6742L, "jetbrains.mps.lang.generator.structure.NodeMacro"))).toListSequence()).getElement(((Integer) _context.getVariable("macrosToSkip")));
}
public static SNode sourceNodeQuery_6304885153124996375(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_5070605274413823521(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type"));
}
public static SNode sourceNodeQuery_5070605274413823590(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type"));
}
public static SNode sourceNodeQuery_5070605274413823824(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_99767819676237576(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_6437850093717075610(final SourceSubstituteMacroNodeContext _context) {
SNode n = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefb6fe7L, "jetbrains.mps.lang.smodel.structure.ConceptId"));
ConceptId__BehaviorDescriptor.setConcept_id5ZE7FBYYR6j.invoke(n, SNodeOperations.getConcept(_context.getNode()));
return n;
}
public static SNode sourceNodeQuery_2338220375237878101(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x275d58d47b0ea3a4L, "propertyIdentity"));
}
public static SNode sourceNodeQuery_2338220375237894673(final SourceSubstituteMacroNodeContext _context) {
SNode pid = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefc235cL, "jetbrains.mps.lang.smodel.structure.PropertyId"));
PropertyId__BehaviorDescriptor.setProperty_id5ZE7FBYZ2jW.invoke(pid, PropertyAttribute__BehaviorDescriptor.getProperty_id1avfQ4BBzOo.invoke(_context.getNode()));
return pid;
}
public static SNode sourceNodeQuery_521066010461108913(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x73b32c69a0d9e3dL, "role"));
}
public static SNode sourceNodeQuery_3413262193427369245(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x73b32c69a0d9e3dL, "role"));
}
public static SNode sourceNodeQuery_3413262193427392392(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x73b32c69a0d9e3dL, "role"));
}
public static SNode sourceNodeQuery_1749921652113296946(final SourceSubstituteMacroNodeContext _context) {
return ((SNode) _context.getVariable("var:inputNode"));
}
public static SNode sourceNodeQuery_4219501964100140545(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6ecL, "jetbrains.mps.lang.smodel.structure.ReferenceLinkId"));
ReferenceLinkId__BehaviorDescriptor.setReference_id7jb4LXp9a6q.invoke(rv, LinkAttribute__BehaviorDescriptor.getLink_id1avfQ4BEFo6.invoke(_context.getNode()));
return rv;
}
public static SNode sourceNodeQuery_1246578104714226092(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_4219501964100894403(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(rv, _context.getNode().getContainmentLink());
return rv;
}
public static SNode sourceNodeQuery_1545727400807789616(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_3413262193426462322(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(rv, _context.getNode().getContainmentLink());
return rv;
}
public static SNode sourceNodeQuery_1246578104714225962(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_3413262193426490691(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(rv, _context.getNode().getContainmentLink());
return rv;
}
public static SNode sourceNodeQuery_99767819676502867(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_3205439297087194401(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence"));
}
public static SNode sourceNodeQuery_2367250605809533563(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, 0x1163aea5803L, "alternativeConsequence"));
}
public static SNode sourceNodeQuery_6437850093716437150(final SourceSubstituteMacroNodeContext _context) {
SNode n = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefb6fe7L, "jetbrains.mps.lang.smodel.structure.ConceptId"));
ConceptId__BehaviorDescriptor.setConcept_id5ZE7FBYYR6j.invoke(n, SNodeOperations.getConcept(SNodeOperations.getParent(_context.getNode())));
return n;
}
public static SNode sourceNodeQuery_99767819676503930(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_1503590073461987922(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_3205439297087228081(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).first(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"));
}
public static SNode sourceNodeQuery_2367250605811636467(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).first(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"));
}
public static SNode sourceNodeQuery_3205439297087218014(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"));
}
public static SNode sourceNodeQuery_2367250605811643392(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645018abcL, "caseConsequence"));
}
public static SNode sourceNodeQuery_3205439297087215290(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_2367250605811681304(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_3205439297087223686(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_2367250605811685774(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fb7f64L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_2226924809856057992(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x112103dd1e8L, 0x112103ebf76L, "templateNode"));
}
public static SNode sourceNodeQuery_4006750417599349235(final SourceSubstituteMacroNodeContext _context) {
return ((SNode) _context.getVariable("weaveRule"));
}
public static SNode sourceNodeQuery_3205439297087209483(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence"));
}
public static SNode sourceNodeQuery_2367250605809458720(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence"));
}
public static SNode sourceNodeQuery_8371596541809530209(final SourceSubstituteMacroNodeContext _context) {
SNode typeNode = ConceptFunction__BehaviorDescriptor.getExpectedReturnType_idhEwIGRD.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, 0x380132d742e94e82L, "query")));
if (SNodeOperations.isInstanceOf(typeNode, MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37f506dL, "jetbrains.mps.baseLanguage.structure.Type"))) {
SNode classifierType = ClassifierTypeUtil.getTypeCoercedToClassifierType(SNodeOperations.cast(typeNode, MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37f506dL, "jetbrains.mps.baseLanguage.structure.Type")));
return ((classifierType != null) ? classifierType : typeNode);
}
return typeNode;
}
public static SNode sourceNodeQuery_330395710727889086(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x1031947e414L, "modifiedSwitch"));
}
public static SNode sourceNodeQuery_3205439297087188214(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11013877b73L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_2367250605809430369(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x11013877b73L, "defaultConsequence"));
}
public static SNode sourceNodeQuery_6437850093717023245(final SourceSubstituteMacroNodeContext _context) {
SNode n = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefb6fe7L, "jetbrains.mps.lang.smodel.structure.ConceptId"));
ConceptId__BehaviorDescriptor.setConcept_id5ZE7FBYYR6j.invoke(n, SNodeOperations.getConcept(SNodeOperations.getParent(_context.getNode())));
return n;
}
public static SNode sourceNodeQuery_2321430363679348339(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_5659786285834812682(final SourceSubstituteMacroNodeContext _context) {
SNode classifierType = ClassifierTypeUtil.getTypeCoercedToClassifierType(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x457655815a794e79L, 0x457655815a794e7aL, "parameter")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type")));
return ((classifierType != null) ? classifierType : SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x457655815a794e79L, 0x457655815a794e7aL, "parameter")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type")));
}
public static SNode sourceNodeQuery_559189405767682907(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0xe2b8adb3abb51f8L, "anchorQuery"));
}
public static SNode sourceNodeQuery_559189405767894994(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0x1104fd38a1cL, "ruleConsequence"));
}
public static SNode sourceNodeQuery_1340813738844795847(final SourceSubstituteMacroNodeContext _context) {
SNode concept = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefb6fe7L, "jetbrains.mps.lang.smodel.structure.ConceptId"));
ConceptId__BehaviorDescriptor.setConcept_id5ZE7FBYYR6j.invoke(concept, PatternExpression__BehaviorDescriptor.getQuotedNodeConcept_id4vXWNHn1_L$.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a13891aL, "pattern"))));
return concept;
}
public static SNode sourceNodeQuery_3205439297087202526(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence"));
}
public static SNode sourceNodeQuery_2367250605809447638(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence"));
}
public static SNode sourceNodeQuery_2990947723228973279(final SourceSubstituteMacroNodeContext _context) {
SNode classifierType = ClassifierTypeUtil.getTypeCoercedToClassifierType(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type")));
return ((classifierType != null) ? classifierType : SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a0962e6L, 0x190d31fe6a096acfL, "type")));
}
public static SNode sourceNodeQuery_8371596541809419427(final SourceSubstituteMacroNodeContext _context) {
SNode vardecl = null;
if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPatternVarRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPatternVarRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x40be82ad503b3c88L, 0x40be82ad503b3ec4L, "patternVarDecl"));
} else if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPropertyPatternRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, "jetbrains.mps.lang.generator.structure.TemplateArgumentPropertyPatternRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de7L, 0x42d71bfbeb1a5de9L, "propertyPattern"));
} else if (SNodeOperations.isInstanceOf(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, "jetbrains.mps.lang.generator.structure.TemplateArgumentLinkPatternRefExpression"))) {
vardecl = SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, "jetbrains.mps.lang.generator.structure.TemplateArgumentLinkPatternRefExpression")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x42d71bfbeb1a5de8L, 0x42d71bfbeb1a5deaL, "patternVar"));
}
if ((vardecl == null)) {
_context.showErrorMessage(_context.getNode(), "unknown pattern reference");
}
SNode res = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, "jetbrains.mps.baseLanguage.structure.ClassifierType"));
SLinkOperations.setTarget(res, MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier"), PatternVarsUtil.getFieldTypeReference(vardecl));
return res;
}
public static SNode sourceNodeQuery_4006750417599343803(final SourceSubstituteMacroNodeContext _context) {
return ((SNode) _context.getVariable("weaveRule"));
}
public static SNode sourceNodeQuery_6458924870076503432(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(rv, SNodeOperations.getParent(_context.getNode()).getContainmentLink());
return rv;
}
public static SNode sourceNodeQuery_6458924870076512945(final SourceSubstituteMacroNodeContext _context) {
SNode rv = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(rv, SNodeOperations.getParent(_context.getNode()).getContainmentLink());
return rv;
}
public static SNode sourceNodeQuery_8124707847641033598(final SourceSubstituteMacroNodeContext _context) {
return ((SNode) _context.getVariable("template"));
}
public static SNode sourceNodeQuery_8152851815335362506(final SourceSubstituteMacroNodeContext _context) {
return ((SNode) _context.getVariable("template"));
}
public static SNode sourceNodeQuery_2760176984813719443(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_3462145372628093978(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_7173753398979269243(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x300c02df884235d3L, 0x2449b12bc386c28dL, "anchorQuery"));
}
public static SNode sourceNodeQuery_5015072279636784253(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_8431202617644808494(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_2488797604450286133(final SourceSubstituteMacroNodeContext _context) {
return ((Iterator<SNode>) _context.getVariable("var:argsIterator")).next();
}
public static SNode sourceNodeQuery_6254388211301139137(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static SNode sourceNodeQuery_6254388211301139213(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_2488797604450489437(final SourceSubstituteMacroNodeContext _context) {
return ((Iterator<SNode>) _context.getVariable("var:argsIterator")).next();
}
public static SNode sourceNodeQuery_6254388211301139319(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static SNode sourceNodeQuery_6254388211301139404(final SourceSubstituteMacroNodeContext _context) {
return SNodeOperations.getParent(_context.getNode());
}
public static SNode sourceNodeQuery_5777101398029069927(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction"));
}
public static SNode sourceNodeQuery_5777101398029211319(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction"));
}
public static SNode sourceNodeQuery_5777101398031019093(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction"));
}
public static SNode sourceNodeQuery_4560626146938695854(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, 0xe2b8adb3abb51f8L, "anchorQuery"));
}
public static SNode sourceNodeQuery_8530069850499932443(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, 0x11645011ba5L, "conditionFunction"));
}
public static SNode sourceNodeQuery_4426797670062877357(final SourceSubstituteMacroNodeContext _context) {
SNode classifierType = ClassifierTypeUtil.getTypeCoercedToClassifierType(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x3d6f2506d88aa028L, 0x25c655ce6e80fddaL, "varmacro")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, 0x45991daad6a644fbL, "type")));
return ((classifierType != null) ? classifierType : SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x3d6f2506d88aa028L, 0x25c655ce6e80fddaL, "varmacro")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, 0x45991daad6a644fbL, "type")));
}
public static SNode sourceNodeQuery_9109410030988161355(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_9109410030988186343(final SourceSubstituteMacroNodeContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body"));
}
public static SNode sourceNodeQuery_2489587833474148188(final SourceSubstituteMacroNodeContext _context) {
SNode typeNode = TypeChecker.getInstance().getTypeOf(_context.getNode());
if (SNodeOperations.isInstanceOf(typeNode, MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37f506dL, "jetbrains.mps.baseLanguage.structure.Type"))) {
SNode classifierType = ClassifierTypeUtil.getTypeCoercedToClassifierType(SNodeOperations.cast(typeNode, MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37f506dL, "jetbrains.mps.baseLanguage.structure.Type")));
return ((classifierType != null) ? classifierType : typeNode);
}
return typeNode;
}
public static Object templateArgumentQuery_5070605274413823453(final TemplateArgumentContext _context) {
return SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, "jetbrains.mps.lang.generator.structure.TemplateFragment"), false, new SAbstractConcept[]{});
}
public static Object templateArgumentQuery_6254388211304644204(final TemplateArgumentContext _context) {
return ((Integer) _context.getVariable("macrosToSkip")) + 1;
}
public static Object templateArgumentQuery_3257252407654859800(final TemplateArgumentContext _context) {
return GenUtil.getMetaObjectHelper(_context, SNodeOperations.getContainingRoot(_context.getNode()));
}
public static Object templateArgumentQuery_6389702176794341072(final TemplateArgumentContext _context) {
return GenUtil.getExtractedMethodName(_context, _context.getNode());
}
public static Object templateArgumentQuery_6389702176794275053(final TemplateArgumentContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).translate(new ITranslator2<SNode, SNode>() {
public Iterable<SNode> translate(SNode it) {
return SNodeOperations.getNodeDescendants(it, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, "jetbrains.mps.lang.generator.structure.MapSrcNodeMacro"), false, new SAbstractConcept[]{});
}
}).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")) == null);
}
}).select(new ISelector<SNode, SNode>() {
public SNode select(SNode it) {
return SNodeOperations.getParent(it);
}
}).distinct();
}
public static Object templateArgumentQuery_7664108699562530008(final TemplateArgumentContext _context) {
return (ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"))).isNotEmpty() ? "contextWithParams" : "context");
}
public static Object templateArgumentQuery_6389702176794129777(final TemplateArgumentContext _context) {
return ListSequence.fromList(SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, "jetbrains.mps.lang.generator.structure.MapSrcNodeMacro"), false, new SAbstractConcept[]{})).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10759372d78L, 0x11094b2b653L, "mapperFunction")) == null);
}
}).select(new ISelector<SNode, SNode>() {
public SNode select(SNode it) {
return SNodeOperations.getParent(it);
}
}).distinct();
}
public static Object templateArgumentQuery_7598352112177523501(final TemplateArgumentContext _context) {
return "DropRootRule" + ((Integer) _context.getVariable("cv:c"));
}
public static Object templateArgumentQuery_7598352112177502709(final TemplateArgumentContext _context) {
return "DropAttributeRule" + ((Integer) _context.getVariable("cv:c"));
}
public static Object templateArgumentQuery_99767819676503470(final TemplateArgumentContext _context) {
return "tlist" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object templateArgumentQuery_99767819676503560(final TemplateArgumentContext _context) {
return "tlist" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object templateArgumentQuery_1147906725605070288(final TemplateArgumentContext _context) {
List<SNode> fragments = SNodeOperations.getNodeDescendants(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x7b85dded0be53d6cL, 0x7b85dded0be53d6fL, "contentNode")), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, "jetbrains.mps.lang.generator.structure.TemplateFragment"), false, new SAbstractConcept[]{});
return ListSequence.fromList(fragments).select(new ISelector<SNode, SNode>() {
public SNode select(SNode it) {
return SNodeOperations.getParent(it);
}
});
}
public static Object templateArgumentQuery_965589097447685615(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1104fcac3b1L, 0x1104fcbaec2L, "template"));
}
public static Object templateArgumentQuery_1520710884206584397(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fd54746dbL, 0x10fd54746ddL, "template"));
}
public static Object templateArgumentQuery_1520710884206584276(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854dL, "templateNode"));
}
public static Object templateArgumentQuery_559189405767894802(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_965589097447685629(final TemplateArgumentContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"));
}
public static Object templateArgumentQuery_965589097447685640(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static Object templateArgumentQuery_812193811988887248(final TemplateArgumentContext _context) {
return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x300c02df884235d3L, 0x300c02df884261edL, "ruleConsequence")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"));
}
public static Object templateArgumentQuery_812193811988887252(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x300c02df884235d3L, 0x300c02df884261edL, "ruleConsequence")), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static Object templateArgumentQuery_812193811988887317(final TemplateArgumentContext _context) {
return "weaveContextVar" + ((int[]) _context.getVariable("varindex"))[0];
}
public static Object templateArgumentQuery_2367250605809341733(final TemplateArgumentContext _context) {
return GenUtil.getVarHack(_context, _context.getNode());
}
public static Object templateArgumentQuery_3079684480025373734(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_2367250605807534561(final TemplateArgumentContext _context) {
return new int[1];
}
public static Object templateArgumentQuery_1317766042766407591(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_7173753398979075580(final TemplateArgumentContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).indexOf(_context.getNode());
}
public static Object templateArgumentQuery_3079684480026273928(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024299050(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025141841(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getNewName();
}
public static Object templateArgumentQuery_3079684480025141844(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_3079684480025141847(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621b434a7L, "includeTemplate"));
}
public static Object templateArgumentQuery_3079684480025175070(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getNewName();
}
public static Object templateArgumentQuery_3079684480025175073(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_3079684480025175077(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11621ab7715L, 0x11621b434a7L, "includeTemplate"));
}
public static Object templateArgumentQuery_747214206848667639(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_1317766042765368316(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_3079684480024743465(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024595636(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024600517(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025097242(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getNewName();
}
public static Object templateArgumentQuery_3079684480025097245(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_3079684480025097248(final TemplateArgumentContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"));
}
public static Object templateArgumentQuery_3079684480025097251(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static Object templateArgumentQuery_3079684480025048763(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getNewName();
}
public static Object templateArgumentQuery_3079684480025062429(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_1749921652111953123(final TemplateArgumentContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"));
}
public static Object templateArgumentQuery_1749921652111953130(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static Object templateArgumentQuery_3079684480026308822(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025390160(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_3079684480025404388(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_1520710884206584415(final TemplateArgumentContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"));
}
public static Object templateArgumentQuery_1520710884206584426(final TemplateArgumentContext _context) {
return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template"));
}
public static Object templateArgumentQuery_3079684480024660089(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_6389702176794111098(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_1317766042765398120(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_3079684480024876205(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024956118(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025926133(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024927464(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025318570(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480025304113(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3079684480024768675(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).next();
}
public static Object templateArgumentQuery_3205439297087209307(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_3205439297087209311(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_3205439297087188023(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_3205439297087188027(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_4006750417599331591(final TemplateArgumentContext _context) {
return _context.getNode();
}
public static Object templateArgumentQuery_3205439297087202360(final TemplateArgumentContext _context) {
return new int[]{0};
}
public static Object templateArgumentQuery_3205439297087202364(final TemplateArgumentContext _context) {
return new VariableNameSource("context");
}
public static Object templateArgumentQuery_3079684480025248428(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Object templateArgumentQuery_3079684480025260178(final TemplateArgumentContext _context) {
return ((VariableNameSource) _context.getVariable("ctx")).getActualName();
}
public static Iterable<SNode> sourceNodesQuery_6220262973299791769(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, "jetbrains.mps.lang.generator.structure.CreateRootRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854cL, "conditionFunction")) != null);
}
});
}
public static Iterable<SNode> sourceNodesQuery_6220262973300018079(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, "jetbrains.mps.lang.generator.structure.DropRootRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad314d7L, "conditionFunction")) != null);
}
});
}
public static Iterable<SNode> sourceNodesQuery_4325729345996995533(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, "jetbrains.mps.lang.generator.structure.DropAttributeRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x67b585b44f4d943bL, 0x67b585b44f4df327L, "condition")) != null);
}
});
}
public static Iterable<SNode> sourceNodesQuery_6220262973300153028(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b05beaL, "jetbrains.mps.lang.generator.structure.BaseMappingRule_Condition"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300285845(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, "jetbrains.mps.lang.generator.structure.PropertyMacro"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300421489(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, "jetbrains.mps.lang.generator.structure.ReferenceMacro"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300680629(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, "jetbrains.mps.lang.generator.structure.IfMacro"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300780494(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10ff3acfa74L, "jetbrains.mps.lang.generator.structure.SourceSubstituteMacro_SourceNodeQuery"));
}
public static Iterable<SNode> sourceNodesQuery_8080464361018862835(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression"))).union(Sequence.fromIterable(SLinkOperations.collectMany(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getInterfaceConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, "jetbrains.mps.lang.generator.structure.ITemplateCall")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression"))) && GeneratorUtilEx.shallGenerateFunctionToEvaluate(it);
}
}));
}
public static Iterable<SNode> sourceNodesQuery_1279254116904784290(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(SNodeOperations.as(_context.getNode(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, 0x380132d742e94e82L, "query")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b200L, 0xf8cc6bf961L, "statement"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300880378(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fef5bd603L, "jetbrains.mps.lang.generator.structure.SourceSubstituteMacro_SourceNodesQuery"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973300980279(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11094af4e18L, "jetbrains.mps.lang.generator.structure.MapSrcMacro_MapperFunction"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973301080202(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11d455674bfL, "jetbrains.mps.lang.generator.structure.MapSrcMacro_PostMapperFunction"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973301313062(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, "jetbrains.mps.lang.generator.structure.Weaving_MappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_1021062414717397595(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xe2b8adb3aba4b3bL, "jetbrains.mps.lang.generator.structure.WeavingAnchorQuery"));
}
public static Iterable<SNode> sourceNodesQuery_6220262973301411692(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, "jetbrains.mps.lang.generator.structure.MappingScript"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x116596b2f70L, "codeBlock")) != null);
}
});
}
public static Iterable<SNode> sourceNodesQuery_1434091819680824356(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, "jetbrains.mps.lang.generator.structure.PatternReduction_MappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_8517820026009038740(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x6cab949e66d5b3bbL, "condition")) != null);
}
});
}
public static Iterable<SNode> sourceNodesQuery_787641416589814799(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1231e32ff7a958ceL, "jetbrains.mps.lang.generator.structure.InsertMacro"));
}
public static Iterable<SNode> sourceNodesQuery_5015072279636904681(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, "jetbrains.mps.lang.generator.structure.VarMacro"));
}
public static Iterable<SNode> sourceNodesQuery_5070605274413823528(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_5070605274413823581(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_5070605274413823597(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_5070605274413823677(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_5070605274413823831(final SourceSubstituteMacroNodesContext _context) {
return ((Iterable<SNode>) _context.getVariable("fragments"));
}
public static Iterable<SNode> sourceNodesQuery_8908685395806179867(final SourceSubstituteMacroNodesContext _context) {
return ((Iterable<SNode>) _context.getVariable("fragments"));
}
public static Iterable<SNode> sourceNodesQuery_4155486055398183512(final SourceSubstituteMacroNodesContext _context) {
final List<SNode> result = new ArrayList<SNode>();
MetaObjectGenerationHelper moh = ((MetaObjectGenerationHelper) _context.getVariable("mogh"));
for (SProperty property : Sequence.fromIterable(_context.getNode().getProperties())) {
if ((AttributeOperations.getAttribute(_context.getNode(), new IAttributeDescriptor.PropertyAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, "jetbrains.mps.lang.generator.structure.PropertyMacro"), property)) != null)) {
continue;
}
SNode propertyNode = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, "jetbrains.mps.lang.generator.structure.GeneratorInternal_PropertyDescriptor"));
SNode pid = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefc235cL, "jetbrains.mps.lang.smodel.structure.PropertyId"));
PropertyId__BehaviorDescriptor.setProperty_id5ZE7FBYZ2jW.invoke(pid, property);
SLinkOperations.setTarget(propertyNode, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x275d58d47b0ea3a4L, "propertyIdentity"), pid);
SPropertyOperations.set(propertyNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x2f5e57e174670914L, "propertyIndex"), "" + ((moh == null ? -1 : moh.record(property))));
SPropertyOperations.set(propertyNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af892f9edL, 0x746e600f0bda67f9L, "propertyValue"), _context.getNode().getProperty(property));
ListSequence.fromList(result).addElement(propertyNode);
}
return result;
}
public static Iterable<SNode> sourceNodesQuery_4155486055398183657(final SourceSubstituteMacroNodesContext _context) {
return SNodeOperations.ofConcept(SNodeOperations.getChildren(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, "jetbrains.mps.lang.generator.structure.PropertyMacro"));
}
public static Iterable<SNode> sourceNodesQuery_4155486055398183756(final SourceSubstituteMacroNodesContext _context) {
List<SNode> result = new ArrayList<SNode>();
MetaObjectGenerationHelper moh = ((MetaObjectGenerationHelper) _context.getVariable("mogh"));
for (SReference reference : _context.getNode().getReferences()) {
if (AttributeOperations.getAttribute(_context.getNode(), new IAttributeDescriptor.LinkAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, "jetbrains.mps.lang.generator.structure.ReferenceMacro"), reference.getLink())) != null) {
continue;
}
SNode targetNode = jetbrains.mps.util.SNodeOperations.getTargetNodeSilently(reference);
if (targetNode == null) {
_context.showErrorMessage(_context.getNode(), "cannot resolve reference in template model; role: " + reference.getRole());
continue;
}
SNode referenceNode;
if (SNodeOperations.getModel(targetNode) == SNodeOperations.getModel(_context.getNode())) {
// internal reference
SNode refNode = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, "jetbrains.mps.lang.generator.structure.GeneratorInternal_InternalReferenceDescriptor"));
SPropertyOperations.set(refNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, 0x2073070af8a4e533L, "templateNodeId"), GeneratorUtil.getTemplateNodeId(_context.getOriginalCopiedInputNode(targetNode)));
String resolveInfo = jetbrains.mps.util.SNodeOperations.getResolveInfo(targetNode);
if (resolveInfo == null) {
resolveInfo = ((jetbrains.mps.smodel.SReference) reference).getResolveInfo();
}
SPropertyOperations.set(refNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc1bL, 0x2073070af8a4e535L, "resolveInfo"), resolveInfo);
referenceNode = refNode;
} else {
SNode refNode = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, "jetbrains.mps.lang.generator.structure.GeneratorInternal_ReferenceDescriptor"));
SPropertyOperations.set(refNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, 0x2073070af8a5157eL, "targetModel"), reference.getTargetSModelReference().toString());
SPropertyOperations.set(refNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a42ba1L, 0x2073070af8a51580L, "targetNodeId"), targetNode.getNodeId().toString());
referenceNode = refNode;
}
SNode metaId = SModelOperations.createNewNode(_context.getInputModel(), null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6ecL, "jetbrains.mps.lang.smodel.structure.ReferenceLinkId"));
ReferenceLinkId__BehaviorDescriptor.setReference_id7jb4LXp9a6q.invoke(metaId, reference.getLink());
SLinkOperations.setTarget(referenceNode, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x73b32c69a0d9e3dL, "role"), metaId);
SPropertyOperations.set(referenceNode, MetaAdapterFactory.getProperty(0xb401a68083254110L, 0x8fd384331ff25befL, 0x2073070af8a4bc2aL, 0x2f5e57e17479c8f5L, "linkIndex"), "" + ((moh == null ? -1 : moh.record(reference.getLink()))));
ListSequence.fromList(result).addElement(referenceNode);
}
return result;
}
public static Iterable<SNode> sourceNodesQuery_4155486055398184137(final SourceSubstituteMacroNodesContext _context) {
return SNodeOperations.ofConcept(SNodeOperations.getChildren(_context.getNode()), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, "jetbrains.mps.lang.generator.structure.ReferenceMacro"));
}
public static Iterable<SNode> sourceNodesQuery_4155486055398184348(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SNodeOperations.getChildren(_context.getNode())).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return !(RuleUtil.isTemplateLanguageElement(it));
}
});
}
public static Iterable<SNode> sourceNodesQuery_7635689088544993766(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088544993757(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088544983520(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088544983530(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088544983540(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088544983550(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x11c0adbe243L, "dropRootRule"));
}
public static Iterable<SNode> sourceNodesQuery_7598352112177585102(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x67b585b44f4e06dbL, "dropAttrubuteRule"));
}
public static Iterable<SNode> sourceNodesQuery_9196441569928526475(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597a610dL, "preMappingScript"));
}
public static Iterable<SNode> sourceNodesQuery_9196441569928526561(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x116597e20a5L, "postMappingScript"));
}
public static Iterable<SNode> sourceNodesQuery_1147906725605232670(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fca310cd5L, "reductionMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_330395710727988674(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x190d31fe6a177473L, "patternReductionRule"));
}
public static Iterable<SNode> sourceNodesQuery_5412006700504199274(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fd54c33e7L, "rootMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_330395710727988609(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fbbe00519L, "createRootRule"));
}
public static Iterable<SNode> sourceNodesQuery_330395710727988632(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x11c0adbe243L, "dropRootRule"));
}
public static Iterable<SNode> sourceNodesQuery_7598352112177491710(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x67b585b44f4e06dbL, "dropAttrubuteRule"));
}
public static Iterable<SNode> sourceNodesQuery_330395710727988653(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x10fc0e18af2L, "weavingMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_8961331321403161981(final SourceSubstituteMacroNodesContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
});
}
public static Iterable<SNode> sourceNodesQuery_8961331321403242135(final SourceSubstituteMacroNodesContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("nodes"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, it) != null;
}
});
}
public static Iterable<SNode> sourceNodesQuery_1147906725605332210(final SourceSubstituteMacroNodesContext _context) {
List<SNode> result = (ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).count() > 1 ? ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fa2edeL, 0x11644fe0e06L, "case"))).tailListSequence(1) : new ArrayList<SNode>());
return result;
}
public static Iterable<SNode> sourceNodesQuery_1147906725605067041(final SourceSubstituteMacroNodesContext _context) {
List<SNode> fragments = SNodeOperations.getNodeDescendants(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x7b85dded0be53d6cL, 0x7b85dded0be53d6fL, "contentNode")), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff1b29b76cL, "jetbrains.mps.lang.generator.structure.TemplateFragment"), false, new SAbstractConcept[]{});
return fragments;
}
public static Iterable<SNode> sourceNodesQuery_330395710727744214(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_3423901696829261267(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, 0x10fcae9bec0L, "reductionMappingRule"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088545006218(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"));
}
public static Iterable<SNode> sourceNodesQuery_7635689088545006230(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10313ed7688L, "jetbrains.mps.lang.generator.structure.TemplateSwitch"));
}
public static Iterable<SNode> sourceNodesQuery_2990947723228973298(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_2990947723228973336(final SourceSubstituteMacroNodesContext _context) {
return SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfe43cb41d0L, "jetbrains.mps.lang.generator.structure.TemplateDeclaration"));
}
public static Iterable<SNode> sourceNodesQuery_2990947723228997749(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getInterfaceConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, "jetbrains.mps.lang.core.structure.INamedConcept"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return AttributeOperations.getAttribute(it, new IAttributeDescriptor.NodeAttribute(MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11017244494L, "jetbrains.mps.lang.generator.structure.RootTemplateAnnotation"))) != null;
}
});
}
public static Iterable<SNode> sourceNodesQuery_7664108699562529086(final SourceSubstituteMacroNodesContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
}
public static Iterable<SNode> sourceNodesQuery_7664108699562529848(final SourceSubstituteMacroNodesContext _context) {
return Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("fragments"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return GenUtil.getVarHack(_context, SNodeOperations.getParent(it)) != null;
}
});
}
public static Iterable<SNode> sourceNodesQuery_5577795813925668106(final SourceSubstituteMacroNodesContext _context) {
return (Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("arguments"))).isNotEmpty() ? ((Iterable<SNode>) _context.getVariable("arguments")) : ListSequence.fromList(new ArrayList<SNode>()));
}
public static Iterable<SNode> sourceNodesQuery_1520710884206584190(final SourceSubstituteMacroNodesContext _context) {
return (Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("arguments"))).isNotEmpty() ? ((Iterable<SNode>) _context.getVariable("arguments")) : ListSequence.fromList(new ArrayList<SNode>()));
}
public static Iterable<SNode> sourceNodesQuery_8152851815335332092(final SourceSubstituteMacroNodesContext _context) {
return (Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("arguments"))).isNotEmpty() ? ((Iterable<SNode>) _context.getVariable("arguments")) : ListSequence.fromList(new ArrayList<SNode>()));
}
public static Iterable<SNode> sourceNodesQuery_8152851815335365594(final SourceSubstituteMacroNodesContext _context) {
return (Sequence.fromIterable(((Iterable<SNode>) _context.getVariable("arguments"))).isNotEmpty() ? ((Iterable<SNode>) _context.getVariable("arguments")) : ListSequence.fromList(new ArrayList<SNode>()));
}
public static Iterable<SNode> sourceNodesQuery_6389702176794111038(final SourceSubstituteMacroNodesContext _context) {
return ((Iterable<SNode>) _context.getVariable("toExtract"));
}
public static Iterable<SNode> sourceNodesQuery_238835255331409510(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_238835255332430282(final SourceSubstituteMacroNodesContext _context) {
return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3173L, "template")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xda3dc6e5137e9b1L, 0xda3dc6e5137ea56L, "parameter"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398023822709(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("mcWtihCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398024771975(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("mcWtihCondition"));
}
public static Iterable<SNode> sourceNodesQuery_6269311107409466849(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("scriptsWithCode"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398025471954(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("scriptsWithCode"));
}
public static Iterable<SNode> sourceNodesQuery_6269311107407467117(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398026490043(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398026914873(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398027060583(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398027750742(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398027864337(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398028648524(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398028941384(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398029211248(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398029211326(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rulesWithCondition"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398029963984(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_5777101398030860967(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_6269311107410848025(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_4560626146938627422(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("rules"));
}
public static Iterable<SNode> sourceNodesQuery_1278277619664967185(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_1278277619664967261(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_1278277619665299249(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_1278277619665299325(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_3188250212959938119(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_3188250212959938197(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_9056552524812524642(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_9056552524812524714(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_8530069850499411478(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("switchCaseNodes"));
}
public static Iterable<SNode> sourceNodesQuery_8530069850499411553(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("switchCaseNodes"));
}
public static Iterable<SNode> sourceNodesQuery_9109410030988204397(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))).translate(new ITranslator2<SNode, SNode>() {
public Iterable<SNode> translate(SNode it) {
return Sequence.fromIterable(SLinkOperations.collect(SLinkOperations.getChildren(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x2aa0a7e0ae5c5367L, "exports")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x6db65d569f9bacaL, 0x6db65d569fbd409L, "marshal"))).concat(Sequence.fromIterable(SLinkOperations.collect(SLinkOperations.getChildren(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x2aa0a7e0ae5c5367L, "exports")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x6db65d569f9bacaL, 0x6db65d569fbd422L, "unmarshal"))));
}
});
}
public static Iterable<SNode> sourceNodesQuery_3115958756404799205(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_3115958756404799284(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_6403651919169168934(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_6403651919169169011(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_5360282374927335218(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("queryExpression"))).union(ListSequence.fromList(((List<SNode>) _context.getVariable("bareExpresson"))));
}
public static Iterable<SNode> sourceNodesQuery_5360282374927335291(final SourceSubstituteMacroNodesContext _context) {
return ListSequence.fromList(((List<SNode>) _context.getVariable("queryExpression"))).union(ListSequence.fromList(((List<SNode>) _context.getVariable("bareExpresson"))));
}
public static Iterable<SNode> sourceNodesQuery_1173958055623964982(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_1173958055623965055(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("macros"));
}
public static Iterable<SNode> sourceNodesQuery_7935480418424906334(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_7935480418424906407(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("queries"));
}
public static Iterable<SNode> sourceNodesQuery_7935480418425016191(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("codeBlock"));
}
public static Iterable<SNode> sourceNodesQuery_7935480418425016264(final SourceSubstituteMacroNodesContext _context) {
return ((List<SNode>) _context.getVariable("codeBlock"));
}
public static Iterable<SNode> sourceNodesQuery_3257252407656719908(final SourceSubstituteMacroNodesContext _context) {
List<SNode> rv = ListSequence.fromList(new ArrayList<SNode>());
SModel factory = _context.getInputModel();
for (SConcept c : ((SConcept[]) _context.getVariable("var:concepts"))) {
SNode cid = SModelOperations.createNewNode(factory, null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefb6fe7L, "jetbrains.mps.lang.smodel.structure.ConceptId"));
ConceptId__BehaviorDescriptor.setConcept_id5ZE7FBYYR6j.invoke(cid, c);
ListSequence.fromList(rv).addElement(cid);
}
return rv;
}
public static Iterable<SNode> sourceNodesQuery_3257252407656720011(final SourceSubstituteMacroNodesContext _context) {
List<SNode> rv = ListSequence.fromList(new ArrayList<SNode>());
SModel factory = _context.getInputModel();
for (SProperty p : ((SProperty[]) _context.getVariable("var:properties"))) {
SNode pid = SModelOperations.createNewNode(factory, null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x5fea1eb9fefc235cL, "jetbrains.mps.lang.smodel.structure.PropertyId"));
PropertyId__BehaviorDescriptor.setProperty_id5ZE7FBYZ2jW.invoke(pid, p);
ListSequence.fromList(rv).addElement(pid);
}
return rv;
}
public static Iterable<SNode> sourceNodesQuery_3257252407656720114(final SourceSubstituteMacroNodesContext _context) {
List<SNode> rv = ListSequence.fromList(new ArrayList<SNode>());
SModel factory = _context.getInputModel();
for (SReferenceLink l : ((SReferenceLink[]) _context.getVariable("var:associations"))) {
SNode lid = SModelOperations.createNewNode(factory, null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6ecL, "jetbrains.mps.lang.smodel.structure.ReferenceLinkId"));
ReferenceLinkId__BehaviorDescriptor.setReference_id7jb4LXp9a6q.invoke(lid, l);
ListSequence.fromList(rv).addElement(lid);
}
return rv;
}
public static Iterable<SNode> sourceNodesQuery_3257252407656720217(final SourceSubstituteMacroNodesContext _context) {
List<SNode> rv = ListSequence.fromList(new ArrayList<SNode>());
SModel factory = _context.getInputModel();
for (SContainmentLink l : ((SContainmentLink[]) _context.getVariable("var:aggregations"))) {
SNode lid = SModelOperations.createNewNode(factory, null, MetaAdapterFactory.getConcept(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x74cb131f5923b6e7L, "jetbrains.mps.lang.smodel.structure.ContainmentLinkId"));
ContainmentLinkId__BehaviorDescriptor.setLink_id7jb4LXp8VsD.invoke(lid, l);
ListSequence.fromList(rv).addElement(lid);
}
return rv;
}
public static void mapSrcMacro_post_mapper_5070605274413823725(final MapSrcMacroPostProcContext _context) {
if (GenUtil.isNodeVariable(_context, SNodeOperations.getParent(_context.getNode()))) {
SLinkOperations.setTarget(_context.getOutputNode(), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier"), SLinkOperations.getTarget(SNodeOperations.cast(ListSequence.fromList(SLinkOperations.getChildren(_context.getOutputNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x102419671abL, "parameter"))).first(), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, "jetbrains.mps.baseLanguage.structure.ClassifierType")), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier")));
ListSequence.fromList(SLinkOperations.getChildren(_context.getOutputNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x102419671abL, "parameter"))).clear();
}
}
public static void mappingScript_CodeBlock_1199965771120(final MappingScriptContext _context) {
// There seems to be no reason to keep hint for TemplateFunctionParameter_sourceNode as it gets translated
// at the first step, with TLB_main. GenerationContextOp IOperations listed below, however, are processed
// when generator model is dropped and only QueriesGenerated class is present - hence can't access types from
// referenced elements (e.g. _VarRef can't reach VarMacro to find out its type and name (which, by the way, got
// into name_intern with ReduceReferenceToText neighbour script))
List<SNode> nodes = new ArrayList<SNode>();
ListSequence.fromList(nodes).addSequence(ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x186874d40edb6a16L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_PatternRef"))));
ListSequence.fromList(nodes).addSequence(ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4806ea5d84d8a2caL, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_ParameterRef"))));
ListSequence.fromList(nodes).addSequence(ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x25c655ce6e80fdd8L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_VarRef"))));
ListSequence.fromList(nodes).addSequence(ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x22cdba820a9a0583L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GenParameterRef"))));
ListSequence.fromList(nodes).addSequence(ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x671e792f3dbdfe7eL, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_ContextVarRef"))));
for (SNode n : nodes) {
SNode replacement = SModelOperations.createNewNode(_context.getModel(), null, MetaAdapterFactory.getConcept(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11763791866L, "jetbrains.mps.baseLanguageInternal.structure.TypeHintExpression"));
SLinkOperations.setTarget(replacement, MetaAdapterFactory.getContainmentLink(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11763791866L, 0x11763794499L, "typeHint"), SNodeOperations.cast(SNodeOperations.copyNode(TypeChecker.getInstance().getTypeOf(n)), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37f506dL, "jetbrains.mps.baseLanguage.structure.Type")));
SNode de = IOperation__BehaviorDescriptor.getDotExpression_idhO_4GYO.invoke(n);
SNodeOperations.replaceWithAnother(de, replacement);
SLinkOperations.setTarget(replacement, MetaAdapterFactory.getContainmentLink(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11763791866L, 0x117637931bcL, "expression"), de);
}
}
public static void mappingScript_CodeBlock_1217270660171(final MappingScriptContext _context) {
// references on mapping label will be lost because
// TLBase generator executes first and doesn't copy
// mapping configs (where labels are declared) to output model
//
{
// references in 'get by label'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0d6L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetOutputByLabel"));
for (SNode op : ops) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0d6L, 0x11b5282d0d7L, "label"));
if (label == null) {
_context.showErrorMessage(op, "reference on mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0d6L, 0x11b6b106ad8L, "labelName_intern"), SPropertyOperations.getString(label, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0d6L, 0x11b5282d0d7L, "label"), null);
}
}
{
// references in 'get by label and node'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0dbL, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetOutputByLabelAndInput"));
for (SNode op : ops) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0dbL, 0x11b5282d0dcL, "label"));
if (label == null) {
_context.showErrorMessage(op, "reference on mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0dbL, 0x11b6b10c3dcL, "labelName_intern"), SPropertyOperations.getString(label, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b5282d0dbL, 0x11b5282d0dcL, "label"), null);
}
}
{
// references in 'get by label and node and ref.scope'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c5652e4d5L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetOutputByLabelAndInputAndReferenceScope"));
for (SNode op : ops) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c5652e4d5L, 0x11c5658ea6fL, "label"));
if (label == null) {
_context.showErrorMessage(op, "reference on mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c5652e4d5L, 0x11c5658aadbL, "labelName_intern"), SPropertyOperations.getString(label, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c5652e4d5L, 0x11c5658ea6fL, "label"), null);
}
}
{
// references in 'get all by label and node'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c529a6c83L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetOutputListByLabelAndInput"));
for (SNode op : ops) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c529a6c83L, 0x11c529a6c85L, "label"));
if (label == null) {
_context.showErrorMessage(op, "reference on mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c529a6c83L, 0x11c529a6c84L, "labelName_intern"), SPropertyOperations.getString(label, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11c529a6c83L, 0x11c529a6c85L, "label"), null);
}
}
{
// references in 'get prev input by label'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b8f6c38c2L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetPrevInputByLabel"));
for (SNode op : ops) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b8f6c38c2L, 0x11b8f6c38c3L, "label"));
if (label == null) {
_context.showErrorMessage(op, "reference on mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b8f6c38c2L, 0x11b8f6c38c7L, "labelName_intern"), SPropertyOperations.getString(label, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x11b8f6c38c2L, 0x11b8f6c38c3L, "label"), null);
}
}
{
{
// references in 'parameter reference'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4806ea5d84d8a2caL, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_ParameterRef"));
for (SNode op : ops) {
SNode param = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4806ea5d84d8a2caL, 0x4806ea5d84d8d50aL, "parameter"));
if (param == null) {
_context.showErrorMessage(op, "reference on parameter is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4806ea5d84d8a2caL, 0x7221d3003f89147eL, "name_intern"), SPropertyOperations.getString(param, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4806ea5d84d8a2caL, 0x4806ea5d84d8d50aL, "parameter"), null);
}
}
// references in 'parameter reference'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x25c655ce6e80fdd8L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_VarRef"));
for (SNode op : ops) {
SNode param = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x25c655ce6e80fdd8L, 0x25c655ce6e80fddaL, "varmacro"));
if (param == null) {
_context.showErrorMessage(op, "reference on variable is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x25c655ce6e80fdd8L, 0x25c655ce6e80fdd9L, "name_intern"), VarMacro__BehaviorDescriptor.getName_id2n6lsTIwojm.invoke(param));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x25c655ce6e80fdd8L, 0x25c655ce6e80fddaL, "varmacro"), null);
}
}
{
// references in 'get prev input by label'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x186874d40edb6a16L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_PatternRef"));
for (SNode op : ops) {
SNode patternVar = GenerationContextOp_PatternRef__BehaviorDescriptor.getTarget_id1xCtdgeTQHC.invoke(op);
if (patternVar == null) {
_context.showErrorMessage(op, "reference on pattern variable is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x186874d40edb6a16L, 0x186874d40eddd84dL, "name_intern"), PatternVarsUtil.getFieldName(patternVar));
GenerationContextOp_PatternRef__BehaviorDescriptor.setTarget_id1xCtdgeUoP5.invoke(op, null);
}
}
{
// references in 'get prev input by label'
List<SNode> ops = SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x22cdba820a9a0583L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GenParameterRef"));
for (SNode op : ops) {
SNode paramref = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x22cdba820a9a0583L, 0x22cdba820a9a0584L, "importClause"));
if (paramref == null || (SLinkOperations.getTarget(paramref, MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x90726ff283cbf8aL, 0x90726ff283cbf8cL, "declaration")) == null)) {
_context.showErrorMessage(op, "reference on generation parameter is broken");
continue;
}
SNode paramDeclaration = SLinkOperations.getTarget(paramref, MetaAdapterFactory.getReferenceLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x90726ff283cbf8aL, 0x90726ff283cbf8cL, "declaration"));
if (SNodeOperations.getModel(paramDeclaration) == _context.getInputModel()) {
paramDeclaration = SNodeOperations.cast(_context.getOriginalCopiedInputNode(paramDeclaration), MetaAdapterFactory.getInterfaceConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x90726ff283822d4L, "jetbrains.mps.lang.generator.structure.IGeneratorParameter"));
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x22cdba820a9a0583L, 0x3eb28acaba77eaffL, "name_intern"), IGeneratorParameter__BehaviorDescriptor.getUniqueId_id$79JWCe2bn.invoke(paramDeclaration));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x22cdba820a9a0583L, 0x22cdba820a9a0584L, "importClause"), null);
}
}
for (SNode op : SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x6db65d569fb2527L, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_GetExport"))) {
SNode label = SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x6db65d569fb2527L, 0x6db65d569fb2528L, "label"));
if ((label == null)) {
_context.showErrorMessage(op, "reference to export label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x6db65d569fb2527L, 0x6b1b6e56cb124be9L, "name_intern"), SPropertyOperations.getString(SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x6db65d569fb2527L, 0x6db65d569fb2528L, "label")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x6db65d569fb2527L, 0x6db65d569fb2528L, "label"), null);
}
for (SNode op : SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4def01254aef34cdL, "jetbrains.mps.lang.generator.generationContext.structure.GenerationContextOp_RegisterLabel"))) {
if ((SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4def01254aef34cdL, 0x4def01254aef7752L, "label")) == null)) {
_context.showErrorMessage(op, "reference to mapping label is broken");
continue;
}
SPropertyOperations.set(op, MetaAdapterFactory.getProperty(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4def01254aef34cdL, 0x4def01254aef7758L, "labelName_intern"), SPropertyOperations.getString(SLinkOperations.getTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4def01254aef34cdL, 0x4def01254aef7752L, "label")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
SLinkOperations.setTarget(op, MetaAdapterFactory.getReferenceLink(0xd7706f639be2479cL, 0xa3daae92af1e64d5L, 0x4def01254aef34cdL, 0x4def01254aef7752L, "label"), null);
}
}
public static void mappingScript_CodeBlock_6342833957791858286(final MappingScriptContext _context) {
for (SNode n : SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, "jetbrains.mps.lang.generator.structure.PatternReduction_MappingRule"))) {
SNode rc = SLinkOperations.getTarget(n, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, 0x190d31fe6a12ebb8L, "ruleConsequence"));
if ((rc == null) || SNodeOperations.getConcept(rc) == MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x110138ccc4bL, "jetbrains.mps.lang.generator.structure.RuleConsequence")) {
_context.showErrorMessage(_context.getOriginalCopiedInputNode(n), "Empty rule consequence");
}
}
for (SNode n : SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, "jetbrains.mps.lang.generator.structure.Reduction_MappingRule"))) {
SNode rc = SLinkOperations.getTarget(n, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, 0x11055ee07edL, "ruleConsequence"));
if ((rc == null) || SNodeOperations.getConcept(rc) == MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x110138ccc4bL, "jetbrains.mps.lang.generator.structure.RuleConsequence")) {
_context.showErrorMessage(_context.getOriginalCopiedInputNode(n), "Empty rule consequence");
}
}
}
public static void mappingScript_CodeBlock_6458924870074299562(final MappingScriptContext _context) {
SModelReference currentModel = _context.getModel().getReference();
for (SNode node : SModelOperations.nodes(_context.getModel(), null)) {
if (RuleUtil.isTemplateLanguageElement(node)) {
continue;
}
for (SReference ref : node.getReferences()) {
if (!(currentModel.equals(ref.getTargetSModelReference()))) {
continue;
}
SNode targetNode = ref.getTargetNode();
if (targetNode == null) {
continue;
}
GenUtil.markHasIncomingRefs(targetNode);
}
}
}
public static boolean mappingConfiguration_Condition_4914935534439018039(final TemplateQueryContext _context) {
return GenUtil.isGeneratable(_context.getOriginalInputModel());
}
public static boolean mappingConfiguration_Condition_4914935534438638176(final TemplateQueryContext _context) {
SNode ownerModule = SModelOperations.getModuleStub(_context.getOriginalInputModel());
if (SNodeOperations.isInstanceOf(ownerModule, MetaAdapterFactory.getConcept(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe21L, "jetbrains.mps.lang.project.structure.Generator"))) {
return true;
}
_context.showWarningMessage(null, String.format("Generator language is applied to a model %s not from generator module (actual module is %s), aborted.", SModelOperations.getModelName(_context.getOriginalInputModel()), SPropertyOperations.getString(ownerModule, MetaAdapterFactory.getProperty(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe1eL, 0x5869770da61dfe23L, "namespace"))));
return false;
}
public static Object insertMacro_varValue_3115958756406550621(final TemplateVarContext _context) {
SNode generator = SNodeOperations.cast(SModelOperations.getModuleStub(_context.getOriginalInputModel()), MetaAdapterFactory.getConcept(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe21L, "jetbrains.mps.lang.project.structure.Generator"));
return (generator != null) && !(SPropertyOperations.getBoolean(generator, MetaAdapterFactory.getProperty(0x86ef829012bb4ca7L, 0x947f093788f263a9L, 0x5869770da61dfe21L, 0x64a78ad4da8f85a6L, "reflectiveQueries")));
}
public static Object insertMacro_varValue_3257252407656969170(final TemplateVarContext _context) {
return GenUtil.createMetaObjectHelper(_context, _context.getNode());
}
public static Object insertMacro_varValue_1749921652113179200(final TemplateVarContext _context) {
return _context.getNode();
}
public static Object insertMacro_varValue_3413262193425034725(final TemplateVarContext _context) {
return GenUtil.createMetaObjectHelper(_context, _context.getNode());
}
public static Object insertMacro_varValue_238835255331450998(final TemplateVarContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"))).iterator();
}
public static Object insertMacro_varValue_238835255332430271(final TemplateVarContext _context) {
return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"))).iterator();
}
public static Object insertMacro_varValue_5777101398026735027(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fca296532L, "jetbrains.mps.lang.generator.structure.Reduction_MappingRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_5777101398029352046(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fd54746dbL, "jetbrains.mps.lang.generator.structure.Root_MappingRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0b64647L, 0x10fc0b719bdL, "conditionFunction")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_5777101398029280637(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, "jetbrains.mps.lang.generator.structure.CreateRootRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fbbd5854aL, 0x10fbbd5854cL, "conditionFunction")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_5777101398027561857(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, "jetbrains.mps.lang.generator.structure.DropRootRule"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11c0acf58efL, 0x11c0ad314d7L, "conditionFunction")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_5777101398028251504(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x190d31fe6a12ebb4L, "jetbrains.mps.lang.generator.structure.PatternReduction_MappingRule"));
}
public static Object insertMacro_varValue_5777101398030068127(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fc0d8c573L, "jetbrains.mps.lang.generator.structure.Weaving_MappingRule"));
}
public static Object insertMacro_varValue_5777101398025939651(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, "jetbrains.mps.lang.generator.structure.MappingScript"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1165958fcd6L, 0x116596b2f70L, "codeBlock")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_5777101398023960740(final TemplateVarContext _context) {
return ListSequence.fromList(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, "jetbrains.mps.lang.generator.structure.MappingConfiguration"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return (SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0xff0bea0475L, 0x6cab949e66d5b3bbL, "condition")) != null);
}
}).toListSequence();
}
public static Object insertMacro_varValue_722645242529620921(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10ff3acfa74L, "jetbrains.mps.lang.generator.structure.SourceSubstituteMacro_SourceNodeQuery"));
}
public static Object insertMacro_varValue_722645242529844714(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x10fef5bd603L, "jetbrains.mps.lang.generator.structure.SourceSubstituteMacro_SourceNodesQuery"));
}
public static Object insertMacro_varValue_3188250212960691884(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd47e9f6f0L, "jetbrains.mps.lang.generator.structure.PropertyMacro"));
}
public static Object insertMacro_varValue_9056552524812639897(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1047c1472deL, "jetbrains.mps.lang.generator.structure.IfMacro"));
}
public static Object insertMacro_varValue_8530069850499835004(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11644fdbf49L, "jetbrains.mps.lang.generator.structure.InlineSwitch_Case"));
}
public static Object insertMacro_varValue_3115958756404955745(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0xfd7f44d616L, "jetbrains.mps.lang.generator.structure.ReferenceMacro"));
}
public static Object insertMacro_varValue_6403651919169289300(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x45991daad6a3d34eL, "jetbrains.mps.lang.generator.structure.VarMacro"));
}
public static Object insertMacro_varValue_5360282374927746184(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression"));
}
public static Object insertMacro_varValue_5360282374927784677(final TemplateVarContext _context) {
return Sequence.fromIterable(SLinkOperations.collectMany(SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getInterfaceConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, "jetbrains.mps.lang.generator.structure.ITemplateCall")), MetaAdapterFactory.getContainmentLink(0xb401a68083254110L, 0x8fd384331ff25befL, 0x17e941d108ce3120L, 0x17e941d108ce3125L, "actualArgument"))).where(new IWhereFilter<SNode>() {
public boolean accept(SNode it) {
return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x380132d742e8ccb0L, "jetbrains.mps.lang.generator.structure.TemplateArgumentQueryExpression"))) && GeneratorUtilEx.shallGenerateFunctionToEvaluate(it);
}
}).toListSequence();
}
public static Object insertMacro_varValue_1173958055624161920(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x1231e32ff7a958ceL, "jetbrains.mps.lang.generator.structure.InsertMacro"));
}
public static Object insertMacro_varValue_7935480418425115198(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11094af4e18L, "jetbrains.mps.lang.generator.structure.MapSrcMacro_MapperFunction"));
}
public static Object insertMacro_varValue_7935480418425129338(final TemplateVarContext _context) {
return SModelOperations.nodes(_context.getInputModel(), MetaAdapterFactory.getConcept(0xb401a68083254110L, 0x8fd384331ff25befL, 0x11d455674bfL, "jetbrains.mps.lang.generator.structure.MapSrcMacro_PostMapperFunction"));
}
public static Object insertMacro_varValue_3257252407656719953(final TemplateVarContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).getConcepts();
}
public static Object insertMacro_varValue_3257252407656720056(final TemplateVarContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).getProperties();
}
public static Object insertMacro_varValue_3257252407656720159(final TemplateVarContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).getAssociationLinks();
}
public static Object insertMacro_varValue_3257252407656720262(final TemplateVarContext _context) {
return ((MetaObjectGenerationHelper) _context.getVariable("mogh")).getAggregationLinks();
}
private final Map<String, ReductionRuleCondition> rrcMethods = new HashMap<String, ReductionRuleCondition>();
{
int i = 0;
rrcMethods.put("2489587833474146232", new QueriesGenerated.RRC(i++));
}
@Override
@NotNull
public ReductionRuleCondition getReductionRuleCondition(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(rrcMethods.containsKey(id))) {
return super.getReductionRuleCondition(identity);
}
return rrcMethods.get(id);
}
private static class RRC implements ReductionRuleCondition {
private final int methodKey;
public RRC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(ReductionRuleQueryContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.baseMappingRule_Condition_2489587833474146248(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, MapRootRuleCondition> mrrcMethods = new HashMap<String, MapRootRuleCondition>();
{
int i = 0;
mrrcMethods.put("747214206848656614", new QueriesGenerated.MRRC(i++));
}
@Override
@NotNull
public MapRootRuleCondition getMapRootRuleCondition(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(mrrcMethods.containsKey(id))) {
return super.getMapRootRuleCondition(identity);
}
return mrrcMethods.get(id);
}
private static class MRRC implements MapRootRuleCondition {
private final int methodKey;
public MRRC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(@NotNull MapRootRuleContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.baseMappingRule_Condition_747214206848656615(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, CreateRootCondition> crcMethods = new HashMap<String, CreateRootCondition>();
{
int i = 0;
crcMethods.put("9109410030988204117", new QueriesGenerated.CRC(i++));
}
@Override
@NotNull
public CreateRootCondition getCreateRootRuleCondition(@NotNull QueryKey identity) {
String id = identity.getTemplateNode().getNodeId().toString();
if (!(crcMethods.containsKey(id))) {
return super.getCreateRootRuleCondition(identity);
}
return crcMethods.get(id);
}
private static class CRC implements CreateRootCondition {
private final int methodKey;
public CRC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(@NotNull CreateRootRuleContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.createRootRule_Condition_9109410030988282270(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, DropRuleCondition> drcMethods = new HashMap<String, DropRuleCondition>();
{
int i = 0;
drcMethods.put("4914935534439454949", new QueriesGenerated.DRC(i++));
}
@Override
@NotNull
public DropRuleCondition getDropRuleCondition(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(drcMethods.containsKey(id))) {
return super.getDropRuleCondition(identity);
}
return drcMethods.get(id);
}
private static class DRC implements DropRuleCondition {
private final int methodKey;
public DRC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(@NotNull DropRootRuleContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.dropRootRule_Condition_4914935534439454950(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, ScriptCodeBlock> mscbMethods = new HashMap<String, ScriptCodeBlock>();
{
int i = 0;
mscbMethods.put("1199965771119", new QueriesGenerated.SCB(i++));
mscbMethods.put("1217270660170", new QueriesGenerated.SCB(i++));
mscbMethods.put("6342833957791858285", new QueriesGenerated.SCB(i++));
mscbMethods.put("6458924870074299561", new QueriesGenerated.SCB(i++));
}
@Override
@NotNull
public ScriptCodeBlock getScriptCodeBlock(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(mscbMethods.containsKey(id))) {
return super.getScriptCodeBlock(identity);
}
return mscbMethods.get(id);
}
private static class SCB implements ScriptCodeBlock {
private final int methodKey;
public SCB(int methodKey) {
this.methodKey = methodKey;
}
@Override
public void invoke(MappingScriptContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
QueriesGenerated.mappingScript_CodeBlock_1199965771120(ctx);
return;
case 1:
QueriesGenerated.mappingScript_CodeBlock_1217270660171(ctx);
return;
case 2:
QueriesGenerated.mappingScript_CodeBlock_6342833957791858286(ctx);
return;
case 3:
QueriesGenerated.mappingScript_CodeBlock_6458924870074299562(ctx);
return;
default:
throw new GenerationFailureException(String.format("There's no code block with method index %d ", methodKey));
}
}
}
private final Map<String, MapConfigurationCondition> mccMethods = new HashMap<String, MapConfigurationCondition>();
{
int i = 0;
mccMethods.put("1167163238171", new QueriesGenerated.MCC(i++));
mccMethods.put("4914935534438618871", new QueriesGenerated.MCC(i++));
}
@Override
@NotNull
public MapConfigurationCondition getMapConfigurationCondition(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(mccMethods.containsKey(id))) {
return super.getMapConfigurationCondition(identity);
}
return mccMethods.get(id);
}
private static class MCC implements MapConfigurationCondition {
private final int methodKey;
public MCC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(TemplateQueryContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.mappingConfiguration_Condition_4914935534439018039(ctx);
case 1:
return QueriesGenerated.mappingConfiguration_Condition_4914935534438638176(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for map configuration %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, SourceNodeQuery> snqMethods = new HashMap<String, SourceNodeQuery>();
{
int i = 0;
snqMethods.put("1071051212913897962", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914077669", new QueriesGenerated.SNQ(i++));
snqMethods.put("6350531115353888566", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212913967164", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914722725", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914681732", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914019086", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914631800", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914531964", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914482068", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212917415957", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914373543", new QueriesGenerated.SNQ(i++));
snqMethods.put("1021062414717397618", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212917296628", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212912102652", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914128473", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914188060", new QueriesGenerated.SNQ(i++));
snqMethods.put("1071051212914267411", new QueriesGenerated.SNQ(i++));
snqMethods.put("3842310904416822044", new QueriesGenerated.SNQ(i++));
snqMethods.put("6254388211304681353", new QueriesGenerated.SNQ(i++));
snqMethods.put("6304885153124996375", new QueriesGenerated.SNQ(i++));
snqMethods.put("5070605274413823521", new QueriesGenerated.SNQ(i++));
snqMethods.put("5070605274413823590", new QueriesGenerated.SNQ(i++));
snqMethods.put("5070605274413823824", new QueriesGenerated.SNQ(i++));
snqMethods.put("99767819676237576", new QueriesGenerated.SNQ(i++));
snqMethods.put("6437850093717075610", new QueriesGenerated.SNQ(i++));
snqMethods.put("2338220375237878101", new QueriesGenerated.SNQ(i++));
snqMethods.put("2338220375237894673", new QueriesGenerated.SNQ(i++));
snqMethods.put("521066010461108913", new QueriesGenerated.SNQ(i++));
snqMethods.put("3413262193427369245", new QueriesGenerated.SNQ(i++));
snqMethods.put("3413262193427392392", new QueriesGenerated.SNQ(i++));
snqMethods.put("1749921652113296946", new QueriesGenerated.SNQ(i++));
snqMethods.put("4219501964100140545", new QueriesGenerated.SNQ(i++));
snqMethods.put("1246578104714226092", new QueriesGenerated.SNQ(i++));
snqMethods.put("4219501964100894403", new QueriesGenerated.SNQ(i++));
snqMethods.put("1545727400807789616", new QueriesGenerated.SNQ(i++));
snqMethods.put("3413262193426462322", new QueriesGenerated.SNQ(i++));
snqMethods.put("1246578104714225962", new QueriesGenerated.SNQ(i++));
snqMethods.put("3413262193426490691", new QueriesGenerated.SNQ(i++));
snqMethods.put("99767819676502867", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087194401", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605809533563", new QueriesGenerated.SNQ(i++));
snqMethods.put("6437850093716437150", new QueriesGenerated.SNQ(i++));
snqMethods.put("99767819676503930", new QueriesGenerated.SNQ(i++));
snqMethods.put("1503590073461987922", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087228081", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605811636467", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087218014", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605811643392", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087215290", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605811681304", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087223686", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605811685774", new QueriesGenerated.SNQ(i++));
snqMethods.put("2226924809856057992", new QueriesGenerated.SNQ(i++));
snqMethods.put("4006750417599349235", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087209483", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605809458720", new QueriesGenerated.SNQ(i++));
snqMethods.put("8371596541809530209", new QueriesGenerated.SNQ(i++));
snqMethods.put("330395710727889086", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087188214", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605809430369", new QueriesGenerated.SNQ(i++));
snqMethods.put("6437850093717023245", new QueriesGenerated.SNQ(i++));
snqMethods.put("2321430363679348339", new QueriesGenerated.SNQ(i++));
snqMethods.put("5659786285834812682", new QueriesGenerated.SNQ(i++));
snqMethods.put("559189405767682907", new QueriesGenerated.SNQ(i++));
snqMethods.put("559189405767894994", new QueriesGenerated.SNQ(i++));
snqMethods.put("1340813738844795847", new QueriesGenerated.SNQ(i++));
snqMethods.put("3205439297087202526", new QueriesGenerated.SNQ(i++));
snqMethods.put("2367250605809447638", new QueriesGenerated.SNQ(i++));
snqMethods.put("2990947723228973279", new QueriesGenerated.SNQ(i++));
snqMethods.put("8371596541809419427", new QueriesGenerated.SNQ(i++));
snqMethods.put("4006750417599343803", new QueriesGenerated.SNQ(i++));
snqMethods.put("6458924870076503432", new QueriesGenerated.SNQ(i++));
snqMethods.put("6458924870076512945", new QueriesGenerated.SNQ(i++));
snqMethods.put("8124707847641033598", new QueriesGenerated.SNQ(i++));
snqMethods.put("8152851815335362506", new QueriesGenerated.SNQ(i++));
snqMethods.put("2760176984813719443", new QueriesGenerated.SNQ(i++));
snqMethods.put("3462145372628093978", new QueriesGenerated.SNQ(i++));
snqMethods.put("7173753398979269243", new QueriesGenerated.SNQ(i++));
snqMethods.put("5015072279636784253", new QueriesGenerated.SNQ(i++));
snqMethods.put("8431202617644808494", new QueriesGenerated.SNQ(i++));
snqMethods.put("2488797604450286133", new QueriesGenerated.SNQ(i++));
snqMethods.put("6254388211301139137", new QueriesGenerated.SNQ(i++));
snqMethods.put("6254388211301139213", new QueriesGenerated.SNQ(i++));
snqMethods.put("2488797604450489437", new QueriesGenerated.SNQ(i++));
snqMethods.put("6254388211301139319", new QueriesGenerated.SNQ(i++));
snqMethods.put("6254388211301139404", new QueriesGenerated.SNQ(i++));
snqMethods.put("5777101398029069927", new QueriesGenerated.SNQ(i++));
snqMethods.put("5777101398029211319", new QueriesGenerated.SNQ(i++));
snqMethods.put("5777101398031019093", new QueriesGenerated.SNQ(i++));
snqMethods.put("4560626146938695854", new QueriesGenerated.SNQ(i++));
snqMethods.put("8530069850499932443", new QueriesGenerated.SNQ(i++));
snqMethods.put("4426797670062877357", new QueriesGenerated.SNQ(i++));
snqMethods.put("9109410030988161355", new QueriesGenerated.SNQ(i++));
snqMethods.put("9109410030988186343", new QueriesGenerated.SNQ(i++));
snqMethods.put("2489587833474148188", new QueriesGenerated.SNQ(i++));
}
@NotNull
@Override
public SourceNodeQuery getSourceNodeQuery(@NotNull QueryKey identity) {
final String id = ((QueryKeyImpl) identity).getQueryNodeId().toString();
if (!(snqMethods.containsKey(id))) {
return super.getSourceNodeQuery(identity);
}
return snqMethods.get(id);
}
private static class SNQ implements SourceNodeQuery {
private final int methodKey;
public SNQ(int methodKey) {
this.methodKey = methodKey;
}
@Nullable
public SNode evaluate(@NotNull SourceSubstituteMacroNodeContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.sourceNodeQuery_1071051212913897962(ctx);
case 1:
return QueriesGenerated.sourceNodeQuery_1071051212914077669(ctx);
case 2:
return QueriesGenerated.sourceNodeQuery_6350531115353888566(ctx);
case 3:
return QueriesGenerated.sourceNodeQuery_1071051212913967164(ctx);
case 4:
return QueriesGenerated.sourceNodeQuery_1071051212914722725(ctx);
case 5:
return QueriesGenerated.sourceNodeQuery_1071051212914681732(ctx);
case 6:
return QueriesGenerated.sourceNodeQuery_1071051212914019086(ctx);
case 7:
return QueriesGenerated.sourceNodeQuery_1071051212914631800(ctx);
case 8:
return QueriesGenerated.sourceNodeQuery_1071051212914531964(ctx);
case 9:
return QueriesGenerated.sourceNodeQuery_1071051212914482068(ctx);
case 10:
return QueriesGenerated.sourceNodeQuery_1071051212917415957(ctx);
case 11:
return QueriesGenerated.sourceNodeQuery_1071051212914373543(ctx);
case 12:
return QueriesGenerated.sourceNodeQuery_1021062414717397618(ctx);
case 13:
return QueriesGenerated.sourceNodeQuery_1071051212917296628(ctx);
case 14:
return QueriesGenerated.sourceNodeQuery_1071051212912102652(ctx);
case 15:
return QueriesGenerated.sourceNodeQuery_1071051212914128473(ctx);
case 16:
return QueriesGenerated.sourceNodeQuery_1071051212914188060(ctx);
case 17:
return QueriesGenerated.sourceNodeQuery_1071051212914267411(ctx);
case 18:
return QueriesGenerated.sourceNodeQuery_3842310904416822044(ctx);
case 19:
return QueriesGenerated.sourceNodeQuery_6254388211304681353(ctx);
case 20:
return QueriesGenerated.sourceNodeQuery_6304885153124996375(ctx);
case 21:
return QueriesGenerated.sourceNodeQuery_5070605274413823521(ctx);
case 22:
return QueriesGenerated.sourceNodeQuery_5070605274413823590(ctx);
case 23:
return QueriesGenerated.sourceNodeQuery_5070605274413823824(ctx);
case 24:
return QueriesGenerated.sourceNodeQuery_99767819676237576(ctx);
case 25:
return QueriesGenerated.sourceNodeQuery_6437850093717075610(ctx);
case 26:
return QueriesGenerated.sourceNodeQuery_2338220375237878101(ctx);
case 27:
return QueriesGenerated.sourceNodeQuery_2338220375237894673(ctx);
case 28:
return QueriesGenerated.sourceNodeQuery_521066010461108913(ctx);
case 29:
return QueriesGenerated.sourceNodeQuery_3413262193427369245(ctx);
case 30:
return QueriesGenerated.sourceNodeQuery_3413262193427392392(ctx);
case 31:
return QueriesGenerated.sourceNodeQuery_1749921652113296946(ctx);
case 32:
return QueriesGenerated.sourceNodeQuery_4219501964100140545(ctx);
case 33:
return QueriesGenerated.sourceNodeQuery_1246578104714226092(ctx);
case 34:
return QueriesGenerated.sourceNodeQuery_4219501964100894403(ctx);
case 35:
return QueriesGenerated.sourceNodeQuery_1545727400807789616(ctx);
case 36:
return QueriesGenerated.sourceNodeQuery_3413262193426462322(ctx);
case 37:
return QueriesGenerated.sourceNodeQuery_1246578104714225962(ctx);
case 38:
return QueriesGenerated.sourceNodeQuery_3413262193426490691(ctx);
case 39:
return QueriesGenerated.sourceNodeQuery_99767819676502867(ctx);
case 40:
return QueriesGenerated.sourceNodeQuery_3205439297087194401(ctx);
case 41:
return QueriesGenerated.sourceNodeQuery_2367250605809533563(ctx);
case 42:
return QueriesGenerated.sourceNodeQuery_6437850093716437150(ctx);
case 43:
return QueriesGenerated.sourceNodeQuery_99767819676503930(ctx);
case 44:
return QueriesGenerated.sourceNodeQuery_1503590073461987922(ctx);
case 45:
return QueriesGenerated.sourceNodeQuery_3205439297087228081(ctx);
case 46:
return QueriesGenerated.sourceNodeQuery_2367250605811636467(ctx);
case 47:
return QueriesGenerated.sourceNodeQuery_3205439297087218014(ctx);
case 48:
return QueriesGenerated.sourceNodeQuery_2367250605811643392(ctx);
case 49:
return QueriesGenerated.sourceNodeQuery_3205439297087215290(ctx);
case 50:
return QueriesGenerated.sourceNodeQuery_2367250605811681304(ctx);
case 51:
return QueriesGenerated.sourceNodeQuery_3205439297087223686(ctx);
case 52:
return QueriesGenerated.sourceNodeQuery_2367250605811685774(ctx);
case 53:
return QueriesGenerated.sourceNodeQuery_2226924809856057992(ctx);
case 54:
return QueriesGenerated.sourceNodeQuery_4006750417599349235(ctx);
case 55:
return QueriesGenerated.sourceNodeQuery_3205439297087209483(ctx);
case 56:
return QueriesGenerated.sourceNodeQuery_2367250605809458720(ctx);
case 57:
return QueriesGenerated.sourceNodeQuery_8371596541809530209(ctx);
case 58:
return QueriesGenerated.sourceNodeQuery_330395710727889086(ctx);
case 59:
return QueriesGenerated.sourceNodeQuery_3205439297087188214(ctx);
case 60:
return QueriesGenerated.sourceNodeQuery_2367250605809430369(ctx);
case 61:
return QueriesGenerated.sourceNodeQuery_6437850093717023245(ctx);
case 62:
return QueriesGenerated.sourceNodeQuery_2321430363679348339(ctx);
case 63:
return QueriesGenerated.sourceNodeQuery_5659786285834812682(ctx);
case 64:
return QueriesGenerated.sourceNodeQuery_559189405767682907(ctx);
case 65:
return QueriesGenerated.sourceNodeQuery_559189405767894994(ctx);
case 66:
return QueriesGenerated.sourceNodeQuery_1340813738844795847(ctx);
case 67:
return QueriesGenerated.sourceNodeQuery_3205439297087202526(ctx);
case 68:
return QueriesGenerated.sourceNodeQuery_2367250605809447638(ctx);
case 69:
return QueriesGenerated.sourceNodeQuery_2990947723228973279(ctx);
case 70:
return QueriesGenerated.sourceNodeQuery_8371596541809419427(ctx);
case 71:
return QueriesGenerated.sourceNodeQuery_4006750417599343803(ctx);
case 72:
return QueriesGenerated.sourceNodeQuery_6458924870076503432(ctx);
case 73:
return QueriesGenerated.sourceNodeQuery_6458924870076512945(ctx);
case 74:
return QueriesGenerated.sourceNodeQuery_8124707847641033598(ctx);
case 75:
return QueriesGenerated.sourceNodeQuery_8152851815335362506(ctx);
case 76:
return QueriesGenerated.sourceNodeQuery_2760176984813719443(ctx);
case 77:
return QueriesGenerated.sourceNodeQuery_3462145372628093978(ctx);
case 78:
return QueriesGenerated.sourceNodeQuery_7173753398979269243(ctx);
case 79:
return QueriesGenerated.sourceNodeQuery_5015072279636784253(ctx);
case 80:
return QueriesGenerated.sourceNodeQuery_8431202617644808494(ctx);
case 81:
return QueriesGenerated.sourceNodeQuery_2488797604450286133(ctx);
case 82:
return QueriesGenerated.sourceNodeQuery_6254388211301139137(ctx);
case 83:
return QueriesGenerated.sourceNodeQuery_6254388211301139213(ctx);
case 84:
return QueriesGenerated.sourceNodeQuery_2488797604450489437(ctx);
case 85:
return QueriesGenerated.sourceNodeQuery_6254388211301139319(ctx);
case 86:
return QueriesGenerated.sourceNodeQuery_6254388211301139404(ctx);
case 87:
return QueriesGenerated.sourceNodeQuery_5777101398029069927(ctx);
case 88:
return QueriesGenerated.sourceNodeQuery_5777101398029211319(ctx);
case 89:
return QueriesGenerated.sourceNodeQuery_5777101398031019093(ctx);
case 90:
return QueriesGenerated.sourceNodeQuery_4560626146938695854(ctx);
case 91:
return QueriesGenerated.sourceNodeQuery_8530069850499932443(ctx);
case 92:
return QueriesGenerated.sourceNodeQuery_4426797670062877357(ctx);
case 93:
return QueriesGenerated.sourceNodeQuery_9109410030988161355(ctx);
case 94:
return QueriesGenerated.sourceNodeQuery_9109410030988186343(ctx);
case 95:
return QueriesGenerated.sourceNodeQuery_2489587833474148188(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, SourceNodesQuery> snsqMethods = new HashMap<String, SourceNodesQuery>();
{
int i = 0;
snsqMethods.put("6220262973299791769", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300018079", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4325729345996995533", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300153028", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300285845", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300421489", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300680629", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300780494", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8080464361018862835", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1279254116904784290", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300880378", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973300980279", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973301080202", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973301313062", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1021062414717397595", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6220262973301411692", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1434091819680824356", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8517820026009038740", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("787641416589814799", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5015072279636904681", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5070605274413823528", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5070605274413823581", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5070605274413823597", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5070605274413823677", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5070605274413823831", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8908685395806179867", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4155486055398183512", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4155486055398183657", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4155486055398183756", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4155486055398184137", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4155486055398184348", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544993766", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544993757", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544983520", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544983530", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544983540", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088544983550", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7598352112177585102", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("9196441569928526475", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("9196441569928526561", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1147906725605232670", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("330395710727988674", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5412006700504199274", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("330395710727988609", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("330395710727988632", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7598352112177491710", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("330395710727988653", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8961331321403161981", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8961331321403242135", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1147906725605332210", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1147906725605067041", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("330395710727744214", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3423901696829261267", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088545006218", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7635689088545006230", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("2990947723228973298", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("2990947723228973336", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("2990947723228997749", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7664108699562529086", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7664108699562529848", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5577795813925668106", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1520710884206584190", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8152851815335332092", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8152851815335365594", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6389702176794111038", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("238835255331409510", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("238835255332430282", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398023822709", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398024771975", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6269311107409466849", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398025471954", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6269311107407467117", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398026490043", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398026914873", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398027060583", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398027750742", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398027864337", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398028648524", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398028941384", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398029211248", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398029211326", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398029963984", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5777101398030860967", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6269311107410848025", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("4560626146938627422", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1278277619664967185", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1278277619664967261", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1278277619665299249", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1278277619665299325", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3188250212959938119", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3188250212959938197", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("9056552524812524642", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("9056552524812524714", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8530069850499411478", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("8530069850499411553", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("9109410030988204397", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3115958756404799205", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3115958756404799284", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6403651919169168934", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("6403651919169169011", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5360282374927335218", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("5360282374927335291", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1173958055623964982", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("1173958055623965055", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7935480418424906334", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7935480418424906407", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7935480418425016191", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("7935480418425016264", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3257252407656719908", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3257252407656720011", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3257252407656720114", new QueriesGenerated.SNsQ(i++));
snsqMethods.put("3257252407656720217", new QueriesGenerated.SNsQ(i++));
}
@NotNull
@Override
public SourceNodesQuery getSourceNodesQuery(@NotNull QueryKey identity) {
final String id = ((QueryKeyImpl) identity).getQueryNodeId().toString();
if (!(snsqMethods.containsKey(id))) {
return super.getSourceNodesQuery(identity);
}
return snsqMethods.get(id);
}
private static class SNsQ implements SourceNodesQuery {
private final int methodKey;
public SNsQ(int methodKey) {
this.methodKey = methodKey;
}
@NotNull
public Collection<SNode> evaluate(@NotNull SourceSubstituteMacroNodesContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973299791769(ctx));
case 1:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300018079(ctx));
case 2:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4325729345996995533(ctx));
case 3:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300153028(ctx));
case 4:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300285845(ctx));
case 5:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300421489(ctx));
case 6:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300680629(ctx));
case 7:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300780494(ctx));
case 8:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8080464361018862835(ctx));
case 9:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1279254116904784290(ctx));
case 10:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300880378(ctx));
case 11:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973300980279(ctx));
case 12:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973301080202(ctx));
case 13:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973301313062(ctx));
case 14:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1021062414717397595(ctx));
case 15:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6220262973301411692(ctx));
case 16:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1434091819680824356(ctx));
case 17:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8517820026009038740(ctx));
case 18:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_787641416589814799(ctx));
case 19:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5015072279636904681(ctx));
case 20:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5070605274413823528(ctx));
case 21:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5070605274413823581(ctx));
case 22:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5070605274413823597(ctx));
case 23:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5070605274413823677(ctx));
case 24:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5070605274413823831(ctx));
case 25:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8908685395806179867(ctx));
case 26:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4155486055398183512(ctx));
case 27:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4155486055398183657(ctx));
case 28:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4155486055398183756(ctx));
case 29:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4155486055398184137(ctx));
case 30:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4155486055398184348(ctx));
case 31:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544993766(ctx));
case 32:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544993757(ctx));
case 33:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544983520(ctx));
case 34:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544983530(ctx));
case 35:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544983540(ctx));
case 36:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088544983550(ctx));
case 37:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7598352112177585102(ctx));
case 38:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9196441569928526475(ctx));
case 39:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9196441569928526561(ctx));
case 40:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1147906725605232670(ctx));
case 41:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_330395710727988674(ctx));
case 42:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5412006700504199274(ctx));
case 43:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_330395710727988609(ctx));
case 44:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_330395710727988632(ctx));
case 45:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7598352112177491710(ctx));
case 46:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_330395710727988653(ctx));
case 47:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8961331321403161981(ctx));
case 48:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8961331321403242135(ctx));
case 49:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1147906725605332210(ctx));
case 50:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1147906725605067041(ctx));
case 51:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_330395710727744214(ctx));
case 52:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3423901696829261267(ctx));
case 53:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088545006218(ctx));
case 54:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7635689088545006230(ctx));
case 55:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2990947723228973298(ctx));
case 56:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2990947723228973336(ctx));
case 57:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2990947723228997749(ctx));
case 58:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7664108699562529086(ctx));
case 59:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7664108699562529848(ctx));
case 60:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5577795813925668106(ctx));
case 61:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1520710884206584190(ctx));
case 62:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8152851815335332092(ctx));
case 63:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8152851815335365594(ctx));
case 64:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6389702176794111038(ctx));
case 65:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_238835255331409510(ctx));
case 66:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_238835255332430282(ctx));
case 67:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398023822709(ctx));
case 68:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398024771975(ctx));
case 69:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6269311107409466849(ctx));
case 70:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398025471954(ctx));
case 71:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6269311107407467117(ctx));
case 72:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398026490043(ctx));
case 73:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398026914873(ctx));
case 74:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398027060583(ctx));
case 75:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398027750742(ctx));
case 76:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398027864337(ctx));
case 77:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398028648524(ctx));
case 78:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398028941384(ctx));
case 79:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398029211248(ctx));
case 80:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398029211326(ctx));
case 81:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398029963984(ctx));
case 82:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5777101398030860967(ctx));
case 83:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6269311107410848025(ctx));
case 84:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4560626146938627422(ctx));
case 85:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1278277619664967185(ctx));
case 86:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1278277619664967261(ctx));
case 87:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1278277619665299249(ctx));
case 88:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1278277619665299325(ctx));
case 89:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3188250212959938119(ctx));
case 90:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3188250212959938197(ctx));
case 91:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9056552524812524642(ctx));
case 92:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9056552524812524714(ctx));
case 93:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8530069850499411478(ctx));
case 94:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8530069850499411553(ctx));
case 95:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9109410030988204397(ctx));
case 96:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3115958756404799205(ctx));
case 97:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3115958756404799284(ctx));
case 98:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6403651919169168934(ctx));
case 99:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6403651919169169011(ctx));
case 100:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5360282374927335218(ctx));
case 101:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5360282374927335291(ctx));
case 102:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1173958055623964982(ctx));
case 103:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1173958055623965055(ctx));
case 104:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7935480418424906334(ctx));
case 105:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7935480418424906407(ctx));
case 106:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7935480418425016191(ctx));
case 107:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7935480418425016264(ctx));
case 108:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3257252407656719908(ctx));
case 109:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3257252407656720011(ctx));
case 110:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3257252407656720114(ctx));
case 111:
return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3257252407656720217(ctx));
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, PropertyValueQuery> pvqMethods = new HashMap<String, PropertyValueQuery>();
{
int i = 0;
pvqMethods.put("1071051212910601106", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "createRootRuleCondition"));
pvqMethods.put("1071051212910861395", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "dropRootRule"));
pvqMethods.put("4325729345997000397", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "dropAttributeRule"));
pvqMethods.put("1071051212910901335", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "baseMappingRuleCondition"));
pvqMethods.put("1071051212910958955", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "propertyMacro"));
pvqMethods.put("1071051212910998620", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "getReferent"));
pvqMethods.put("1071051212911058297", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "ifMacro"));
pvqMethods.put("1071051212911080360", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "sourceSubstMacro"));
pvqMethods.put("8080464361018862847", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "argumentQuery"));
pvqMethods.put("1071051212911233829", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "sourceSubstsMacro"));
pvqMethods.put("1071051212911685725", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "mapSrc"));
pvqMethods.put("1071051212911736056", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "mapSrcPostMapper"));
pvqMethods.put("1071051212911793785", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "weavingContext"));
pvqMethods.put("1021062414717397608", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "weavingAnchor"));
pvqMethods.put("1071051212911821256", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "mappingScriptCode"));
pvqMethods.put("1071051212912069050", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "checkPattern"));
pvqMethods.put("1071051212911979112", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "isApplicableMappingConfiguration"));
pvqMethods.put("1071051212912007397", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "insertMacro_Query"));
pvqMethods.put("1071051212912036149", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "_varValue_Query"));
pvqMethods.put("6304885153124990688", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6304885153124990609", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("5898140574782661228", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5070605274413823534", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myParam"));
pvqMethods.put("5070605274413823603", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "parameter"));
pvqMethods.put("5070605274413823667", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("2367250605808799509", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "context1"));
pvqMethods.put("5070605274413823759", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1669041086427295497", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5070605274413825596", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "applyPart"));
pvqMethods.put("5070605274413823490", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "class_TemplateDeclaration"));
pvqMethods.put("99767819676237358", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676237421", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputList"));
pvqMethods.put("6635545314666844191", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "loopCounter"));
pvqMethods.put("99767819676237437", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "itnode"));
pvqMethods.put("99767819676237519", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676237538", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("6635545314666879615", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "cv"));
pvqMethods.put("99767819676237603", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6437850093717217531", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("8285036680620207088", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("4155486055398183476", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3413262193426133451", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("2338220375237878108", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "propertyValue"));
pvqMethods.put("3413262193426185158", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("2338220375237894688", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3413262193427304316", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3413262193427369236", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("2338220375238797114", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "targetModel"));
pvqMethods.put("2338220375238797127", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "targetNodeId"));
pvqMethods.put("3413262193427392383", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("4155486055398184030", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("4565390460241594510", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3413262193426266133", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("4219501964100097019", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("7748672315440951458", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("3413262193426337446", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3413262193426462305", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("1246578104714225929", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "ichild"));
pvqMethods.put("3413262193426490674", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("8196331069071119404", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676501653", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "newInput"));
pvqMethods.put("99767819676501737", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676501765", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("99767819676501944", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676502082", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("4155486055398088681", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("4155486055398088744", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputNode"));
pvqMethods.put("439634159192472877", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2197859704660436415", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("747214206848678949", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "map_RootTemplate"));
pvqMethods.put("1104862325080102157", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1104862325080104984", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("4429320018138031260", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "map_MappingConfiguration"));
pvqMethods.put("4155486055398088840", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("4155486055398089016", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copyListInput"));
pvqMethods.put("439634159192472863", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2197859704660389764", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("8961331321403205874", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676502772", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676502790", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("99767819676502955", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676503178", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676503235", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676503305", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputNode"));
pvqMethods.put("99767819676503351", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676503379", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("8196331069071058927", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676502135", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "newInput"));
pvqMethods.put("99767819676502247", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("99767819676502463", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1749921652111953142", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676503593", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("99767819676503669", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputList"));
pvqMethods.put("99767819676503684", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "itnode"));
pvqMethods.put("99767819676503727", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676503746", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("99767819676504011", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5851073518441517512", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "outputNode"));
pvqMethods.put("4155486055398308290", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("5898456405536876911", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5898456405536884427", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "ex"));
pvqMethods.put("1147906725605420838", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("1147906725605070487", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("2226924809855981418", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("3571912445009832359", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("3571912445009832375", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "weaveEachList"));
pvqMethods.put("5390171681995367030", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("9191117361655049560", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1147906725605225579", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "ReductionRule"));
pvqMethods.put("3615289984452243752", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("3615289984452265166", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("9191117361655049510", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1949333268577554901", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "RootMappingRule"));
pvqMethods.put("3876694689067951567", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3876694689067952312", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3876694689067952359", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1940510396026567413", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "map_TemplateSwitch"));
pvqMethods.put("8196331069071255560", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2321430363679348481", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "outputNode"));
pvqMethods.put("99767819676169156", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("99767819676169176", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5659786285834812663", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("9191117361655049415", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2802008106680387214", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "CreateRootRule"));
pvqMethods.put("2802008106680387169", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "DropRootRule"));
pvqMethods.put("59720043761737691", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("9191117361655150454", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2802008106680349012", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "WeavingRule"));
pvqMethods.put("9191117361655049723", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2802008106680387019", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "PatternRule"));
pvqMethods.put("1783393805964901683", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("7635689088545006188", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2100259113989702577", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("2990947723228973263", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("8371596541809419361", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("9191117361655150335", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("1368513600865828085", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "part"));
pvqMethods.put("9196441569928398216", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("9196441569928383192", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), null));
pvqMethods.put("9196441569928602696", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "map_TemplateMappingScript"));
pvqMethods.put("6389702176794111044", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "applyNode"));
pvqMethods.put("6389702176794341063", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("2760176984813718887", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("2760176984813718923", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2760176984813718935", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("2760176984813719531", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("787641416589878847", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("4672632171991713665", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputNode"));
pvqMethods.put("4672632171991748256", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3462145372628093854", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("3462145372628093888", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3462145372628093900", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("3462145372628094066", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("812193811988884564", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "weaveList"));
pvqMethods.put("812193811988884583", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "itnode"));
pvqMethods.put("7173753398979240162", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "weaveContextVar"));
pvqMethods.put("5015072279636784129", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("6156996919798915794", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "varValue"));
pvqMethods.put("6635545314667369112", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5015072279636784175", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("6635545314667334735", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5015072279636784341", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5433312185282565646", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("2038100691500430150", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("2038100691500430162", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "innerContext"));
pvqMethods.put("5433312185282565714", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputNode"));
pvqMethods.put("2038100691500430339", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6254388211301138916", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "result"));
pvqMethods.put("6254388211301138984", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "inputNode"));
pvqMethods.put("6254388211303266436", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "switch_"));
pvqMethods.put("238835255332226453", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "switchContext"));
pvqMethods.put("238835255332026592", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "args"));
pvqMethods.put("238835255331274488", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6254388211303727082", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("238835255332430215", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "switchContext"));
pvqMethods.put("238835255332430237", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "args"));
pvqMethods.put("238835255332430253", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6254388211301139367", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("6254388211304013896", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6254388211303538829", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), null));
pvqMethods.put("5777101398023822700", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398024771992", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("6269311107409466840", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398025471961", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("6269311107407489389", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398026490050", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5777101398026914858", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398027060590", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5777101398027750727", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398027864344", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5777101398028648509", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398028941391", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5777101398029211233", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398029211333", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5777101398029963969", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5777101398030860974", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("6269311107410848032", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("4560626146938627429", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("1278277619664967170", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1278277619664967268", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("1278277619665299234", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1278277619665299332", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3188250212959938104", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("8269982547288486709", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x3b418722717710b4L, 0x3b418722717710b5L, "value"), "0l"));
pvqMethods.put("8269982547288486726", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x3b418722717710b4L, 0x3b418722717710b5L, "value"), "0l"));
pvqMethods.put("8269982547288486743", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x3b418722717710b4L, 0x3b418722717710b5L, "value"), "0l"));
pvqMethods.put("8269982547288497123", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x3b418722717710b4L, 0x3b418722717710b5L, "value"), "0l"));
pvqMethods.put("8269982547288486756", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "name"));
pvqMethods.put("1547633452932955846", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3188250212959938204", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("9056552524812524627", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("9056552524812524721", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("8530069850499411463", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("8530069850499411560", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("4426797670062877385", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("9109410030988164097", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "marshal"));
pvqMethods.put("9109410030988186351", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "unmarshal"));
pvqMethods.put("1515402509390412295", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), "false"));
pvqMethods.put("7598352112177474745", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "DropAttributeRule"));
pvqMethods.put("3115958756404799054", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3115958756405106494", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3115958756404799174", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("3115958756404799291", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("6403651919169168858", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("6403651919169168871", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("6403651919169169018", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5360282374927335197", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("5360282374927335210", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("5360282374927335298", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("1173958055623964961", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("1173958055623964974", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("1173958055623965062", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("7935480418424906313", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("7935480418424906326", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("7935480418424906414", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("7935480418425016166", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
pvqMethods.put("7935480418425016183", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("7935480418425016271", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656719883", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656719899", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656719986", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656720002", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656720089", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656720105", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656720192", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
pvqMethods.put("3257252407656720208", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc59b314L, 0xf8cc59b315L, "value"), "0"));
}
@NotNull
@Override
public PropertyValueQuery getPropertyValueQuery(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(pvqMethods.containsKey(id))) {
return super.getPropertyValueQuery(identity);
}
return pvqMethods.get(id);
}
private static class PVQ extends PropertyValueQuery.Base {
private final int methodKey;
/*package*/ PVQ(int methodKey, SProperty property, String templateValue) {
super(property, templateValue);
this.methodKey = methodKey;
}
@Nullable
public Object evaluate(@NotNull PropertyMacroContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212910601107(ctx);
case 1:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212910861396(ctx);
case 2:
return QueriesGenerated.propertyMacro_GetPropertyValue_4325729345997000398(ctx);
case 3:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212910901336(ctx);
case 4:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212910958956(ctx);
case 5:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212910998621(ctx);
case 6:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911058298(ctx);
case 7:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911080361(ctx);
case 8:
return QueriesGenerated.propertyMacro_GetPropertyValue_8080464361018862848(ctx);
case 9:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911233830(ctx);
case 10:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911685726(ctx);
case 11:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911736057(ctx);
case 12:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911793786(ctx);
case 13:
return QueriesGenerated.propertyMacro_GetPropertyValue_1021062414717397609(ctx);
case 14:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911821257(ctx);
case 15:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212912069051(ctx);
case 16:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212911979113(ctx);
case 17:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212912007398(ctx);
case 18:
return QueriesGenerated.propertyMacro_GetPropertyValue_1071051212912036150(ctx);
case 19:
return QueriesGenerated.propertyMacro_GetPropertyValue_6304885153124990689(ctx);
case 20:
return QueriesGenerated.propertyMacro_GetPropertyValue_6304885153124990610(ctx);
case 21:
return QueriesGenerated.propertyMacro_GetPropertyValue_5898140574782661229(ctx);
case 22:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413823535(ctx);
case 23:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413823604(ctx);
case 24:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413823668(ctx);
case 25:
return QueriesGenerated.propertyMacro_GetPropertyValue_2367250605808799510(ctx);
case 26:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413823760(ctx);
case 27:
return QueriesGenerated.propertyMacro_GetPropertyValue_1669041086427295498(ctx);
case 28:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413825597(ctx);
case 29:
return QueriesGenerated.propertyMacro_GetPropertyValue_5070605274413823491(ctx);
case 30:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237359(ctx);
case 31:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237422(ctx);
case 32:
return QueriesGenerated.propertyMacro_GetPropertyValue_6635545314666844192(ctx);
case 33:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237438(ctx);
case 34:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237520(ctx);
case 35:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237539(ctx);
case 36:
return QueriesGenerated.propertyMacro_GetPropertyValue_6635545314666879616(ctx);
case 37:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676237604(ctx);
case 38:
return QueriesGenerated.propertyMacro_GetPropertyValue_6437850093717217532(ctx);
case 39:
return QueriesGenerated.propertyMacro_GetPropertyValue_8285036680620207089(ctx);
case 40:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398183477(ctx);
case 41:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426133452(ctx);
case 42:
return QueriesGenerated.propertyMacro_GetPropertyValue_2338220375237878109(ctx);
case 43:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426185159(ctx);
case 44:
return QueriesGenerated.propertyMacro_GetPropertyValue_2338220375237894689(ctx);
case 45:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193427304317(ctx);
case 46:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193427369237(ctx);
case 47:
return QueriesGenerated.propertyMacro_GetPropertyValue_2338220375238797115(ctx);
case 48:
return QueriesGenerated.propertyMacro_GetPropertyValue_2338220375238797128(ctx);
case 49:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193427392384(ctx);
case 50:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398184031(ctx);
case 51:
return QueriesGenerated.propertyMacro_GetPropertyValue_4565390460241594511(ctx);
case 52:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426266134(ctx);
case 53:
return QueriesGenerated.propertyMacro_GetPropertyValue_4219501964100097020(ctx);
case 54:
return QueriesGenerated.propertyMacro_GetPropertyValue_7748672315440951459(ctx);
case 55:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426337447(ctx);
case 56:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426462306(ctx);
case 57:
return QueriesGenerated.propertyMacro_GetPropertyValue_1246578104714225930(ctx);
case 58:
return QueriesGenerated.propertyMacro_GetPropertyValue_3413262193426490675(ctx);
case 59:
return QueriesGenerated.propertyMacro_GetPropertyValue_8196331069071119405(ctx);
case 60:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676501654(ctx);
case 61:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676501738(ctx);
case 62:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676501766(ctx);
case 63:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676501945(ctx);
case 64:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502083(ctx);
case 65:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398088682(ctx);
case 66:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398088745(ctx);
case 67:
return QueriesGenerated.propertyMacro_GetPropertyValue_439634159192472878(ctx);
case 68:
return QueriesGenerated.propertyMacro_GetPropertyValue_2197859704660436416(ctx);
case 69:
return QueriesGenerated.propertyMacro_GetPropertyValue_747214206848678950(ctx);
case 70:
return QueriesGenerated.propertyMacro_GetPropertyValue_1104862325080102158(ctx);
case 71:
return QueriesGenerated.propertyMacro_GetPropertyValue_1104862325080104985(ctx);
case 72:
return QueriesGenerated.propertyMacro_GetPropertyValue_4429320018138031261(ctx);
case 73:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398088841(ctx);
case 74:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398089017(ctx);
case 75:
return QueriesGenerated.propertyMacro_GetPropertyValue_439634159192472864(ctx);
case 76:
return QueriesGenerated.propertyMacro_GetPropertyValue_2197859704660389765(ctx);
case 77:
return QueriesGenerated.propertyMacro_GetPropertyValue_8961331321403205875(ctx);
case 78:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502773(ctx);
case 79:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502791(ctx);
case 80:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502956(ctx);
case 81:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503179(ctx);
case 82:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503236(ctx);
case 83:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503306(ctx);
case 84:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503352(ctx);
case 85:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503380(ctx);
case 86:
return QueriesGenerated.propertyMacro_GetPropertyValue_8196331069071058928(ctx);
case 87:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502136(ctx);
case 88:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502248(ctx);
case 89:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676502464(ctx);
case 90:
return QueriesGenerated.propertyMacro_GetPropertyValue_1749921652111953143(ctx);
case 91:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503594(ctx);
case 92:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503670(ctx);
case 93:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503685(ctx);
case 94:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503728(ctx);
case 95:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676503747(ctx);
case 96:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676504012(ctx);
case 97:
return QueriesGenerated.propertyMacro_GetPropertyValue_5851073518441517513(ctx);
case 98:
return QueriesGenerated.propertyMacro_GetPropertyValue_4155486055398308291(ctx);
case 99:
return QueriesGenerated.propertyMacro_GetPropertyValue_5898456405536876912(ctx);
case 100:
return QueriesGenerated.propertyMacro_GetPropertyValue_5898456405536884428(ctx);
case 101:
return QueriesGenerated.propertyMacro_GetPropertyValue_1147906725605420839(ctx);
case 102:
return QueriesGenerated.propertyMacro_GetPropertyValue_1147906725605070488(ctx);
case 103:
return QueriesGenerated.propertyMacro_GetPropertyValue_2226924809855981419(ctx);
case 104:
return QueriesGenerated.propertyMacro_GetPropertyValue_3571912445009832360(ctx);
case 105:
return QueriesGenerated.propertyMacro_GetPropertyValue_3571912445009832376(ctx);
case 106:
return QueriesGenerated.propertyMacro_GetPropertyValue_5390171681995367031(ctx);
case 107:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655049561(ctx);
case 108:
return QueriesGenerated.propertyMacro_GetPropertyValue_1147906725605225580(ctx);
case 109:
return QueriesGenerated.propertyMacro_GetPropertyValue_3615289984452243753(ctx);
case 110:
return QueriesGenerated.propertyMacro_GetPropertyValue_3615289984452265167(ctx);
case 111:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655049511(ctx);
case 112:
return QueriesGenerated.propertyMacro_GetPropertyValue_1949333268577554902(ctx);
case 113:
return QueriesGenerated.propertyMacro_GetPropertyValue_3876694689067951568(ctx);
case 114:
return QueriesGenerated.propertyMacro_GetPropertyValue_3876694689067952313(ctx);
case 115:
return QueriesGenerated.propertyMacro_GetPropertyValue_3876694689067952360(ctx);
case 116:
return QueriesGenerated.propertyMacro_GetPropertyValue_1940510396026567414(ctx);
case 117:
return QueriesGenerated.propertyMacro_GetPropertyValue_8196331069071255561(ctx);
case 118:
return QueriesGenerated.propertyMacro_GetPropertyValue_2321430363679348482(ctx);
case 119:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676169157(ctx);
case 120:
return QueriesGenerated.propertyMacro_GetPropertyValue_99767819676169177(ctx);
case 121:
return QueriesGenerated.propertyMacro_GetPropertyValue_5659786285834812664(ctx);
case 122:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655049416(ctx);
case 123:
return QueriesGenerated.propertyMacro_GetPropertyValue_2802008106680387215(ctx);
case 124:
return QueriesGenerated.propertyMacro_GetPropertyValue_2802008106680387170(ctx);
case 125:
return QueriesGenerated.propertyMacro_GetPropertyValue_59720043761737692(ctx);
case 126:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655150455(ctx);
case 127:
return QueriesGenerated.propertyMacro_GetPropertyValue_2802008106680349013(ctx);
case 128:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655049724(ctx);
case 129:
return QueriesGenerated.propertyMacro_GetPropertyValue_2802008106680387020(ctx);
case 130:
return QueriesGenerated.propertyMacro_GetPropertyValue_1783393805964901684(ctx);
case 131:
return QueriesGenerated.propertyMacro_GetPropertyValue_7635689088545006189(ctx);
case 132:
return QueriesGenerated.propertyMacro_GetPropertyValue_2100259113989702578(ctx);
case 133:
return QueriesGenerated.propertyMacro_GetPropertyValue_2990947723228973264(ctx);
case 134:
return QueriesGenerated.propertyMacro_GetPropertyValue_8371596541809419362(ctx);
case 135:
return QueriesGenerated.propertyMacro_GetPropertyValue_9191117361655150336(ctx);
case 136:
return QueriesGenerated.propertyMacro_GetPropertyValue_1368513600865828086(ctx);
case 137:
return QueriesGenerated.propertyMacro_GetPropertyValue_9196441569928398217(ctx);
case 138:
return QueriesGenerated.propertyMacro_GetPropertyValue_9196441569928383193(ctx);
case 139:
return QueriesGenerated.propertyMacro_GetPropertyValue_9196441569928602697(ctx);
case 140:
return QueriesGenerated.propertyMacro_GetPropertyValue_6389702176794111045(ctx);
case 141:
return QueriesGenerated.propertyMacro_GetPropertyValue_6389702176794341064(ctx);
case 142:
return QueriesGenerated.propertyMacro_GetPropertyValue_2760176984813718888(ctx);
case 143:
return QueriesGenerated.propertyMacro_GetPropertyValue_2760176984813718924(ctx);
case 144:
return QueriesGenerated.propertyMacro_GetPropertyValue_2760176984813718936(ctx);
case 145:
return QueriesGenerated.propertyMacro_GetPropertyValue_2760176984813719532(ctx);
case 146:
return QueriesGenerated.propertyMacro_GetPropertyValue_787641416589878848(ctx);
case 147:
return QueriesGenerated.propertyMacro_GetPropertyValue_4672632171991713666(ctx);
case 148:
return QueriesGenerated.propertyMacro_GetPropertyValue_4672632171991748257(ctx);
case 149:
return QueriesGenerated.propertyMacro_GetPropertyValue_3462145372628093855(ctx);
case 150:
return QueriesGenerated.propertyMacro_GetPropertyValue_3462145372628093889(ctx);
case 151:
return QueriesGenerated.propertyMacro_GetPropertyValue_3462145372628093901(ctx);
case 152:
return QueriesGenerated.propertyMacro_GetPropertyValue_3462145372628094067(ctx);
case 153:
return QueriesGenerated.propertyMacro_GetPropertyValue_812193811988884565(ctx);
case 154:
return QueriesGenerated.propertyMacro_GetPropertyValue_812193811988884584(ctx);
case 155:
return QueriesGenerated.propertyMacro_GetPropertyValue_7173753398979240163(ctx);
case 156:
return QueriesGenerated.propertyMacro_GetPropertyValue_5015072279636784130(ctx);
case 157:
return QueriesGenerated.propertyMacro_GetPropertyValue_6156996919798915795(ctx);
case 158:
return QueriesGenerated.propertyMacro_GetPropertyValue_6635545314667369113(ctx);
case 159:
return QueriesGenerated.propertyMacro_GetPropertyValue_5015072279636784176(ctx);
case 160:
return QueriesGenerated.propertyMacro_GetPropertyValue_6635545314667334736(ctx);
case 161:
return QueriesGenerated.propertyMacro_GetPropertyValue_5015072279636784342(ctx);
case 162:
return QueriesGenerated.propertyMacro_GetPropertyValue_5433312185282565647(ctx);
case 163:
return QueriesGenerated.propertyMacro_GetPropertyValue_2038100691500430151(ctx);
case 164:
return QueriesGenerated.propertyMacro_GetPropertyValue_2038100691500430163(ctx);
case 165:
return QueriesGenerated.propertyMacro_GetPropertyValue_5433312185282565715(ctx);
case 166:
return QueriesGenerated.propertyMacro_GetPropertyValue_2038100691500430340(ctx);
case 167:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211301138917(ctx);
case 168:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211301138985(ctx);
case 169:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211303266437(ctx);
case 170:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255332226454(ctx);
case 171:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255332026593(ctx);
case 172:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255331274489(ctx);
case 173:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211303727083(ctx);
case 174:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255332430216(ctx);
case 175:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255332430238(ctx);
case 176:
return QueriesGenerated.propertyMacro_GetPropertyValue_238835255332430254(ctx);
case 177:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211301139368(ctx);
case 178:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211304013897(ctx);
case 179:
return QueriesGenerated.propertyMacro_GetPropertyValue_6254388211303538830(ctx);
case 180:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398023822701(ctx);
case 181:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398024771993(ctx);
case 182:
return QueriesGenerated.propertyMacro_GetPropertyValue_6269311107409466841(ctx);
case 183:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398025471962(ctx);
case 184:
return QueriesGenerated.propertyMacro_GetPropertyValue_6269311107407489390(ctx);
case 185:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398026490051(ctx);
case 186:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398026914859(ctx);
case 187:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398027060591(ctx);
case 188:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398027750728(ctx);
case 189:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398027864345(ctx);
case 190:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398028648510(ctx);
case 191:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398028941392(ctx);
case 192:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398029211234(ctx);
case 193:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398029211334(ctx);
case 194:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398029963970(ctx);
case 195:
return QueriesGenerated.propertyMacro_GetPropertyValue_5777101398030860975(ctx);
case 196:
return QueriesGenerated.propertyMacro_GetPropertyValue_6269311107410848033(ctx);
case 197:
return QueriesGenerated.propertyMacro_GetPropertyValue_4560626146938627430(ctx);
case 198:
return QueriesGenerated.propertyMacro_GetPropertyValue_1278277619664967171(ctx);
case 199:
return QueriesGenerated.propertyMacro_GetPropertyValue_1278277619664967269(ctx);
case 200:
return QueriesGenerated.propertyMacro_GetPropertyValue_1278277619665299235(ctx);
case 201:
return QueriesGenerated.propertyMacro_GetPropertyValue_1278277619665299333(ctx);
case 202:
return QueriesGenerated.propertyMacro_GetPropertyValue_3188250212959938105(ctx);
case 203:
return QueriesGenerated.propertyMacro_GetPropertyValue_8269982547288486710(ctx);
case 204:
return QueriesGenerated.propertyMacro_GetPropertyValue_8269982547288486727(ctx);
case 205:
return QueriesGenerated.propertyMacro_GetPropertyValue_8269982547288486744(ctx);
case 206:
return QueriesGenerated.propertyMacro_GetPropertyValue_8269982547288497124(ctx);
case 207:
return QueriesGenerated.propertyMacro_GetPropertyValue_8269982547288486757(ctx);
case 208:
return QueriesGenerated.propertyMacro_GetPropertyValue_1547633452932955847(ctx);
case 209:
return QueriesGenerated.propertyMacro_GetPropertyValue_3188250212959938205(ctx);
case 210:
return QueriesGenerated.propertyMacro_GetPropertyValue_9056552524812524628(ctx);
case 211:
return QueriesGenerated.propertyMacro_GetPropertyValue_9056552524812524722(ctx);
case 212:
return QueriesGenerated.propertyMacro_GetPropertyValue_8530069850499411464(ctx);
case 213:
return QueriesGenerated.propertyMacro_GetPropertyValue_8530069850499411561(ctx);
case 214:
return QueriesGenerated.propertyMacro_GetPropertyValue_4426797670062877386(ctx);
case 215:
return QueriesGenerated.propertyMacro_GetPropertyValue_9109410030988164098(ctx);
case 216:
return QueriesGenerated.propertyMacro_GetPropertyValue_9109410030988186352(ctx);
case 217:
return QueriesGenerated.propertyMacro_GetPropertyValue_1515402509390412296(ctx);
case 218:
return QueriesGenerated.propertyMacro_GetPropertyValue_7598352112177474746(ctx);
case 219:
return QueriesGenerated.propertyMacro_GetPropertyValue_3115958756404799055(ctx);
case 220:
return QueriesGenerated.propertyMacro_GetPropertyValue_3115958756405106495(ctx);
case 221:
return QueriesGenerated.propertyMacro_GetPropertyValue_3115958756404799175(ctx);
case 222:
return QueriesGenerated.propertyMacro_GetPropertyValue_3115958756404799292(ctx);
case 223:
return QueriesGenerated.propertyMacro_GetPropertyValue_6403651919169168859(ctx);
case 224:
return QueriesGenerated.propertyMacro_GetPropertyValue_6403651919169168872(ctx);
case 225:
return QueriesGenerated.propertyMacro_GetPropertyValue_6403651919169169019(ctx);
case 226:
return QueriesGenerated.propertyMacro_GetPropertyValue_5360282374927335198(ctx);
case 227:
return QueriesGenerated.propertyMacro_GetPropertyValue_5360282374927335211(ctx);
case 228:
return QueriesGenerated.propertyMacro_GetPropertyValue_5360282374927335299(ctx);
case 229:
return QueriesGenerated.propertyMacro_GetPropertyValue_1173958055623964962(ctx);
case 230:
return QueriesGenerated.propertyMacro_GetPropertyValue_1173958055623964975(ctx);
case 231:
return QueriesGenerated.propertyMacro_GetPropertyValue_1173958055623965063(ctx);
case 232:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418424906314(ctx);
case 233:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418424906327(ctx);
case 234:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418424906415(ctx);
case 235:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418425016167(ctx);
case 236:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418425016184(ctx);
case 237:
return QueriesGenerated.propertyMacro_GetPropertyValue_7935480418425016272(ctx);
case 238:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656719884(ctx);
case 239:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656719900(ctx);
case 240:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656719987(ctx);
case 241:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656720003(ctx);
case 242:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656720090(ctx);
case 243:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656720106(ctx);
case 244:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656720193(ctx);
case 245:
return QueriesGenerated.propertyMacro_GetPropertyValue_3257252407656720209(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, IfMacroCondition> imcMethods = new HashMap<String, IfMacroCondition>();
{
int i = 0;
imcMethods.put("3115958756406635507", new QueriesGenerated.IfMC(i++));
imcMethods.put("7714599636078859499", new QueriesGenerated.IfMC(i++));
imcMethods.put("1071051212912102674", new QueriesGenerated.IfMC(i++));
imcMethods.put("1071051212912102684", new QueriesGenerated.IfMC(i++));
imcMethods.put("7602140671021486922", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398022787820", new QueriesGenerated.IfMC(i++));
imcMethods.put("6389702176794336634", new QueriesGenerated.IfMC(i++));
imcMethods.put("6389702176794336733", new QueriesGenerated.IfMC(i++));
imcMethods.put("6304885153124996296", new QueriesGenerated.IfMC(i++));
imcMethods.put("5898140574782661239", new QueriesGenerated.IfMC(i++));
imcMethods.put("5070605274413823685", new QueriesGenerated.IfMC(i++));
imcMethods.put("5070605274413823789", new QueriesGenerated.IfMC(i++));
imcMethods.put("5070605274413825719", new QueriesGenerated.IfMC(i++));
imcMethods.put("1669041086427295481", new QueriesGenerated.IfMC(i++));
imcMethods.put("7664108699562529989", new QueriesGenerated.IfMC(i++));
imcMethods.put("7173753398979040505", new QueriesGenerated.IfMC(i++));
imcMethods.put("6635545314666833088", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676237500", new QueriesGenerated.IfMC(i++));
imcMethods.put("6635545314666868546", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676237612", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676237646", new QueriesGenerated.IfMC(i++));
imcMethods.put("6437850093717095444", new QueriesGenerated.IfMC(i++));
imcMethods.put("6458924870075003615", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193425984766", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193426157916", new QueriesGenerated.IfMC(i++));
imcMethods.put("2338220375237894708", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193427293257", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193427369223", new QueriesGenerated.IfMC(i++));
imcMethods.put("4155486055398183989", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193427392370", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193426235015", new QueriesGenerated.IfMC(i++));
imcMethods.put("2262517311778571141", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193426331683", new QueriesGenerated.IfMC(i++));
imcMethods.put("1246578104714225919", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193426462292", new QueriesGenerated.IfMC(i++));
imcMethods.put("1545727400807800596", new QueriesGenerated.IfMC(i++));
imcMethods.put("3413262193426490661", new QueriesGenerated.IfMC(i++));
imcMethods.put("1246578104714225979", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501703", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501718", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501747", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501777", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501953", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676501993", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502091", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502117", new QueriesGenerated.IfMC(i++));
imcMethods.put("7817023234861714864", new QueriesGenerated.IfMC(i++));
imcMethods.put("2197859704660436424", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727937992", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727937976", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727937960", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727937944", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938022", new QueriesGenerated.IfMC(i++));
imcMethods.put("7598352112177547221", new QueriesGenerated.IfMC(i++));
imcMethods.put("9196441569928526435", new QueriesGenerated.IfMC(i++));
imcMethods.put("9196441569928526529", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938039", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938055", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938071", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938087", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938103", new QueriesGenerated.IfMC(i++));
imcMethods.put("7598352112177585477", new QueriesGenerated.IfMC(i++));
imcMethods.put("9196441569928526510", new QueriesGenerated.IfMC(i++));
imcMethods.put("9196441569928526568", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080138618", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080237994", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080243250", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080248535", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080262575", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080267915", new QueriesGenerated.IfMC(i++));
imcMethods.put("7598352112177621829", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080273320", new QueriesGenerated.IfMC(i++));
imcMethods.put("1104862325080289483", new QueriesGenerated.IfMC(i++));
imcMethods.put("2197859704660389773", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502802", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502890", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502964", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503087", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503187", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503219", new QueriesGenerated.IfMC(i++));
imcMethods.put("4155486055398003983", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503332", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503361", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503391", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503509", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503521", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502185", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502229", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502259", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502472", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676502512", new QueriesGenerated.IfMC(i++));
imcMethods.put("1749921652111953151", new QueriesGenerated.IfMC(i++));
imcMethods.put("1749921652111950787", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503708", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441464977", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441464986", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503895", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676503955", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676504020", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441500559", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441517580", new QueriesGenerated.IfMC(i++));
imcMethods.put("99767819676504238", new QueriesGenerated.IfMC(i++));
imcMethods.put("8961331321403162001", new QueriesGenerated.IfMC(i++));
imcMethods.put("8961331321403242081", new QueriesGenerated.IfMC(i++));
imcMethods.put("8961331321403162163", new QueriesGenerated.IfMC(i++));
imcMethods.put("8961331321403162223", new QueriesGenerated.IfMC(i++));
imcMethods.put("8961331321403206164", new QueriesGenerated.IfMC(i++));
imcMethods.put("5898456405536876899", new QueriesGenerated.IfMC(i++));
imcMethods.put("5898456405536876920", new QueriesGenerated.IfMC(i++));
imcMethods.put("3846207671016008932", new QueriesGenerated.IfMC(i++));
imcMethods.put("6210299652024764759", new QueriesGenerated.IfMC(i++));
imcMethods.put("6210299652024797453", new QueriesGenerated.IfMC(i++));
imcMethods.put("1147906725605332259", new QueriesGenerated.IfMC(i++));
imcMethods.put("1147906725605332269", new QueriesGenerated.IfMC(i++));
imcMethods.put("6210299652024797541", new QueriesGenerated.IfMC(i++));
imcMethods.put("1147906725605070315", new QueriesGenerated.IfMC(i++));
imcMethods.put("2226924809856058004", new QueriesGenerated.IfMC(i++));
imcMethods.put("688382666505520893", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049634", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049580", new QueriesGenerated.IfMC(i++));
imcMethods.put("8371596541809145633", new QueriesGenerated.IfMC(i++));
imcMethods.put("688382666505321990", new QueriesGenerated.IfMC(i++));
imcMethods.put("3589323808390161791", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049519", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938218", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938234", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727889095", new QueriesGenerated.IfMC(i++));
imcMethods.put("330395710727938250", new QueriesGenerated.IfMC(i++));
imcMethods.put("418849768498866742", new QueriesGenerated.IfMC(i++));
imcMethods.put("4723636356214946462", new QueriesGenerated.IfMC(i++));
imcMethods.put("3876694689067951583", new QueriesGenerated.IfMC(i++));
imcMethods.put("3876694689067952328", new QueriesGenerated.IfMC(i++));
imcMethods.put("3876694689067952368", new QueriesGenerated.IfMC(i++));
imcMethods.put("8626372016104475453", new QueriesGenerated.IfMC(i++));
imcMethods.put("8626372016104475476", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441331025", new QueriesGenerated.IfMC(i++));
imcMethods.put("5851073518441245350", new QueriesGenerated.IfMC(i++));
imcMethods.put("2321430363679348304", new QueriesGenerated.IfMC(i++));
imcMethods.put("2321430363679348364", new QueriesGenerated.IfMC(i++));
imcMethods.put("8196331069071255569", new QueriesGenerated.IfMC(i++));
imcMethods.put("2321430363679348453", new QueriesGenerated.IfMC(i++));
imcMethods.put("2321430363679348547", new QueriesGenerated.IfMC(i++));
imcMethods.put("2321430363679348587", new QueriesGenerated.IfMC(i++));
imcMethods.put("3589323808390153994", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049431", new QueriesGenerated.IfMC(i++));
imcMethods.put("3589323808390182518", new QueriesGenerated.IfMC(i++));
imcMethods.put("3589323808390218694", new QueriesGenerated.IfMC(i++));
imcMethods.put("559189405767553577", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655150424", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655150649", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655150463", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655150590", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655150504", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049693", new QueriesGenerated.IfMC(i++));
imcMethods.put("9191117361655049732", new QueriesGenerated.IfMC(i++));
imcMethods.put("8371596541809114445", new QueriesGenerated.IfMC(i++));
imcMethods.put("4560626146942934526", new QueriesGenerated.IfMC(i++));
imcMethods.put("7664108699562497130", new QueriesGenerated.IfMC(i++));
imcMethods.put("7664108699562529594", new QueriesGenerated.IfMC(i++));
imcMethods.put("7664108699562497290", new QueriesGenerated.IfMC(i++));
imcMethods.put("7664108699562497350", new QueriesGenerated.IfMC(i++));
imcMethods.put("1368513600865828058", new QueriesGenerated.IfMC(i++));
imcMethods.put("6458924870076406534", new QueriesGenerated.IfMC(i++));
imcMethods.put("1520710884206582569", new QueriesGenerated.IfMC(i++));
imcMethods.put("1520710884206584116", new QueriesGenerated.IfMC(i++));
imcMethods.put("1520710884206584165", new QueriesGenerated.IfMC(i++));
imcMethods.put("8152851815335340203", new QueriesGenerated.IfMC(i++));
imcMethods.put("9196441569928383205", new QueriesGenerated.IfMC(i++));
imcMethods.put("2760176984813718959", new QueriesGenerated.IfMC(i++));
imcMethods.put("2760176984813719466", new QueriesGenerated.IfMC(i++));
imcMethods.put("2760176984813719540", new QueriesGenerated.IfMC(i++));
imcMethods.put("4672632171991748265", new QueriesGenerated.IfMC(i++));
imcMethods.put("3462145372628093915", new QueriesGenerated.IfMC(i++));
imcMethods.put("3462145372628094001", new QueriesGenerated.IfMC(i++));
imcMethods.put("3462145372628094075", new QueriesGenerated.IfMC(i++));
imcMethods.put("4006750417599177530", new QueriesGenerated.IfMC(i++));
imcMethods.put("7173753398979258053", new QueriesGenerated.IfMC(i++));
imcMethods.put("6635545314667336862", new QueriesGenerated.IfMC(i++));
imcMethods.put("5015072279636784276", new QueriesGenerated.IfMC(i++));
imcMethods.put("5015072279636784350", new QueriesGenerated.IfMC(i++));
imcMethods.put("2038100691500430186", new QueriesGenerated.IfMC(i++));
imcMethods.put("5510169400914809456", new QueriesGenerated.IfMC(i++));
imcMethods.put("2038100691500430348", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211303337515", new QueriesGenerated.IfMC(i++));
imcMethods.put("238835255332282157", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211301139238", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211303727091", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211303155797", new QueriesGenerated.IfMC(i++));
imcMethods.put("238835255332430299", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211301139376", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211301139429", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211304013905", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211301139486", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211304326109", new QueriesGenerated.IfMC(i++));
imcMethods.put("6254388211303567224", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398026735807", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398029352069", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398029280660", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398027561880", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398028251527", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398030068136", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398025939733", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398023959504", new QueriesGenerated.IfMC(i++));
imcMethods.put("722645242529620944", new QueriesGenerated.IfMC(i++));
imcMethods.put("722645242529844723", new QueriesGenerated.IfMC(i++));
imcMethods.put("3188250212960691893", new QueriesGenerated.IfMC(i++));
imcMethods.put("9056552524812639906", new QueriesGenerated.IfMC(i++));
imcMethods.put("8530069850499835013", new QueriesGenerated.IfMC(i++));
imcMethods.put("3115958756404955755", new QueriesGenerated.IfMC(i++));
imcMethods.put("6403651919169289310", new QueriesGenerated.IfMC(i++));
imcMethods.put("5360282374927746194", new QueriesGenerated.IfMC(i++));
imcMethods.put("1173958055624161930", new QueriesGenerated.IfMC(i++));
imcMethods.put("7935480418425115208", new QueriesGenerated.IfMC(i++));
imcMethods.put("7935480418425129348", new QueriesGenerated.IfMC(i++));
imcMethods.put("5777101398030871992", new QueriesGenerated.IfMC(i++));
imcMethods.put("4560626146938627409", new QueriesGenerated.IfMC(i++));
imcMethods.put("4397791158780943300", new QueriesGenerated.IfMC(i++));
imcMethods.put("1515402509390417022", new QueriesGenerated.IfMC(i++));
imcMethods.put("3115958756404799187", new QueriesGenerated.IfMC(i++));
imcMethods.put("3257252407656719964", new QueriesGenerated.IfMC(i++));
imcMethods.put("3257252407656720067", new QueriesGenerated.IfMC(i++));
imcMethods.put("3257252407656720170", new QueriesGenerated.IfMC(i++));
imcMethods.put("3257252407656720273", new QueriesGenerated.IfMC(i++));
}
@NotNull
@Override
public IfMacroCondition getIfMacroCondition(@NotNull QueryKey identity) {
final String id = identity.getTemplateNode().getNodeId().toString();
if (!(imcMethods.containsKey(id))) {
return super.getIfMacroCondition(identity);
}
return imcMethods.get(id);
}
private static class IfMC implements IfMacroCondition {
private final int methodKey;
public IfMC(int methodKey) {
this.methodKey = methodKey;
}
@Override
public boolean check(@NotNull IfMacroContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.ifMacro_Condition_3115958756406635509(ctx);
case 1:
return QueriesGenerated.ifMacro_Condition_7714599636078859501(ctx);
case 2:
return QueriesGenerated.ifMacro_Condition_1071051212912102675(ctx);
case 3:
return QueriesGenerated.ifMacro_Condition_1071051212912102685(ctx);
case 4:
return QueriesGenerated.ifMacro_Condition_7602140671021486924(ctx);
case 5:
return QueriesGenerated.ifMacro_Condition_7602140671021077467(ctx);
case 6:
return QueriesGenerated.ifMacro_Condition_6389702176794336635(ctx);
case 7:
return QueriesGenerated.ifMacro_Condition_6389702176794336734(ctx);
case 8:
return QueriesGenerated.ifMacro_Condition_6304885153124996297(ctx);
case 9:
return QueriesGenerated.ifMacro_Condition_5898140574782661240(ctx);
case 10:
return QueriesGenerated.ifMacro_Condition_5070605274413823686(ctx);
case 11:
return QueriesGenerated.ifMacro_Condition_5070605274413823790(ctx);
case 12:
return QueriesGenerated.ifMacro_Condition_5070605274413825720(ctx);
case 13:
return QueriesGenerated.ifMacro_Condition_1669041086427295482(ctx);
case 14:
return QueriesGenerated.ifMacro_Condition_7664108699562529990(ctx);
case 15:
return QueriesGenerated.ifMacro_Condition_7173753398979040507(ctx);
case 16:
return QueriesGenerated.ifMacro_Condition_6635545314666833090(ctx);
case 17:
return QueriesGenerated.ifMacro_Condition_99767819676237501(ctx);
case 18:
return QueriesGenerated.ifMacro_Condition_6635545314666868548(ctx);
case 19:
return QueriesGenerated.ifMacro_Condition_99767819676237613(ctx);
case 20:
return QueriesGenerated.ifMacro_Condition_99767819676237647(ctx);
case 21:
return QueriesGenerated.ifMacro_Condition_6437850093717095447(ctx);
case 22:
return QueriesGenerated.ifMacro_Condition_6458924870075003617(ctx);
case 23:
return QueriesGenerated.ifMacro_Condition_3413262193425984768(ctx);
case 24:
return QueriesGenerated.ifMacro_Condition_3413262193426157918(ctx);
case 25:
return QueriesGenerated.ifMacro_Condition_2338220375237894709(ctx);
case 26:
return QueriesGenerated.ifMacro_Condition_3413262193427293259(ctx);
case 27:
return QueriesGenerated.ifMacro_Condition_3413262193427369224(ctx);
case 28:
return QueriesGenerated.ifMacro_Condition_4155486055398183990(ctx);
case 29:
return QueriesGenerated.ifMacro_Condition_3413262193427392371(ctx);
case 30:
return QueriesGenerated.ifMacro_Condition_3413262193426235017(ctx);
case 31:
return QueriesGenerated.ifMacro_Condition_2262517311778571143(ctx);
case 32:
return QueriesGenerated.ifMacro_Condition_3413262193426331685(ctx);
case 33:
return QueriesGenerated.ifMacro_Condition_1246578104714225920(ctx);
case 34:
return QueriesGenerated.ifMacro_Condition_3413262193426462293(ctx);
case 35:
return QueriesGenerated.ifMacro_Condition_1545727400807800598(ctx);
case 36:
return QueriesGenerated.ifMacro_Condition_3413262193426490662(ctx);
case 37:
return QueriesGenerated.ifMacro_Condition_1246578104714225980(ctx);
case 38:
return QueriesGenerated.ifMacro_Condition_99767819676501704(ctx);
case 39:
return QueriesGenerated.ifMacro_Condition_99767819676501719(ctx);
case 40:
return QueriesGenerated.ifMacro_Condition_99767819676501748(ctx);
case 41:
return QueriesGenerated.ifMacro_Condition_99767819676501778(ctx);
case 42:
return QueriesGenerated.ifMacro_Condition_99767819676501954(ctx);
case 43:
return QueriesGenerated.ifMacro_Condition_99767819676501994(ctx);
case 44:
return QueriesGenerated.ifMacro_Condition_99767819676502092(ctx);
case 45:
return QueriesGenerated.ifMacro_Condition_99767819676502118(ctx);
case 46:
return QueriesGenerated.ifMacro_Condition_7817023234861714866(ctx);
case 47:
return QueriesGenerated.ifMacro_Condition_2197859704660436425(ctx);
case 48:
return QueriesGenerated.ifMacro_Condition_330395710727937993(ctx);
case 49:
return QueriesGenerated.ifMacro_Condition_330395710727937977(ctx);
case 50:
return QueriesGenerated.ifMacro_Condition_330395710727937961(ctx);
case 51:
return QueriesGenerated.ifMacro_Condition_330395710727937945(ctx);
case 52:
return QueriesGenerated.ifMacro_Condition_330395710727938023(ctx);
case 53:
return QueriesGenerated.ifMacro_Condition_7598352112177547224(ctx);
case 54:
return QueriesGenerated.ifMacro_Condition_9196441569928526436(ctx);
case 55:
return QueriesGenerated.ifMacro_Condition_9196441569928526530(ctx);
case 56:
return QueriesGenerated.ifMacro_Condition_330395710727938040(ctx);
case 57:
return QueriesGenerated.ifMacro_Condition_330395710727938056(ctx);
case 58:
return QueriesGenerated.ifMacro_Condition_330395710727938072(ctx);
case 59:
return QueriesGenerated.ifMacro_Condition_330395710727938088(ctx);
case 60:
return QueriesGenerated.ifMacro_Condition_330395710727938104(ctx);
case 61:
return QueriesGenerated.ifMacro_Condition_7598352112177585480(ctx);
case 62:
return QueriesGenerated.ifMacro_Condition_9196441569928526511(ctx);
case 63:
return QueriesGenerated.ifMacro_Condition_9196441569928526569(ctx);
case 64:
return QueriesGenerated.ifMacro_Condition_1104862325080138621(ctx);
case 65:
return QueriesGenerated.ifMacro_Condition_1104862325080237997(ctx);
case 66:
return QueriesGenerated.ifMacro_Condition_1104862325080243253(ctx);
case 67:
return QueriesGenerated.ifMacro_Condition_1104862325080248538(ctx);
case 68:
return QueriesGenerated.ifMacro_Condition_1104862325080262578(ctx);
case 69:
return QueriesGenerated.ifMacro_Condition_1104862325080267918(ctx);
case 70:
return QueriesGenerated.ifMacro_Condition_7598352112177621832(ctx);
case 71:
return QueriesGenerated.ifMacro_Condition_1104862325080273323(ctx);
case 72:
return QueriesGenerated.ifMacro_Condition_1104862325080289486(ctx);
case 73:
return QueriesGenerated.ifMacro_Condition_2197859704660389774(ctx);
case 74:
return QueriesGenerated.ifMacro_Condition_99767819676502803(ctx);
case 75:
return QueriesGenerated.ifMacro_Condition_99767819676502891(ctx);
case 76:
return QueriesGenerated.ifMacro_Condition_99767819676502965(ctx);
case 77:
return QueriesGenerated.ifMacro_Condition_99767819676503088(ctx);
case 78:
return QueriesGenerated.ifMacro_Condition_99767819676503188(ctx);
case 79:
return QueriesGenerated.ifMacro_Condition_99767819676503220(ctx);
case 80:
return QueriesGenerated.ifMacro_Condition_4155486055398003984(ctx);
case 81:
return QueriesGenerated.ifMacro_Condition_99767819676503333(ctx);
case 82:
return QueriesGenerated.ifMacro_Condition_99767819676503362(ctx);
case 83:
return QueriesGenerated.ifMacro_Condition_99767819676503392(ctx);
case 84:
return QueriesGenerated.ifMacro_Condition_99767819676503510(ctx);
case 85:
return QueriesGenerated.ifMacro_Condition_99767819676503522(ctx);
case 86:
return QueriesGenerated.ifMacro_Condition_99767819676502186(ctx);
case 87:
return QueriesGenerated.ifMacro_Condition_99767819676502230(ctx);
case 88:
return QueriesGenerated.ifMacro_Condition_99767819676502260(ctx);
case 89:
return QueriesGenerated.ifMacro_Condition_99767819676502473(ctx);
case 90:
return QueriesGenerated.ifMacro_Condition_99767819676502513(ctx);
case 91:
return QueriesGenerated.ifMacro_Condition_1749921652111953152(ctx);
case 92:
return QueriesGenerated.ifMacro_Condition_1749921652111950789(ctx);
case 93:
return QueriesGenerated.ifMacro_Condition_99767819676503709(ctx);
case 94:
return QueriesGenerated.ifMacro_Condition_5851073518441464978(ctx);
case 95:
return QueriesGenerated.ifMacro_Condition_5851073518441464987(ctx);
case 96:
return QueriesGenerated.ifMacro_Condition_99767819676503896(ctx);
case 97:
return QueriesGenerated.ifMacro_Condition_99767819676503956(ctx);
case 98:
return QueriesGenerated.ifMacro_Condition_99767819676504021(ctx);
case 99:
return QueriesGenerated.ifMacro_Condition_5851073518441500560(ctx);
case 100:
return QueriesGenerated.ifMacro_Condition_5851073518441517581(ctx);
case 101:
return QueriesGenerated.ifMacro_Condition_99767819676504239(ctx);
case 102:
return QueriesGenerated.ifMacro_Condition_8961331321403162002(ctx);
case 103:
return QueriesGenerated.ifMacro_Condition_8961331321403242082(ctx);
case 104:
return QueriesGenerated.ifMacro_Condition_8961331321403162164(ctx);
case 105:
return QueriesGenerated.ifMacro_Condition_8961331321403162224(ctx);
case 106:
return QueriesGenerated.ifMacro_Condition_8961331321403206165(ctx);
case 107:
return QueriesGenerated.ifMacro_Condition_5898456405536876900(ctx);
case 108:
return QueriesGenerated.ifMacro_Condition_5898456405536876921(ctx);
case 109:
return QueriesGenerated.ifMacro_Condition_3846207671016008933(ctx);
case 110:
return QueriesGenerated.ifMacro_Condition_6210299652024764760(ctx);
case 111:
return QueriesGenerated.ifMacro_Condition_6210299652024797454(ctx);
case 112:
return QueriesGenerated.ifMacro_Condition_1147906725605332260(ctx);
case 113:
return QueriesGenerated.ifMacro_Condition_1147906725605332270(ctx);
case 114:
return QueriesGenerated.ifMacro_Condition_6210299652024797542(ctx);
case 115:
return QueriesGenerated.ifMacro_Condition_1147906725605070316(ctx);
case 116:
return QueriesGenerated.ifMacro_Condition_2226924809856058005(ctx);
case 117:
return QueriesGenerated.ifMacro_Condition_688382666505520896(ctx);
case 118:
return QueriesGenerated.ifMacro_Condition_9191117361655049635(ctx);
case 119:
return QueriesGenerated.ifMacro_Condition_9191117361655049581(ctx);
case 120:
return QueriesGenerated.ifMacro_Condition_8371596541809145634(ctx);
case 121:
return QueriesGenerated.ifMacro_Condition_688382666505321993(ctx);
case 122:
return QueriesGenerated.ifMacro_Condition_3589323808390161794(ctx);
case 123:
return QueriesGenerated.ifMacro_Condition_9191117361655049520(ctx);
case 124:
return QueriesGenerated.ifMacro_Condition_330395710727938219(ctx);
case 125:
return QueriesGenerated.ifMacro_Condition_330395710727938235(ctx);
case 126:
return QueriesGenerated.ifMacro_Condition_330395710727889096(ctx);
case 127:
return QueriesGenerated.ifMacro_Condition_330395710727938251(ctx);
case 128:
return QueriesGenerated.ifMacro_Condition_418849768498866743(ctx);
case 129:
return QueriesGenerated.ifMacro_Condition_4723636356214946463(ctx);
case 130:
return QueriesGenerated.ifMacro_Condition_3876694689067951584(ctx);
case 131:
return QueriesGenerated.ifMacro_Condition_3876694689067952329(ctx);
case 132:
return QueriesGenerated.ifMacro_Condition_3876694689067952369(ctx);
case 133:
return QueriesGenerated.ifMacro_Condition_8626372016104475454(ctx);
case 134:
return QueriesGenerated.ifMacro_Condition_8626372016104475477(ctx);
case 135:
return QueriesGenerated.ifMacro_Condition_5851073518441331027(ctx);
case 136:
return QueriesGenerated.ifMacro_Condition_5851073518441245352(ctx);
case 137:
return QueriesGenerated.ifMacro_Condition_2321430363679348305(ctx);
case 138:
return QueriesGenerated.ifMacro_Condition_2321430363679348365(ctx);
case 139:
return QueriesGenerated.ifMacro_Condition_8196331069071255570(ctx);
case 140:
return QueriesGenerated.ifMacro_Condition_2321430363679348454(ctx);
case 141:
return QueriesGenerated.ifMacro_Condition_2321430363679348548(ctx);
case 142:
return QueriesGenerated.ifMacro_Condition_2321430363679348588(ctx);
case 143:
return QueriesGenerated.ifMacro_Condition_3589323808390153996(ctx);
case 144:
return QueriesGenerated.ifMacro_Condition_9191117361655049432(ctx);
case 145:
return QueriesGenerated.ifMacro_Condition_3589323808390182520(ctx);
case 146:
return QueriesGenerated.ifMacro_Condition_3589323808390218696(ctx);
case 147:
return QueriesGenerated.ifMacro_Condition_559189405767553580(ctx);
case 148:
return QueriesGenerated.ifMacro_Condition_9191117361655150425(ctx);
case 149:
return QueriesGenerated.ifMacro_Condition_9191117361655150650(ctx);
case 150:
return QueriesGenerated.ifMacro_Condition_9191117361655150464(ctx);
case 151:
return QueriesGenerated.ifMacro_Condition_9191117361655150591(ctx);
case 152:
return QueriesGenerated.ifMacro_Condition_9191117361655150505(ctx);
case 153:
return QueriesGenerated.ifMacro_Condition_9191117361655049694(ctx);
case 154:
return QueriesGenerated.ifMacro_Condition_9191117361655049733(ctx);
case 155:
return QueriesGenerated.ifMacro_Condition_8371596541809114446(ctx);
case 156:
return QueriesGenerated.ifMacro_Condition_4560626146942934528(ctx);
case 157:
return QueriesGenerated.ifMacro_Condition_7664108699562497131(ctx);
case 158:
return QueriesGenerated.ifMacro_Condition_7664108699562529595(ctx);
case 159:
return QueriesGenerated.ifMacro_Condition_7664108699562497291(ctx);
case 160:
return QueriesGenerated.ifMacro_Condition_7664108699562497351(ctx);
case 161:
return QueriesGenerated.ifMacro_Condition_1368513600865828059(ctx);
case 162:
return QueriesGenerated.ifMacro_Condition_6458924870076406570(ctx);
case 163:
return QueriesGenerated.ifMacro_Condition_1520710884206582570(ctx);
case 164:
return QueriesGenerated.ifMacro_Condition_1520710884206584117(ctx);
case 165:
return QueriesGenerated.ifMacro_Condition_1520710884206584166(ctx);
case 166:
return QueriesGenerated.ifMacro_Condition_8152851815335340205(ctx);
case 167:
return QueriesGenerated.ifMacro_Condition_9196441569928383206(ctx);
case 168:
return QueriesGenerated.ifMacro_Condition_2760176984813718960(ctx);
case 169:
return QueriesGenerated.ifMacro_Condition_2760176984813719467(ctx);
case 170:
return QueriesGenerated.ifMacro_Condition_2760176984813719541(ctx);
case 171:
return QueriesGenerated.ifMacro_Condition_4672632171991748266(ctx);
case 172:
return QueriesGenerated.ifMacro_Condition_3462145372628093916(ctx);
case 173:
return QueriesGenerated.ifMacro_Condition_3462145372628094002(ctx);
case 174:
return QueriesGenerated.ifMacro_Condition_3462145372628094076(ctx);
case 175:
return QueriesGenerated.ifMacro_Condition_4006750417599177531(ctx);
case 176:
return QueriesGenerated.ifMacro_Condition_7173753398979258055(ctx);
case 177:
return QueriesGenerated.ifMacro_Condition_6635545314667336864(ctx);
case 178:
return QueriesGenerated.ifMacro_Condition_5015072279636784277(ctx);
case 179:
return QueriesGenerated.ifMacro_Condition_5015072279636784351(ctx);
case 180:
return QueriesGenerated.ifMacro_Condition_2038100691500430187(ctx);
case 181:
return QueriesGenerated.ifMacro_Condition_5510169400914809457(ctx);
case 182:
return QueriesGenerated.ifMacro_Condition_2038100691500430349(ctx);
case 183:
return QueriesGenerated.ifMacro_Condition_6254388211303337517(ctx);
case 184:
return QueriesGenerated.ifMacro_Condition_238835255332282159(ctx);
case 185:
return QueriesGenerated.ifMacro_Condition_6254388211301139239(ctx);
case 186:
return QueriesGenerated.ifMacro_Condition_6254388211303727092(ctx);
case 187:
return QueriesGenerated.ifMacro_Condition_6254388211303155799(ctx);
case 188:
return QueriesGenerated.ifMacro_Condition_238835255332430300(ctx);
case 189:
return QueriesGenerated.ifMacro_Condition_6254388211301139377(ctx);
case 190:
return QueriesGenerated.ifMacro_Condition_6254388211301139430(ctx);
case 191:
return QueriesGenerated.ifMacro_Condition_6254388211304013906(ctx);
case 192:
return QueriesGenerated.ifMacro_Condition_6254388211301139487(ctx);
case 193:
return QueriesGenerated.ifMacro_Condition_6254388211304326111(ctx);
case 194:
return QueriesGenerated.ifMacro_Condition_6254388211303567226(ctx);
case 195:
return QueriesGenerated.ifMacro_Condition_5777101398026735809(ctx);
case 196:
return QueriesGenerated.ifMacro_Condition_5777101398029352070(ctx);
case 197:
return QueriesGenerated.ifMacro_Condition_5777101398029280661(ctx);
case 198:
return QueriesGenerated.ifMacro_Condition_5777101398027561881(ctx);
case 199:
return QueriesGenerated.ifMacro_Condition_5777101398028251528(ctx);
case 200:
return QueriesGenerated.ifMacro_Condition_5777101398030068137(ctx);
case 201:
return QueriesGenerated.ifMacro_Condition_5777101398025939735(ctx);
case 202:
return QueriesGenerated.ifMacro_Condition_5777101398023959515(ctx);
case 203:
return QueriesGenerated.ifMacro_Condition_722645242529620945(ctx);
case 204:
return QueriesGenerated.ifMacro_Condition_722645242529844724(ctx);
case 205:
return QueriesGenerated.ifMacro_Condition_3188250212960691894(ctx);
case 206:
return QueriesGenerated.ifMacro_Condition_9056552524812639907(ctx);
case 207:
return QueriesGenerated.ifMacro_Condition_8530069850499835014(ctx);
case 208:
return QueriesGenerated.ifMacro_Condition_3115958756404955756(ctx);
case 209:
return QueriesGenerated.ifMacro_Condition_6403651919169289311(ctx);
case 210:
return QueriesGenerated.ifMacro_Condition_5360282374927746195(ctx);
case 211:
return QueriesGenerated.ifMacro_Condition_1173958055624161931(ctx);
case 212:
return QueriesGenerated.ifMacro_Condition_7935480418425115209(ctx);
case 213:
return QueriesGenerated.ifMacro_Condition_7935480418425129349(ctx);
case 214:
return QueriesGenerated.ifMacro_Condition_5777101398030871995(ctx);
case 215:
return QueriesGenerated.ifMacro_Condition_4560626146938627410(ctx);
case 216:
return QueriesGenerated.ifMacro_Condition_4397791158780943302(ctx);
case 217:
return QueriesGenerated.ifMacro_Condition_1515402509390417025(ctx);
case 218:
return QueriesGenerated.ifMacro_Condition_3115958756404799188(ctx);
case 219:
return QueriesGenerated.ifMacro_Condition_3257252407656719965(ctx);
case 220:
return QueriesGenerated.ifMacro_Condition_3257252407656720068(ctx);
case 221:
return QueriesGenerated.ifMacro_Condition_3257252407656720171(ctx);
case 222:
return QueriesGenerated.ifMacro_Condition_3257252407656720274(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for if macro %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, ReferenceTargetQuery> rtqMethods = new HashMap<String, ReferenceTargetQuery>();
{
rtqMethods.put("1071051212912102695", new QueriesGenerated.RTQ(0, "baseMappingRuleCondition"));
rtqMethods.put("5898140574782692881", new QueriesGenerated.RTQ(1, "child"));
rtqMethods.put("1830209218526504980", new QueriesGenerated.RTQ(2, "resultlist"));
rtqMethods.put("5070605274413825726", new QueriesGenerated.RTQ(3, "resultlist"));
rtqMethods.put("99767819676237413", new QueriesGenerated.RTQ(4, "sourceSubstsMacro"));
rtqMethods.put("99767819676237590", new QueriesGenerated.RTQ(5, "child"));
rtqMethods.put("99767819676237634", new QueriesGenerated.RTQ(6, "child"));
rtqMethods.put("99767819676237671", new QueriesGenerated.RTQ(7, "childlist"));
rtqMethods.put("99767819676237686", new QueriesGenerated.RTQ(8, "child"));
rtqMethods.put("1246578104714226074", new QueriesGenerated.RTQ(9, "child"));
rtqMethods.put("1246578104714226024", new QueriesGenerated.RTQ(10, "child"));
rtqMethods.put("1545727400807789646", new QueriesGenerated.RTQ(11, "child"));
rtqMethods.put("1246578104714225943", new QueriesGenerated.RTQ(12, "childlist"));
rtqMethods.put("99767819676501694", new QueriesGenerated.RTQ(13, "sourceSubstMacro"));
rtqMethods.put("4155486055398088736", new QueriesGenerated.RTQ(14, "sourceSubstMacro"));
rtqMethods.put("9196441569928526462", new QueriesGenerated.RTQ(15, "map_TemplateMappingScript"));
rtqMethods.put("9196441569928526546", new QueriesGenerated.RTQ(16, "map_TemplateMappingScript"));
rtqMethods.put("4155486055398089008", new QueriesGenerated.RTQ(17, "sourceSubstsMacro"));
rtqMethods.put("99767819676502878", new QueriesGenerated.RTQ(18, "child"));
rtqMethods.put("99767819676502914", new QueriesGenerated.RTQ(19, "childlist"));
rtqMethods.put("99767819676502942", new QueriesGenerated.RTQ(20, "child"));
rtqMethods.put("99767819676503161", new QueriesGenerated.RTQ(21, "child"));
rtqMethods.put("99767819676503297", new QueriesGenerated.RTQ(22, "sourceSubstMacro"));
rtqMethods.put("99767819676502176", new QueriesGenerated.RTQ(23, "sourceSubstMacro"));
rtqMethods.put("99767819676503661", new QueriesGenerated.RTQ(24, "sourceSubstsMacro"));
rtqMethods.put("5851073518441464936", new QueriesGenerated.RTQ(25, "mapSrc"));
rtqMethods.put("5851073518441464968", new QueriesGenerated.RTQ(26, "mapSrcPostMapper"));
rtqMethods.put("99767819676503943", new QueriesGenerated.RTQ(27, "child"));
rtqMethods.put("99767819676503980", new QueriesGenerated.RTQ(28, "childlist"));
rtqMethods.put("99767819676503998", new QueriesGenerated.RTQ(29, "child"));
rtqMethods.put("5851073518441500517", new QueriesGenerated.RTQ(30, "child"));
rtqMethods.put("5851073518441500543", new QueriesGenerated.RTQ(31, "mapSrcPostMapper"));
rtqMethods.put("5851073518441517553", new QueriesGenerated.RTQ(32, "mapSrcPostMapper"));
rtqMethods.put("5851073518441517568", new QueriesGenerated.RTQ(33, "childlist"));
rtqMethods.put("99767819676504226", new QueriesGenerated.RTQ(34, "child"));
rtqMethods.put("8961331321403161970", new QueriesGenerated.RTQ(35, "child"));
rtqMethods.put("8961331321403242047", new QueriesGenerated.RTQ(36, "childList"));
rtqMethods.put("8961331321403242154", new QueriesGenerated.RTQ(37, "child"));
rtqMethods.put("8961331321403162190", new QueriesGenerated.RTQ(38, "child"));
rtqMethods.put("8961331321403206157", new QueriesGenerated.RTQ(39, "contextVar"));
rtqMethods.put("5898456405536876870", new QueriesGenerated.RTQ(40, "error"));
rtqMethods.put("1147906725605332181", new QueriesGenerated.RTQ(41, "baseMappingRuleCondition"));
rtqMethods.put("1147906725605332200", new QueriesGenerated.RTQ(42, "baseMappingRuleCondition"));
rtqMethods.put("3571912445009827126", new QueriesGenerated.RTQ(43, "sourceSubstsMacro"));
rtqMethods.put("4006750417599303467", new QueriesGenerated.RTQ(44, "outputContextNode"));
rtqMethods.put("3615289984453649261", new QueriesGenerated.RTQ(45, "BaseConcept"));
rtqMethods.put("1751251480823453084", new QueriesGenerated.RTQ(46, "baseMappingRuleCondition"));
rtqMethods.put("9191117361655049640", new QueriesGenerated.RTQ(47, "child"));
rtqMethods.put("3615289984453667924", new QueriesGenerated.RTQ(48, "BaseConcept"));
rtqMethods.put("59720043761728338", new QueriesGenerated.RTQ(49, "baseMappingRuleCondition"));
rtqMethods.put("8626372016104475443", new QueriesGenerated.RTQ(50, "result"));
rtqMethods.put("8626372016104475499", new QueriesGenerated.RTQ(51, "resultList"));
rtqMethods.put("5851073518441286398", new QueriesGenerated.RTQ(52, "result"));
rtqMethods.put("5851073518441355281", new QueriesGenerated.RTQ(53, "mapSrc"));
rtqMethods.put("5851073518441339665", new QueriesGenerated.RTQ(54, "mapSrcPostMapper"));
rtqMethods.put("2321430363679349184", new QueriesGenerated.RTQ(55, "result"));
rtqMethods.put("2321430363679348352", new QueriesGenerated.RTQ(56, "child"));
rtqMethods.put("2321430363679348389", new QueriesGenerated.RTQ(57, "childlist"));
rtqMethods.put("2321430363679349174", new QueriesGenerated.RTQ(58, "result"));
rtqMethods.put("8196331069071255547", new QueriesGenerated.RTQ(59, "child"));
rtqMethods.put("5851073518441393844", new QueriesGenerated.RTQ(60, "child"));
rtqMethods.put("5851073518441396797", new QueriesGenerated.RTQ(61, "mapSrcPostMapper"));
rtqMethods.put("5851073518441414369", new QueriesGenerated.RTQ(62, "mapSrcPostMapper"));
rtqMethods.put("2321430363679348535", new QueriesGenerated.RTQ(63, "childlist"));
rtqMethods.put("2321430363679348575", new QueriesGenerated.RTQ(64, "child"));
rtqMethods.put("3615289984453483302", new QueriesGenerated.RTQ(65, "BaseConcept"));
rtqMethods.put("3615289984453679352", new QueriesGenerated.RTQ(66, "BaseConcept"));
rtqMethods.put("59720043761737763", new QueriesGenerated.RTQ(67, "baseMappingRuleCondition"));
rtqMethods.put("9191117361655150437", new QueriesGenerated.RTQ(68, "child"));
rtqMethods.put("9191117361655150593", new QueriesGenerated.RTQ(69, "child"));
rtqMethods.put("7057563018698266778", new QueriesGenerated.RTQ(70, "childlist"));
rtqMethods.put("9191117361655150706", new QueriesGenerated.RTQ(71, "childlist"));
rtqMethods.put("9191117361655049706", new QueriesGenerated.RTQ(72, "child"));
rtqMethods.put("2990947723228973304", new QueriesGenerated.RTQ(73, "class_TemplateDeclaration"));
rtqMethods.put("2990947723228997817", new QueriesGenerated.RTQ(74, "map_RootTemplate"));
rtqMethods.put("4006750417599310433", new QueriesGenerated.RTQ(75, "outputContextNode"));
rtqMethods.put("7664108699562529366", new QueriesGenerated.RTQ(76, "applyPart"));
rtqMethods.put("7664108699562529850", new QueriesGenerated.RTQ(77, "applyPart"));
rtqMethods.put("7664108699562529690", new QueriesGenerated.RTQ(78, "applyPart"));
rtqMethods.put("7664108699562529309", new QueriesGenerated.RTQ(79, "applyPart"));
rtqMethods.put("5577795813925668090", new QueriesGenerated.RTQ(80, "class_TemplateDeclaration"));
rtqMethods.put("5891355986060228613", new QueriesGenerated.RTQ(81, "apply"));
rtqMethods.put("4006750417599168094", new QueriesGenerated.RTQ(82, "ctx"));
rtqMethods.put("8152851815335332076", new QueriesGenerated.RTQ(83, "class_TemplateDeclaration"));
rtqMethods.put("8152851815335395322", new QueriesGenerated.RTQ(84, "ctx"));
rtqMethods.put("6389702176794341088", new QueriesGenerated.RTQ(85, "applyNode"));
rtqMethods.put("2760176984813719454", new QueriesGenerated.RTQ(86, "child"));
rtqMethods.put("2760176984813719490", new QueriesGenerated.RTQ(87, "childlist"));
rtqMethods.put("2760176984813719518", new QueriesGenerated.RTQ(88, "child"));
rtqMethods.put("3462145372628093989", new QueriesGenerated.RTQ(89, "child"));
rtqMethods.put("3462145372628094025", new QueriesGenerated.RTQ(90, "childlist"));
rtqMethods.put("3462145372628094053", new QueriesGenerated.RTQ(91, "child"));
rtqMethods.put("812193811988884556", new QueriesGenerated.RTQ(92, "sourceSubstsMacro"));
rtqMethods.put("5015072279636784264", new QueriesGenerated.RTQ(93, "child"));
rtqMethods.put("5015072279636784300", new QueriesGenerated.RTQ(94, "childlist"));
rtqMethods.put("5015072279636784328", new QueriesGenerated.RTQ(95, "child"));
rtqMethods.put("5433312185282565699", new QueriesGenerated.RTQ(96, "sourceSubstMacro"));
rtqMethods.put("5510169400914809444", new QueriesGenerated.RTQ(97, "child"));
rtqMethods.put("5510169400914809480", new QueriesGenerated.RTQ(98, "childlist"));
rtqMethods.put("2038100691500430326", new QueriesGenerated.RTQ(99, "child"));
rtqMethods.put("6254388211301138969", new QueriesGenerated.RTQ(100, "sourceSubstMacro"));
rtqMethods.put("6254388211301139226", new QueriesGenerated.RTQ(101, "child"));
rtqMethods.put("6254388211301139262", new QueriesGenerated.RTQ(102, "childlist"));
rtqMethods.put("6254388211301139277", new QueriesGenerated.RTQ(103, "child"));
rtqMethods.put("6254388211301139417", new QueriesGenerated.RTQ(104, "child"));
rtqMethods.put("6254388211301139453", new QueriesGenerated.RTQ(105, "childlist"));
rtqMethods.put("6254388211301139468", new QueriesGenerated.RTQ(106, "child"));
rtqMethods.put("4914935534439684250", new QueriesGenerated.RTQ(107, "_context"));
rtqMethods.put("1515402509390411124", new QueriesGenerated.RTQ(108, "BaseConcept"));
rtqMethods.put("3079684480024208923", new QueriesGenerated.RTQ(109, "contextVar"));
}
@NotNull
@Override
public ReferenceTargetQuery getReferenceTargetQuery(@NotNull QueryKey queryKey) {
final String id = queryKey.getTemplateNode().getNodeId().toString();
if (!(rtqMethods.containsKey(id))) {
return super.getReferenceTargetQuery(queryKey);
}
return rtqMethods.get(id);
}
private static class RTQ extends ReferenceTargetQuery.Base {
private final int methodKey;
/*package*/ RTQ(int methodKey, String templateValue) {
super(templateValue);
this.methodKey = methodKey;
}
@Nullable
public Object evaluate(@NotNull ReferenceMacroContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.referenceMacro_GetReferent_1071051212912102696(ctx);
case 1:
return QueriesGenerated.referenceMacro_GetReferent_5898140574782692882(ctx);
case 2:
return QueriesGenerated.referenceMacro_GetReferent_1830209218526504981(ctx);
case 3:
return QueriesGenerated.referenceMacro_GetReferent_5070605274413825727(ctx);
case 4:
return QueriesGenerated.referenceMacro_GetReferent_99767819676237414(ctx);
case 5:
return QueriesGenerated.referenceMacro_GetReferent_99767819676237591(ctx);
case 6:
return QueriesGenerated.referenceMacro_GetReferent_99767819676237635(ctx);
case 7:
return QueriesGenerated.referenceMacro_GetReferent_99767819676237672(ctx);
case 8:
return QueriesGenerated.referenceMacro_GetReferent_99767819676237687(ctx);
case 9:
return QueriesGenerated.referenceMacro_GetReferent_1246578104714226075(ctx);
case 10:
return QueriesGenerated.referenceMacro_GetReferent_1246578104714226025(ctx);
case 11:
return QueriesGenerated.referenceMacro_GetReferent_1545727400807789647(ctx);
case 12:
return QueriesGenerated.referenceMacro_GetReferent_1246578104714225944(ctx);
case 13:
return QueriesGenerated.referenceMacro_GetReferent_99767819676501695(ctx);
case 14:
return QueriesGenerated.referenceMacro_GetReferent_4155486055398088737(ctx);
case 15:
return QueriesGenerated.referenceMacro_GetReferent_9196441569928526463(ctx);
case 16:
return QueriesGenerated.referenceMacro_GetReferent_9196441569928526547(ctx);
case 17:
return QueriesGenerated.referenceMacro_GetReferent_4155486055398089009(ctx);
case 18:
return QueriesGenerated.referenceMacro_GetReferent_99767819676502879(ctx);
case 19:
return QueriesGenerated.referenceMacro_GetReferent_99767819676502915(ctx);
case 20:
return QueriesGenerated.referenceMacro_GetReferent_99767819676502943(ctx);
case 21:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503162(ctx);
case 22:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503298(ctx);
case 23:
return QueriesGenerated.referenceMacro_GetReferent_99767819676502177(ctx);
case 24:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503662(ctx);
case 25:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441464937(ctx);
case 26:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441464969(ctx);
case 27:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503944(ctx);
case 28:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503981(ctx);
case 29:
return QueriesGenerated.referenceMacro_GetReferent_99767819676503999(ctx);
case 30:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441500518(ctx);
case 31:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441500544(ctx);
case 32:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441517554(ctx);
case 33:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441517569(ctx);
case 34:
return QueriesGenerated.referenceMacro_GetReferent_99767819676504227(ctx);
case 35:
return QueriesGenerated.referenceMacro_GetReferent_8961331321403161971(ctx);
case 36:
return QueriesGenerated.referenceMacro_GetReferent_8961331321403242048(ctx);
case 37:
return QueriesGenerated.referenceMacro_GetReferent_8961331321403242155(ctx);
case 38:
return QueriesGenerated.referenceMacro_GetReferent_8961331321403162191(ctx);
case 39:
return QueriesGenerated.referenceMacro_GetReferent_8961331321403206158(ctx);
case 40:
return QueriesGenerated.referenceMacro_GetReferent_5898456405536876871(ctx);
case 41:
return QueriesGenerated.referenceMacro_GetReferent_1147906725605332182(ctx);
case 42:
return QueriesGenerated.referenceMacro_GetReferent_1147906725605332201(ctx);
case 43:
return QueriesGenerated.referenceMacro_GetReferent_3571912445009827127(ctx);
case 44:
return QueriesGenerated.referenceMacro_GetReferent_4006750417599303468(ctx);
case 45:
return QueriesGenerated.referenceMacro_GetReferent_3615289984453649264(ctx);
case 46:
return QueriesGenerated.referenceMacro_GetReferent_1751251480823453085(ctx);
case 47:
return QueriesGenerated.referenceMacro_GetReferent_9191117361655049641(ctx);
case 48:
return QueriesGenerated.referenceMacro_GetReferent_3615289984453667927(ctx);
case 49:
return QueriesGenerated.referenceMacro_GetReferent_59720043761728339(ctx);
case 50:
return QueriesGenerated.referenceMacro_GetReferent_8626372016104475444(ctx);
case 51:
return QueriesGenerated.referenceMacro_GetReferent_8626372016104475500(ctx);
case 52:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441286399(ctx);
case 53:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441355282(ctx);
case 54:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441339666(ctx);
case 55:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679349185(ctx);
case 56:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679348353(ctx);
case 57:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679348390(ctx);
case 58:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679349175(ctx);
case 59:
return QueriesGenerated.referenceMacro_GetReferent_8196331069071255548(ctx);
case 60:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441393845(ctx);
case 61:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441396798(ctx);
case 62:
return QueriesGenerated.referenceMacro_GetReferent_5851073518441414370(ctx);
case 63:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679348536(ctx);
case 64:
return QueriesGenerated.referenceMacro_GetReferent_2321430363679348576(ctx);
case 65:
return QueriesGenerated.referenceMacro_GetReferent_3615289984453483303(ctx);
case 66:
return QueriesGenerated.referenceMacro_GetReferent_3615289984453679355(ctx);
case 67:
return QueriesGenerated.referenceMacro_GetReferent_59720043761737764(ctx);
case 68:
return QueriesGenerated.referenceMacro_GetReferent_9191117361655150438(ctx);
case 69:
return QueriesGenerated.referenceMacro_GetReferent_9191117361655150594(ctx);
case 70:
return QueriesGenerated.referenceMacro_GetReferent_7057563018698266779(ctx);
case 71:
return QueriesGenerated.referenceMacro_GetReferent_9191117361655150707(ctx);
case 72:
return QueriesGenerated.referenceMacro_GetReferent_9191117361655049707(ctx);
case 73:
return QueriesGenerated.referenceMacro_GetReferent_2990947723228973305(ctx);
case 74:
return QueriesGenerated.referenceMacro_GetReferent_2990947723228997818(ctx);
case 75:
return QueriesGenerated.referenceMacro_GetReferent_4006750417599310434(ctx);
case 76:
return QueriesGenerated.referenceMacro_GetReferent_7664108699562529367(ctx);
case 77:
return QueriesGenerated.referenceMacro_GetReferent_7664108699562529851(ctx);
case 78:
return QueriesGenerated.referenceMacro_GetReferent_7664108699562529691(ctx);
case 79:
return QueriesGenerated.referenceMacro_GetReferent_7664108699562529310(ctx);
case 80:
return QueriesGenerated.referenceMacro_GetReferent_5577795813925668091(ctx);
case 81:
return QueriesGenerated.referenceMacro_GetReferent_5891355986060228614(ctx);
case 82:
return QueriesGenerated.referenceMacro_GetReferent_4006750417599168095(ctx);
case 83:
return QueriesGenerated.referenceMacro_GetReferent_8152851815335332077(ctx);
case 84:
return QueriesGenerated.referenceMacro_GetReferent_8152851815335395323(ctx);
case 85:
return QueriesGenerated.referenceMacro_GetReferent_6389702176794341089(ctx);
case 86:
return QueriesGenerated.referenceMacro_GetReferent_2760176984813719455(ctx);
case 87:
return QueriesGenerated.referenceMacro_GetReferent_2760176984813719491(ctx);
case 88:
return QueriesGenerated.referenceMacro_GetReferent_2760176984813719519(ctx);
case 89:
return QueriesGenerated.referenceMacro_GetReferent_3462145372628093990(ctx);
case 90:
return QueriesGenerated.referenceMacro_GetReferent_3462145372628094026(ctx);
case 91:
return QueriesGenerated.referenceMacro_GetReferent_3462145372628094054(ctx);
case 92:
return QueriesGenerated.referenceMacro_GetReferent_812193811988884557(ctx);
case 93:
return QueriesGenerated.referenceMacro_GetReferent_5015072279636784265(ctx);
case 94:
return QueriesGenerated.referenceMacro_GetReferent_5015072279636784301(ctx);
case 95:
return QueriesGenerated.referenceMacro_GetReferent_5015072279636784329(ctx);
case 96:
return QueriesGenerated.referenceMacro_GetReferent_5433312185282565700(ctx);
case 97:
return QueriesGenerated.referenceMacro_GetReferent_5510169400914809445(ctx);
case 98:
return QueriesGenerated.referenceMacro_GetReferent_5510169400914809481(ctx);
case 99:
return QueriesGenerated.referenceMacro_GetReferent_2038100691500430327(ctx);
case 100:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301138970(ctx);
case 101:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139227(ctx);
case 102:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139263(ctx);
case 103:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139278(ctx);
case 104:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139418(ctx);
case 105:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139454(ctx);
case 106:
return QueriesGenerated.referenceMacro_GetReferent_6254388211301139469(ctx);
case 107:
return QueriesGenerated.referenceMacro_GetReferent_4914935534439684251(ctx);
case 108:
return QueriesGenerated.referenceMacro_GetReferent_1515402509390411125(ctx);
case 109:
return QueriesGenerated.referenceMacro_GetReferent_3079684480024208924(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, VariableValueQuery> vvqMethods = new HashMap<String, VariableValueQuery>();
{
vvqMethods.put("3115958756406550619", new QueriesGenerated.VVQ(0));
vvqMethods.put("3257252407656969168", new QueriesGenerated.VVQ(1));
vvqMethods.put("1749921652113152173", new QueriesGenerated.VVQ(2));
vvqMethods.put("3413262193425034723", new QueriesGenerated.VVQ(3));
vvqMethods.put("238835255331450995", new QueriesGenerated.VVQ(4));
vvqMethods.put("238835255332430270", new QueriesGenerated.VVQ(5));
vvqMethods.put("5777101398026735025", new QueriesGenerated.VVQ(6));
vvqMethods.put("5777101398029352045", new QueriesGenerated.VVQ(7));
vvqMethods.put("5777101398029280636", new QueriesGenerated.VVQ(8));
vvqMethods.put("5777101398027561856", new QueriesGenerated.VVQ(9));
vvqMethods.put("5777101398028251503", new QueriesGenerated.VVQ(10));
vvqMethods.put("5777101398030068126", new QueriesGenerated.VVQ(11));
vvqMethods.put("5777101398025939649", new QueriesGenerated.VVQ(12));
vvqMethods.put("5777101398023960736", new QueriesGenerated.VVQ(13));
vvqMethods.put("722645242529620920", new QueriesGenerated.VVQ(14));
vvqMethods.put("722645242529844713", new QueriesGenerated.VVQ(15));
vvqMethods.put("3188250212960691883", new QueriesGenerated.VVQ(16));
vvqMethods.put("9056552524812639896", new QueriesGenerated.VVQ(17));
vvqMethods.put("8530069850499835003", new QueriesGenerated.VVQ(18));
vvqMethods.put("3115958756404955744", new QueriesGenerated.VVQ(19));
vvqMethods.put("6403651919169289299", new QueriesGenerated.VVQ(20));
vvqMethods.put("5360282374927746183", new QueriesGenerated.VVQ(21));
vvqMethods.put("5360282374927784675", new QueriesGenerated.VVQ(22));
vvqMethods.put("1173958055624161919", new QueriesGenerated.VVQ(23));
vvqMethods.put("7935480418425115197", new QueriesGenerated.VVQ(24));
vvqMethods.put("7935480418425129337", new QueriesGenerated.VVQ(25));
vvqMethods.put("3257252407656719952", new QueriesGenerated.VVQ(26));
vvqMethods.put("3257252407656720055", new QueriesGenerated.VVQ(27));
vvqMethods.put("3257252407656720158", new QueriesGenerated.VVQ(28));
vvqMethods.put("3257252407656720261", new QueriesGenerated.VVQ(29));
}
@NotNull
@Override
public VariableValueQuery getVariableValueQuery(@NotNull QueryKey queryKey) {
final String id = queryKey.getTemplateNode().getNodeId().toString();
if (!(vvqMethods.containsKey(id))) {
return super.getVariableValueQuery(queryKey);
}
return vvqMethods.get(id);
}
private static class VVQ implements VariableValueQuery {
private final int methodKey;
/*package*/ VVQ(int methodKey) {
this.methodKey = methodKey;
}
@Nullable
public Object evaluate(@NotNull TemplateVarContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.insertMacro_varValue_3115958756406550621(ctx);
case 1:
return QueriesGenerated.insertMacro_varValue_3257252407656969170(ctx);
case 2:
return QueriesGenerated.insertMacro_varValue_1749921652113179200(ctx);
case 3:
return QueriesGenerated.insertMacro_varValue_3413262193425034725(ctx);
case 4:
return QueriesGenerated.insertMacro_varValue_238835255331450998(ctx);
case 5:
return QueriesGenerated.insertMacro_varValue_238835255332430271(ctx);
case 6:
return QueriesGenerated.insertMacro_varValue_5777101398026735027(ctx);
case 7:
return QueriesGenerated.insertMacro_varValue_5777101398029352046(ctx);
case 8:
return QueriesGenerated.insertMacro_varValue_5777101398029280637(ctx);
case 9:
return QueriesGenerated.insertMacro_varValue_5777101398027561857(ctx);
case 10:
return QueriesGenerated.insertMacro_varValue_5777101398028251504(ctx);
case 11:
return QueriesGenerated.insertMacro_varValue_5777101398030068127(ctx);
case 12:
return QueriesGenerated.insertMacro_varValue_5777101398025939651(ctx);
case 13:
return QueriesGenerated.insertMacro_varValue_5777101398023960740(ctx);
case 14:
return QueriesGenerated.insertMacro_varValue_722645242529620921(ctx);
case 15:
return QueriesGenerated.insertMacro_varValue_722645242529844714(ctx);
case 16:
return QueriesGenerated.insertMacro_varValue_3188250212960691884(ctx);
case 17:
return QueriesGenerated.insertMacro_varValue_9056552524812639897(ctx);
case 18:
return QueriesGenerated.insertMacro_varValue_8530069850499835004(ctx);
case 19:
return QueriesGenerated.insertMacro_varValue_3115958756404955745(ctx);
case 20:
return QueriesGenerated.insertMacro_varValue_6403651919169289300(ctx);
case 21:
return QueriesGenerated.insertMacro_varValue_5360282374927746184(ctx);
case 22:
return QueriesGenerated.insertMacro_varValue_5360282374927784677(ctx);
case 23:
return QueriesGenerated.insertMacro_varValue_1173958055624161920(ctx);
case 24:
return QueriesGenerated.insertMacro_varValue_7935480418425115198(ctx);
case 25:
return QueriesGenerated.insertMacro_varValue_7935480418425129338(ctx);
case 26:
return QueriesGenerated.insertMacro_varValue_3257252407656719953(ctx);
case 27:
return QueriesGenerated.insertMacro_varValue_3257252407656720056(ctx);
case 28:
return QueriesGenerated.insertMacro_varValue_3257252407656720159(ctx);
case 29:
return QueriesGenerated.insertMacro_varValue_3257252407656720262(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, CallArgumentQuery> caqMethods = new HashMap<String, CallArgumentQuery>();
{
caqMethods.put("5070605274413823452", new QueriesGenerated.CAQ(0));
caqMethods.put("6254388211304644202", new QueriesGenerated.CAQ(1));
caqMethods.put("3257252407654859798", new QueriesGenerated.CAQ(2));
caqMethods.put("6389702176794341071", new QueriesGenerated.CAQ(3));
caqMethods.put("6389702176794275052", new QueriesGenerated.CAQ(4));
caqMethods.put("7664108699562530007", new QueriesGenerated.CAQ(5));
caqMethods.put("6389702176794129776", new QueriesGenerated.CAQ(6));
caqMethods.put("7598352112177523499", new QueriesGenerated.CAQ(7));
caqMethods.put("7598352112177502707", new QueriesGenerated.CAQ(8));
caqMethods.put("99767819676503469", new QueriesGenerated.CAQ(9));
caqMethods.put("99767819676503559", new QueriesGenerated.CAQ(10));
caqMethods.put("1147906725605070287", new QueriesGenerated.CAQ(11));
caqMethods.put("965589097447685614", new QueriesGenerated.CAQ(12));
caqMethods.put("1520710884206584396", new QueriesGenerated.CAQ(13));
caqMethods.put("1520710884206584275", new QueriesGenerated.CAQ(14));
caqMethods.put("559189405767894801", new QueriesGenerated.CAQ(15));
caqMethods.put("965589097447685628", new QueriesGenerated.CAQ(16));
caqMethods.put("965589097447685639", new QueriesGenerated.CAQ(17));
caqMethods.put("812193811988887247", new QueriesGenerated.CAQ(18));
caqMethods.put("812193811988887251", new QueriesGenerated.CAQ(19));
caqMethods.put("812193811988887316", new QueriesGenerated.CAQ(20));
caqMethods.put("2367250605809341732", new QueriesGenerated.CAQ(21));
caqMethods.put("3079684480025373734", new QueriesGenerated.CAQ(22));
caqMethods.put("2367250605807534561", new QueriesGenerated.CAQ(23));
caqMethods.put("1317766042766407591", new QueriesGenerated.CAQ(24));
caqMethods.put("7173753398979075580", new QueriesGenerated.CAQ(25));
caqMethods.put("3079684480026273928", new QueriesGenerated.CAQ(26));
caqMethods.put("3079684480024299050", new QueriesGenerated.CAQ(27));
caqMethods.put("3079684480025141841", new QueriesGenerated.CAQ(28));
caqMethods.put("3079684480025141844", new QueriesGenerated.CAQ(29));
caqMethods.put("3079684480025141847", new QueriesGenerated.CAQ(30));
caqMethods.put("3079684480025175070", new QueriesGenerated.CAQ(31));
caqMethods.put("3079684480025175073", new QueriesGenerated.CAQ(32));
caqMethods.put("3079684480025175077", new QueriesGenerated.CAQ(33));
caqMethods.put("747214206848667639", new QueriesGenerated.CAQ(34));
caqMethods.put("1317766042765368316", new QueriesGenerated.CAQ(35));
caqMethods.put("3079684480024743465", new QueriesGenerated.CAQ(36));
caqMethods.put("3079684480024595636", new QueriesGenerated.CAQ(37));
caqMethods.put("3079684480024600517", new QueriesGenerated.CAQ(38));
caqMethods.put("3079684480025097242", new QueriesGenerated.CAQ(39));
caqMethods.put("3079684480025097245", new QueriesGenerated.CAQ(40));
caqMethods.put("3079684480025097248", new QueriesGenerated.CAQ(41));
caqMethods.put("3079684480025097251", new QueriesGenerated.CAQ(42));
caqMethods.put("3079684480025048763", new QueriesGenerated.CAQ(43));
caqMethods.put("3079684480025062429", new QueriesGenerated.CAQ(44));
caqMethods.put("1749921652111953123", new QueriesGenerated.CAQ(45));
caqMethods.put("1749921652111953130", new QueriesGenerated.CAQ(46));
caqMethods.put("3079684480026308822", new QueriesGenerated.CAQ(47));
caqMethods.put("3079684480025390160", new QueriesGenerated.CAQ(48));
caqMethods.put("3079684480025404388", new QueriesGenerated.CAQ(49));
caqMethods.put("1520710884206584415", new QueriesGenerated.CAQ(50));
caqMethods.put("1520710884206584426", new QueriesGenerated.CAQ(51));
caqMethods.put("3079684480024660089", new QueriesGenerated.CAQ(52));
caqMethods.put("6389702176794111098", new QueriesGenerated.CAQ(53));
caqMethods.put("1317766042765398120", new QueriesGenerated.CAQ(54));
caqMethods.put("3079684480024876205", new QueriesGenerated.CAQ(55));
caqMethods.put("3079684480024956118", new QueriesGenerated.CAQ(56));
caqMethods.put("3079684480025926133", new QueriesGenerated.CAQ(57));
caqMethods.put("3079684480024927464", new QueriesGenerated.CAQ(58));
caqMethods.put("3079684480025318570", new QueriesGenerated.CAQ(59));
caqMethods.put("3079684480025304113", new QueriesGenerated.CAQ(60));
caqMethods.put("3079684480024768675", new QueriesGenerated.CAQ(61));
caqMethods.put("3205439297087209307", new QueriesGenerated.CAQ(62));
caqMethods.put("3205439297087209311", new QueriesGenerated.CAQ(63));
caqMethods.put("3205439297087188023", new QueriesGenerated.CAQ(64));
caqMethods.put("3205439297087188027", new QueriesGenerated.CAQ(65));
caqMethods.put("4006750417599331591", new QueriesGenerated.CAQ(66));
caqMethods.put("3205439297087202360", new QueriesGenerated.CAQ(67));
caqMethods.put("3205439297087202364", new QueriesGenerated.CAQ(68));
caqMethods.put("3079684480025248428", new QueriesGenerated.CAQ(69));
caqMethods.put("3079684480025260178", new QueriesGenerated.CAQ(70));
}
@NotNull
@Override
public CallArgumentQuery getTemplateCallArgumentQuery(@NotNull QueryKey queryKey) {
final String id = queryKey.getTemplateNode().getNodeId().toString();
if (!(caqMethods.containsKey(id))) {
return super.getTemplateCallArgumentQuery(queryKey);
}
return caqMethods.get(id);
}
private static class CAQ implements CallArgumentQuery {
private final int methodKey;
/*package*/ CAQ(int methodKey) {
this.methodKey = methodKey;
}
@Nullable
public Object evaluate(@NotNull TemplateArgumentContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
return QueriesGenerated.templateArgumentQuery_5070605274413823453(ctx);
case 1:
return QueriesGenerated.templateArgumentQuery_6254388211304644204(ctx);
case 2:
return QueriesGenerated.templateArgumentQuery_3257252407654859800(ctx);
case 3:
return QueriesGenerated.templateArgumentQuery_6389702176794341072(ctx);
case 4:
return QueriesGenerated.templateArgumentQuery_6389702176794275053(ctx);
case 5:
return QueriesGenerated.templateArgumentQuery_7664108699562530008(ctx);
case 6:
return QueriesGenerated.templateArgumentQuery_6389702176794129777(ctx);
case 7:
return QueriesGenerated.templateArgumentQuery_7598352112177523501(ctx);
case 8:
return QueriesGenerated.templateArgumentQuery_7598352112177502709(ctx);
case 9:
return QueriesGenerated.templateArgumentQuery_99767819676503470(ctx);
case 10:
return QueriesGenerated.templateArgumentQuery_99767819676503560(ctx);
case 11:
return QueriesGenerated.templateArgumentQuery_1147906725605070288(ctx);
case 12:
return QueriesGenerated.templateArgumentQuery_965589097447685615(ctx);
case 13:
return QueriesGenerated.templateArgumentQuery_1520710884206584397(ctx);
case 14:
return QueriesGenerated.templateArgumentQuery_1520710884206584276(ctx);
case 15:
return QueriesGenerated.templateArgumentQuery_559189405767894802(ctx);
case 16:
return QueriesGenerated.templateArgumentQuery_965589097447685629(ctx);
case 17:
return QueriesGenerated.templateArgumentQuery_965589097447685640(ctx);
case 18:
return QueriesGenerated.templateArgumentQuery_812193811988887248(ctx);
case 19:
return QueriesGenerated.templateArgumentQuery_812193811988887252(ctx);
case 20:
return QueriesGenerated.templateArgumentQuery_812193811988887317(ctx);
case 21:
return QueriesGenerated.templateArgumentQuery_2367250605809341733(ctx);
case 22:
return QueriesGenerated.templateArgumentQuery_3079684480025373734(ctx);
case 23:
return QueriesGenerated.templateArgumentQuery_2367250605807534561(ctx);
case 24:
return QueriesGenerated.templateArgumentQuery_1317766042766407591(ctx);
case 25:
return QueriesGenerated.templateArgumentQuery_7173753398979075580(ctx);
case 26:
return QueriesGenerated.templateArgumentQuery_3079684480026273928(ctx);
case 27:
return QueriesGenerated.templateArgumentQuery_3079684480024299050(ctx);
case 28:
return QueriesGenerated.templateArgumentQuery_3079684480025141841(ctx);
case 29:
return QueriesGenerated.templateArgumentQuery_3079684480025141844(ctx);
case 30:
return QueriesGenerated.templateArgumentQuery_3079684480025141847(ctx);
case 31:
return QueriesGenerated.templateArgumentQuery_3079684480025175070(ctx);
case 32:
return QueriesGenerated.templateArgumentQuery_3079684480025175073(ctx);
case 33:
return QueriesGenerated.templateArgumentQuery_3079684480025175077(ctx);
case 34:
return QueriesGenerated.templateArgumentQuery_747214206848667639(ctx);
case 35:
return QueriesGenerated.templateArgumentQuery_1317766042765368316(ctx);
case 36:
return QueriesGenerated.templateArgumentQuery_3079684480024743465(ctx);
case 37:
return QueriesGenerated.templateArgumentQuery_3079684480024595636(ctx);
case 38:
return QueriesGenerated.templateArgumentQuery_3079684480024600517(ctx);
case 39:
return QueriesGenerated.templateArgumentQuery_3079684480025097242(ctx);
case 40:
return QueriesGenerated.templateArgumentQuery_3079684480025097245(ctx);
case 41:
return QueriesGenerated.templateArgumentQuery_3079684480025097248(ctx);
case 42:
return QueriesGenerated.templateArgumentQuery_3079684480025097251(ctx);
case 43:
return QueriesGenerated.templateArgumentQuery_3079684480025048763(ctx);
case 44:
return QueriesGenerated.templateArgumentQuery_3079684480025062429(ctx);
case 45:
return QueriesGenerated.templateArgumentQuery_1749921652111953123(ctx);
case 46:
return QueriesGenerated.templateArgumentQuery_1749921652111953130(ctx);
case 47:
return QueriesGenerated.templateArgumentQuery_3079684480026308822(ctx);
case 48:
return QueriesGenerated.templateArgumentQuery_3079684480025390160(ctx);
case 49:
return QueriesGenerated.templateArgumentQuery_3079684480025404388(ctx);
case 50:
return QueriesGenerated.templateArgumentQuery_1520710884206584415(ctx);
case 51:
return QueriesGenerated.templateArgumentQuery_1520710884206584426(ctx);
case 52:
return QueriesGenerated.templateArgumentQuery_3079684480024660089(ctx);
case 53:
return QueriesGenerated.templateArgumentQuery_6389702176794111098(ctx);
case 54:
return QueriesGenerated.templateArgumentQuery_1317766042765398120(ctx);
case 55:
return QueriesGenerated.templateArgumentQuery_3079684480024876205(ctx);
case 56:
return QueriesGenerated.templateArgumentQuery_3079684480024956118(ctx);
case 57:
return QueriesGenerated.templateArgumentQuery_3079684480025926133(ctx);
case 58:
return QueriesGenerated.templateArgumentQuery_3079684480024927464(ctx);
case 59:
return QueriesGenerated.templateArgumentQuery_3079684480025318570(ctx);
case 60:
return QueriesGenerated.templateArgumentQuery_3079684480025304113(ctx);
case 61:
return QueriesGenerated.templateArgumentQuery_3079684480024768675(ctx);
case 62:
return QueriesGenerated.templateArgumentQuery_3205439297087209307(ctx);
case 63:
return QueriesGenerated.templateArgumentQuery_3205439297087209311(ctx);
case 64:
return QueriesGenerated.templateArgumentQuery_3205439297087188023(ctx);
case 65:
return QueriesGenerated.templateArgumentQuery_3205439297087188027(ctx);
case 66:
return QueriesGenerated.templateArgumentQuery_4006750417599331591(ctx);
case 67:
return QueriesGenerated.templateArgumentQuery_3205439297087202360(ctx);
case 68:
return QueriesGenerated.templateArgumentQuery_3205439297087202364(ctx);
case 69:
return QueriesGenerated.templateArgumentQuery_3079684480025248428(ctx);
case 70:
return QueriesGenerated.templateArgumentQuery_3079684480025260178(ctx);
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private final Map<String, MapPostProcessor> mppMethods = new HashMap<String, MapPostProcessor>();
{
mppMethods.put("5070605274413823724", new QueriesGenerated.PPQ(0));
}
@NotNull
@Override
public MapPostProcessor getMapPostProcessor(@NotNull QueryKey queryKey) {
final String id = queryKey.getTemplateNode().getNodeId().toString();
if (!(mppMethods.containsKey(id))) {
return super.getMapPostProcessor(queryKey);
}
return mppMethods.get(id);
}
private static class PPQ implements MapPostProcessor {
private final int methodKey;
/*package*/ PPQ(int methodKey) {
this.methodKey = methodKey;
}
public void invoke(@NotNull MapSrcMacroPostProcContext ctx) throws GenerationFailureException {
switch (methodKey) {
case 0:
QueriesGenerated.mapSrcMacro_post_mapper_5070605274413823725(ctx);
return;
default:
throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
}
}
}
private static boolean isEmptyString(String str) {
return str == null || str.length() == 0;
}
private static boolean isNotEmptyString(String str) {
return str != null && str.length() > 0;
}
}