public class UnassignedActionElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UnassignedAction");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Action cUnassignedActionAction_0 = (Action) cGroup.eContents().get(0);
    private final Keyword cEnabledKeyword_1 = (Keyword) cGroup.eContents().get(1);

    // UnassignedAction:
    //	{UnassignedAction} "enabled";
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // {UnassignedAction} "enabled"
    public Group getGroup() {
      return cGroup;
    }

    // {UnassignedAction}
    public Action getUnassignedActionAction_0() {
      return cUnassignedActionAction_0;
    }

    // "enabled"
    public Keyword getEnabledKeyword_1() {
      return cEnabledKeyword_1;
    }
  }
  public class SpaceElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Space");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cSpaceKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cValAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cValIDTerminalRuleCall_1_0 =
        (RuleCall) cValAssignment_1.eContents().get(0);

    // Space:
    //	"space" val=ID;
    public ParserRule getRule() {
      return rule;
    }

    // "space" val=ID
    public Group getGroup() {
      return cGroup;
    }

    // "space"
    public Keyword getSpaceKeyword_0() {
      return cSpaceKeyword_0;
    }

    // val=ID
    public Assignment getValAssignment_1() {
      return cValAssignment_1;
    }

    // ID
    public RuleCall getValIDTerminalRuleCall_1_0() {
      return cValIDTerminalRuleCall_1_0;
    }
  }
  public class AndElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "And");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cAmpersandKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final RuleCall cHoOperandParserRuleCall_1 = (RuleCall) cGroup.eContents().get(1);

    // And:
    //	"&" HoOperand;
    public ParserRule getRule() {
      return rule;
    }

    // "&" HoOperand
    public Group getGroup() {
      return cGroup;
    }

    // "&"
    public Keyword getAmpersandKeyword_0() {
      return cAmpersandKeyword_0;
    }

    // HoOperand
    public RuleCall getHoOperandParserRuleCall_1() {
      return cHoOperandParserRuleCall_1;
    }
  }
  public class Pct_encodedElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Pct_encoded");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cPercentSignKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final RuleCall cXDIGITTerminalRuleCall_1 = (RuleCall) cGroup.eContents().get(1);
    private final RuleCall cXDIGITTerminalRuleCall_2 = (RuleCall) cGroup.eContents().get(2);

    // Pct_encoded:
    //	"%" XDIGIT XDIGIT;
    public ParserRule getRule() {
      return rule;
    }

    // "%" XDIGIT XDIGIT
    public Group getGroup() {
      return cGroup;
    }

    // "%"
    public Keyword getPercentSignKeyword_0() {
      return cPercentSignKeyword_0;
    }

    // XDIGIT
    public RuleCall getXDIGITTerminalRuleCall_1() {
      return cXDIGITTerminalRuleCall_1;
    }

    // XDIGIT
    public RuleCall getXDIGITTerminalRuleCall_2() {
      return cXDIGITTerminalRuleCall_2;
    }
  }
  public class FqnObjElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FqnObj");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cFqnKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cNameFQNParserRuleCall_1_0 =
        (RuleCall) cNameAssignment_1.eContents().get(0);

    // FqnObj:
    //	"fqn" name=FQN;
    public ParserRule getRule() {
      return rule;
    }

    // "fqn" name=FQN
    public Group getGroup() {
      return cGroup;
    }

    // "fqn"
    public Keyword getFqnKeyword_0() {
      return cFqnKeyword_0;
    }

    // name=FQN
    public Assignment getNameAssignment_1() {
      return cNameAssignment_1;
    }

    // FQN
    public RuleCall getNameFQNParserRuleCall_1_0() {
      return cNameFQNParserRuleCall_1_0;
    }
  }
  public class EnumerationElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Enumeration");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cEnumKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cValAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cValEnum1EnumRuleCall_1_0 =
        (RuleCall) cValAssignment_1.eContents().get(0);
    private final Group cGroup_2 = (Group) cGroup.eContents().get(2);
    private final Keyword cCommaKeyword_2_0 = (Keyword) cGroup_2.eContents().get(0);
    private final Assignment cValAssignment_2_1 = (Assignment) cGroup_2.eContents().get(1);
    private final RuleCall cValEnum1EnumRuleCall_2_1_0 =
        (RuleCall) cValAssignment_2_1.eContents().get(0);

    // Enumeration:
    //	"enum" val+=Enum1+ ("," val+=Enum1)*;
    public ParserRule getRule() {
      return rule;
    }

    // "enum" val+=Enum1+ ("," val+=Enum1)*
    public Group getGroup() {
      return cGroup;
    }

    // "enum"
    public Keyword getEnumKeyword_0() {
      return cEnumKeyword_0;
    }

    // val+=Enum1+
    public Assignment getValAssignment_1() {
      return cValAssignment_1;
    }

    // Enum1
    public RuleCall getValEnum1EnumRuleCall_1_0() {
      return cValEnum1EnumRuleCall_1_0;
    }

    // ("," val+=Enum1)*
    public Group getGroup_2() {
      return cGroup_2;
    }

    // ","
    public Keyword getCommaKeyword_2_0() {
      return cCommaKeyword_2_0;
    }

    // val+=Enum1
    public Assignment getValAssignment_2_1() {
      return cValAssignment_2_1;
    }

    // Enum1
    public RuleCall getValEnum1EnumRuleCall_2_1_0() {
      return cValEnum1EnumRuleCall_2_1_0;
    }
  }
  public class ParenthesizedElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Parenthesized");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cLeftParenthesisKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final RuleCall cExpressionParserRuleCall_1 = (RuleCall) cGroup.eContents().get(1);
    private final Keyword cRightParenthesisKeyword_2 = (Keyword) cGroup.eContents().get(2);

    // Parenthesized returns Expression:
    //	"(" Expression ")";
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // "(" Expression ")"
    public Group getGroup() {
      return cGroup;
    }

    // "("
    public Keyword getLeftParenthesisKeyword_0() {
      return cLeftParenthesisKeyword_0;
    }

    // Expression
    public RuleCall getExpressionParserRuleCall_1() {
      return cExpressionParserRuleCall_1;
    }

    // ")"
    public Keyword getRightParenthesisKeyword_2() {
      return cRightParenthesisKeyword_2;
    }
  }
