private static Scope getScope_id3fifI_xCJOQ( @NotNull SNode __thisNode__, SNode kind, SNode child) { if (child != null && child.getRoleInParent().equals("actualArgument")) { Scope argumentsScope = XMLSAXChildRule_BehaviorDescriptor.getArgumentsScope_id460OzqriLdX.invoke( __thisNode__, kind); if (argumentsScope != null) { return argumentsScope; } } if (child == SLinkOperations.getTarget( __thisNode__, MetaAdapterFactory.getContainmentLink( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2d8L, 0x4180d2369beda765L, "condition"))) { { SAbstractConcept cncpt = SNodeOperations.asSConcept((kind)); if (SConceptOperations.isSubConceptOf( SNodeOperations.asSConcept(cncpt), MetaAdapterFactory.getConcept( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2cbL, "jetbrains.mps.core.xml.sax.structure.XMLSAXAttributeRule"))) { return SimpleRoleScope.forNamedElements( SLinkOperations.getTarget( __thisNode__, MetaAdapterFactory.getReferenceLink( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2d8L, 0x1f6c736337b5e2dcL, "rule")), MetaAdapterFactory.getContainmentLink( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2f2L, 0x1f6c736337b5e2f4L, "attrs")); } } } return ScopeProvider_BehaviorDescriptor.getScope_id3fifI_xCJOQ.invokeSpecial( __thisNode__, kind, child); }
private static Scope getArgumentsScope_id460OzqriLdX(@NotNull SNode __thisNode__, SNode kind) { { SAbstractConcept cncpt = SNodeOperations.asSConcept((kind)); if (SConceptOperations.isSubConceptOf( SNodeOperations.asSConcept(cncpt), MetaAdapterFactory.getConcept( 0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, "jetbrains.mps.baseLanguage.structure.VariableDeclaration"))) { return new EmptyScope(); } if (SConceptOperations.isSubConceptOf( SNodeOperations.asSConcept(cncpt), MetaAdapterFactory.getConcept( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2cbL, "jetbrains.mps.core.xml.sax.structure.XMLSAXAttributeRule"))) { return SimpleRoleScope.forNamedElements( SNodeOperations.getNodeAncestor( __thisNode__, MetaAdapterFactory.getConcept( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2f2L, "jetbrains.mps.core.xml.sax.structure.XMLSAXNodeRule"), false, false), MetaAdapterFactory.getContainmentLink( 0xdcb5a83a19a844ffL, 0xa4cbfc7d324ecc63L, 0x1f6c736337b5e2f2L, 0x1f6c736337b5e2f4L, "attrs")); } } return null; }