Esempio n. 8
0
  public class AbstractCallOverridenParserRuleElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractCallOverridenParserRule");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cOverridemodelKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cElementsAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cElementsOverridableParserRuleParserRuleCall_1_0 =
        (RuleCall) cElementsAssignment_1.eContents().get(0);

    // AbstractCallOverridenParserRule returns mm::AModel:
    //	"overridemodel" elements+=OverridableParserRule*;
    public ParserRule getRule() {
      return rule;
    }

    // "overridemodel" elements+=OverridableParserRule*
    public Group getGroup() {
      return cGroup;
    }

    // "overridemodel"
    public Keyword getOverridemodelKeyword_0() {
      return cOverridemodelKeyword_0;
    }

    // elements+=OverridableParserRule*
    public Assignment getElementsAssignment_1() {
      return cElementsAssignment_1;
    }

    // OverridableParserRule
    public RuleCall getElementsOverridableParserRuleParserRuleCall_1_0() {
      return cElementsOverridableParserRuleParserRuleCall_1_0;
    }
  }
Esempio n. 9
0
  public class AnotherTypeElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnotherType");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cBarKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Action cAnotherTypeAction_1 = (Action) cGroup.eContents().get(1);

    // AnotherType returns sub::AnotherType:
    //	"bar" {sub::AnotherType};
    public ParserRule getRule() {
      return rule;
    }

    // "bar" {sub::AnotherType}
    public Group getGroup() {
      return cGroup;
    }

    // "bar"
    public Keyword getBarKeyword_0() {
      return cBarKeyword_0;
    }

    // {sub::AnotherType}
    public Action getAnotherTypeAction_1() {
      return cAnotherTypeAction_1;
    }
  }
Esempio n. 10
0
  public class OverridableParserRuleElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OverridableParserRule");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cElementKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cNameIDTerminalRuleCall_1_0 =
        (RuleCall) cNameAssignment_1.eContents().get(0);

    // OverridableParserRule returns mm::AType:
    //	"element" name=ID;
    public ParserRule getRule() {
      return rule;
    }

    // "element" name=ID
    public Group getGroup() {
      return cGroup;
    }

    // "element"
    public Keyword getElementKeyword_0() {
      return cElementKeyword_0;
    }

    // name=ID
    public Assignment getNameAssignment_1() {
      return cNameAssignment_1;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_1_0() {
      return cNameIDTerminalRuleCall_1_0;
    }
  }
  public class PrefixedDelegateElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PrefixedDelegate");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cPrefixKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final RuleCall cDelegateParserRuleCall_1 = (RuleCall) cGroup.eContents().get(1);

    // PrefixedDelegate:
    //	"prefix" Delegate;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // "prefix" Delegate
    public Group getGroup() {
      return cGroup;
    }

    // "prefix"
    public Keyword getPrefixKeyword_0() {
      return cPrefixKeyword_0;
    }

    // Delegate
    public RuleCall getDelegateParserRuleCall_1() {
      return cDelegateParserRuleCall_1;
    }
  }
  public class UnassignedElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Unassigned");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cDigitThreeKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final RuleCall cDelegateParserRuleCall_1 = (RuleCall) cGroup.eContents().get(1);

    // Unassigned:
    //	"3" Delegate;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // "3" Delegate
    public Group getGroup() {
      return cGroup;
    }

    // "3"
    public Keyword getDigitThreeKeyword_0() {
      return cDigitThreeKeyword_0;
    }

    // Delegate
    public RuleCall getDelegateParserRuleCall_1() {
      return cDelegateParserRuleCall_1;
    }
  }
  public class CompositeTypeElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CompositeType");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cCompositeKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cNameIDTerminalRuleCall_1_0 =
        (RuleCall) cNameAssignment_1.eContents().get(0);
    private final Keyword cBaseKeyword_2 = (Keyword) cGroup.eContents().get(2);
    private final Assignment cBaseTypeAssignment_3 = (Assignment) cGroup.eContents().get(3);
    private final RuleCall cBaseTypeCompositeTypeEntryParserRuleCall_3_0 =
        (RuleCall) cBaseTypeAssignment_3.eContents().get(0);
    private final Keyword cSemicolonKeyword_4 = (Keyword) cGroup.eContents().get(4);

    // CompositeType:
    //	"Composite" name=ID "base" baseType=CompositeTypeEntry ";";
    public ParserRule getRule() {
      return rule;
    }

    // "Composite" name=ID "base" baseType=CompositeTypeEntry ";"
    public Group getGroup() {
      return cGroup;
    }

    // "Composite"
    public Keyword getCompositeKeyword_0() {
      return cCompositeKeyword_0;
    }

    // name=ID
    public Assignment getNameAssignment_1() {
      return cNameAssignment_1;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_1_0() {
      return cNameIDTerminalRuleCall_1_0;
    }

    // "base"
    public Keyword getBaseKeyword_2() {
      return cBaseKeyword_2;
    }

    // baseType=CompositeTypeEntry
    public Assignment getBaseTypeAssignment_3() {
      return cBaseTypeAssignment_3;
    }

    // CompositeTypeEntry
    public RuleCall getBaseTypeCompositeTypeEntryParserRuleCall_3_0() {
      return cBaseTypeCompositeTypeEntryParserRuleCall_3_0;
    }

    // ";"
    public Keyword getSemicolonKeyword_4() {
      return cSemicolonKeyword_4;
    }
  }
Esempio n. 14
0
  public class QualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(), "org.eclipse.xtext.idea.sdomain.SDomain.QualifiedNameWithWildCard");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall) cGroup.eContents().get(0);
    private final Keyword cFullStopAsteriskKeyword_1 = (Keyword) cGroup.eContents().get(1);

    // QualifiedNameWithWildCard:
    //	QualifiedName '.*'?;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // QualifiedName '.*'?
    public Group getGroup() {
      return cGroup;
    }

    // QualifiedName
    public RuleCall getQualifiedNameParserRuleCall_0() {
      return cQualifiedNameParserRuleCall_0;
    }

    // '.*'?
    public Keyword getFullStopAsteriskKeyword_1() {
      return cFullStopAsteriskKeyword_1;
    }
  }
Esempio n. 15
0
  public class ATypeElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AType");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cFooKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Action cATypeAction_1 = (Action) cGroup.eContents().get(1);

    // AType returns root::AType:
    //	"foo" {root::AType};
    public ParserRule getRule() {
      return rule;
    }

    // "foo" {root::AType}
    public Group getGroup() {
      return cGroup;
    }

    // "foo"
    public Keyword getFooKeyword_0() {
      return cFooKeyword_0;
    }

    // {root::AType}
    public Action getATypeAction_1() {
      return cATypeAction_1;
    }
  }
  public class Scenario5Elements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(),
                "org.eclipse.xtext.parser.parameters.TwoParametersTestLanguage.Scenario5");
    private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
    private final Group cGroup_0 = (Group) cAlternatives.eContents().get(0);
    private final Assignment cFirstAssignment_0_0 = (Assignment) cGroup_0.eContents().get(0);
    private final RuleCall cFirstIDTerminalRuleCall_0_0_0 =
        (RuleCall) cFirstAssignment_0_0.eContents().get(0);
    private final Group cGroup_1 = (Group) cAlternatives.eContents().get(1);
    private final Assignment cSecondAssignment_1_0 = (Assignment) cGroup_1.eContents().get(0);
    private final RuleCall cSecondIDTerminalRuleCall_1_0_0 =
        (RuleCall) cSecondAssignment_1_0.eContents().get(0);

    // Scenario5 <A, B Scenario:
    //	<A & B> first=ID
    //	| <!A | !B> second=ID
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // <A & B> first=ID | <!A | !B> second=ID
    public Alternatives getAlternatives() {
      return cAlternatives;
    }

    // <A & B> first=ID
    public Group getGroup_0() {
      return cGroup_0;
    }

    // first=ID
    public Assignment getFirstAssignment_0_0() {
      return cFirstAssignment_0_0;
    }

    // ID
    public RuleCall getFirstIDTerminalRuleCall_0_0_0() {
      return cFirstIDTerminalRuleCall_0_0_0;
    }

    // <!A | !B> second=ID
    public Group getGroup_1() {
      return cGroup_1;
    }

    // second=ID
    public Assignment getSecondAssignment_1_0() {
      return cSecondAssignment_1_0;
    }

    // ID
    public RuleCall getSecondIDTerminalRuleCall_1_0_0() {
      return cSecondIDTerminalRuleCall_1_0_0;
    }
  }
Esempio n. 17
0
  public class NamespaceElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(), "org.eclipse.xtext.idea.sdomain.SDomain.Namespace");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Assignment cNameAssignment_0 = (Assignment) cGroup.eContents().get(0);
    private final RuleCall cNameQualifiedNameParserRuleCall_0_0 =
        (RuleCall) cNameAssignment_0.eContents().get(0);
    private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword) cGroup.eContents().get(1);
    private final Assignment cElementsAssignment_2 = (Assignment) cGroup.eContents().get(2);
    private final RuleCall cElementsElementParserRuleCall_2_0 =
        (RuleCall) cElementsAssignment_2.eContents().get(0);
    private final Keyword cRightCurlyBracketKeyword_3 = (Keyword) cGroup.eContents().get(3);

    // Namespace:
    //	name=QualifiedName '{'
    //	elements+=Element*
    //	'}';
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // name=QualifiedName '{' elements+=Element* '}'
    public Group getGroup() {
      return cGroup;
    }

    // name=QualifiedName
    public Assignment getNameAssignment_0() {
      return cNameAssignment_0;
    }

    // QualifiedName
    public RuleCall getNameQualifiedNameParserRuleCall_0_0() {
      return cNameQualifiedNameParserRuleCall_0_0;
    }

    // '{'
    public Keyword getLeftCurlyBracketKeyword_1() {
      return cLeftCurlyBracketKeyword_1;
    }

    // elements+=Element*
    public Assignment getElementsAssignment_2() {
      return cElementsAssignment_2;
    }

    // Element
    public RuleCall getElementsElementParserRuleCall_2_0() {
      return cElementsElementParserRuleCall_2_0;
    }

    // '}'
    public Keyword getRightCurlyBracketKeyword_3() {
      return cRightCurlyBracketKeyword_3;
    }
  }
  public class ModelElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Model");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Assignment cOperandsAssignment_0 = (Assignment) cGroup.eContents().get(0);
    private final RuleCall cOperandsHoOperandParserRuleCall_0_0 =
        (RuleCall) cOperandsAssignment_0.eContents().get(0);
    private final Group cGroup_1 = (Group) cGroup.eContents().get(1);
    private final Alternatives cAlternatives_1_0 = (Alternatives) cGroup_1.eContents().get(0);
    private final Keyword cCommaKeyword_1_0_0 = (Keyword) cAlternatives_1_0.eContents().get(0);
    private final Keyword cAmpersandKeyword_1_0_1 = (Keyword) cAlternatives_1_0.eContents().get(1);
    private final RuleCall cHoOperandParserRuleCall_1_1 = (RuleCall) cGroup_1.eContents().get(1);

    // Model:
    //	operands+=HoOperand (("," | "&") HoOperand)*;
    public ParserRule getRule() {
      return rule;
    }

    // operands+=HoOperand (("," | "&") HoOperand)*
    public Group getGroup() {
      return cGroup;
    }

    // operands+=HoOperand
    public Assignment getOperandsAssignment_0() {
      return cOperandsAssignment_0;
    }

    // HoOperand
    public RuleCall getOperandsHoOperandParserRuleCall_0_0() {
      return cOperandsHoOperandParserRuleCall_0_0;
    }

    // (("," | "&") HoOperand)*
    public Group getGroup_1() {
      return cGroup_1;
    }

    // "," | "&"
    public Alternatives getAlternatives_1_0() {
      return cAlternatives_1_0;
    }

    // ","
    public Keyword getCommaKeyword_1_0_0() {
      return cCommaKeyword_1_0_0;
    }

    // "&"
    public Keyword getAmpersandKeyword_1_0_1() {
      return cAmpersandKeyword_1_0_1;
    }

    // HoOperand
    public RuleCall getHoOperandParserRuleCall_1_1() {
      return cHoOperandParserRuleCall_1_1;
    }
  }
Esempio n. 19
0
  public class FigureRefElementElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FigureRefElement");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cFigureRefKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Keyword cLeftSquareBracketKeyword_1 = (Keyword) cGroup.eContents().get(1);
    private final Assignment cRefAssignment_2 = (Assignment) cGroup.eContents().get(2);
    private final CrossReference cRefFigureElementCrossReference_2_0 =
        (CrossReference) cRefAssignment_2.eContents().get(0);
    private final RuleCall cRefFigureElementIDTerminalRuleCall_2_0_1 =
        (RuleCall) cRefFigureElementCrossReference_2_0.eContents().get(1);
    private final Keyword cRightSquareBracketKeyword_3 = (Keyword) cGroup.eContents().get(3);

    // FigureRefElement:
    //
    //	"figureRef" "[" ref=[FigureElement] "]";
    public ParserRule getRule() {
      return rule;
    }

    // "figureRef" "[" ref=[FigureElement] "]"
    public Group getGroup() {
      return cGroup;
    }

    // "figureRef"
    public Keyword getFigureRefKeyword_0() {
      return cFigureRefKeyword_0;
    }

    // "["
    public Keyword getLeftSquareBracketKeyword_1() {
      return cLeftSquareBracketKeyword_1;
    }

    // ref=[FigureElement]
    public Assignment getRefAssignment_2() {
      return cRefAssignment_2;
    }

    // [FigureElement]
    public CrossReference getRefFigureElementCrossReference_2_0() {
      return cRefFigureElementCrossReference_2_0;
    }

    // ID
    public RuleCall getRefFigureElementIDTerminalRuleCall_2_0_1() {
      return cRefFigureElementIDTerminalRuleCall_2_0_1;
    }

    // "]"
    public Keyword getRightSquareBracketKeyword_3() {
      return cRightSquareBracketKeyword_3;
    }
  }
  public class RootElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Root");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cTestKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Alternatives cAlternatives_1 = (Alternatives) cGroup.eContents().get(1);
    private final RuleCall cTestLinewrapParserRuleCall_1_0 =
        (RuleCall) cAlternatives_1.eContents().get(0);
    private final RuleCall cTestIndentationParserRuleCall_1_1 =
        (RuleCall) cAlternatives_1.eContents().get(1);
    private final RuleCall cTestLinewrapMinMaxParserRuleCall_1_2 =
        (RuleCall) cAlternatives_1.eContents().get(2);
    private final RuleCall cWrappingDataTypeTestParserRuleCall_1_3 =
        (RuleCall) cAlternatives_1.eContents().get(3);

    // Root:
    //	"test" (TestLinewrap | TestIndentation | TestLinewrapMinMax | WrappingDataTypeTest);
    public ParserRule getRule() {
      return rule;
    }

    // "test" (TestLinewrap | TestIndentation | TestLinewrapMinMax | WrappingDataTypeTest)
    public Group getGroup() {
      return cGroup;
    }

    // "test"
    public Keyword getTestKeyword_0() {
      return cTestKeyword_0;
    }

    // TestLinewrap | TestIndentation | TestLinewrapMinMax | WrappingDataTypeTest
    public Alternatives getAlternatives_1() {
      return cAlternatives_1;
    }

    // TestLinewrap
    public RuleCall getTestLinewrapParserRuleCall_1_0() {
      return cTestLinewrapParserRuleCall_1_0;
    }

    // TestIndentation
    public RuleCall getTestIndentationParserRuleCall_1_1() {
      return cTestIndentationParserRuleCall_1_1;
    }

    // TestLinewrapMinMax
    public RuleCall getTestLinewrapMinMaxParserRuleCall_1_2() {
      return cTestLinewrapMinMaxParserRuleCall_1_2;
    }

    // WrappingDataTypeTest
    public RuleCall getWrappingDataTypeTestParserRuleCall_1_3() {
      return cWrappingDataTypeTestParserRuleCall_1_3;
    }
  }
  public class ExpressionElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Expression");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final RuleCall cPrimaryParserRuleCall_0 = (RuleCall) cGroup.eContents().get(0);
    private final Group cGroup_1 = (Group) cGroup.eContents().get(1);
    private final Action cAddLeftAction_1_0 = (Action) cGroup_1.eContents().get(0);
    private final Keyword cPlusSignKeyword_1_1 = (Keyword) cGroup_1.eContents().get(1);
    private final Assignment cRightAssignment_1_2 = (Assignment) cGroup_1.eContents().get(2);
    private final RuleCall cRightPrimaryParserRuleCall_1_2_0 =
        (RuleCall) cRightAssignment_1_2.eContents().get(0);

    // Expression:
    //	Primary ({Add.left=current} "+" right=Primary)*;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // Primary ({Add.left=current} "+" right=Primary)*
    public Group getGroup() {
      return cGroup;
    }

    // Primary
    public RuleCall getPrimaryParserRuleCall_0() {
      return cPrimaryParserRuleCall_0;
    }

    // ({Add.left=current} "+" right=Primary)*
    public Group getGroup_1() {
      return cGroup_1;
    }

    // {Add.left=current}
    public Action getAddLeftAction_1_0() {
      return cAddLeftAction_1_0;
    }

    // "+"
    public Keyword getPlusSignKeyword_1_1() {
      return cPlusSignKeyword_1_1;
    }

    // right=Primary
    public Assignment getRightAssignment_1_2() {
      return cRightAssignment_1_2;
    }

    // Primary
    public RuleCall getRightPrimaryParserRuleCall_1_2_0() {
      return cRightPrimaryParserRuleCall_1_2_0;
    }
  }
Esempio n. 22
0
  public class OclTextElementElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OclTextElement");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Action cOclTextElementAction_0 = (Action) cGroup.eContents().get(0);
    private final Keyword cOclTextKeyword_1 = (Keyword) cGroup.eContents().get(1);
    private final Keyword cLeftSquareBracketKeyword_2 = (Keyword) cGroup.eContents().get(2);
    private final Assignment cElementsAssignment_3 = (Assignment) cGroup.eContents().get(3);
    private final RuleCall cElementsMarkupElementParserRuleCall_3_0 =
        (RuleCall) cElementsAssignment_3.eContents().get(0);
    private final Keyword cRightSquareBracketKeyword_4 = (Keyword) cGroup.eContents().get(4);

    // OclTextElement:
    //
    //	{OclTextElement} "oclText" "[" elements+=MarkupElement* "]";
    public ParserRule getRule() {
      return rule;
    }

    // {OclTextElement} "oclText" "[" elements+=MarkupElement* "]"
    public Group getGroup() {
      return cGroup;
    }

    // {OclTextElement}
    public Action getOclTextElementAction_0() {
      return cOclTextElementAction_0;
    }

    // "oclText"
    public Keyword getOclTextKeyword_1() {
      return cOclTextKeyword_1;
    }

    // "["
    public Keyword getLeftSquareBracketKeyword_2() {
      return cLeftSquareBracketKeyword_2;
    }

    // elements+=MarkupElement*
    public Assignment getElementsAssignment_3() {
      return cElementsAssignment_3;
    }

    // MarkupElement
    public RuleCall getElementsMarkupElementParserRuleCall_3_0() {
      return cElementsMarkupElementParserRuleCall_3_0;
    }

    // "]"
    public Keyword getRightSquareBracketKeyword_4() {
      return cRightSquareBracketKeyword_4;
    }
  }
  public class ComparisonElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Comparison");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final RuleCall cStrvalParserRuleCall_0 = (RuleCall) cGroup.eContents().get(0);
    private final RuleCall cWSPTerminalRuleCall_1 = (RuleCall) cGroup.eContents().get(1);
    private final Alternatives cAlternatives_2 = (Alternatives) cGroup.eContents().get(2);
    private final RuleCall cBinaryOpAliasesWithEqualsSignParserRuleCall_2_0 =
        (RuleCall) cAlternatives_2.eContents().get(0);
    private final RuleCall cCompOpsParserRuleCall_2_1 =
        (RuleCall) cAlternatives_2.eContents().get(1);
    private final RuleCall cPrimaryExprParserRuleCall_3 = (RuleCall) cGroup.eContents().get(3);

    // Comparison:
    //	Strval WSP* (BinaryOpAliasesWithEqualsSign | CompOps) PrimaryExpr;
    public ParserRule getRule() {
      return rule;
    }

    // Strval WSP* (BinaryOpAliasesWithEqualsSign | CompOps) PrimaryExpr
    public Group getGroup() {
      return cGroup;
    }

    // Strval
    public RuleCall getStrvalParserRuleCall_0() {
      return cStrvalParserRuleCall_0;
    }

    // WSP*
    public RuleCall getWSPTerminalRuleCall_1() {
      return cWSPTerminalRuleCall_1;
    }

    // BinaryOpAliasesWithEqualsSign | CompOps
    public Alternatives getAlternatives_2() {
      return cAlternatives_2;
    }

    // BinaryOpAliasesWithEqualsSign
    public RuleCall getBinaryOpAliasesWithEqualsSignParserRuleCall_2_0() {
      return cBinaryOpAliasesWithEqualsSignParserRuleCall_2_0;
    }

    // CompOps
    public RuleCall getCompOpsParserRuleCall_2_1() {
      return cCompOpsParserRuleCall_2_1;
    }

    // PrimaryExpr
    public RuleCall getPrimaryExprParserRuleCall_3() {
      return cPrimaryExprParserRuleCall_3;
    }
  }
Esempio n. 24
0
  public class PropertyElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(), "org.eclipse.xtext.idea.sdomain.SDomain.Property");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Assignment cTypeAssignment_0 = (Assignment) cGroup.eContents().get(0);
    private final CrossReference cTypeTypeCrossReference_0_0 =
        (CrossReference) cTypeAssignment_0.eContents().get(0);
    private final RuleCall cTypeTypeQualifiedNameParserRuleCall_0_0_1 =
        (RuleCall) cTypeTypeCrossReference_0_0.eContents().get(1);
    private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cNameIDTerminalRuleCall_1_0 =
        (RuleCall) cNameAssignment_1.eContents().get(0);

    // Property:
    //	type=[Type|QualifiedName] name=ID;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // type=[Type|QualifiedName] name=ID
    public Group getGroup() {
      return cGroup;
    }

    // type=[Type|QualifiedName]
    public Assignment getTypeAssignment_0() {
      return cTypeAssignment_0;
    }

    // [Type|QualifiedName]
    public CrossReference getTypeTypeCrossReference_0_0() {
      return cTypeTypeCrossReference_0_0;
    }

    // QualifiedName
    public RuleCall getTypeTypeQualifiedNameParserRuleCall_0_0_1() {
      return cTypeTypeQualifiedNameParserRuleCall_0_0_1;
    }

    // name=ID
    public Assignment getNameAssignment_1() {
      return cNameAssignment_1;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_1_0() {
      return cNameIDTerminalRuleCall_1_0;
    }
  }
  public class PrimaryElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Primary");
    private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
    private final Group cGroup_0 = (Group) cAlternatives.eContents().get(0);
    private final Action cNamedAction_0_0 = (Action) cGroup_0.eContents().get(0);
    private final Assignment cNameAssignment_0_1 = (Assignment) cGroup_0.eContents().get(1);
    private final RuleCall cNameIDTerminalRuleCall_0_1_0 =
        (RuleCall) cNameAssignment_0_1.eContents().get(0);
    private final RuleCall cParenthesizedParserRuleCall_1 =
        (RuleCall) cAlternatives.eContents().get(1);

    // Primary returns Expression:
    //	{Named} name=ID | Parenthesized;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // {Named} name=ID | Parenthesized
    public Alternatives getAlternatives() {
      return cAlternatives;
    }

    // {Named} name=ID
    public Group getGroup_0() {
      return cGroup_0;
    }

    // {Named}
    public Action getNamedAction_0_0() {
      return cNamedAction_0_0;
    }

    // name=ID
    public Assignment getNameAssignment_0_1() {
      return cNameAssignment_0_1;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_0_1_0() {
      return cNameIDTerminalRuleCall_0_1_0;
    }

    // Parenthesized
    public RuleCall getParenthesizedParserRuleCall_1() {
      return cParenthesizedParserRuleCall_1;
    }
  }
Esempio n. 26
0
  public class ObjectPropertyElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ObjectProperty");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Assignment cPropNameAssignment_0 = (Assignment) cGroup.eContents().get(0);
    private final RuleCall cPropNameSTRINGTerminalRuleCall_0_0 =
        (RuleCall) cPropNameAssignment_0.eContents().get(0);
    private final RuleCall cNAME_SEPTerminalRuleCall_1 = (RuleCall) cGroup.eContents().get(1);
    private final Assignment cPropValueAssignment_2 = (Assignment) cGroup.eContents().get(2);
    private final RuleCall cPropValueValueParserRuleCall_2_0 =
        (RuleCall) cPropValueAssignment_2.eContents().get(0);

    // ObjectProperty:
    //	propName=STRING NAME_SEP propValue=Value;
    public ParserRule getRule() {
      return rule;
    }

    // propName=STRING NAME_SEP propValue=Value
    public Group getGroup() {
      return cGroup;
    }

    // propName=STRING
    public Assignment getPropNameAssignment_0() {
      return cPropNameAssignment_0;
    }

    // STRING
    public RuleCall getPropNameSTRINGTerminalRuleCall_0_0() {
      return cPropNameSTRINGTerminalRuleCall_0_0;
    }

    // NAME_SEP
    public RuleCall getNAME_SEPTerminalRuleCall_1() {
      return cNAME_SEPTerminalRuleCall_1;
    }

    // propValue=Value
    public Assignment getPropValueAssignment_2() {
      return cPropValueAssignment_2;
    }

    // Value
    public RuleCall getPropValueValueParserRuleCall_2_0() {
      return cPropValueValueParserRuleCall_2_0;
    }
  }
  public class ScriptElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Script");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Action cScriptAction_0 = (Action) cGroup.eContents().get(0);
    private final Group cGroup_1 = (Group) cGroup.eContents().get(1);
    private final Assignment cExpressionsAssignment_1_0 = (Assignment) cGroup_1.eContents().get(0);
    private final RuleCall cExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0 =
        (RuleCall) cExpressionsAssignment_1_0.eContents().get(0);
    private final Keyword cSemicolonKeyword_1_1 = (Keyword) cGroup_1.eContents().get(1);

    // Script returns XBlockExpression:
    //	{Script} (expressions+=XExpressionOrVarDeclaration ";"?)*;
    public ParserRule getRule() {
      return rule;
    }

    // {Script} (expressions+=XExpressionOrVarDeclaration ";"?)*
    public Group getGroup() {
      return cGroup;
    }

    // {Script}
    public Action getScriptAction_0() {
      return cScriptAction_0;
    }

    // (expressions+=XExpressionOrVarDeclaration ";"?)*
    public Group getGroup_1() {
      return cGroup_1;
    }

    // expressions+=XExpressionOrVarDeclaration
    public Assignment getExpressionsAssignment_1_0() {
      return cExpressionsAssignment_1_0;
    }

    // XExpressionOrVarDeclaration
    public RuleCall getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0() {
      return cExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0;
    }

    // ";"?
    public Keyword getSemicolonKeyword_1_1() {
      return cSemicolonKeyword_1_1;
    }
  }
  public class TypesElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(),
                "org.eclipse.xtext.ui.tests.editor.contentassist.DatatypeRuleTestLanguage.Types");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Action cTypesAction_0 = (Action) cGroup.eContents().get(0);
    private final Keyword cTypesKeyword_1 = (Keyword) cGroup.eContents().get(1);
    private final Assignment cTypesAssignment_2 = (Assignment) cGroup.eContents().get(2);
    private final RuleCall cTypesTypeParserRuleCall_2_0 =
        (RuleCall) cTypesAssignment_2.eContents().get(0);

    // Types:
    //	{Types}
    //	'Types'
    //	types+=Type*;
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // {Types} 'Types' types+=Type*
    public Group getGroup() {
      return cGroup;
    }

    // {Types}
    public Action getTypesAction_0() {
      return cTypesAction_0;
    }

    // 'Types'
    public Keyword getTypesKeyword_1() {
      return cTypesKeyword_1;
    }

    // types+=Type*
    public Assignment getTypesAssignment_2() {
      return cTypesAssignment_2;
    }

    // Type
    public RuleCall getTypesTypeParserRuleCall_2_0() {
      return cTypesTypeParserRuleCall_2_0;
    }
  }
  public class ParamElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Param");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Assignment cNameAssignment_0 = (Assignment) cGroup.eContents().get(0);
    private final RuleCall cNameIDTerminalRuleCall_0_0 =
        (RuleCall) cNameAssignment_0.eContents().get(0);
    private final Keyword cColonKeyword_1 = (Keyword) cGroup.eContents().get(1);
    private final Assignment cTypeAssignment_2 = (Assignment) cGroup.eContents().get(2);
    private final RuleCall cTypeIDTerminalRuleCall_2_0 =
        (RuleCall) cTypeAssignment_2.eContents().get(0);

    // Param:
    //	name+=ID ":" type+=ID;
    public ParserRule getRule() {
      return rule;
    }

    // name+=ID ":" type+=ID
    public Group getGroup() {
      return cGroup;
    }

    // name+=ID
    public Assignment getNameAssignment_0() {
      return cNameAssignment_0;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_0_0() {
      return cNameIDTerminalRuleCall_0_0;
    }

    // ":"
    public Keyword getColonKeyword_1() {
      return cColonKeyword_1;
    }

    // type+=ID
    public Assignment getTypeAssignment_2() {
      return cTypeAssignment_2;
    }

    // ID
    public RuleCall getTypeIDTerminalRuleCall_2_0() {
      return cTypeIDTerminalRuleCall_2_0;
    }
  }
  public class SimpleTypeElements extends AbstractParserRuleElementFinder {
    private final ParserRule rule =
        (ParserRule)
            GrammarUtil.findRuleForName(
                getGrammar(),
                "org.eclipse.xtext.ui.tests.editor.contentassist.DatatypeRuleTestLanguage.SimpleType");
    private final Group cGroup = (Group) rule.eContents().get(1);
    private final Keyword cTypeKeyword_0 = (Keyword) cGroup.eContents().get(0);
    private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
    private final RuleCall cNameIDTerminalRuleCall_1_0 =
        (RuleCall) cNameAssignment_1.eContents().get(0);
    private final Keyword cSemicolonKeyword_2 = (Keyword) cGroup.eContents().get(2);

    // SimpleType:
    //	'Type' name=ID ';';
    @Override
    public ParserRule getRule() {
      return rule;
    }

    // 'Type' name=ID ';'
    public Group getGroup() {
      return cGroup;
    }

    // 'Type'
    public Keyword getTypeKeyword_0() {
      return cTypeKeyword_0;
    }

    // name=ID
    public Assignment getNameAssignment_1() {
      return cNameAssignment_1;
    }

    // ID
    public RuleCall getNameIDTerminalRuleCall_1_0() {
      return cNameIDTerminalRuleCall_1_0;
    }

    // ';'
    public Keyword getSemicolonKeyword_2() {
      return cSemicolonKeyword_2;
    }
  }