blob: 3b67b317ad12daa4030d0182ec6991320cedde49 [file] [log] [blame]
/*
* generated by Xtext
*/
package org.eclipse.ocl.xtext.oclinecore.services;
import com.google.inject.Singleton;
import com.google.inject.Inject;
import java.util.List;
import org.eclipse.xtext.*;
import org.eclipse.xtext.service.GrammarProvider;
import org.eclipse.xtext.service.AbstractElementFinder.*;
import org.eclipse.ocl.xtext.essentialocl.services.EssentialOCLGrammarAccess;
import org.eclipse.ocl.xtext.base.services.BaseGrammarAccess;
@Singleton
public class OCLinEcoreGrammarAccess extends AbstractGrammarElementFinder {
public class TopLevelCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TopLevelCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cTopLevelCSAction_0 = (Action)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cModuleKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
private final Assignment cOwnedLibrariesAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cOwnedLibrariesLibraryCSParserRuleCall_2_0 = (RuleCall)cOwnedLibrariesAssignment_2.eContents().get(0);
private final Assignment cOwnedImportsAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cOwnedImportsImportCSParserRuleCall_3_0 = (RuleCall)cOwnedImportsAssignment_3.eContents().get(0);
private final Assignment cOwnedPackagesAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cOwnedPackagesPackageCSParserRuleCall_4_0 = (RuleCall)cOwnedPackagesAssignment_4.eContents().get(0);
////generate oclinEcore2 "http://www.eclipse.org/ocl/examples/xtext/oclinecore/OCLinEcore"
// TopLevelCS:
// {TopLevelCS} ("module" UnrestrictedName)? ownedLibraries+=LibraryCS* ownedImports+=ImportCS*
// ownedPackages+=PackageCS*;
@Override
public ParserRule getRule() { return rule; }
//{TopLevelCS} ("module" UnrestrictedName)? ownedLibraries+=LibraryCS* ownedImports+=ImportCS* ownedPackages+=PackageCS*
public Group getGroup() { return cGroup; }
//{TopLevelCS}
public Action getTopLevelCSAction_0() { return cTopLevelCSAction_0; }
//("module" UnrestrictedName)?
public Group getGroup_1() { return cGroup_1; }
//"module"
public Keyword getModuleKeyword_1_0() { return cModuleKeyword_1_0; }
//UnrestrictedName
public RuleCall getUnrestrictedNameParserRuleCall_1_1() { return cUnrestrictedNameParserRuleCall_1_1; }
//ownedLibraries+=LibraryCS*
public Assignment getOwnedLibrariesAssignment_2() { return cOwnedLibrariesAssignment_2; }
//LibraryCS
public RuleCall getOwnedLibrariesLibraryCSParserRuleCall_2_0() { return cOwnedLibrariesLibraryCSParserRuleCall_2_0; }
//ownedImports+=ImportCS*
public Assignment getOwnedImportsAssignment_3() { return cOwnedImportsAssignment_3; }
//ImportCS
public RuleCall getOwnedImportsImportCSParserRuleCall_3_0() { return cOwnedImportsImportCSParserRuleCall_3_0; }
//ownedPackages+=PackageCS*
public Assignment getOwnedPackagesAssignment_4() { return cOwnedPackagesAssignment_4; }
//PackageCS
public RuleCall getOwnedPackagesPackageCSParserRuleCall_4_0() { return cOwnedPackagesPackageCSParserRuleCall_4_0; }
}
public class INTEGERElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "INTEGER");
private final RuleCall cINTTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//INTEGER returns ecore::EInt:
// INT;
@Override
public ParserRule getRule() { return rule; }
//INT
public RuleCall getINTTerminalRuleCall() { return cINTTerminalRuleCall; }
}
public class SIGNEDElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SIGNED");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
//SIGNED returns ecore::EInt:
// "-"? INT;
@Override
public ParserRule getRule() { return rule; }
//"-"? INT
public Group getGroup() { return cGroup; }
//"-"?
public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
//INT
public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
}
public class EnumerationLiteralNameElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EnumerationLiteralName");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cEssentialOCLUnrestrictedNameParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final Keyword cAbstractKeyword_1 = (Keyword)cAlternatives.eContents().get(1);
private final Keyword cAttributeKeyword_2 = (Keyword)cAlternatives.eContents().get(2);
private final Keyword cBodyKeyword_3 = (Keyword)cAlternatives.eContents().get(3);
private final Keyword cCallableKeyword_4 = (Keyword)cAlternatives.eContents().get(4);
private final Keyword cClassKeyword_5 = (Keyword)cAlternatives.eContents().get(5);
private final Keyword cComposesKeyword_6 = (Keyword)cAlternatives.eContents().get(6);
private final Keyword cDatatypeKeyword_7 = (Keyword)cAlternatives.eContents().get(7);
private final Keyword cDefinitionKeyword_8 = (Keyword)cAlternatives.eContents().get(8);
private final Keyword cDerivationKeyword_9 = (Keyword)cAlternatives.eContents().get(9);
private final Keyword cDerivedKeyword_10 = (Keyword)cAlternatives.eContents().get(10);
private final Keyword cEnumKeyword_11 = (Keyword)cAlternatives.eContents().get(11);
private final Keyword cExtendsKeyword_12 = (Keyword)cAlternatives.eContents().get(12);
private final Keyword cIdKeyword_13 = (Keyword)cAlternatives.eContents().get(13);
private final Keyword cImportKeyword_14 = (Keyword)cAlternatives.eContents().get(14);
private final Keyword cInitialKeyword_15 = (Keyword)cAlternatives.eContents().get(15);
private final Keyword cInterfaceKeyword_16 = (Keyword)cAlternatives.eContents().get(16);
private final Keyword cKeyKeyword_17 = (Keyword)cAlternatives.eContents().get(17);
private final Keyword cLibraryKeyword_18 = (Keyword)cAlternatives.eContents().get(18);
private final Keyword cModuleKeyword_19 = (Keyword)cAlternatives.eContents().get(19);
private final Keyword cOperationKeyword_20 = (Keyword)cAlternatives.eContents().get(20);
private final Keyword cOrderedKeyword_21 = (Keyword)cAlternatives.eContents().get(21);
private final Keyword cPackageKeyword_22 = (Keyword)cAlternatives.eContents().get(22);
private final Keyword cPostconditionKeyword_23 = (Keyword)cAlternatives.eContents().get(23);
private final Keyword cPreconditionKeyword_24 = (Keyword)cAlternatives.eContents().get(24);
private final Keyword cPrimitiveKeyword_25 = (Keyword)cAlternatives.eContents().get(25);
private final Keyword cPropertyKeyword_26 = (Keyword)cAlternatives.eContents().get(26);
private final Keyword cReadonlyKeyword_27 = (Keyword)cAlternatives.eContents().get(27);
private final Keyword cReferenceKeyword_28 = (Keyword)cAlternatives.eContents().get(28);
private final Keyword cResolveKeyword_29 = (Keyword)cAlternatives.eContents().get(29);
private final Keyword cStaticKeyword_30 = (Keyword)cAlternatives.eContents().get(30);
private final Keyword cSuperKeyword_31 = (Keyword)cAlternatives.eContents().get(31);
private final Keyword cThrowsKeyword_32 = (Keyword)cAlternatives.eContents().get(32);
private final Keyword cTransientKeyword_33 = (Keyword)cAlternatives.eContents().get(33);
private final Keyword cUniqueKeyword_34 = (Keyword)cAlternatives.eContents().get(34);
private final Keyword cUnsettableKeyword_35 = (Keyword)cAlternatives.eContents().get(35);
private final Keyword cVolatileKeyword_36 = (Keyword)cAlternatives.eContents().get(36);
//EnumerationLiteralName returns ecore::EString:
// EssentialOCLUnrestrictedName | "abstract" | "attribute" | "body" | "callable" | "class" | "composes" | "datatype" |
// "definition" | "derivation" | "derived" | "enum" | "extends" | "id" | "import" | "initial" | "interface" | "key" |
// "library" | "module" | "operation" | "ordered" | "package" | "postcondition" | "precondition" | "primitive" |
// "property" | "readonly" | "reference" | "resolve" | "static" | "super" | "throws" | "transient" | "unique" |
// "unsettable" | "volatile";
@Override
public ParserRule getRule() { return rule; }
//EssentialOCLUnrestrictedName | "abstract" | "attribute" | "body" | "callable" | "class" | "composes" | "datatype" |
//"definition" | "derivation" | "derived" | "enum" | "extends" | "id" | "import" | "initial" | "interface" | "key" |
//"library" | "module" | "operation" | "ordered" | "package" | "postcondition" | "precondition" | "primitive" |
//"property" | "readonly" | "reference" | "resolve" | "static" | "super" | "throws" | "transient" | "unique" |
//"unsettable" | "volatile"
public Alternatives getAlternatives() { return cAlternatives; }
//EssentialOCLUnrestrictedName
public RuleCall getEssentialOCLUnrestrictedNameParserRuleCall_0() { return cEssentialOCLUnrestrictedNameParserRuleCall_0; }
//"abstract"
public Keyword getAbstractKeyword_1() { return cAbstractKeyword_1; }
//"attribute"
public Keyword getAttributeKeyword_2() { return cAttributeKeyword_2; }
//"body"
public Keyword getBodyKeyword_3() { return cBodyKeyword_3; }
//"callable"
public Keyword getCallableKeyword_4() { return cCallableKeyword_4; }
//"class"
public Keyword getClassKeyword_5() { return cClassKeyword_5; }
//"composes"
public Keyword getComposesKeyword_6() { return cComposesKeyword_6; }
//"datatype"
public Keyword getDatatypeKeyword_7() { return cDatatypeKeyword_7; }
//"definition"
public Keyword getDefinitionKeyword_8() { return cDefinitionKeyword_8; }
//"derivation"
public Keyword getDerivationKeyword_9() { return cDerivationKeyword_9; }
//"derived"
public Keyword getDerivedKeyword_10() { return cDerivedKeyword_10; }
//"enum"
public Keyword getEnumKeyword_11() { return cEnumKeyword_11; }
//"extends"
public Keyword getExtendsKeyword_12() { return cExtendsKeyword_12; }
//"id"
public Keyword getIdKeyword_13() { return cIdKeyword_13; }
//"import"
public Keyword getImportKeyword_14() { return cImportKeyword_14; }
//"initial"
public Keyword getInitialKeyword_15() { return cInitialKeyword_15; }
//"interface"
public Keyword getInterfaceKeyword_16() { return cInterfaceKeyword_16; }
//"key"
public Keyword getKeyKeyword_17() { return cKeyKeyword_17; }
//"library"
public Keyword getLibraryKeyword_18() { return cLibraryKeyword_18; }
//"module"
public Keyword getModuleKeyword_19() { return cModuleKeyword_19; }
//"operation"
public Keyword getOperationKeyword_20() { return cOperationKeyword_20; }
//"ordered"
public Keyword getOrderedKeyword_21() { return cOrderedKeyword_21; }
//"package"
public Keyword getPackageKeyword_22() { return cPackageKeyword_22; }
//"postcondition"
public Keyword getPostconditionKeyword_23() { return cPostconditionKeyword_23; }
//"precondition"
public Keyword getPreconditionKeyword_24() { return cPreconditionKeyword_24; }
//"primitive"
public Keyword getPrimitiveKeyword_25() { return cPrimitiveKeyword_25; }
//"property"
public Keyword getPropertyKeyword_26() { return cPropertyKeyword_26; }
//"readonly"
public Keyword getReadonlyKeyword_27() { return cReadonlyKeyword_27; }
//"reference"
public Keyword getReferenceKeyword_28() { return cReferenceKeyword_28; }
//"resolve"
public Keyword getResolveKeyword_29() { return cResolveKeyword_29; }
//"static"
public Keyword getStaticKeyword_30() { return cStaticKeyword_30; }
//"super"
public Keyword getSuperKeyword_31() { return cSuperKeyword_31; }
//"throws"
public Keyword getThrowsKeyword_32() { return cThrowsKeyword_32; }
//"transient"
public Keyword getTransientKeyword_33() { return cTransientKeyword_33; }
//"unique"
public Keyword getUniqueKeyword_34() { return cUniqueKeyword_34; }
//"unsettable"
public Keyword getUnsettableKeyword_35() { return cUnsettableKeyword_35; }
//"volatile"
public Keyword getVolatileKeyword_36() { return cVolatileKeyword_36; }
}
public class InvariantConstraintCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InvariantConstraintCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cIsCallableAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Keyword cIsCallableCallableKeyword_0_0 = (Keyword)cIsCallableAssignment_0.eContents().get(0);
private final Assignment cStereotypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final Keyword cStereotypeInvariantKeyword_1_0 = (Keyword)cStereotypeAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Assignment cNameAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0_0 = (RuleCall)cNameAssignment_2_0.eContents().get(0);
private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
private final Keyword cLeftParenthesisKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
private final Assignment cOwnedMessageSpecificationAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
private final RuleCall cOwnedMessageSpecificationSpecificationCSParserRuleCall_2_1_1_0 = (RuleCall)cOwnedMessageSpecificationAssignment_2_1_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_2_1_2 = (Keyword)cGroup_2_1.eContents().get(2);
private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0);
private final Keyword cColonKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cOwnedSpecificationAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final RuleCall cOwnedSpecificationSpecificationCSParserRuleCall_3_0_1_0 = (RuleCall)cOwnedSpecificationAssignment_3_0_1.eContents().get(0);
private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2);
private final Keyword cSemicolonKeyword_3_1 = (Keyword)cAlternatives_3.eContents().get(1);
//InvariantConstraintCS returns OCLinEcoreConstraintCS:
// isCallable?="callable"? stereotype="invariant" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS
// ")")?)? (":" ownedSpecification=SpecificationCS? ";" | ";");
@Override
public ParserRule getRule() { return rule; }
//isCallable?="callable"? stereotype="invariant" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS
//")")?)? (":" ownedSpecification=SpecificationCS? ";" | ";")
public Group getGroup() { return cGroup; }
//isCallable?="callable"?
public Assignment getIsCallableAssignment_0() { return cIsCallableAssignment_0; }
//"callable"
public Keyword getIsCallableCallableKeyword_0_0() { return cIsCallableCallableKeyword_0_0; }
//stereotype="invariant"
public Assignment getStereotypeAssignment_1() { return cStereotypeAssignment_1; }
//"invariant"
public Keyword getStereotypeInvariantKeyword_1_0() { return cStereotypeInvariantKeyword_1_0; }
//(name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)?
public Group getGroup_2() { return cGroup_2; }
//name=UnrestrictedName
public Assignment getNameAssignment_2_0() { return cNameAssignment_2_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0_0() { return cNameUnrestrictedNameParserRuleCall_2_0_0; }
//("(" ownedMessageSpecification=SpecificationCS ")")?
public Group getGroup_2_1() { return cGroup_2_1; }
//"("
public Keyword getLeftParenthesisKeyword_2_1_0() { return cLeftParenthesisKeyword_2_1_0; }
//ownedMessageSpecification=SpecificationCS
public Assignment getOwnedMessageSpecificationAssignment_2_1_1() { return cOwnedMessageSpecificationAssignment_2_1_1; }
//SpecificationCS
public RuleCall getOwnedMessageSpecificationSpecificationCSParserRuleCall_2_1_1_0() { return cOwnedMessageSpecificationSpecificationCSParserRuleCall_2_1_1_0; }
//")"
public Keyword getRightParenthesisKeyword_2_1_2() { return cRightParenthesisKeyword_2_1_2; }
//":" ownedSpecification=SpecificationCS? ";" | ";"
public Alternatives getAlternatives_3() { return cAlternatives_3; }
//":" ownedSpecification=SpecificationCS? ";"
public Group getGroup_3_0() { return cGroup_3_0; }
//":"
public Keyword getColonKeyword_3_0_0() { return cColonKeyword_3_0_0; }
//ownedSpecification=SpecificationCS?
public Assignment getOwnedSpecificationAssignment_3_0_1() { return cOwnedSpecificationAssignment_3_0_1; }
//SpecificationCS
public RuleCall getOwnedSpecificationSpecificationCSParserRuleCall_3_0_1_0() { return cOwnedSpecificationSpecificationCSParserRuleCall_3_0_1_0; }
//";"
public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; }
//";"
public Keyword getSemicolonKeyword_3_1() { return cSemicolonKeyword_3_1; }
}
public class PostconditionConstraintCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PostconditionConstraintCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cStereotypeAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Keyword cStereotypePostconditionKeyword_0_0 = (Keyword)cStereotypeAssignment_0.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0);
private final Group cGroup_1_1 = (Group)cGroup_1.eContents().get(1);
private final Keyword cLeftParenthesisKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0);
private final Assignment cOwnedMessageSpecificationAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1);
private final RuleCall cOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0 = (RuleCall)cOwnedMessageSpecificationAssignment_1_1_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_1_1_2 = (Keyword)cGroup_1_1.eContents().get(2);
private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cOwnedSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cOwnedSpecificationSpecificationCSParserRuleCall_3_0 = (RuleCall)cOwnedSpecificationAssignment_3.eContents().get(0);
private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
//PostconditionConstraintCS returns OCLinEcoreConstraintCS:
// stereotype="postcondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
// ownedSpecification=SpecificationCS? ";";
@Override
public ParserRule getRule() { return rule; }
//stereotype="postcondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
//ownedSpecification=SpecificationCS? ";"
public Group getGroup() { return cGroup; }
//stereotype="postcondition"
public Assignment getStereotypeAssignment_0() { return cStereotypeAssignment_0; }
//"postcondition"
public Keyword getStereotypePostconditionKeyword_0_0() { return cStereotypePostconditionKeyword_0_0; }
//(name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)?
public Group getGroup_1() { return cGroup_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0_0() { return cNameUnrestrictedNameParserRuleCall_1_0_0; }
//("(" ownedMessageSpecification=SpecificationCS ")")?
public Group getGroup_1_1() { return cGroup_1_1; }
//"("
public Keyword getLeftParenthesisKeyword_1_1_0() { return cLeftParenthesisKeyword_1_1_0; }
//ownedMessageSpecification=SpecificationCS
public Assignment getOwnedMessageSpecificationAssignment_1_1_1() { return cOwnedMessageSpecificationAssignment_1_1_1; }
//SpecificationCS
public RuleCall getOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0() { return cOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0; }
//")"
public Keyword getRightParenthesisKeyword_1_1_2() { return cRightParenthesisKeyword_1_1_2; }
//":"
public Keyword getColonKeyword_2() { return cColonKeyword_2; }
//ownedSpecification=SpecificationCS?
public Assignment getOwnedSpecificationAssignment_3() { return cOwnedSpecificationAssignment_3; }
//SpecificationCS
public RuleCall getOwnedSpecificationSpecificationCSParserRuleCall_3_0() { return cOwnedSpecificationSpecificationCSParserRuleCall_3_0; }
//";"
public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
}
public class PreconditionConstraintCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PreconditionConstraintCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cStereotypeAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Keyword cStereotypePreconditionKeyword_0_0 = (Keyword)cStereotypeAssignment_0.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0);
private final Group cGroup_1_1 = (Group)cGroup_1.eContents().get(1);
private final Keyword cLeftParenthesisKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0);
private final Assignment cOwnedMessageSpecificationAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1);
private final RuleCall cOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0 = (RuleCall)cOwnedMessageSpecificationAssignment_1_1_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_1_1_2 = (Keyword)cGroup_1_1.eContents().get(2);
private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cOwnedSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cOwnedSpecificationSpecificationCSParserRuleCall_3_0 = (RuleCall)cOwnedSpecificationAssignment_3.eContents().get(0);
private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
//PreconditionConstraintCS returns OCLinEcoreConstraintCS:
// stereotype="precondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
// ownedSpecification=SpecificationCS? ";";
@Override
public ParserRule getRule() { return rule; }
//stereotype="precondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
//ownedSpecification=SpecificationCS? ";"
public Group getGroup() { return cGroup; }
//stereotype="precondition"
public Assignment getStereotypeAssignment_0() { return cStereotypeAssignment_0; }
//"precondition"
public Keyword getStereotypePreconditionKeyword_0_0() { return cStereotypePreconditionKeyword_0_0; }
//(name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)?
public Group getGroup_1() { return cGroup_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0_0() { return cNameUnrestrictedNameParserRuleCall_1_0_0; }
//("(" ownedMessageSpecification=SpecificationCS ")")?
public Group getGroup_1_1() { return cGroup_1_1; }
//"("
public Keyword getLeftParenthesisKeyword_1_1_0() { return cLeftParenthesisKeyword_1_1_0; }
//ownedMessageSpecification=SpecificationCS
public Assignment getOwnedMessageSpecificationAssignment_1_1_1() { return cOwnedMessageSpecificationAssignment_1_1_1; }
//SpecificationCS
public RuleCall getOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0() { return cOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0; }
//")"
public Keyword getRightParenthesisKeyword_1_1_2() { return cRightParenthesisKeyword_1_1_2; }
//":"
public Keyword getColonKeyword_2() { return cColonKeyword_2; }
//ownedSpecification=SpecificationCS?
public Assignment getOwnedSpecificationAssignment_3() { return cOwnedSpecificationAssignment_3; }
//SpecificationCS
public RuleCall getOwnedSpecificationSpecificationCSParserRuleCall_3_0() { return cOwnedSpecificationSpecificationCSParserRuleCall_3_0; }
//";"
public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
}
public class AnnotationCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnnotationCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cAnnotationCSAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cAnnotationKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final Alternatives cNameAlternatives_2_0 = (Alternatives)cNameAssignment_2.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0_0 = (RuleCall)cNameAlternatives_2_0.eContents().get(0);
private final RuleCall cNameSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1 = (RuleCall)cNameAlternatives_2_0.eContents().get(1);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftParenthesisKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cOwnedDetailsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_3_1_0 = (RuleCall)cOwnedDetailsAssignment_3_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2);
private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cOwnedDetailsAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_3_2_1_0 = (RuleCall)cOwnedDetailsAssignment_3_2_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0);
private final Alternatives cAlternatives_4_0_1 = (Alternatives)cGroup_4_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_4_0_1_0 = (Assignment)cAlternatives_4_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_4_0_1_0.eContents().get(0);
private final Assignment cOwnedContentsAssignment_4_0_1_1 = (Assignment)cAlternatives_4_0_1.eContents().get(1);
private final RuleCall cOwnedContentsModelElementCSParserRuleCall_4_0_1_1_0 = (RuleCall)cOwnedContentsAssignment_4_0_1_1.eContents().get(0);
private final Assignment cOwnedReferencesAssignment_4_0_1_2 = (Assignment)cAlternatives_4_0_1.eContents().get(2);
private final RuleCall cOwnedReferencesModelElementRefCSParserRuleCall_4_0_1_2_0 = (RuleCall)cOwnedReferencesAssignment_4_0_1_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4_0_2 = (Keyword)cGroup_4_0.eContents().get(2);
private final Keyword cSemicolonKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1);
//AnnotationCS returns base::AnnotationCS:
// {base::AnnotationCS} "annotation" name=(UnrestrictedName | SINGLE_QUOTED_STRING)? ("(" ownedDetails+=DetailCS (","
// ownedDetails+=DetailCS)* ")")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS |
// ownedReferences+=ModelElementRefCS)+ "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//{base::AnnotationCS} "annotation" name=(UnrestrictedName | SINGLE_QUOTED_STRING)? ("(" ownedDetails+=DetailCS (","
//ownedDetails+=DetailCS)* ")")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS |
//ownedReferences+=ModelElementRefCS)+ "}" | ";")
public Group getGroup() { return cGroup; }
//{base::AnnotationCS}
public Action getAnnotationCSAction_0() { return cAnnotationCSAction_0; }
//"annotation"
public Keyword getAnnotationKeyword_1() { return cAnnotationKeyword_1; }
//name=(UnrestrictedName | SINGLE_QUOTED_STRING)?
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//UnrestrictedName | SINGLE_QUOTED_STRING
public Alternatives getNameAlternatives_2_0() { return cNameAlternatives_2_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0_0() { return cNameUnrestrictedNameParserRuleCall_2_0_0; }
//SINGLE_QUOTED_STRING
public RuleCall getNameSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1() { return cNameSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1; }
//("(" ownedDetails+=DetailCS ("," ownedDetails+=DetailCS)* ")")?
public Group getGroup_3() { return cGroup_3; }
//"("
public Keyword getLeftParenthesisKeyword_3_0() { return cLeftParenthesisKeyword_3_0; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_3_1() { return cOwnedDetailsAssignment_3_1; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_3_1_0() { return cOwnedDetailsDetailCSParserRuleCall_3_1_0; }
//("," ownedDetails+=DetailCS)*
public Group getGroup_3_2() { return cGroup_3_2; }
//","
public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_3_2_1() { return cOwnedDetailsAssignment_3_2_1; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_3_2_1_0() { return cOwnedDetailsDetailCSParserRuleCall_3_2_1_0; }
//")"
public Keyword getRightParenthesisKeyword_3_3() { return cRightParenthesisKeyword_3_3; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS | ownedReferences+=ModelElementRefCS)+ "}" |
//";"
public Alternatives getAlternatives_4() { return cAlternatives_4; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS | ownedReferences+=ModelElementRefCS)+ "}"
public Group getGroup_4_0() { return cGroup_4_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_4_0_0() { return cLeftCurlyBracketKeyword_4_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS | ownedReferences+=ModelElementRefCS)+
public Alternatives getAlternatives_4_0_1() { return cAlternatives_4_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_4_0_1_0() { return cOwnedAnnotationsAssignment_4_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0; }
//ownedContents+=ModelElementCS
public Assignment getOwnedContentsAssignment_4_0_1_1() { return cOwnedContentsAssignment_4_0_1_1; }
//ModelElementCS
public RuleCall getOwnedContentsModelElementCSParserRuleCall_4_0_1_1_0() { return cOwnedContentsModelElementCSParserRuleCall_4_0_1_1_0; }
//ownedReferences+=ModelElementRefCS
public Assignment getOwnedReferencesAssignment_4_0_1_2() { return cOwnedReferencesAssignment_4_0_1_2; }
//ModelElementRefCS
public RuleCall getOwnedReferencesModelElementRefCSParserRuleCall_4_0_1_2_0() { return cOwnedReferencesModelElementRefCSParserRuleCall_4_0_1_2_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_4_0_2() { return cRightCurlyBracketKeyword_4_0_2; }
//";"
public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; }
}
public class AnnotationElementCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnnotationElementCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cAnnotationCSParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDocumentationCSParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cSysMLCSParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//AnnotationElementCS returns base::AnnotationElementCS:
// AnnotationCS | DocumentationCS | SysMLCS;
@Override
public ParserRule getRule() { return rule; }
//AnnotationCS | DocumentationCS | SysMLCS
public Alternatives getAlternatives() { return cAlternatives; }
//AnnotationCS
public RuleCall getAnnotationCSParserRuleCall_0() { return cAnnotationCSParserRuleCall_0; }
//DocumentationCS
public RuleCall getDocumentationCSParserRuleCall_1() { return cDocumentationCSParserRuleCall_1; }
//SysMLCS
public RuleCall getSysMLCSParserRuleCall_2() { return cSysMLCSParserRuleCall_2; }
}
public class AttributeCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttributeCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0);
private final Assignment cIsStaticAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0);
private final Keyword cIsStaticStaticKeyword_0_0_0 = (Keyword)cIsStaticAssignment_0_0.eContents().get(0);
private final Assignment cIsDefinitionAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1);
private final Keyword cIsDefinitionDefinitionKeyword_0_1_0 = (Keyword)cIsDefinitionAssignment_0_1.eContents().get(0);
private final Keyword cAttributeKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cColonKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cOwnedTypeAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cOwnedTypeTypedMultiplicityRefCSParserRuleCall_3_1_0 = (RuleCall)cOwnedTypeAssignment_3_1.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cEqualsSignKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cDefaultAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0 = (RuleCall)cDefaultAssignment_4_1.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5);
private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Group cGroup_5_0_1 = (Group)cGroup_5_0.eContents().get(1);
private final Alternatives cAlternatives_5_0_1_0 = (Alternatives)cGroup_5_0_1.eContents().get(0);
private final Assignment cIsDerivedAssignment_5_0_1_0_0 = (Assignment)cAlternatives_5_0_1_0.eContents().get(0);
private final Keyword cIsDerivedDerivedKeyword_5_0_1_0_0_0 = (Keyword)cIsDerivedAssignment_5_0_1_0_0.eContents().get(0);
private final Keyword cDerivedKeyword_5_0_1_0_1 = (Keyword)cAlternatives_5_0_1_0.eContents().get(1);
private final Keyword cCommaKeyword_5_0_1_1 = (Keyword)cGroup_5_0_1.eContents().get(1);
private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1);
private final Alternatives cAlternatives_5_1_0 = (Alternatives)cGroup_5_1.eContents().get(0);
private final Assignment cIsIdAssignment_5_1_0_0 = (Assignment)cAlternatives_5_1_0.eContents().get(0);
private final Keyword cIsIdIdKeyword_5_1_0_0_0 = (Keyword)cIsIdAssignment_5_1_0_0.eContents().get(0);
private final Keyword cIdKeyword_5_1_0_1 = (Keyword)cAlternatives_5_1_0.eContents().get(1);
private final Keyword cCommaKeyword_5_1_1 = (Keyword)cGroup_5_1.eContents().get(1);
private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2);
private final Alternatives cAlternatives_5_2_0 = (Alternatives)cGroup_5_2.eContents().get(0);
private final Assignment cIsOrderedAssignment_5_2_0_0 = (Assignment)cAlternatives_5_2_0.eContents().get(0);
private final Keyword cIsOrderedOrderedKeyword_5_2_0_0_0 = (Keyword)cIsOrderedAssignment_5_2_0_0.eContents().get(0);
private final Keyword cOrderedKeyword_5_2_0_1 = (Keyword)cAlternatives_5_2_0.eContents().get(1);
private final Keyword cCommaKeyword_5_2_1 = (Keyword)cGroup_5_2.eContents().get(1);
private final Group cGroup_5_3 = (Group)cUnorderedGroup_5.eContents().get(3);
private final Alternatives cAlternatives_5_3_0 = (Alternatives)cGroup_5_3.eContents().get(0);
private final Assignment cIsReadonlyAssignment_5_3_0_0 = (Assignment)cAlternatives_5_3_0.eContents().get(0);
private final Keyword cIsReadonlyReadonlyKeyword_5_3_0_0_0 = (Keyword)cIsReadonlyAssignment_5_3_0_0.eContents().get(0);
private final Keyword cReadonlyKeyword_5_3_0_1 = (Keyword)cAlternatives_5_3_0.eContents().get(1);
private final Keyword cCommaKeyword_5_3_1 = (Keyword)cGroup_5_3.eContents().get(1);
private final Group cGroup_5_4 = (Group)cUnorderedGroup_5.eContents().get(4);
private final Alternatives cAlternatives_5_4_0 = (Alternatives)cGroup_5_4.eContents().get(0);
private final Assignment cIsTransientAssignment_5_4_0_0 = (Assignment)cAlternatives_5_4_0.eContents().get(0);
private final Keyword cIsTransientTransientKeyword_5_4_0_0_0 = (Keyword)cIsTransientAssignment_5_4_0_0.eContents().get(0);
private final Keyword cTransientKeyword_5_4_0_1 = (Keyword)cAlternatives_5_4_0.eContents().get(1);
private final Keyword cCommaKeyword_5_4_1 = (Keyword)cGroup_5_4.eContents().get(1);
private final Group cGroup_5_5 = (Group)cUnorderedGroup_5.eContents().get(5);
private final Alternatives cAlternatives_5_5_0 = (Alternatives)cGroup_5_5.eContents().get(0);
private final Assignment cIsNotUniqueAssignment_5_5_0_0 = (Assignment)cAlternatives_5_5_0.eContents().get(0);
private final Keyword cIsNotUniqueUniqueKeyword_5_5_0_0_0 = (Keyword)cIsNotUniqueAssignment_5_5_0_0.eContents().get(0);
private final Keyword cUniqueKeyword_5_5_0_1 = (Keyword)cAlternatives_5_5_0.eContents().get(1);
private final Keyword cCommaKeyword_5_5_1 = (Keyword)cGroup_5_5.eContents().get(1);
private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6);
private final Alternatives cAlternatives_5_6_0 = (Alternatives)cGroup_5_6.eContents().get(0);
private final Assignment cIsUnsettableAssignment_5_6_0_0 = (Assignment)cAlternatives_5_6_0.eContents().get(0);
private final Keyword cIsUnsettableUnsettableKeyword_5_6_0_0_0 = (Keyword)cIsUnsettableAssignment_5_6_0_0.eContents().get(0);
private final Keyword cUnsettableKeyword_5_6_0_1 = (Keyword)cAlternatives_5_6_0.eContents().get(1);
private final Keyword cCommaKeyword_5_6_1 = (Keyword)cGroup_5_6.eContents().get(1);
private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7);
private final Group cGroup_5_7_0 = (Group)cGroup_5_7.eContents().get(0);
private final Alternatives cAlternatives_5_7_0_0 = (Alternatives)cGroup_5_7_0.eContents().get(0);
private final Assignment cIsVolatileAssignment_5_7_0_0_0 = (Assignment)cAlternatives_5_7_0_0.eContents().get(0);
private final Keyword cIsVolatileVolatileKeyword_5_7_0_0_0_0 = (Keyword)cIsVolatileAssignment_5_7_0_0_0.eContents().get(0);
private final Keyword cVolatileKeyword_5_7_0_0_1 = (Keyword)cAlternatives_5_7_0_0.eContents().get(1);
private final Keyword cCommaKeyword_5_7_0_1 = (Keyword)cGroup_5_7_0.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_5_7_1 = (Keyword)cGroup_5_7.eContents().get(1);
private final Alternatives cAlternatives_6 = (Alternatives)cGroup.eContents().get(6);
private final Group cGroup_6_0 = (Group)cAlternatives_6.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_6_0_0 = (Keyword)cGroup_6_0.eContents().get(0);
private final Alternatives cAlternatives_6_0_1 = (Alternatives)cGroup_6_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_6_0_1_0 = (Assignment)cAlternatives_6_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_6_0_1_0.eContents().get(0);
private final Group cGroup_6_0_1_1 = (Group)cAlternatives_6_0_1.eContents().get(1);
private final Keyword cDerivationKeyword_6_0_1_1_0 = (Keyword)cGroup_6_0_1_1.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_6_0_1_1_1 = (RuleCall)cGroup_6_0_1_1.eContents().get(1);
private final Keyword cColonKeyword_6_0_1_1_2 = (Keyword)cGroup_6_0_1_1.eContents().get(2);
private final Assignment cOwnedDefaultExpressionsAssignment_6_0_1_1_3 = (Assignment)cGroup_6_0_1_1.eContents().get(3);
private final RuleCall cOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_1_3_0 = (RuleCall)cOwnedDefaultExpressionsAssignment_6_0_1_1_3.eContents().get(0);
private final Keyword cSemicolonKeyword_6_0_1_1_4 = (Keyword)cGroup_6_0_1_1.eContents().get(4);
private final Group cGroup_6_0_1_2 = (Group)cAlternatives_6_0_1.eContents().get(2);
private final Keyword cInitialKeyword_6_0_1_2_0 = (Keyword)cGroup_6_0_1_2.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_6_0_1_2_1 = (RuleCall)cGroup_6_0_1_2.eContents().get(1);
private final Keyword cColonKeyword_6_0_1_2_2 = (Keyword)cGroup_6_0_1_2.eContents().get(2);
private final Assignment cOwnedDefaultExpressionsAssignment_6_0_1_2_3 = (Assignment)cGroup_6_0_1_2.eContents().get(3);
private final RuleCall cOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_2_3_0 = (RuleCall)cOwnedDefaultExpressionsAssignment_6_0_1_2_3.eContents().get(0);
private final Keyword cSemicolonKeyword_6_0_1_2_4 = (Keyword)cGroup_6_0_1_2.eContents().get(4);
private final Keyword cRightCurlyBracketKeyword_6_0_2 = (Keyword)cGroup_6_0.eContents().get(2);
private final Keyword cSemicolonKeyword_6_1 = (Keyword)cAlternatives_6.eContents().get(1);
//AttributeCS returns base::AttributeCS:
// (isStatic?="static"? & isDefinition?="definition"?) "attribute" name=UnrestrictedName (":"
// ownedType=TypedMultiplicityRefCS)? ("=" default=SINGLE_QUOTED_STRING)? ("{" ((isDerived?="derived" | "!derived")
// ","?)? & ((isId?="id" | "!id") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" |
// "!readonly") ","?)? & ((isTransient?="transient" | "!transient") ","?)? & ((isNotUnique?="!unique" | "unique") ","?)?
// & ((isUnsettable?="unsettable" | "!unsettable") ","?)? & ((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{"
// (ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS?
// ";" | "initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//(isStatic?="static"? & isDefinition?="definition"?) "attribute" name=UnrestrictedName (":"
//ownedType=TypedMultiplicityRefCS)? ("=" default=SINGLE_QUOTED_STRING)? ("{" ((isDerived?="derived" | "!derived")
//","?)? & ((isId?="id" | "!id") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" |
//"!readonly") ","?)? & ((isTransient?="transient" | "!transient") ","?)? & ((isNotUnique?="!unique" | "unique") ","?)?
//& ((isUnsettable?="unsettable" | "!unsettable") ","?)? & ((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{"
//(ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS?
//";" | "initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";")
public Group getGroup() { return cGroup; }
//isStatic?="static"? & isDefinition?="definition"?
public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; }
//isStatic?="static"?
public Assignment getIsStaticAssignment_0_0() { return cIsStaticAssignment_0_0; }
//"static"
public Keyword getIsStaticStaticKeyword_0_0_0() { return cIsStaticStaticKeyword_0_0_0; }
//isDefinition?="definition"?
public Assignment getIsDefinitionAssignment_0_1() { return cIsDefinitionAssignment_0_1; }
//"definition"
public Keyword getIsDefinitionDefinitionKeyword_0_1_0() { return cIsDefinitionDefinitionKeyword_0_1_0; }
//"attribute"
public Keyword getAttributeKeyword_1() { return cAttributeKeyword_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0() { return cNameUnrestrictedNameParserRuleCall_2_0; }
//(":" ownedType=TypedMultiplicityRefCS)?
public Group getGroup_3() { return cGroup_3; }
//":"
public Keyword getColonKeyword_3_0() { return cColonKeyword_3_0; }
//ownedType=TypedMultiplicityRefCS
public Assignment getOwnedTypeAssignment_3_1() { return cOwnedTypeAssignment_3_1; }
//TypedMultiplicityRefCS
public RuleCall getOwnedTypeTypedMultiplicityRefCSParserRuleCall_3_1_0() { return cOwnedTypeTypedMultiplicityRefCSParserRuleCall_3_1_0; }
//("=" default=SINGLE_QUOTED_STRING)?
public Group getGroup_4() { return cGroup_4; }
//"="
public Keyword getEqualsSignKeyword_4_0() { return cEqualsSignKeyword_4_0; }
//default=SINGLE_QUOTED_STRING
public Assignment getDefaultAssignment_4_1() { return cDefaultAssignment_4_1; }
//SINGLE_QUOTED_STRING
public RuleCall getDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0() { return cDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0; }
//("{" ((isDerived?="derived" | "!derived") ","?)? & ((isId?="id" | "!id") ","?)? & ((isOrdered?="ordered" | "!ordered")
//","?)? & ((isReadonly?="readonly" | "!readonly") ","?)? & ((isTransient?="transient" | "!transient") ","?)? &
//((isNotUnique?="!unique" | "unique") ","?)? & ((isUnsettable?="unsettable" | "!unsettable") ","?)? &
//((isVolatile?="volatile" | "!volatile") ","?)? "}")?
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//"{" ((isDerived?="derived" | "!derived") ","?)?
public Group getGroup_5_0() { return cGroup_5_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_5_0_0() { return cLeftCurlyBracketKeyword_5_0_0; }
//((isDerived?="derived" | "!derived") ","?)?
public Group getGroup_5_0_1() { return cGroup_5_0_1; }
//isDerived?="derived" | "!derived"
public Alternatives getAlternatives_5_0_1_0() { return cAlternatives_5_0_1_0; }
//isDerived?="derived"
public Assignment getIsDerivedAssignment_5_0_1_0_0() { return cIsDerivedAssignment_5_0_1_0_0; }
//"derived"
public Keyword getIsDerivedDerivedKeyword_5_0_1_0_0_0() { return cIsDerivedDerivedKeyword_5_0_1_0_0_0; }
//"!derived"
public Keyword getDerivedKeyword_5_0_1_0_1() { return cDerivedKeyword_5_0_1_0_1; }
//","?
public Keyword getCommaKeyword_5_0_1_1() { return cCommaKeyword_5_0_1_1; }
//((isId?="id" | "!id") ","?)?
public Group getGroup_5_1() { return cGroup_5_1; }
//isId?="id" | "!id"
public Alternatives getAlternatives_5_1_0() { return cAlternatives_5_1_0; }
//isId?="id"
public Assignment getIsIdAssignment_5_1_0_0() { return cIsIdAssignment_5_1_0_0; }
//"id"
public Keyword getIsIdIdKeyword_5_1_0_0_0() { return cIsIdIdKeyword_5_1_0_0_0; }
//"!id"
public Keyword getIdKeyword_5_1_0_1() { return cIdKeyword_5_1_0_1; }
//","?
public Keyword getCommaKeyword_5_1_1() { return cCommaKeyword_5_1_1; }
//((isOrdered?="ordered" | "!ordered") ","?)?
public Group getGroup_5_2() { return cGroup_5_2; }
//isOrdered?="ordered" | "!ordered"
public Alternatives getAlternatives_5_2_0() { return cAlternatives_5_2_0; }
//isOrdered?="ordered"
public Assignment getIsOrderedAssignment_5_2_0_0() { return cIsOrderedAssignment_5_2_0_0; }
//"ordered"
public Keyword getIsOrderedOrderedKeyword_5_2_0_0_0() { return cIsOrderedOrderedKeyword_5_2_0_0_0; }
//"!ordered"
public Keyword getOrderedKeyword_5_2_0_1() { return cOrderedKeyword_5_2_0_1; }
//","?
public Keyword getCommaKeyword_5_2_1() { return cCommaKeyword_5_2_1; }
//((isReadonly?="readonly" | "!readonly") ","?)?
public Group getGroup_5_3() { return cGroup_5_3; }
//isReadonly?="readonly" | "!readonly"
public Alternatives getAlternatives_5_3_0() { return cAlternatives_5_3_0; }
//isReadonly?="readonly"
public Assignment getIsReadonlyAssignment_5_3_0_0() { return cIsReadonlyAssignment_5_3_0_0; }
//"readonly"
public Keyword getIsReadonlyReadonlyKeyword_5_3_0_0_0() { return cIsReadonlyReadonlyKeyword_5_3_0_0_0; }
//"!readonly"
public Keyword getReadonlyKeyword_5_3_0_1() { return cReadonlyKeyword_5_3_0_1; }
//","?
public Keyword getCommaKeyword_5_3_1() { return cCommaKeyword_5_3_1; }
//((isTransient?="transient" | "!transient") ","?)?
public Group getGroup_5_4() { return cGroup_5_4; }
//isTransient?="transient" | "!transient"
public Alternatives getAlternatives_5_4_0() { return cAlternatives_5_4_0; }
//isTransient?="transient"
public Assignment getIsTransientAssignment_5_4_0_0() { return cIsTransientAssignment_5_4_0_0; }
//"transient"
public Keyword getIsTransientTransientKeyword_5_4_0_0_0() { return cIsTransientTransientKeyword_5_4_0_0_0; }
//"!transient"
public Keyword getTransientKeyword_5_4_0_1() { return cTransientKeyword_5_4_0_1; }
//","?
public Keyword getCommaKeyword_5_4_1() { return cCommaKeyword_5_4_1; }
//((isNotUnique?="!unique" | "unique") ","?)?
public Group getGroup_5_5() { return cGroup_5_5; }
//isNotUnique?="!unique" | "unique"
public Alternatives getAlternatives_5_5_0() { return cAlternatives_5_5_0; }
//isNotUnique?="!unique"
public Assignment getIsNotUniqueAssignment_5_5_0_0() { return cIsNotUniqueAssignment_5_5_0_0; }
//"!unique"
public Keyword getIsNotUniqueUniqueKeyword_5_5_0_0_0() { return cIsNotUniqueUniqueKeyword_5_5_0_0_0; }
//"unique"
public Keyword getUniqueKeyword_5_5_0_1() { return cUniqueKeyword_5_5_0_1; }
//","?
public Keyword getCommaKeyword_5_5_1() { return cCommaKeyword_5_5_1; }
//((isUnsettable?="unsettable" | "!unsettable") ","?)?
public Group getGroup_5_6() { return cGroup_5_6; }
//isUnsettable?="unsettable" | "!unsettable"
public Alternatives getAlternatives_5_6_0() { return cAlternatives_5_6_0; }
//isUnsettable?="unsettable"
public Assignment getIsUnsettableAssignment_5_6_0_0() { return cIsUnsettableAssignment_5_6_0_0; }
//"unsettable"
public Keyword getIsUnsettableUnsettableKeyword_5_6_0_0_0() { return cIsUnsettableUnsettableKeyword_5_6_0_0_0; }
//"!unsettable"
public Keyword getUnsettableKeyword_5_6_0_1() { return cUnsettableKeyword_5_6_0_1; }
//","?
public Keyword getCommaKeyword_5_6_1() { return cCommaKeyword_5_6_1; }
//((isVolatile?="volatile" | "!volatile") ","?)? "}"
public Group getGroup_5_7() { return cGroup_5_7; }
//((isVolatile?="volatile" | "!volatile") ","?)?
public Group getGroup_5_7_0() { return cGroup_5_7_0; }
//isVolatile?="volatile" | "!volatile"
public Alternatives getAlternatives_5_7_0_0() { return cAlternatives_5_7_0_0; }
//isVolatile?="volatile"
public Assignment getIsVolatileAssignment_5_7_0_0_0() { return cIsVolatileAssignment_5_7_0_0_0; }
//"volatile"
public Keyword getIsVolatileVolatileKeyword_5_7_0_0_0_0() { return cIsVolatileVolatileKeyword_5_7_0_0_0_0; }
//"!volatile"
public Keyword getVolatileKeyword_5_7_0_0_1() { return cVolatileKeyword_5_7_0_0_1; }
//","?
public Keyword getCommaKeyword_5_7_0_1() { return cCommaKeyword_5_7_0_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_5_7_1() { return cRightCurlyBracketKeyword_5_7_1; }
//"{" (ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";"
public Alternatives getAlternatives_6() { return cAlternatives_6; }
//"{" (ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")* "}"
public Group getGroup_6_0() { return cGroup_6_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_6_0_0() { return cLeftCurlyBracketKeyword_6_0_0; }
//(ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS?
//";" | "initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";")*
public Alternatives getAlternatives_6_0_1() { return cAlternatives_6_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_6_0_1_0() { return cOwnedAnnotationsAssignment_6_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0; }
//"derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";"
public Group getGroup_6_0_1_1() { return cGroup_6_0_1_1; }
//"derivation"
public Keyword getDerivationKeyword_6_0_1_1_0() { return cDerivationKeyword_6_0_1_1_0; }
//UnrestrictedName?
public RuleCall getUnrestrictedNameParserRuleCall_6_0_1_1_1() { return cUnrestrictedNameParserRuleCall_6_0_1_1_1; }
//":"
public Keyword getColonKeyword_6_0_1_1_2() { return cColonKeyword_6_0_1_1_2; }
//ownedDefaultExpressions+=SpecificationCS?
public Assignment getOwnedDefaultExpressionsAssignment_6_0_1_1_3() { return cOwnedDefaultExpressionsAssignment_6_0_1_1_3; }
//SpecificationCS
public RuleCall getOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_1_3_0() { return cOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_1_3_0; }
//";"
public Keyword getSemicolonKeyword_6_0_1_1_4() { return cSemicolonKeyword_6_0_1_1_4; }
//"initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";"
public Group getGroup_6_0_1_2() { return cGroup_6_0_1_2; }
//"initial"
public Keyword getInitialKeyword_6_0_1_2_0() { return cInitialKeyword_6_0_1_2_0; }
//UnrestrictedName?
public RuleCall getUnrestrictedNameParserRuleCall_6_0_1_2_1() { return cUnrestrictedNameParserRuleCall_6_0_1_2_1; }
//":"
public Keyword getColonKeyword_6_0_1_2_2() { return cColonKeyword_6_0_1_2_2; }
//ownedDefaultExpressions+=SpecificationCS?
public Assignment getOwnedDefaultExpressionsAssignment_6_0_1_2_3() { return cOwnedDefaultExpressionsAssignment_6_0_1_2_3; }
//SpecificationCS
public RuleCall getOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_2_3_0() { return cOwnedDefaultExpressionsSpecificationCSParserRuleCall_6_0_1_2_3_0; }
//";"
public Keyword getSemicolonKeyword_6_0_1_2_4() { return cSemicolonKeyword_6_0_1_2_4; }
//"}"
public Keyword getRightCurlyBracketKeyword_6_0_2() { return cRightCurlyBracketKeyword_6_0_2; }
//";"
public Keyword getSemicolonKeyword_6_1() { return cSemicolonKeyword_6_1; }
}
public class ClassCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ClassCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cStructuredClassCSParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDataTypeCSParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cEnumerationCSParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//ClassCS returns base::ClassCS:
// StructuredClassCS | DataTypeCS | EnumerationCS;
@Override
public ParserRule getRule() { return rule; }
//StructuredClassCS | DataTypeCS | EnumerationCS
public Alternatives getAlternatives() { return cAlternatives; }
//StructuredClassCS
public RuleCall getStructuredClassCSParserRuleCall_0() { return cStructuredClassCSParserRuleCall_0; }
//DataTypeCS
public RuleCall getDataTypeCSParserRuleCall_1() { return cDataTypeCSParserRuleCall_1; }
//EnumerationCS
public RuleCall getEnumerationCSParserRuleCall_2() { return cEnumerationCSParserRuleCall_2; }
}
public class DataTypeCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataTypeCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cIsPrimitiveAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Keyword cIsPrimitivePrimitiveKeyword_0_0 = (Keyword)cIsPrimitiveAssignment_0.eContents().get(0);
private final Keyword cDatatypeKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Assignment cOwnedSignatureAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cOwnedSignatureTemplateSignatureCSParserRuleCall_3_0 = (RuleCall)cOwnedSignatureAssignment_3.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cColonKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cInstanceClassNameAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0 = (RuleCall)cInstanceClassNameAssignment_4_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cLeftCurlyBracketKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Alternatives cAlternatives_5_1 = (Alternatives)cGroup_5.eContents().get(1);
private final Assignment cIsSerializableAssignment_5_1_0 = (Assignment)cAlternatives_5_1.eContents().get(0);
private final Keyword cIsSerializableSerializableKeyword_5_1_0_0 = (Keyword)cIsSerializableAssignment_5_1_0.eContents().get(0);
private final Keyword cSerializableKeyword_5_1_1 = (Keyword)cAlternatives_5_1.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_5_2 = (Keyword)cGroup_5.eContents().get(2);
private final Alternatives cAlternatives_6 = (Alternatives)cGroup.eContents().get(6);
private final Group cGroup_6_0 = (Group)cAlternatives_6.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_6_0_0 = (Keyword)cGroup_6_0.eContents().get(0);
private final Alternatives cAlternatives_6_0_1 = (Alternatives)cGroup_6_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_6_0_1_0 = (Assignment)cAlternatives_6_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_6_0_1_0.eContents().get(0);
private final Assignment cOwnedConstraintsAssignment_6_0_1_1 = (Assignment)cAlternatives_6_0_1.eContents().get(1);
private final RuleCall cOwnedConstraintsInvariantConstraintCSParserRuleCall_6_0_1_1_0 = (RuleCall)cOwnedConstraintsAssignment_6_0_1_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_6_0_2 = (Keyword)cGroup_6_0.eContents().get(2);
private final Keyword cSemicolonKeyword_6_1 = (Keyword)cAlternatives_6.eContents().get(1);
//DataTypeCS returns base::DataTypeCS:
// isPrimitive?="primitive"? "datatype" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":"
// instanceClassName=SINGLE_QUOTED_STRING)? ("{" (isSerializable?="serializable" | "!serializable")? "}")? ("{"
// (ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//isPrimitive?="primitive"? "datatype" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":"
//instanceClassName=SINGLE_QUOTED_STRING)? ("{" (isSerializable?="serializable" | "!serializable")? "}")? ("{"
//(ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";")
public Group getGroup() { return cGroup; }
//isPrimitive?="primitive"?
public Assignment getIsPrimitiveAssignment_0() { return cIsPrimitiveAssignment_0; }
//"primitive"
public Keyword getIsPrimitivePrimitiveKeyword_0_0() { return cIsPrimitivePrimitiveKeyword_0_0; }
//"datatype"
public Keyword getDatatypeKeyword_1() { return cDatatypeKeyword_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0() { return cNameUnrestrictedNameParserRuleCall_2_0; }
//ownedSignature=TemplateSignatureCS?
public Assignment getOwnedSignatureAssignment_3() { return cOwnedSignatureAssignment_3; }
//TemplateSignatureCS
public RuleCall getOwnedSignatureTemplateSignatureCSParserRuleCall_3_0() { return cOwnedSignatureTemplateSignatureCSParserRuleCall_3_0; }
//(":" instanceClassName=SINGLE_QUOTED_STRING)?
public Group getGroup_4() { return cGroup_4; }
//":"
public Keyword getColonKeyword_4_0() { return cColonKeyword_4_0; }
//instanceClassName=SINGLE_QUOTED_STRING
public Assignment getInstanceClassNameAssignment_4_1() { return cInstanceClassNameAssignment_4_1; }
//SINGLE_QUOTED_STRING
public RuleCall getInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0() { return cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_4_1_0; }
//("{" (isSerializable?="serializable" | "!serializable")? "}")?
public Group getGroup_5() { return cGroup_5; }
//"{"
public Keyword getLeftCurlyBracketKeyword_5_0() { return cLeftCurlyBracketKeyword_5_0; }
//(isSerializable?="serializable" | "!serializable")?
public Alternatives getAlternatives_5_1() { return cAlternatives_5_1; }
//isSerializable?="serializable"
public Assignment getIsSerializableAssignment_5_1_0() { return cIsSerializableAssignment_5_1_0; }
//"serializable"
public Keyword getIsSerializableSerializableKeyword_5_1_0_0() { return cIsSerializableSerializableKeyword_5_1_0_0; }
//"!serializable"
public Keyword getSerializableKeyword_5_1_1() { return cSerializableKeyword_5_1_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_5_2() { return cRightCurlyBracketKeyword_5_2; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";"
public Alternatives getAlternatives_6() { return cAlternatives_6; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)* "}"
public Group getGroup_6_0() { return cGroup_6_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_6_0_0() { return cLeftCurlyBracketKeyword_6_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)*
public Alternatives getAlternatives_6_0_1() { return cAlternatives_6_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_6_0_1_0() { return cOwnedAnnotationsAssignment_6_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0_0; }
//ownedConstraints+=InvariantConstraintCS
public Assignment getOwnedConstraintsAssignment_6_0_1_1() { return cOwnedConstraintsAssignment_6_0_1_1; }
//InvariantConstraintCS
public RuleCall getOwnedConstraintsInvariantConstraintCSParserRuleCall_6_0_1_1_0() { return cOwnedConstraintsInvariantConstraintCSParserRuleCall_6_0_1_1_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_6_0_2() { return cRightCurlyBracketKeyword_6_0_2; }
//";"
public Keyword getSemicolonKeyword_6_1() { return cSemicolonKeyword_6_1; }
}
public class DetailCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DetailCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Alternatives cNameAlternatives_0_0 = (Alternatives)cNameAssignment_0.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_0_0_0 = (RuleCall)cNameAlternatives_0_0.eContents().get(0);
private final RuleCall cNameSINGLE_QUOTED_STRINGTerminalRuleCall_0_0_1 = (RuleCall)cNameAlternatives_0_0.eContents().get(1);
private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cValuesAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final Alternatives cValuesAlternatives_2_0 = (Alternatives)cValuesAssignment_2.eContents().get(0);
private final RuleCall cValuesSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_0 = (RuleCall)cValuesAlternatives_2_0.eContents().get(0);
private final RuleCall cValuesML_SINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1 = (RuleCall)cValuesAlternatives_2_0.eContents().get(1);
//DetailCS returns base::DetailCS:
// name=(UnrestrictedName | SINGLE_QUOTED_STRING) "=" values+=(SINGLE_QUOTED_STRING | ML_SINGLE_QUOTED_STRING)*;
@Override
public ParserRule getRule() { return rule; }
//name=(UnrestrictedName | SINGLE_QUOTED_STRING) "=" values+=(SINGLE_QUOTED_STRING | ML_SINGLE_QUOTED_STRING)*
public Group getGroup() { return cGroup; }
//name=(UnrestrictedName | SINGLE_QUOTED_STRING)
public Assignment getNameAssignment_0() { return cNameAssignment_0; }
//UnrestrictedName | SINGLE_QUOTED_STRING
public Alternatives getNameAlternatives_0_0() { return cNameAlternatives_0_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_0_0_0() { return cNameUnrestrictedNameParserRuleCall_0_0_0; }
//SINGLE_QUOTED_STRING
public RuleCall getNameSINGLE_QUOTED_STRINGTerminalRuleCall_0_0_1() { return cNameSINGLE_QUOTED_STRINGTerminalRuleCall_0_0_1; }
//"="
public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
//values+=(SINGLE_QUOTED_STRING | ML_SINGLE_QUOTED_STRING)*
public Assignment getValuesAssignment_2() { return cValuesAssignment_2; }
//SINGLE_QUOTED_STRING | ML_SINGLE_QUOTED_STRING
public Alternatives getValuesAlternatives_2_0() { return cValuesAlternatives_2_0; }
//SINGLE_QUOTED_STRING
public RuleCall getValuesSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_0() { return cValuesSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_0; }
//ML_SINGLE_QUOTED_STRING
public RuleCall getValuesML_SINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1() { return cValuesML_SINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1; }
}
public class DocumentationCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DocumentationCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDocumentationCSAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cDocumentationKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cValueSINGLE_QUOTED_STRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftParenthesisKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cOwnedDetailsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_3_1_0 = (RuleCall)cOwnedDetailsAssignment_3_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2);
private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cOwnedDetailsAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_3_2_1_0 = (RuleCall)cOwnedDetailsAssignment_3_2_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
//DocumentationCS returns base::DocumentationCS:
// {base::DocumentationCS} "documentation" value=SINGLE_QUOTED_STRING? ("(" ownedDetails+=DetailCS (","
// ownedDetails+=DetailCS)* ")")? ";";
@Override
public ParserRule getRule() { return rule; }
//{base::DocumentationCS} "documentation" value=SINGLE_QUOTED_STRING? ("(" ownedDetails+=DetailCS (","
//ownedDetails+=DetailCS)* ")")? ";"
public Group getGroup() { return cGroup; }
//{base::DocumentationCS}
public Action getDocumentationCSAction_0() { return cDocumentationCSAction_0; }
//"documentation"
public Keyword getDocumentationKeyword_1() { return cDocumentationKeyword_1; }
//value=SINGLE_QUOTED_STRING?
public Assignment getValueAssignment_2() { return cValueAssignment_2; }
//SINGLE_QUOTED_STRING
public RuleCall getValueSINGLE_QUOTED_STRINGTerminalRuleCall_2_0() { return cValueSINGLE_QUOTED_STRINGTerminalRuleCall_2_0; }
//("(" ownedDetails+=DetailCS ("," ownedDetails+=DetailCS)* ")")?
public Group getGroup_3() { return cGroup_3; }
//"("
public Keyword getLeftParenthesisKeyword_3_0() { return cLeftParenthesisKeyword_3_0; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_3_1() { return cOwnedDetailsAssignment_3_1; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_3_1_0() { return cOwnedDetailsDetailCSParserRuleCall_3_1_0; }
//("," ownedDetails+=DetailCS)*
public Group getGroup_3_2() { return cGroup_3_2; }
//","
public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_3_2_1() { return cOwnedDetailsAssignment_3_2_1; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_3_2_1_0() { return cOwnedDetailsDetailCSParserRuleCall_3_2_1_0; }
//")"
public Keyword getRightParenthesisKeyword_3_3() { return cRightParenthesisKeyword_3_3; }
//";"
public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
}
public class EnumerationCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EnumerationCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cEnumKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Assignment cOwnedSignatureAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cOwnedSignatureTemplateSignatureCSParserRuleCall_2_0 = (RuleCall)cOwnedSignatureAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cColonKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cInstanceClassNameAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_3_1_0 = (RuleCall)cInstanceClassNameAssignment_3_1.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cLeftCurlyBracketKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Alternatives cAlternatives_4_1 = (Alternatives)cGroup_4.eContents().get(1);
private final Assignment cIsSerializableAssignment_4_1_0 = (Assignment)cAlternatives_4_1.eContents().get(0);
private final Keyword cIsSerializableSerializableKeyword_4_1_0_0 = (Keyword)cIsSerializableAssignment_4_1_0.eContents().get(0);
private final Keyword cSerializableKeyword_4_1_1 = (Keyword)cAlternatives_4_1.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_4_2 = (Keyword)cGroup_4.eContents().get(2);
private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5);
private final Group cGroup_5_0 = (Group)cAlternatives_5.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Alternatives cAlternatives_5_0_1 = (Alternatives)cGroup_5_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_5_0_1_0 = (Assignment)cAlternatives_5_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_5_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_5_0_1_0.eContents().get(0);
private final Assignment cOwnedLiteralsAssignment_5_0_1_1 = (Assignment)cAlternatives_5_0_1.eContents().get(1);
private final RuleCall cOwnedLiteralsEnumerationLiteralCSParserRuleCall_5_0_1_1_0 = (RuleCall)cOwnedLiteralsAssignment_5_0_1_1.eContents().get(0);
private final Assignment cOwnedConstraintsAssignment_5_0_1_2 = (Assignment)cAlternatives_5_0_1.eContents().get(2);
private final RuleCall cOwnedConstraintsInvariantConstraintCSParserRuleCall_5_0_1_2_0 = (RuleCall)cOwnedConstraintsAssignment_5_0_1_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2);
private final Keyword cSemicolonKeyword_5_1 = (Keyword)cAlternatives_5.eContents().get(1);
//EnumerationCS returns base::EnumerationCS:
// "enum" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
// (isSerializable?="serializable" | "!serializable")? "}")? ("{" (ownedAnnotations+=AnnotationElementCS |
// ownedLiterals+=EnumerationLiteralCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//"enum" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
//(isSerializable?="serializable" | "!serializable")? "}")? ("{" (ownedAnnotations+=AnnotationElementCS |
//ownedLiterals+=EnumerationLiteralCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";")
public Group getGroup() { return cGroup; }
//"enum"
public Keyword getEnumKeyword_0() { return cEnumKeyword_0; }
//name=UnrestrictedName
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0() { return cNameUnrestrictedNameParserRuleCall_1_0; }
//ownedSignature=TemplateSignatureCS?
public Assignment getOwnedSignatureAssignment_2() { return cOwnedSignatureAssignment_2; }
//TemplateSignatureCS
public RuleCall getOwnedSignatureTemplateSignatureCSParserRuleCall_2_0() { return cOwnedSignatureTemplateSignatureCSParserRuleCall_2_0; }
//(":" instanceClassName=SINGLE_QUOTED_STRING)?
public Group getGroup_3() { return cGroup_3; }
//":"
public Keyword getColonKeyword_3_0() { return cColonKeyword_3_0; }
//instanceClassName=SINGLE_QUOTED_STRING
public Assignment getInstanceClassNameAssignment_3_1() { return cInstanceClassNameAssignment_3_1; }
//SINGLE_QUOTED_STRING
public RuleCall getInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_3_1_0() { return cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_3_1_0; }
//("{" (isSerializable?="serializable" | "!serializable")? "}")?
public Group getGroup_4() { return cGroup_4; }
//"{"
public Keyword getLeftCurlyBracketKeyword_4_0() { return cLeftCurlyBracketKeyword_4_0; }
//(isSerializable?="serializable" | "!serializable")?
public Alternatives getAlternatives_4_1() { return cAlternatives_4_1; }
//isSerializable?="serializable"
public Assignment getIsSerializableAssignment_4_1_0() { return cIsSerializableAssignment_4_1_0; }
//"serializable"
public Keyword getIsSerializableSerializableKeyword_4_1_0_0() { return cIsSerializableSerializableKeyword_4_1_0_0; }
//"!serializable"
public Keyword getSerializableKeyword_4_1_1() { return cSerializableKeyword_4_1_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_4_2() { return cRightCurlyBracketKeyword_4_2; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedLiterals+=EnumerationLiteralCS |
//ownedConstraints+=InvariantConstraintCS)* "}" | ";"
public Alternatives getAlternatives_5() { return cAlternatives_5; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedLiterals+=EnumerationLiteralCS |
//ownedConstraints+=InvariantConstraintCS)* "}"
public Group getGroup_5_0() { return cGroup_5_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_5_0_0() { return cLeftCurlyBracketKeyword_5_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedLiterals+=EnumerationLiteralCS | ownedConstraints+=InvariantConstraintCS)*
public Alternatives getAlternatives_5_0_1() { return cAlternatives_5_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_5_0_1_0() { return cOwnedAnnotationsAssignment_5_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_5_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_5_0_1_0_0; }
//ownedLiterals+=EnumerationLiteralCS
public Assignment getOwnedLiteralsAssignment_5_0_1_1() { return cOwnedLiteralsAssignment_5_0_1_1; }
//EnumerationLiteralCS
public RuleCall getOwnedLiteralsEnumerationLiteralCSParserRuleCall_5_0_1_1_0() { return cOwnedLiteralsEnumerationLiteralCSParserRuleCall_5_0_1_1_0; }
//ownedConstraints+=InvariantConstraintCS
public Assignment getOwnedConstraintsAssignment_5_0_1_2() { return cOwnedConstraintsAssignment_5_0_1_2; }
//InvariantConstraintCS
public RuleCall getOwnedConstraintsInvariantConstraintCSParserRuleCall_5_0_1_2_0() { return cOwnedConstraintsInvariantConstraintCSParserRuleCall_5_0_1_2_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_5_0_2() { return cRightCurlyBracketKeyword_5_0_2; }
//";"
public Keyword getSemicolonKeyword_5_1() { return cSemicolonKeyword_5_1; }
}
public class EnumerationLiteralCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EnumerationLiteralCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
private final Group cGroup_0_0 = (Group)cAlternatives_0.eContents().get(0);
private final Keyword cLiteralKeyword_0_0_0 = (Keyword)cGroup_0_0.eContents().get(0);
private final Assignment cNameAssignment_0_0_1 = (Assignment)cGroup_0_0.eContents().get(1);
private final RuleCall cNameUnrestrictedNameParserRuleCall_0_0_1_0 = (RuleCall)cNameAssignment_0_0_1.eContents().get(0);
private final Assignment cNameAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1);
private final RuleCall cNameEnumerationLiteralNameParserRuleCall_0_1_0 = (RuleCall)cNameAssignment_0_1.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cEqualsSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cValueAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cValueSIGNEDParserRuleCall_1_1_0 = (RuleCall)cValueAssignment_1_1.eContents().get(0);
private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0);
private final Assignment cOwnedAnnotationsAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_2_0_1_0 = (RuleCall)cOwnedAnnotationsAssignment_2_0_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_2_0_2 = (Keyword)cGroup_2_0.eContents().get(2);
private final Keyword cSemicolonKeyword_2_1 = (Keyword)cAlternatives_2.eContents().get(1);
//EnumerationLiteralCS returns base::EnumerationLiteralCS:
// ("literal" name=UnrestrictedName | name=EnumerationLiteralName) ("=" value=SIGNED)? ("{"
// ownedAnnotations+=AnnotationElementCS* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//("literal" name=UnrestrictedName | name=EnumerationLiteralName) ("=" value=SIGNED)? ("{"
//ownedAnnotations+=AnnotationElementCS* "}" | ";")
public Group getGroup() { return cGroup; }
//"literal" name=UnrestrictedName | name=EnumerationLiteralName
public Alternatives getAlternatives_0() { return cAlternatives_0; }
//"literal" name=UnrestrictedName
public Group getGroup_0_0() { return cGroup_0_0; }
//"literal"
public Keyword getLiteralKeyword_0_0_0() { return cLiteralKeyword_0_0_0; }
//name=UnrestrictedName
public Assignment getNameAssignment_0_0_1() { return cNameAssignment_0_0_1; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_0_0_1_0() { return cNameUnrestrictedNameParserRuleCall_0_0_1_0; }
//name=EnumerationLiteralName
public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; }
//EnumerationLiteralName
public RuleCall getNameEnumerationLiteralNameParserRuleCall_0_1_0() { return cNameEnumerationLiteralNameParserRuleCall_0_1_0; }
//("=" value=SIGNED)?
public Group getGroup_1() { return cGroup_1; }
//"="
public Keyword getEqualsSignKeyword_1_0() { return cEqualsSignKeyword_1_0; }
//value=SIGNED
public Assignment getValueAssignment_1_1() { return cValueAssignment_1_1; }
//SIGNED
public RuleCall getValueSIGNEDParserRuleCall_1_1_0() { return cValueSIGNEDParserRuleCall_1_1_0; }
//"{" ownedAnnotations+=AnnotationElementCS* "}" | ";"
public Alternatives getAlternatives_2() { return cAlternatives_2; }
//"{" ownedAnnotations+=AnnotationElementCS* "}"
public Group getGroup_2_0() { return cGroup_2_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_2_0_0() { return cLeftCurlyBracketKeyword_2_0_0; }
//ownedAnnotations+=AnnotationElementCS*
public Assignment getOwnedAnnotationsAssignment_2_0_1() { return cOwnedAnnotationsAssignment_2_0_1; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_2_0_1_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_2_0_1_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_2_0_2() { return cRightCurlyBracketKeyword_2_0_2; }
//";"
public Keyword getSemicolonKeyword_2_1() { return cSemicolonKeyword_2_1; }
}
public class ImportCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0);
private final Keyword cColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
private final Assignment cOwnedPathNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cOwnedPathNameURIPathNameCSParserRuleCall_2_0 = (RuleCall)cOwnedPathNameAssignment_2.eContents().get(0);
private final Assignment cIsAllAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final Keyword cIsAllColonColonAsteriskKeyword_3_0 = (Keyword)cIsAllAssignment_3.eContents().get(0);
private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
//ImportCS returns base::ImportCS:
// "import" (name=UnrestrictedName ":")? ownedPathName=URIPathNameCS isAll?="::*"? ";";
@Override
public ParserRule getRule() { return rule; }
//"import" (name=UnrestrictedName ":")? ownedPathName=URIPathNameCS isAll?="::*"? ";"
public Group getGroup() { return cGroup; }
//"import"
public Keyword getImportKeyword_0() { return cImportKeyword_0; }
//(name=UnrestrictedName ":")?
public Group getGroup_1() { return cGroup_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0_0() { return cNameUnrestrictedNameParserRuleCall_1_0_0; }
//":"
public Keyword getColonKeyword_1_1() { return cColonKeyword_1_1; }
//ownedPathName=URIPathNameCS
public Assignment getOwnedPathNameAssignment_2() { return cOwnedPathNameAssignment_2; }
//URIPathNameCS
public RuleCall getOwnedPathNameURIPathNameCSParserRuleCall_2_0() { return cOwnedPathNameURIPathNameCSParserRuleCall_2_0; }
//isAll?="::*"?
public Assignment getIsAllAssignment_3() { return cIsAllAssignment_3; }
//"::*"
public Keyword getIsAllColonColonAsteriskKeyword_3_0() { return cIsAllColonColonAsteriskKeyword_3_0; }
//";"
public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
}
public class LibraryCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LibraryCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cLibraryKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0);
private final Keyword cColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
private final Assignment cReferredPackageAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cReferredPackagePackageCrossReference_2_0 = (CrossReference)cReferredPackageAssignment_2.eContents().get(0);
private final RuleCall cReferredPackagePackageURIParserRuleCall_2_0_1 = (RuleCall)cReferredPackagePackageCrossReference_2_0.eContents().get(1);
private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3);
//LibraryCS returns base::LibraryCS:
// "library" (name=UnrestrictedName ":")? referredPackage=[pivot::Package|URI] ";";
@Override
public ParserRule getRule() { return rule; }
//"library" (name=UnrestrictedName ":")? referredPackage=[pivot::Package|URI] ";"
public Group getGroup() { return cGroup; }
//"library"
public Keyword getLibraryKeyword_0() { return cLibraryKeyword_0; }
//(name=UnrestrictedName ":")?
public Group getGroup_1() { return cGroup_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0_0() { return cNameUnrestrictedNameParserRuleCall_1_0_0; }
//":"
public Keyword getColonKeyword_1_1() { return cColonKeyword_1_1; }
//referredPackage=[pivot::Package|URI]
public Assignment getReferredPackageAssignment_2() { return cReferredPackageAssignment_2; }
//[pivot::Package|URI]
public CrossReference getReferredPackagePackageCrossReference_2_0() { return cReferredPackagePackageCrossReference_2_0; }
//URI
public RuleCall getReferredPackagePackageURIParserRuleCall_2_0_1() { return cReferredPackagePackageURIParserRuleCall_2_0_1; }
//";"
public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; }
}
public class ModelElementCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModelElementCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cClassCSParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cEnumerationLiteralCSParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cOperationCSParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
private final RuleCall cPackageCSParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
private final RuleCall cStructuralFeatureCSParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
//ModelElementCS returns base::ModelElementCS:
// ClassCS | EnumerationLiteralCS | OperationCS | PackageCS | StructuralFeatureCS;
@Override
public ParserRule getRule() { return rule; }
//ClassCS | EnumerationLiteralCS | OperationCS | PackageCS | StructuralFeatureCS
public Alternatives getAlternatives() { return cAlternatives; }
//ClassCS
public RuleCall getClassCSParserRuleCall_0() { return cClassCSParserRuleCall_0; }
//EnumerationLiteralCS
public RuleCall getEnumerationLiteralCSParserRuleCall_1() { return cEnumerationLiteralCSParserRuleCall_1; }
//OperationCS
public RuleCall getOperationCSParserRuleCall_2() { return cOperationCSParserRuleCall_2; }
//PackageCS
public RuleCall getPackageCSParserRuleCall_3() { return cPackageCSParserRuleCall_3; }
//StructuralFeatureCS
public RuleCall getStructuralFeatureCSParserRuleCall_4() { return cStructuralFeatureCSParserRuleCall_4; }
}
public class ModelElementRefCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModelElementRefCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cReferenceKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cOwnedPathNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cOwnedPathNamePathNameCSParserRuleCall_1_0 = (RuleCall)cOwnedPathNameAssignment_1.eContents().get(0);
private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
//ModelElementRefCS returns base::ModelElementRefCS:
// "reference" ownedPathName=PathNameCS ";";
@Override
public ParserRule getRule() { return rule; }
//"reference" ownedPathName=PathNameCS ";"
public Group getGroup() { return cGroup; }
//"reference"
public Keyword getReferenceKeyword_0() { return cReferenceKeyword_0; }
//ownedPathName=PathNameCS
public Assignment getOwnedPathNameAssignment_1() { return cOwnedPathNameAssignment_1; }
//PathNameCS
public RuleCall getOwnedPathNamePathNameCSParserRuleCall_1_0() { return cOwnedPathNamePathNameCSParserRuleCall_1_0; }
//";"
public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
}
public class OperationCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OperationCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0);
private final Assignment cIsStaticAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0);
private final Keyword cIsStaticStaticKeyword_0_0_0 = (Keyword)cIsStaticAssignment_0_0.eContents().get(0);
private final Assignment cIsDefinitionAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1);
private final Keyword cIsDefinitionDefinitionKeyword_0_1_0 = (Keyword)cIsDefinitionAssignment_0_1.eContents().get(0);
private final Keyword cOperationKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cOwnedSignatureAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cOwnedSignatureTemplateSignatureCSParserRuleCall_2_0 = (RuleCall)cOwnedSignatureAssignment_2.eContents().get(0);
private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cNameUnrestrictedNameParserRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0);
private final Keyword cLeftParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Assignment cOwnedParametersAssignment_5_0 = (Assignment)cGroup_5.eContents().get(0);
private final RuleCall cOwnedParametersParameterCSParserRuleCall_5_0_0 = (RuleCall)cOwnedParametersAssignment_5_0.eContents().get(0);
private final Group cGroup_5_1 = (Group)cGroup_5.eContents().get(1);
private final Keyword cCommaKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0);
private final Assignment cOwnedParametersAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1);
private final RuleCall cOwnedParametersParameterCSParserRuleCall_5_1_1_0 = (RuleCall)cOwnedParametersAssignment_5_1_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_6 = (Keyword)cGroup.eContents().get(6);
private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
private final Keyword cColonKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
private final Assignment cOwnedTypeAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
private final RuleCall cOwnedTypeTypedMultiplicityRefCSParserRuleCall_7_1_0 = (RuleCall)cOwnedTypeAssignment_7_1.eContents().get(0);
private final Group cGroup_8 = (Group)cGroup.eContents().get(8);
private final Keyword cThrowsKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0);
private final Assignment cOwnedExceptionsAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1);
private final RuleCall cOwnedExceptionsTypedRefCSParserRuleCall_8_1_0 = (RuleCall)cOwnedExceptionsAssignment_8_1.eContents().get(0);
private final Group cGroup_8_2 = (Group)cGroup_8.eContents().get(2);
private final Keyword cCommaKeyword_8_2_0 = (Keyword)cGroup_8_2.eContents().get(0);
private final Assignment cOwnedExceptionsAssignment_8_2_1 = (Assignment)cGroup_8_2.eContents().get(1);
private final RuleCall cOwnedExceptionsTypedRefCSParserRuleCall_8_2_1_0 = (RuleCall)cOwnedExceptionsAssignment_8_2_1.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_9 = (UnorderedGroup)cGroup.eContents().get(9);
private final Group cGroup_9_0 = (Group)cUnorderedGroup_9.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_9_0_0 = (Keyword)cGroup_9_0.eContents().get(0);
private final Group cGroup_9_0_1 = (Group)cGroup_9_0.eContents().get(1);
private final Alternatives cAlternatives_9_0_1_0 = (Alternatives)cGroup_9_0_1.eContents().get(0);
private final Assignment cIsDerivedAssignment_9_0_1_0_0 = (Assignment)cAlternatives_9_0_1_0.eContents().get(0);
private final Keyword cIsDerivedDerivedKeyword_9_0_1_0_0_0 = (Keyword)cIsDerivedAssignment_9_0_1_0_0.eContents().get(0);
private final Keyword cDerivedKeyword_9_0_1_0_1 = (Keyword)cAlternatives_9_0_1_0.eContents().get(1);
private final Keyword cCommaKeyword_9_0_1_1 = (Keyword)cGroup_9_0_1.eContents().get(1);
private final Group cGroup_9_1 = (Group)cUnorderedGroup_9.eContents().get(1);
private final Alternatives cAlternatives_9_1_0 = (Alternatives)cGroup_9_1.eContents().get(0);
private final Assignment cIsOrderedAssignment_9_1_0_0 = (Assignment)cAlternatives_9_1_0.eContents().get(0);
private final Keyword cIsOrderedOrderedKeyword_9_1_0_0_0 = (Keyword)cIsOrderedAssignment_9_1_0_0.eContents().get(0);
private final Keyword cOrderedKeyword_9_1_0_1 = (Keyword)cAlternatives_9_1_0.eContents().get(1);
private final Keyword cCommaKeyword_9_1_1 = (Keyword)cGroup_9_1.eContents().get(1);
private final Group cGroup_9_2 = (Group)cUnorderedGroup_9.eContents().get(2);
private final Group cGroup_9_2_0 = (Group)cGroup_9_2.eContents().get(0);
private final Alternatives cAlternatives_9_2_0_0 = (Alternatives)cGroup_9_2_0.eContents().get(0);
private final Assignment cIsNotUniqueAssignment_9_2_0_0_0 = (Assignment)cAlternatives_9_2_0_0.eContents().get(0);
private final Keyword cIsNotUniqueUniqueKeyword_9_2_0_0_0_0 = (Keyword)cIsNotUniqueAssignment_9_2_0_0_0.eContents().get(0);
private final Keyword cUniqueKeyword_9_2_0_0_1 = (Keyword)cAlternatives_9_2_0_0.eContents().get(1);
private final Keyword cCommaKeyword_9_2_0_1 = (Keyword)cGroup_9_2_0.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_9_2_1 = (Keyword)cGroup_9_2.eContents().get(1);
private final Alternatives cAlternatives_10 = (Alternatives)cGroup.eContents().get(10);
private final Group cGroup_10_0 = (Group)cAlternatives_10.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_10_0_0 = (Keyword)cGroup_10_0.eContents().get(0);
private final Alternatives cAlternatives_10_0_1 = (Alternatives)cGroup_10_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_10_0_1_0 = (Assignment)cAlternatives_10_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_10_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_10_0_1_0.eContents().get(0);
private final Assignment cOwnedPreconditionsAssignment_10_0_1_1 = (Assignment)cAlternatives_10_0_1.eContents().get(1);
private final RuleCall cOwnedPreconditionsPreconditionConstraintCSParserRuleCall_10_0_1_1_0 = (RuleCall)cOwnedPreconditionsAssignment_10_0_1_1.eContents().get(0);
private final Group cGroup_10_0_1_2 = (Group)cAlternatives_10_0_1.eContents().get(2);
private final Keyword cBodyKeyword_10_0_1_2_0 = (Keyword)cGroup_10_0_1_2.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_10_0_1_2_1 = (RuleCall)cGroup_10_0_1_2.eContents().get(1);
private final Keyword cColonKeyword_10_0_1_2_2 = (Keyword)cGroup_10_0_1_2.eContents().get(2);
private final Assignment cOwnedBodyExpressionsAssignment_10_0_1_2_3 = (Assignment)cGroup_10_0_1_2.eContents().get(3);
private final RuleCall cOwnedBodyExpressionsSpecificationCSParserRuleCall_10_0_1_2_3_0 = (RuleCall)cOwnedBodyExpressionsAssignment_10_0_1_2_3.eContents().get(0);
private final Keyword cSemicolonKeyword_10_0_1_2_4 = (Keyword)cGroup_10_0_1_2.eContents().get(4);
private final Assignment cOwnedPostconditionsAssignment_10_0_1_3 = (Assignment)cAlternatives_10_0_1.eContents().get(3);
private final RuleCall cOwnedPostconditionsPostconditionConstraintCSParserRuleCall_10_0_1_3_0 = (RuleCall)cOwnedPostconditionsAssignment_10_0_1_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_10_0_2 = (Keyword)cGroup_10_0.eContents().get(2);
private final Keyword cSemicolonKeyword_10_1 = (Keyword)cAlternatives_10.eContents().get(1);
//OperationCS returns base::OperationCS:
// (isStatic?="static"? & isDefinition?="definition"?) "operation" ownedSignature=TemplateSignatureCS?
// name=UnrestrictedName "(" (ownedParameters+=ParameterCS ("," ownedParameters+=ParameterCS)*)? ")" (":"
// ownedType=TypedMultiplicityRefCS)? ("throws" ownedExceptions+=TypedRefCS ("," ownedExceptions+=TypedRefCS)*)? ("{"
// ((isDerived?="derived" | "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isNotUnique?="!unique"
// | "unique") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS |
// "body" UnrestrictedName? ":" ownedBodyExpressions+=SpecificationCS? ";" |
// ownedPostconditions+=PostconditionConstraintCS)* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//(isStatic?="static"? & isDefinition?="definition"?) "operation" ownedSignature=TemplateSignatureCS?
//name=UnrestrictedName "(" (ownedParameters+=ParameterCS ("," ownedParameters+=ParameterCS)*)? ")" (":"
//ownedType=TypedMultiplicityRefCS)? ("throws" ownedExceptions+=TypedRefCS ("," ownedExceptions+=TypedRefCS)*)? ("{"
//((isDerived?="derived" | "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isNotUnique?="!unique" |
//"unique") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS |
//"body" UnrestrictedName? ":" ownedBodyExpressions+=SpecificationCS? ";" |
//ownedPostconditions+=PostconditionConstraintCS)* "}" | ";")
public Group getGroup() { return cGroup; }
//isStatic?="static"? & isDefinition?="definition"?
public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; }
//isStatic?="static"?
public Assignment getIsStaticAssignment_0_0() { return cIsStaticAssignment_0_0; }
//"static"
public Keyword getIsStaticStaticKeyword_0_0_0() { return cIsStaticStaticKeyword_0_0_0; }
//isDefinition?="definition"?
public Assignment getIsDefinitionAssignment_0_1() { return cIsDefinitionAssignment_0_1; }
//"definition"
public Keyword getIsDefinitionDefinitionKeyword_0_1_0() { return cIsDefinitionDefinitionKeyword_0_1_0; }
//"operation"
public Keyword getOperationKeyword_1() { return cOperationKeyword_1; }
//ownedSignature=TemplateSignatureCS?
public Assignment getOwnedSignatureAssignment_2() { return cOwnedSignatureAssignment_2; }
//TemplateSignatureCS
public RuleCall getOwnedSignatureTemplateSignatureCSParserRuleCall_2_0() { return cOwnedSignatureTemplateSignatureCSParserRuleCall_2_0; }
//name=UnrestrictedName
public Assignment getNameAssignment_3() { return cNameAssignment_3; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_3_0() { return cNameUnrestrictedNameParserRuleCall_3_0; }
//"("
public Keyword getLeftParenthesisKeyword_4() { return cLeftParenthesisKeyword_4; }
//(ownedParameters+=ParameterCS ("," ownedParameters+=ParameterCS)*)?
public Group getGroup_5() { return cGroup_5; }
//ownedParameters+=ParameterCS
public Assignment getOwnedParametersAssignment_5_0() { return cOwnedParametersAssignment_5_0; }
//ParameterCS
public RuleCall getOwnedParametersParameterCSParserRuleCall_5_0_0() { return cOwnedParametersParameterCSParserRuleCall_5_0_0; }
//("," ownedParameters+=ParameterCS)*
public Group getGroup_5_1() { return cGroup_5_1; }
//","
public Keyword getCommaKeyword_5_1_0() { return cCommaKeyword_5_1_0; }
//ownedParameters+=ParameterCS
public Assignment getOwnedParametersAssignment_5_1_1() { return cOwnedParametersAssignment_5_1_1; }
//ParameterCS
public RuleCall getOwnedParametersParameterCSParserRuleCall_5_1_1_0() { return cOwnedParametersParameterCSParserRuleCall_5_1_1_0; }
//")"
public Keyword getRightParenthesisKeyword_6() { return cRightParenthesisKeyword_6; }
//(":" ownedType=TypedMultiplicityRefCS)?
public Group getGroup_7() { return cGroup_7; }
//":"
public Keyword getColonKeyword_7_0() { return cColonKeyword_7_0; }
//ownedType=TypedMultiplicityRefCS
public Assignment getOwnedTypeAssignment_7_1() { return cOwnedTypeAssignment_7_1; }
//TypedMultiplicityRefCS
public RuleCall getOwnedTypeTypedMultiplicityRefCSParserRuleCall_7_1_0() { return cOwnedTypeTypedMultiplicityRefCSParserRuleCall_7_1_0; }
//("throws" ownedExceptions+=TypedRefCS ("," ownedExceptions+=TypedRefCS)*)?
public Group getGroup_8() { return cGroup_8; }
//"throws"
public Keyword getThrowsKeyword_8_0() { return cThrowsKeyword_8_0; }
//ownedExceptions+=TypedRefCS
public Assignment getOwnedExceptionsAssignment_8_1() { return cOwnedExceptionsAssignment_8_1; }
//TypedRefCS
public RuleCall getOwnedExceptionsTypedRefCSParserRuleCall_8_1_0() { return cOwnedExceptionsTypedRefCSParserRuleCall_8_1_0; }
//("," ownedExceptions+=TypedRefCS)*
public Group getGroup_8_2() { return cGroup_8_2; }
//","
public Keyword getCommaKeyword_8_2_0() { return cCommaKeyword_8_2_0; }
//ownedExceptions+=TypedRefCS
public Assignment getOwnedExceptionsAssignment_8_2_1() { return cOwnedExceptionsAssignment_8_2_1; }
//TypedRefCS
public RuleCall getOwnedExceptionsTypedRefCSParserRuleCall_8_2_1_0() { return cOwnedExceptionsTypedRefCSParserRuleCall_8_2_1_0; }
//("{" ((isDerived?="derived" | "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? &
//((isNotUnique?="!unique" | "unique") ","?)? "}")?
public UnorderedGroup getUnorderedGroup_9() { return cUnorderedGroup_9; }
//"{" ((isDerived?="derived" | "!derived") ","?)?
public Group getGroup_9_0() { return cGroup_9_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_9_0_0() { return cLeftCurlyBracketKeyword_9_0_0; }
//((isDerived?="derived" | "!derived") ","?)?
public Group getGroup_9_0_1() { return cGroup_9_0_1; }
//isDerived?="derived" | "!derived"
public Alternatives getAlternatives_9_0_1_0() { return cAlternatives_9_0_1_0; }
//isDerived?="derived"
public Assignment getIsDerivedAssignment_9_0_1_0_0() { return cIsDerivedAssignment_9_0_1_0_0; }
//"derived"
public Keyword getIsDerivedDerivedKeyword_9_0_1_0_0_0() { return cIsDerivedDerivedKeyword_9_0_1_0_0_0; }
//"!derived"
public Keyword getDerivedKeyword_9_0_1_0_1() { return cDerivedKeyword_9_0_1_0_1; }
//","?
public Keyword getCommaKeyword_9_0_1_1() { return cCommaKeyword_9_0_1_1; }
//((isOrdered?="ordered" | "!ordered") ","?)?
public Group getGroup_9_1() { return cGroup_9_1; }
//isOrdered?="ordered" | "!ordered"
public Alternatives getAlternatives_9_1_0() { return cAlternatives_9_1_0; }
//isOrdered?="ordered"
public Assignment getIsOrderedAssignment_9_1_0_0() { return cIsOrderedAssignment_9_1_0_0; }
//"ordered"
public Keyword getIsOrderedOrderedKeyword_9_1_0_0_0() { return cIsOrderedOrderedKeyword_9_1_0_0_0; }
//"!ordered"
public Keyword getOrderedKeyword_9_1_0_1() { return cOrderedKeyword_9_1_0_1; }
//","?
public Keyword getCommaKeyword_9_1_1() { return cCommaKeyword_9_1_1; }
//((isNotUnique?="!unique" | "unique") ","?)? "}"
public Group getGroup_9_2() { return cGroup_9_2; }
//((isNotUnique?="!unique" | "unique") ","?)?
public Group getGroup_9_2_0() { return cGroup_9_2_0; }
//isNotUnique?="!unique" | "unique"
public Alternatives getAlternatives_9_2_0_0() { return cAlternatives_9_2_0_0; }
//isNotUnique?="!unique"
public Assignment getIsNotUniqueAssignment_9_2_0_0_0() { return cIsNotUniqueAssignment_9_2_0_0_0; }
//"!unique"
public Keyword getIsNotUniqueUniqueKeyword_9_2_0_0_0_0() { return cIsNotUniqueUniqueKeyword_9_2_0_0_0_0; }
//"unique"
public Keyword getUniqueKeyword_9_2_0_0_1() { return cUniqueKeyword_9_2_0_0_1; }
//","?
public Keyword getCommaKeyword_9_2_0_1() { return cCommaKeyword_9_2_0_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_9_2_1() { return cRightCurlyBracketKeyword_9_2_1; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS | "body" UnrestrictedName? ":"
//ownedBodyExpressions+=SpecificationCS? ";" | ownedPostconditions+=PostconditionConstraintCS)* "}" | ";"
public Alternatives getAlternatives_10() { return cAlternatives_10; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS | "body" UnrestrictedName? ":"
//ownedBodyExpressions+=SpecificationCS? ";" | ownedPostconditions+=PostconditionConstraintCS)* "}"
public Group getGroup_10_0() { return cGroup_10_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_10_0_0() { return cLeftCurlyBracketKeyword_10_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS | "body" UnrestrictedName? ":"
//ownedBodyExpressions+=SpecificationCS? ";" | ownedPostconditions+=PostconditionConstraintCS)*
public Alternatives getAlternatives_10_0_1() { return cAlternatives_10_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_10_0_1_0() { return cOwnedAnnotationsAssignment_10_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_10_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_10_0_1_0_0; }
//ownedPreconditions+=PreconditionConstraintCS
public Assignment getOwnedPreconditionsAssignment_10_0_1_1() { return cOwnedPreconditionsAssignment_10_0_1_1; }
//PreconditionConstraintCS
public RuleCall getOwnedPreconditionsPreconditionConstraintCSParserRuleCall_10_0_1_1_0() { return cOwnedPreconditionsPreconditionConstraintCSParserRuleCall_10_0_1_1_0; }
//"body" UnrestrictedName? ":" ownedBodyExpressions+=SpecificationCS? ";"
public Group getGroup_10_0_1_2() { return cGroup_10_0_1_2; }
//"body"
public Keyword getBodyKeyword_10_0_1_2_0() { return cBodyKeyword_10_0_1_2_0; }
//UnrestrictedName?
public RuleCall getUnrestrictedNameParserRuleCall_10_0_1_2_1() { return cUnrestrictedNameParserRuleCall_10_0_1_2_1; }
//":"
public Keyword getColonKeyword_10_0_1_2_2() { return cColonKeyword_10_0_1_2_2; }
//ownedBodyExpressions+=SpecificationCS?
public Assignment getOwnedBodyExpressionsAssignment_10_0_1_2_3() { return cOwnedBodyExpressionsAssignment_10_0_1_2_3; }
//SpecificationCS
public RuleCall getOwnedBodyExpressionsSpecificationCSParserRuleCall_10_0_1_2_3_0() { return cOwnedBodyExpressionsSpecificationCSParserRuleCall_10_0_1_2_3_0; }
//";"
public Keyword getSemicolonKeyword_10_0_1_2_4() { return cSemicolonKeyword_10_0_1_2_4; }
//ownedPostconditions+=PostconditionConstraintCS
public Assignment getOwnedPostconditionsAssignment_10_0_1_3() { return cOwnedPostconditionsAssignment_10_0_1_3; }
//PostconditionConstraintCS
public RuleCall getOwnedPostconditionsPostconditionConstraintCSParserRuleCall_10_0_1_3_0() { return cOwnedPostconditionsPostconditionConstraintCSParserRuleCall_10_0_1_3_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_10_0_2() { return cRightCurlyBracketKeyword_10_0_2; }
//";"
public Keyword getSemicolonKeyword_10_1() { return cSemicolonKeyword_10_1; }
}
public class PackageCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PackageCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameUnrestrictedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cNsPrefixAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cNsPrefixUnrestrictedNameParserRuleCall_2_1_0 = (RuleCall)cNsPrefixAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cEqualsSignKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cNsURIAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cNsURIURIParserRuleCall_3_1_0 = (RuleCall)cNsURIAssignment_3_1.eContents().get(0);
private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0);
private final Alternatives cAlternatives_4_0_1 = (Alternatives)cGroup_4_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_4_0_1_0 = (Assignment)cAlternatives_4_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_4_0_1_0.eContents().get(0);
private final Assignment cOwnedPackagesAssignment_4_0_1_1 = (Assignment)cAlternatives_4_0_1.eContents().get(1);
private final RuleCall cOwnedPackagesPackageCSParserRuleCall_4_0_1_1_0 = (RuleCall)cOwnedPackagesAssignment_4_0_1_1.eContents().get(0);
private final Assignment cOwnedClassesAssignment_4_0_1_2 = (Assignment)cAlternatives_4_0_1.eContents().get(2);
private final RuleCall cOwnedClassesClassCSParserRuleCall_4_0_1_2_0 = (RuleCall)cOwnedClassesAssignment_4_0_1_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4_0_2 = (Keyword)cGroup_4_0.eContents().get(2);
private final Keyword cSemicolonKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1);
//PackageCS returns base::PackageCS:
// "package" name=UnrestrictedName (":" nsPrefix=UnrestrictedName)? ("=" nsURI=URI)? ("{"
// (ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//"package" name=UnrestrictedName (":" nsPrefix=UnrestrictedName)? ("=" nsURI=URI)? ("{"
//(ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)* "}" | ";")
public Group getGroup() { return cGroup; }
//"package"
public Keyword getPackageKeyword_0() { return cPackageKeyword_0; }
//name=UnrestrictedName
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_1_0() { return cNameUnrestrictedNameParserRuleCall_1_0; }
//(":" nsPrefix=UnrestrictedName)?
public Group getGroup_2() { return cGroup_2; }
//":"
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//nsPrefix=UnrestrictedName
public Assignment getNsPrefixAssignment_2_1() { return cNsPrefixAssignment_2_1; }
//UnrestrictedName
public RuleCall getNsPrefixUnrestrictedNameParserRuleCall_2_1_0() { return cNsPrefixUnrestrictedNameParserRuleCall_2_1_0; }
//("=" nsURI=URI)?
public Group getGroup_3() { return cGroup_3; }
//"="
public Keyword getEqualsSignKeyword_3_0() { return cEqualsSignKeyword_3_0; }
//nsURI=URI
public Assignment getNsURIAssignment_3_1() { return cNsURIAssignment_3_1; }
//URI
public RuleCall getNsURIURIParserRuleCall_3_1_0() { return cNsURIURIParserRuleCall_3_1_0; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)* "}" | ";"
public Alternatives getAlternatives_4() { return cAlternatives_4; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)* "}"
public Group getGroup_4_0() { return cGroup_4_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_4_0_0() { return cLeftCurlyBracketKeyword_4_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)*
public Alternatives getAlternatives_4_0_1() { return cAlternatives_4_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_4_0_1_0() { return cOwnedAnnotationsAssignment_4_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_4_0_1_0_0; }
//ownedPackages+=PackageCS
public Assignment getOwnedPackagesAssignment_4_0_1_1() { return cOwnedPackagesAssignment_4_0_1_1; }
//PackageCS
public RuleCall getOwnedPackagesPackageCSParserRuleCall_4_0_1_1_0() { return cOwnedPackagesPackageCSParserRuleCall_4_0_1_1_0; }
//ownedClasses+=ClassCS
public Assignment getOwnedClassesAssignment_4_0_1_2() { return cOwnedClassesAssignment_4_0_1_2; }
//ClassCS
public RuleCall getOwnedClassesClassCSParserRuleCall_4_0_1_2_0() { return cOwnedClassesClassCSParserRuleCall_4_0_1_2_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_4_0_2() { return cRightCurlyBracketKeyword_4_0_2; }
//";"
public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; }
}
public class ParameterCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ParameterCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cNameUnrestrictedNameParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cColonKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cOwnedTypeAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cOwnedTypeTypedMultiplicityRefCSParserRuleCall_1_1_0 = (RuleCall)cOwnedTypeAssignment_1_1.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
private final Group cGroup_2_0 = (Group)cUnorderedGroup_2.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0);
private final Group cGroup_2_0_1 = (Group)cGroup_2_0.eContents().get(1);
private final Alternatives cAlternatives_2_0_1_0 = (Alternatives)cGroup_2_0_1.eContents().get(0);
private final Assignment cIsOrderedAssignment_2_0_1_0_0 = (Assignment)cAlternatives_2_0_1_0.eContents().get(0);
private final Keyword cIsOrderedOrderedKeyword_2_0_1_0_0_0 = (Keyword)cIsOrderedAssignment_2_0_1_0_0.eContents().get(0);
private final Keyword cOrderedKeyword_2_0_1_0_1 = (Keyword)cAlternatives_2_0_1_0.eContents().get(1);
private final Keyword cCommaKeyword_2_0_1_1 = (Keyword)cGroup_2_0_1.eContents().get(1);
private final Group cGroup_2_1 = (Group)cUnorderedGroup_2.eContents().get(1);
private final Group cGroup_2_1_0 = (Group)cGroup_2_1.eContents().get(0);
private final Alternatives cAlternatives_2_1_0_0 = (Alternatives)cGroup_2_1_0.eContents().get(0);
private final Assignment cIsNotUniqueAssignment_2_1_0_0_0 = (Assignment)cAlternatives_2_1_0_0.eContents().get(0);
private final Keyword cIsNotUniqueUniqueKeyword_2_1_0_0_0_0 = (Keyword)cIsNotUniqueAssignment_2_1_0_0_0.eContents().get(0);
private final Keyword cUniqueKeyword_2_1_0_0_1 = (Keyword)cAlternatives_2_1_0_0.eContents().get(1);
private final Keyword cCommaKeyword_2_1_0_1 = (Keyword)cGroup_2_1_0.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_2_1_1 = (Keyword)cGroup_2_1.eContents().get(1);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cOwnedAnnotationsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_3_1_0 = (RuleCall)cOwnedAnnotationsAssignment_3_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
//ParameterCS returns base::ParameterCS:
// name=UnrestrictedName (":" ownedType=TypedMultiplicityRefCS)? ("{" ((isOrdered?="ordered" | "!ordered") ","?)? &
// ((isNotUnique?="!unique" | "unique") ","?)? "}")? ("{" ownedAnnotations+=AnnotationElementCS* "}")?;
@Override
public ParserRule getRule() { return rule; }
//name=UnrestrictedName (":" ownedType=TypedMultiplicityRefCS)? ("{" ((isOrdered?="ordered" | "!ordered") ","?)? &
//((isNotUnique?="!unique" | "unique") ","?)? "}")? ("{" ownedAnnotations+=AnnotationElementCS* "}")?
public Group getGroup() { return cGroup; }
//name=UnrestrictedName
public Assignment getNameAssignment_0() { return cNameAssignment_0; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_0_0() { return cNameUnrestrictedNameParserRuleCall_0_0; }
//(":" ownedType=TypedMultiplicityRefCS)?
public Group getGroup_1() { return cGroup_1; }
//":"
public Keyword getColonKeyword_1_0() { return cColonKeyword_1_0; }
//ownedType=TypedMultiplicityRefCS
public Assignment getOwnedTypeAssignment_1_1() { return cOwnedTypeAssignment_1_1; }
//TypedMultiplicityRefCS
public RuleCall getOwnedTypeTypedMultiplicityRefCSParserRuleCall_1_1_0() { return cOwnedTypeTypedMultiplicityRefCSParserRuleCall_1_1_0; }
//("{" ((isOrdered?="ordered" | "!ordered") ","?)? & ((isNotUnique?="!unique" | "unique") ","?)? "}")?
public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
//"{" ((isOrdered?="ordered" | "!ordered") ","?)?
public Group getGroup_2_0() { return cGroup_2_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_2_0_0() { return cLeftCurlyBracketKeyword_2_0_0; }
//((isOrdered?="ordered" | "!ordered") ","?)?
public Group getGroup_2_0_1() { return cGroup_2_0_1; }
//isOrdered?="ordered" | "!ordered"
public Alternatives getAlternatives_2_0_1_0() { return cAlternatives_2_0_1_0; }
//isOrdered?="ordered"
public Assignment getIsOrderedAssignment_2_0_1_0_0() { return cIsOrderedAssignment_2_0_1_0_0; }
//"ordered"
public Keyword getIsOrderedOrderedKeyword_2_0_1_0_0_0() { return cIsOrderedOrderedKeyword_2_0_1_0_0_0; }
//"!ordered"
public Keyword getOrderedKeyword_2_0_1_0_1() { return cOrderedKeyword_2_0_1_0_1; }
//","?
public Keyword getCommaKeyword_2_0_1_1() { return cCommaKeyword_2_0_1_1; }
//((isNotUnique?="!unique" | "unique") ","?)? "}"
public Group getGroup_2_1() { return cGroup_2_1; }
//((isNotUnique?="!unique" | "unique") ","?)?
public Group getGroup_2_1_0() { return cGroup_2_1_0; }
//isNotUnique?="!unique" | "unique"
public Alternatives getAlternatives_2_1_0_0() { return cAlternatives_2_1_0_0; }
//isNotUnique?="!unique"
public Assignment getIsNotUniqueAssignment_2_1_0_0_0() { return cIsNotUniqueAssignment_2_1_0_0_0; }
//"!unique"
public Keyword getIsNotUniqueUniqueKeyword_2_1_0_0_0_0() { return cIsNotUniqueUniqueKeyword_2_1_0_0_0_0; }
//"unique"
public Keyword getUniqueKeyword_2_1_0_0_1() { return cUniqueKeyword_2_1_0_0_1; }
//","?
public Keyword getCommaKeyword_2_1_0_1() { return cCommaKeyword_2_1_0_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_2_1_1() { return cRightCurlyBracketKeyword_2_1_1; }
//("{" ownedAnnotations+=AnnotationElementCS* "}")?
public Group getGroup_3() { return cGroup_3; }
//"{"
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//ownedAnnotations+=AnnotationElementCS*
public Assignment getOwnedAnnotationsAssignment_3_1() { return cOwnedAnnotationsAssignment_3_1; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_3_1_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_3_1_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
}
public class ReferenceCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ReferenceCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0);
private final Assignment cIsStaticAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0);
private final Keyword cIsStaticStaticKeyword_0_0_0 = (Keyword)cIsStaticAssignment_0_0.eContents().get(0);
private final Assignment cIsDefinitionAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1);
private final Keyword cIsDefinitionDefinitionKeyword_0_1_0 = (Keyword)cIsDefinitionAssignment_0_1.eContents().get(0);
private final Keyword cPropertyKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cNumberSignKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cReferredOppositeAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final CrossReference cReferredOppositePropertyCrossReference_3_1_0 = (CrossReference)cReferredOppositeAssignment_3_1.eContents().get(0);
private final RuleCall cReferredOppositePropertyUnrestrictedNameParserRuleCall_3_1_0_1 = (RuleCall)cReferredOppositePropertyCrossReference_3_1_0.eContents().get(1);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cColonKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cOwnedTypeAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cOwnedTypeTypedMultiplicityRefCSParserRuleCall_4_1_0 = (RuleCall)cOwnedTypeAssignment_4_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cEqualsSignKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Assignment cDefaultAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0 = (RuleCall)cDefaultAssignment_5_1.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_6 = (UnorderedGroup)cGroup.eContents().get(6);
private final Group cGroup_6_0 = (Group)cUnorderedGroup_6.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_6_0_0 = (Keyword)cGroup_6_0.eContents().get(0);
private final Group cGroup_6_0_1 = (Group)cGroup_6_0.eContents().get(1);
private final Alternatives cAlternatives_6_0_1_0 = (Alternatives)cGroup_6_0_1.eContents().get(0);
private final Assignment cIsComposesAssignment_6_0_1_0_0 = (Assignment)cAlternatives_6_0_1_0.eContents().get(0);
private final Keyword cIsComposesComposesKeyword_6_0_1_0_0_0 = (Keyword)cIsComposesAssignment_6_0_1_0_0.eContents().get(0);
private final Keyword cComposesKeyword_6_0_1_0_1 = (Keyword)cAlternatives_6_0_1_0.eContents().get(1);
private final Keyword cCommaKeyword_6_0_1_1 = (Keyword)cGroup_6_0_1.eContents().get(1);
private final Group cGroup_6_1 = (Group)cUnorderedGroup_6.eContents().get(1);
private final Alternatives cAlternatives_6_1_0 = (Alternatives)cGroup_6_1.eContents().get(0);
private final Assignment cIsDerivedAssignment_6_1_0_0 = (Assignment)cAlternatives_6_1_0.eContents().get(0);
private final Keyword cIsDerivedDerivedKeyword_6_1_0_0_0 = (Keyword)cIsDerivedAssignment_6_1_0_0.eContents().get(0);
private final Keyword cDerivedKeyword_6_1_0_1 = (Keyword)cAlternatives_6_1_0.eContents().get(1);
private final Keyword cCommaKeyword_6_1_1 = (Keyword)cGroup_6_1.eContents().get(1);
private final Group cGroup_6_2 = (Group)cUnorderedGroup_6.eContents().get(2);
private final Alternatives cAlternatives_6_2_0 = (Alternatives)cGroup_6_2.eContents().get(0);
private final Assignment cIsOrderedAssignment_6_2_0_0 = (Assignment)cAlternatives_6_2_0.eContents().get(0);
private final Keyword cIsOrderedOrderedKeyword_6_2_0_0_0 = (Keyword)cIsOrderedAssignment_6_2_0_0.eContents().get(0);
private final Keyword cOrderedKeyword_6_2_0_1 = (Keyword)cAlternatives_6_2_0.eContents().get(1);
private final Keyword cCommaKeyword_6_2_1 = (Keyword)cGroup_6_2.eContents().get(1);
private final Group cGroup_6_3 = (Group)cUnorderedGroup_6.eContents().get(3);
private final Alternatives cAlternatives_6_3_0 = (Alternatives)cGroup_6_3.eContents().get(0);
private final Assignment cIsReadonlyAssignment_6_3_0_0 = (Assignment)cAlternatives_6_3_0.eContents().get(0);
private final Keyword cIsReadonlyReadonlyKeyword_6_3_0_0_0 = (Keyword)cIsReadonlyAssignment_6_3_0_0.eContents().get(0);
private final Keyword cReadonlyKeyword_6_3_0_1 = (Keyword)cAlternatives_6_3_0.eContents().get(1);
private final Keyword cCommaKeyword_6_3_1 = (Keyword)cGroup_6_3.eContents().get(1);
private final Group cGroup_6_4 = (Group)cUnorderedGroup_6.eContents().get(4);
private final Alternatives cAlternatives_6_4_0 = (Alternatives)cGroup_6_4.eContents().get(0);
private final Assignment cIsResolveAssignment_6_4_0_0 = (Assignment)cAlternatives_6_4_0.eContents().get(0);
private final Keyword cIsResolveResolveKeyword_6_4_0_0_0 = (Keyword)cIsResolveAssignment_6_4_0_0.eContents().get(0);
private final Keyword cResolveKeyword_6_4_0_1 = (Keyword)cAlternatives_6_4_0.eContents().get(1);
private final Keyword cCommaKeyword_6_4_1 = (Keyword)cGroup_6_4.eContents().get(1);
private final Group cGroup_6_5 = (Group)cUnorderedGroup_6.eContents().get(5);
private final Alternatives cAlternatives_6_5_0 = (Alternatives)cGroup_6_5.eContents().get(0);
private final Assignment cIsTransientAssignment_6_5_0_0 = (Assignment)cAlternatives_6_5_0.eContents().get(0);
private final Keyword cIsTransientTransientKeyword_6_5_0_0_0 = (Keyword)cIsTransientAssignment_6_5_0_0.eContents().get(0);
private final Keyword cTransientKeyword_6_5_0_1 = (Keyword)cAlternatives_6_5_0.eContents().get(1);
private final Keyword cCommaKeyword_6_5_1 = (Keyword)cGroup_6_5.eContents().get(1);
private final Group cGroup_6_6 = (Group)cUnorderedGroup_6.eContents().get(6);
private final Alternatives cAlternatives_6_6_0 = (Alternatives)cGroup_6_6.eContents().get(0);
private final Assignment cIsNotUniqueAssignment_6_6_0_0 = (Assignment)cAlternatives_6_6_0.eContents().get(0);
private final Keyword cIsNotUniqueUniqueKeyword_6_6_0_0_0 = (Keyword)cIsNotUniqueAssignment_6_6_0_0.eContents().get(0);
private final Keyword cUniqueKeyword_6_6_0_1 = (Keyword)cAlternatives_6_6_0.eContents().get(1);
private final Keyword cCommaKeyword_6_6_1 = (Keyword)cGroup_6_6.eContents().get(1);
private final Group cGroup_6_7 = (Group)cUnorderedGroup_6.eContents().get(7);
private final Alternatives cAlternatives_6_7_0 = (Alternatives)cGroup_6_7.eContents().get(0);
private final Assignment cIsUnsettableAssignment_6_7_0_0 = (Assignment)cAlternatives_6_7_0.eContents().get(0);
private final Keyword cIsUnsettableUnsettableKeyword_6_7_0_0_0 = (Keyword)cIsUnsettableAssignment_6_7_0_0.eContents().get(0);
private final Keyword cUnsettableKeyword_6_7_0_1 = (Keyword)cAlternatives_6_7_0.eContents().get(1);
private final Keyword cCommaKeyword_6_7_1 = (Keyword)cGroup_6_7.eContents().get(1);
private final Group cGroup_6_8 = (Group)cUnorderedGroup_6.eContents().get(8);
private final Group cGroup_6_8_0 = (Group)cGroup_6_8.eContents().get(0);
private final Alternatives cAlternatives_6_8_0_0 = (Alternatives)cGroup_6_8_0.eContents().get(0);
private final Assignment cIsVolatileAssignment_6_8_0_0_0 = (Assignment)cAlternatives_6_8_0_0.eContents().get(0);
private final Keyword cIsVolatileVolatileKeyword_6_8_0_0_0_0 = (Keyword)cIsVolatileAssignment_6_8_0_0_0.eContents().get(0);
private final Keyword cVolatileKeyword_6_8_0_0_1 = (Keyword)cAlternatives_6_8_0_0.eContents().get(1);
private final Keyword cCommaKeyword_6_8_0_1 = (Keyword)cGroup_6_8_0.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_6_8_1 = (Keyword)cGroup_6_8.eContents().get(1);
private final Alternatives cAlternatives_7 = (Alternatives)cGroup.eContents().get(7);
private final Group cGroup_7_0 = (Group)cAlternatives_7.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_7_0_0 = (Keyword)cGroup_7_0.eContents().get(0);
private final Alternatives cAlternatives_7_0_1 = (Alternatives)cGroup_7_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_7_0_1_0 = (Assignment)cAlternatives_7_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_7_0_1_0.eContents().get(0);
private final Group cGroup_7_0_1_1 = (Group)cAlternatives_7_0_1.eContents().get(1);
private final Keyword cKeyKeyword_7_0_1_1_0 = (Keyword)cGroup_7_0_1_1.eContents().get(0);
private final Assignment cReferredKeysAssignment_7_0_1_1_1 = (Assignment)cGroup_7_0_1_1.eContents().get(1);
private final CrossReference cReferredKeysPropertyCrossReference_7_0_1_1_1_0 = (CrossReference)cReferredKeysAssignment_7_0_1_1_1.eContents().get(0);
private final RuleCall cReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_1_0_1 = (RuleCall)cReferredKeysPropertyCrossReference_7_0_1_1_1_0.eContents().get(1);
private final Group cGroup_7_0_1_1_2 = (Group)cGroup_7_0_1_1.eContents().get(2);
private final Keyword cCommaKeyword_7_0_1_1_2_0 = (Keyword)cGroup_7_0_1_1_2.eContents().get(0);
private final Assignment cReferredKeysAssignment_7_0_1_1_2_1 = (Assignment)cGroup_7_0_1_1_2.eContents().get(1);
private final CrossReference cReferredKeysPropertyCrossReference_7_0_1_1_2_1_0 = (CrossReference)cReferredKeysAssignment_7_0_1_1_2_1.eContents().get(0);
private final RuleCall cReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_2_1_0_1 = (RuleCall)cReferredKeysPropertyCrossReference_7_0_1_1_2_1_0.eContents().get(1);
private final Keyword cSemicolonKeyword_7_0_1_1_3 = (Keyword)cGroup_7_0_1_1.eContents().get(3);
private final Group cGroup_7_0_1_2 = (Group)cAlternatives_7_0_1.eContents().get(2);
private final Keyword cDerivationKeyword_7_0_1_2_0 = (Keyword)cGroup_7_0_1_2.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_7_0_1_2_1 = (RuleCall)cGroup_7_0_1_2.eContents().get(1);
private final Keyword cColonKeyword_7_0_1_2_2 = (Keyword)cGroup_7_0_1_2.eContents().get(2);
private final Assignment cOwnedDefaultExpressionsAssignment_7_0_1_2_3 = (Assignment)cGroup_7_0_1_2.eContents().get(3);
private final RuleCall cOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_2_3_0 = (RuleCall)cOwnedDefaultExpressionsAssignment_7_0_1_2_3.eContents().get(0);
private final Keyword cSemicolonKeyword_7_0_1_2_4 = (Keyword)cGroup_7_0_1_2.eContents().get(4);
private final Group cGroup_7_0_1_3 = (Group)cAlternatives_7_0_1.eContents().get(3);
private final Keyword cInitialKeyword_7_0_1_3_0 = (Keyword)cGroup_7_0_1_3.eContents().get(0);
private final RuleCall cUnrestrictedNameParserRuleCall_7_0_1_3_1 = (RuleCall)cGroup_7_0_1_3.eContents().get(1);
private final Keyword cColonKeyword_7_0_1_3_2 = (Keyword)cGroup_7_0_1_3.eContents().get(2);
private final Assignment cOwnedDefaultExpressionsAssignment_7_0_1_3_3 = (Assignment)cGroup_7_0_1_3.eContents().get(3);
private final RuleCall cOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_3_3_0 = (RuleCall)cOwnedDefaultExpressionsAssignment_7_0_1_3_3.eContents().get(0);
private final Keyword cSemicolonKeyword_7_0_1_3_4 = (Keyword)cGroup_7_0_1_3.eContents().get(4);
private final Keyword cRightCurlyBracketKeyword_7_0_2 = (Keyword)cGroup_7_0.eContents().get(2);
private final Keyword cSemicolonKeyword_7_1 = (Keyword)cAlternatives_7.eContents().get(1);
//ReferenceCS returns base::ReferenceCS:
// (isStatic?="static"? & isDefinition?="definition"?) "property" name=UnrestrictedName ("#"
// referredOpposite=[pivot::Property|UnrestrictedName])? (":" ownedType=TypedMultiplicityRefCS)? ("="
// default=SINGLE_QUOTED_STRING)? ("{" ((isComposes?="composes" | "!composes") ","?)? & ((isDerived?="derived" |
// "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" | "!readonly") ","?)? &
// ((isResolve?="resolve" | "!resolve") ","?)? & ((isTransient?="transient" | "!transient") ","?)? &
// ((isNotUnique?="!unique" | "unique") ","?)? & ((isUnsettable?="unsettable" | "!unsettable") ","?)? &
// ((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | "key"
// referredKeys+=[pivot::Property|UnrestrictedName] ("," referredKeys+=[pivot::Property|UnrestrictedName])* ";" |
// "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
// ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//(isStatic?="static"? & isDefinition?="definition"?) "property" name=UnrestrictedName ("#"
//referredOpposite=[pivot::Property|UnrestrictedName])? (":" ownedType=TypedMultiplicityRefCS)? ("="
//default=SINGLE_QUOTED_STRING)? ("{" ((isComposes?="composes" | "!composes") ","?)? & ((isDerived?="derived" |
//"!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" | "!readonly") ","?)? &
//((isResolve?="resolve" | "!resolve") ","?)? & ((isTransient?="transient" | "!transient") ","?)? &
//((isNotUnique?="!unique" | "unique") ","?)? & ((isUnsettable?="unsettable" | "!unsettable") ","?)? &
//((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | "key"
//referredKeys+=[pivot::Property|UnrestrictedName] ("," referredKeys+=[pivot::Property|UnrestrictedName])* ";" |
//"derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";")
public Group getGroup() { return cGroup; }
//isStatic?="static"? & isDefinition?="definition"?
public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; }
//isStatic?="static"?
public Assignment getIsStaticAssignment_0_0() { return cIsStaticAssignment_0_0; }
//"static"
public Keyword getIsStaticStaticKeyword_0_0_0() { return cIsStaticStaticKeyword_0_0_0; }
//isDefinition?="definition"?
public Assignment getIsDefinitionAssignment_0_1() { return cIsDefinitionAssignment_0_1; }
//"definition"
public Keyword getIsDefinitionDefinitionKeyword_0_1_0() { return cIsDefinitionDefinitionKeyword_0_1_0; }
//"property"
public Keyword getPropertyKeyword_1() { return cPropertyKeyword_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0() { return cNameUnrestrictedNameParserRuleCall_2_0; }
//("#" referredOpposite=[pivot::Property|UnrestrictedName])?
public Group getGroup_3() { return cGroup_3; }
//"#"
public Keyword getNumberSignKeyword_3_0() { return cNumberSignKeyword_3_0; }
//referredOpposite=[pivot::Property|UnrestrictedName]
public Assignment getReferredOppositeAssignment_3_1() { return cReferredOppositeAssignment_3_1; }
//[pivot::Property|UnrestrictedName]
public CrossReference getReferredOppositePropertyCrossReference_3_1_0() { return cReferredOppositePropertyCrossReference_3_1_0; }
//UnrestrictedName
public RuleCall getReferredOppositePropertyUnrestrictedNameParserRuleCall_3_1_0_1() { return cReferredOppositePropertyUnrestrictedNameParserRuleCall_3_1_0_1; }
//(":" ownedType=TypedMultiplicityRefCS)?
public Group getGroup_4() { return cGroup_4; }
//":"
public Keyword getColonKeyword_4_0() { return cColonKeyword_4_0; }
//ownedType=TypedMultiplicityRefCS
public Assignment getOwnedTypeAssignment_4_1() { return cOwnedTypeAssignment_4_1; }
//TypedMultiplicityRefCS
public RuleCall getOwnedTypeTypedMultiplicityRefCSParserRuleCall_4_1_0() { return cOwnedTypeTypedMultiplicityRefCSParserRuleCall_4_1_0; }
//("=" default=SINGLE_QUOTED_STRING)?
public Group getGroup_5() { return cGroup_5; }
//"="
public Keyword getEqualsSignKeyword_5_0() { return cEqualsSignKeyword_5_0; }
//default=SINGLE_QUOTED_STRING
public Assignment getDefaultAssignment_5_1() { return cDefaultAssignment_5_1; }
//SINGLE_QUOTED_STRING
public RuleCall getDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0() { return cDefaultSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0; }
//("{" ((isComposes?="composes" | "!composes") ","?)? & ((isDerived?="derived" | "!derived") ","?)? &
//((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" | "!readonly") ","?)? & ((isResolve?="resolve"
//| "!resolve") ","?)? & ((isTransient?="transient" | "!transient") ","?)? & ((isNotUnique?="!unique" | "unique") ","?)?
//& ((isUnsettable?="unsettable" | "!unsettable") ","?)? & ((isVolatile?="volatile" | "!volatile") ","?)? "}")?
public UnorderedGroup getUnorderedGroup_6() { return cUnorderedGroup_6; }
//"{" ((isComposes?="composes" | "!composes") ","?)?
public Group getGroup_6_0() { return cGroup_6_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_6_0_0() { return cLeftCurlyBracketKeyword_6_0_0; }
//((isComposes?="composes" | "!composes") ","?)?
public Group getGroup_6_0_1() { return cGroup_6_0_1; }
//isComposes?="composes" | "!composes"
public Alternatives getAlternatives_6_0_1_0() { return cAlternatives_6_0_1_0; }
//isComposes?="composes"
public Assignment getIsComposesAssignment_6_0_1_0_0() { return cIsComposesAssignment_6_0_1_0_0; }
//"composes"
public Keyword getIsComposesComposesKeyword_6_0_1_0_0_0() { return cIsComposesComposesKeyword_6_0_1_0_0_0; }
//"!composes"
public Keyword getComposesKeyword_6_0_1_0_1() { return cComposesKeyword_6_0_1_0_1; }
//","?
public Keyword getCommaKeyword_6_0_1_1() { return cCommaKeyword_6_0_1_1; }
//((isDerived?="derived" | "!derived") ","?)?
public Group getGroup_6_1() { return cGroup_6_1; }
//isDerived?="derived" | "!derived"
public Alternatives getAlternatives_6_1_0() { return cAlternatives_6_1_0; }
//isDerived?="derived"
public Assignment getIsDerivedAssignment_6_1_0_0() { return cIsDerivedAssignment_6_1_0_0; }
//"derived"
public Keyword getIsDerivedDerivedKeyword_6_1_0_0_0() { return cIsDerivedDerivedKeyword_6_1_0_0_0; }
//"!derived"
public Keyword getDerivedKeyword_6_1_0_1() { return cDerivedKeyword_6_1_0_1; }
//","?
public Keyword getCommaKeyword_6_1_1() { return cCommaKeyword_6_1_1; }
//((isOrdered?="ordered" | "!ordered") ","?)?
public Group getGroup_6_2() { return cGroup_6_2; }
//isOrdered?="ordered" | "!ordered"
public Alternatives getAlternatives_6_2_0() { return cAlternatives_6_2_0; }
//isOrdered?="ordered"
public Assignment getIsOrderedAssignment_6_2_0_0() { return cIsOrderedAssignment_6_2_0_0; }
//"ordered"
public Keyword getIsOrderedOrderedKeyword_6_2_0_0_0() { return cIsOrderedOrderedKeyword_6_2_0_0_0; }
//"!ordered"
public Keyword getOrderedKeyword_6_2_0_1() { return cOrderedKeyword_6_2_0_1; }
//","?
public Keyword getCommaKeyword_6_2_1() { return cCommaKeyword_6_2_1; }
//((isReadonly?="readonly" | "!readonly") ","?)?
public Group getGroup_6_3() { return cGroup_6_3; }
//isReadonly?="readonly" | "!readonly"
public Alternatives getAlternatives_6_3_0() { return cAlternatives_6_3_0; }
//isReadonly?="readonly"
public Assignment getIsReadonlyAssignment_6_3_0_0() { return cIsReadonlyAssignment_6_3_0_0; }
//"readonly"
public Keyword getIsReadonlyReadonlyKeyword_6_3_0_0_0() { return cIsReadonlyReadonlyKeyword_6_3_0_0_0; }
//"!readonly"
public Keyword getReadonlyKeyword_6_3_0_1() { return cReadonlyKeyword_6_3_0_1; }
//","?
public Keyword getCommaKeyword_6_3_1() { return cCommaKeyword_6_3_1; }
//((isResolve?="resolve" | "!resolve") ","?)?
public Group getGroup_6_4() { return cGroup_6_4; }
//isResolve?="resolve" | "!resolve"
public Alternatives getAlternatives_6_4_0() { return cAlternatives_6_4_0; }
//isResolve?="resolve"
public Assignment getIsResolveAssignment_6_4_0_0() { return cIsResolveAssignment_6_4_0_0; }
//"resolve"
public Keyword getIsResolveResolveKeyword_6_4_0_0_0() { return cIsResolveResolveKeyword_6_4_0_0_0; }
//"!resolve"
public Keyword getResolveKeyword_6_4_0_1() { return cResolveKeyword_6_4_0_1; }
//","?
public Keyword getCommaKeyword_6_4_1() { return cCommaKeyword_6_4_1; }
//((isTransient?="transient" | "!transient") ","?)?
public Group getGroup_6_5() { return cGroup_6_5; }
//isTransient?="transient" | "!transient"
public Alternatives getAlternatives_6_5_0() { return cAlternatives_6_5_0; }
//isTransient?="transient"
public Assignment getIsTransientAssignment_6_5_0_0() { return cIsTransientAssignment_6_5_0_0; }
//"transient"
public Keyword getIsTransientTransientKeyword_6_5_0_0_0() { return cIsTransientTransientKeyword_6_5_0_0_0; }
//"!transient"
public Keyword getTransientKeyword_6_5_0_1() { return cTransientKeyword_6_5_0_1; }
//","?
public Keyword getCommaKeyword_6_5_1() { return cCommaKeyword_6_5_1; }
//((isNotUnique?="!unique" | "unique") ","?)?
public Group getGroup_6_6() { return cGroup_6_6; }
//isNotUnique?="!unique" | "unique"
public Alternatives getAlternatives_6_6_0() { return cAlternatives_6_6_0; }
//isNotUnique?="!unique"
public Assignment getIsNotUniqueAssignment_6_6_0_0() { return cIsNotUniqueAssignment_6_6_0_0; }
//"!unique"
public Keyword getIsNotUniqueUniqueKeyword_6_6_0_0_0() { return cIsNotUniqueUniqueKeyword_6_6_0_0_0; }
//"unique"
public Keyword getUniqueKeyword_6_6_0_1() { return cUniqueKeyword_6_6_0_1; }
//","?
public Keyword getCommaKeyword_6_6_1() { return cCommaKeyword_6_6_1; }
//((isUnsettable?="unsettable" | "!unsettable") ","?)?
public Group getGroup_6_7() { return cGroup_6_7; }
//isUnsettable?="unsettable" | "!unsettable"
public Alternatives getAlternatives_6_7_0() { return cAlternatives_6_7_0; }
//isUnsettable?="unsettable"
public Assignment getIsUnsettableAssignment_6_7_0_0() { return cIsUnsettableAssignment_6_7_0_0; }
//"unsettable"
public Keyword getIsUnsettableUnsettableKeyword_6_7_0_0_0() { return cIsUnsettableUnsettableKeyword_6_7_0_0_0; }
//"!unsettable"
public Keyword getUnsettableKeyword_6_7_0_1() { return cUnsettableKeyword_6_7_0_1; }
//","?
public Keyword getCommaKeyword_6_7_1() { return cCommaKeyword_6_7_1; }
//((isVolatile?="volatile" | "!volatile") ","?)? "}"
public Group getGroup_6_8() { return cGroup_6_8; }
//((isVolatile?="volatile" | "!volatile") ","?)?
public Group getGroup_6_8_0() { return cGroup_6_8_0; }
//isVolatile?="volatile" | "!volatile"
public Alternatives getAlternatives_6_8_0_0() { return cAlternatives_6_8_0_0; }
//isVolatile?="volatile"
public Assignment getIsVolatileAssignment_6_8_0_0_0() { return cIsVolatileAssignment_6_8_0_0_0; }
//"volatile"
public Keyword getIsVolatileVolatileKeyword_6_8_0_0_0_0() { return cIsVolatileVolatileKeyword_6_8_0_0_0_0; }
//"!volatile"
public Keyword getVolatileKeyword_6_8_0_0_1() { return cVolatileKeyword_6_8_0_0_1; }
//","?
public Keyword getCommaKeyword_6_8_0_1() { return cCommaKeyword_6_8_0_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_6_8_1() { return cRightCurlyBracketKeyword_6_8_1; }
//"{" (ownedAnnotations+=AnnotationElementCS | "key" referredKeys+=[pivot::Property|UnrestrictedName] (","
//referredKeys+=[pivot::Property|UnrestrictedName])* ";" | "derivation" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";"
public Alternatives getAlternatives_7() { return cAlternatives_7; }
//"{" (ownedAnnotations+=AnnotationElementCS | "key" referredKeys+=[pivot::Property|UnrestrictedName] (","
//referredKeys+=[pivot::Property|UnrestrictedName])* ";" | "derivation" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")* "}"
public Group getGroup_7_0() { return cGroup_7_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_7_0_0() { return cLeftCurlyBracketKeyword_7_0_0; }
//(ownedAnnotations+=AnnotationElementCS | "key" referredKeys+=[pivot::Property|UnrestrictedName] (","
//referredKeys+=[pivot::Property|UnrestrictedName])* ";" | "derivation" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
//ownedDefaultExpressions+=SpecificationCS? ";")*
public Alternatives getAlternatives_7_0_1() { return cAlternatives_7_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_7_0_1_0() { return cOwnedAnnotationsAssignment_7_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0; }
//"key" referredKeys+=[pivot::Property|UnrestrictedName] ("," referredKeys+=[pivot::Property|UnrestrictedName])* ";"
public Group getGroup_7_0_1_1() { return cGroup_7_0_1_1; }
//"key"
public Keyword getKeyKeyword_7_0_1_1_0() { return cKeyKeyword_7_0_1_1_0; }
//referredKeys+=[pivot::Property|UnrestrictedName]
public Assignment getReferredKeysAssignment_7_0_1_1_1() { return cReferredKeysAssignment_7_0_1_1_1; }
//[pivot::Property|UnrestrictedName]
public CrossReference getReferredKeysPropertyCrossReference_7_0_1_1_1_0() { return cReferredKeysPropertyCrossReference_7_0_1_1_1_0; }
//UnrestrictedName
public RuleCall getReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_1_0_1() { return cReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_1_0_1; }
//("," referredKeys+=[pivot::Property|UnrestrictedName])*
public Group getGroup_7_0_1_1_2() { return cGroup_7_0_1_1_2; }
//","
public Keyword getCommaKeyword_7_0_1_1_2_0() { return cCommaKeyword_7_0_1_1_2_0; }
//referredKeys+=[pivot::Property|UnrestrictedName]
public Assignment getReferredKeysAssignment_7_0_1_1_2_1() { return cReferredKeysAssignment_7_0_1_1_2_1; }
//[pivot::Property|UnrestrictedName]
public CrossReference getReferredKeysPropertyCrossReference_7_0_1_1_2_1_0() { return cReferredKeysPropertyCrossReference_7_0_1_1_2_1_0; }
//UnrestrictedName
public RuleCall getReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_2_1_0_1() { return cReferredKeysPropertyUnrestrictedNameParserRuleCall_7_0_1_1_2_1_0_1; }
//";"
public Keyword getSemicolonKeyword_7_0_1_1_3() { return cSemicolonKeyword_7_0_1_1_3; }
//"derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";"
public Group getGroup_7_0_1_2() { return cGroup_7_0_1_2; }
//"derivation"
public Keyword getDerivationKeyword_7_0_1_2_0() { return cDerivationKeyword_7_0_1_2_0; }
//UnrestrictedName?
public RuleCall getUnrestrictedNameParserRuleCall_7_0_1_2_1() { return cUnrestrictedNameParserRuleCall_7_0_1_2_1; }
//":"
public Keyword getColonKeyword_7_0_1_2_2() { return cColonKeyword_7_0_1_2_2; }
//ownedDefaultExpressions+=SpecificationCS?
public Assignment getOwnedDefaultExpressionsAssignment_7_0_1_2_3() { return cOwnedDefaultExpressionsAssignment_7_0_1_2_3; }
//SpecificationCS
public RuleCall getOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_2_3_0() { return cOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_2_3_0; }
//";"
public Keyword getSemicolonKeyword_7_0_1_2_4() { return cSemicolonKeyword_7_0_1_2_4; }
//"initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";"
public Group getGroup_7_0_1_3() { return cGroup_7_0_1_3; }
//"initial"
public Keyword getInitialKeyword_7_0_1_3_0() { return cInitialKeyword_7_0_1_3_0; }
//UnrestrictedName?
public RuleCall getUnrestrictedNameParserRuleCall_7_0_1_3_1() { return cUnrestrictedNameParserRuleCall_7_0_1_3_1; }
//":"
public Keyword getColonKeyword_7_0_1_3_2() { return cColonKeyword_7_0_1_3_2; }
//ownedDefaultExpressions+=SpecificationCS?
public Assignment getOwnedDefaultExpressionsAssignment_7_0_1_3_3() { return cOwnedDefaultExpressionsAssignment_7_0_1_3_3; }
//SpecificationCS
public RuleCall getOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_3_3_0() { return cOwnedDefaultExpressionsSpecificationCSParserRuleCall_7_0_1_3_3_0; }
//";"
public Keyword getSemicolonKeyword_7_0_1_3_4() { return cSemicolonKeyword_7_0_1_3_4; }
//"}"
public Keyword getRightCurlyBracketKeyword_7_0_2() { return cRightCurlyBracketKeyword_7_0_2; }
//";"
public Keyword getSemicolonKeyword_7_1() { return cSemicolonKeyword_7_1; }
}
public class SpecificationCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SpecificationCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final Assignment cOwnedExpressionAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
private final RuleCall cOwnedExpressionExpCSParserRuleCall_0_0 = (RuleCall)cOwnedExpressionAssignment_0.eContents().get(0);
private final Assignment cExprStringAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
private final RuleCall cExprStringUNQUOTED_STRINGTerminalRuleCall_1_0 = (RuleCall)cExprStringAssignment_1.eContents().get(0);
//SpecificationCS returns essentialocl::ExpSpecificationCS:
// ownedExpression=ExpCS | exprString=UNQUOTED_STRING;
@Override
public ParserRule getRule() { return rule; }
//ownedExpression=ExpCS | exprString=UNQUOTED_STRING
public Alternatives getAlternatives() { return cAlternatives; }
//ownedExpression=ExpCS
public Assignment getOwnedExpressionAssignment_0() { return cOwnedExpressionAssignment_0; }
//ExpCS
public RuleCall getOwnedExpressionExpCSParserRuleCall_0_0() { return cOwnedExpressionExpCSParserRuleCall_0_0; }
//exprString=UNQUOTED_STRING
public Assignment getExprStringAssignment_1() { return cExprStringAssignment_1; }
//UNQUOTED_STRING
public RuleCall getExprStringUNQUOTED_STRINGTerminalRuleCall_1_0() { return cExprStringUNQUOTED_STRINGTerminalRuleCall_1_0; }
}
public class StructuredClassCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StructuredClassCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cIsAbstractAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final Keyword cIsAbstractAbstractKeyword_0_0 = (Keyword)cIsAbstractAssignment_0.eContents().get(0);
private final Keyword cClassKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameUnrestrictedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Assignment cOwnedSignatureAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cOwnedSignatureTemplateSignatureCSParserRuleCall_3_0 = (RuleCall)cOwnedSignatureAssignment_3.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cExtendsKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cOwnedSuperTypesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cOwnedSuperTypesTypedRefCSParserRuleCall_4_1_0 = (RuleCall)cOwnedSuperTypesAssignment_4_1.eContents().get(0);
private final Group cGroup_4_2 = (Group)cGroup_4.eContents().get(2);
private final Keyword cCommaKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0);
private final Assignment cOwnedSuperTypesAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1);
private final RuleCall cOwnedSuperTypesTypedRefCSParserRuleCall_4_2_1_0 = (RuleCall)cOwnedSuperTypesAssignment_4_2_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cColonKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Assignment cInstanceClassNameAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0 = (RuleCall)cInstanceClassNameAssignment_5_1.eContents().get(0);
private final Group cGroup_6 = (Group)cGroup.eContents().get(6);
private final Keyword cLeftCurlyBracketKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0);
private final Assignment cIsInterfaceAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1);
private final Keyword cIsInterfaceInterfaceKeyword_6_1_0 = (Keyword)cIsInterfaceAssignment_6_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_6_2 = (Keyword)cGroup_6.eContents().get(2);
private final Alternatives cAlternatives_7 = (Alternatives)cGroup.eContents().get(7);
private final Group cGroup_7_0 = (Group)cAlternatives_7.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_7_0_0 = (Keyword)cGroup_7_0.eContents().get(0);
private final Alternatives cAlternatives_7_0_1 = (Alternatives)cGroup_7_0.eContents().get(1);
private final Assignment cOwnedAnnotationsAssignment_7_0_1_0 = (Assignment)cAlternatives_7_0_1.eContents().get(0);
private final RuleCall cOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0 = (RuleCall)cOwnedAnnotationsAssignment_7_0_1_0.eContents().get(0);
private final Assignment cOwnedOperationsAssignment_7_0_1_1 = (Assignment)cAlternatives_7_0_1.eContents().get(1);
private final RuleCall cOwnedOperationsOperationCSParserRuleCall_7_0_1_1_0 = (RuleCall)cOwnedOperationsAssignment_7_0_1_1.eContents().get(0);
private final Assignment cOwnedPropertiesAssignment_7_0_1_2 = (Assignment)cAlternatives_7_0_1.eContents().get(2);
private final RuleCall cOwnedPropertiesStructuralFeatureCSParserRuleCall_7_0_1_2_0 = (RuleCall)cOwnedPropertiesAssignment_7_0_1_2.eContents().get(0);
private final Assignment cOwnedConstraintsAssignment_7_0_1_3 = (Assignment)cAlternatives_7_0_1.eContents().get(3);
private final RuleCall cOwnedConstraintsInvariantConstraintCSParserRuleCall_7_0_1_3_0 = (RuleCall)cOwnedConstraintsAssignment_7_0_1_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_7_0_2 = (Keyword)cGroup_7_0.eContents().get(2);
private final Keyword cSemicolonKeyword_7_1 = (Keyword)cAlternatives_7.eContents().get(1);
//StructuredClassCS returns base::StructuredClassCS:
// isAbstract?="abstract"? "class" name=UnrestrictedName ownedSignature=TemplateSignatureCS? ("extends"
// ownedSuperTypes+=TypedRefCS ("," ownedSuperTypes+=TypedRefCS)*)? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
// isInterface?="interface"? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS |
// ownedProperties+=StructuralFeatureCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
@Override
public ParserRule getRule() { return rule; }
//isAbstract?="abstract"? "class" name=UnrestrictedName ownedSignature=TemplateSignatureCS? ("extends"
//ownedSuperTypes+=TypedRefCS ("," ownedSuperTypes+=TypedRefCS)*)? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
//isInterface?="interface"? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS |
//ownedProperties+=StructuralFeatureCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";")
public Group getGroup() { return cGroup; }
//isAbstract?="abstract"?
public Assignment getIsAbstractAssignment_0() { return cIsAbstractAssignment_0; }
//"abstract"
public Keyword getIsAbstractAbstractKeyword_0_0() { return cIsAbstractAbstractKeyword_0_0; }
//"class"
public Keyword getClassKeyword_1() { return cClassKeyword_1; }
//name=UnrestrictedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//UnrestrictedName
public RuleCall getNameUnrestrictedNameParserRuleCall_2_0() { return cNameUnrestrictedNameParserRuleCall_2_0; }
//ownedSignature=TemplateSignatureCS?
public Assignment getOwnedSignatureAssignment_3() { return cOwnedSignatureAssignment_3; }
//TemplateSignatureCS
public RuleCall getOwnedSignatureTemplateSignatureCSParserRuleCall_3_0() { return cOwnedSignatureTemplateSignatureCSParserRuleCall_3_0; }
//("extends" ownedSuperTypes+=TypedRefCS ("," ownedSuperTypes+=TypedRefCS)*)?
public Group getGroup_4() { return cGroup_4; }
//"extends"
public Keyword getExtendsKeyword_4_0() { return cExtendsKeyword_4_0; }
//ownedSuperTypes+=TypedRefCS
public Assignment getOwnedSuperTypesAssignment_4_1() { return cOwnedSuperTypesAssignment_4_1; }
//TypedRefCS
public RuleCall getOwnedSuperTypesTypedRefCSParserRuleCall_4_1_0() { return cOwnedSuperTypesTypedRefCSParserRuleCall_4_1_0; }
//("," ownedSuperTypes+=TypedRefCS)*
public Group getGroup_4_2() { return cGroup_4_2; }
//","
public Keyword getCommaKeyword_4_2_0() { return cCommaKeyword_4_2_0; }
//ownedSuperTypes+=TypedRefCS
public Assignment getOwnedSuperTypesAssignment_4_2_1() { return cOwnedSuperTypesAssignment_4_2_1; }
//TypedRefCS
public RuleCall getOwnedSuperTypesTypedRefCSParserRuleCall_4_2_1_0() { return cOwnedSuperTypesTypedRefCSParserRuleCall_4_2_1_0; }
//(":" instanceClassName=SINGLE_QUOTED_STRING)?
public Group getGroup_5() { return cGroup_5; }
//":"
public Keyword getColonKeyword_5_0() { return cColonKeyword_5_0; }
//instanceClassName=SINGLE_QUOTED_STRING
public Assignment getInstanceClassNameAssignment_5_1() { return cInstanceClassNameAssignment_5_1; }
//SINGLE_QUOTED_STRING
public RuleCall getInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0() { return cInstanceClassNameSINGLE_QUOTED_STRINGTerminalRuleCall_5_1_0; }
//("{" isInterface?="interface"? "}")?
public Group getGroup_6() { return cGroup_6; }
//"{"
public Keyword getLeftCurlyBracketKeyword_6_0() { return cLeftCurlyBracketKeyword_6_0; }
//isInterface?="interface"?
public Assignment getIsInterfaceAssignment_6_1() { return cIsInterfaceAssignment_6_1; }
//"interface"
public Keyword getIsInterfaceInterfaceKeyword_6_1_0() { return cIsInterfaceInterfaceKeyword_6_1_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_6_2() { return cRightCurlyBracketKeyword_6_2; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS | ownedProperties+=StructuralFeatureCS |
//ownedConstraints+=InvariantConstraintCS)* "}" | ";"
public Alternatives getAlternatives_7() { return cAlternatives_7; }
//"{" (ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS | ownedProperties+=StructuralFeatureCS |
//ownedConstraints+=InvariantConstraintCS)* "}"
public Group getGroup_7_0() { return cGroup_7_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_7_0_0() { return cLeftCurlyBracketKeyword_7_0_0; }
//(ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS | ownedProperties+=StructuralFeatureCS |
//ownedConstraints+=InvariantConstraintCS)*
public Alternatives getAlternatives_7_0_1() { return cAlternatives_7_0_1; }
//ownedAnnotations+=AnnotationElementCS
public Assignment getOwnedAnnotationsAssignment_7_0_1_0() { return cOwnedAnnotationsAssignment_7_0_1_0; }
//AnnotationElementCS
public RuleCall getOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0() { return cOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0; }
//ownedOperations+=OperationCS
public Assignment getOwnedOperationsAssignment_7_0_1_1() { return cOwnedOperationsAssignment_7_0_1_1; }
//OperationCS
public RuleCall getOwnedOperationsOperationCSParserRuleCall_7_0_1_1_0() { return cOwnedOperationsOperationCSParserRuleCall_7_0_1_1_0; }
//ownedProperties+=StructuralFeatureCS
public Assignment getOwnedPropertiesAssignment_7_0_1_2() { return cOwnedPropertiesAssignment_7_0_1_2; }
//StructuralFeatureCS
public RuleCall getOwnedPropertiesStructuralFeatureCSParserRuleCall_7_0_1_2_0() { return cOwnedPropertiesStructuralFeatureCSParserRuleCall_7_0_1_2_0; }
//ownedConstraints+=InvariantConstraintCS
public Assignment getOwnedConstraintsAssignment_7_0_1_3() { return cOwnedConstraintsAssignment_7_0_1_3; }
//InvariantConstraintCS
public RuleCall getOwnedConstraintsInvariantConstraintCSParserRuleCall_7_0_1_3_0() { return cOwnedConstraintsInvariantConstraintCSParserRuleCall_7_0_1_3_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_7_0_2() { return cRightCurlyBracketKeyword_7_0_2; }
//";"
public Keyword getSemicolonKeyword_7_1() { return cSemicolonKeyword_7_1; }
}
public class StructuralFeatureCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StructuralFeatureCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cAttributeCSParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cReferenceCSParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//StructuralFeatureCS returns base::StructuralFeatureCS:
// AttributeCS | ReferenceCS;
@Override
public ParserRule getRule() { return rule; }
//AttributeCS | ReferenceCS
public Alternatives getAlternatives() { return cAlternatives; }
//AttributeCS
public RuleCall getAttributeCSParserRuleCall_0() { return cAttributeCSParserRuleCall_0; }
//ReferenceCS
public RuleCall getReferenceCSParserRuleCall_1() { return cReferenceCSParserRuleCall_1; }
}
public class SysMLCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SysMLCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cSysMLCSAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cSysmlKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0);
private final Assignment cOwnedDetailsAssignment_2_0_0 = (Assignment)cGroup_2_0.eContents().get(0);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_2_0_0_0 = (RuleCall)cOwnedDetailsAssignment_2_0_0.eContents().get(0);
private final Keyword cSemicolonKeyword_2_0_1 = (Keyword)cGroup_2_0.eContents().get(1);
private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1);
private final Keyword cLeftCurlyBracketKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
private final Group cGroup_2_1_1 = (Group)cGroup_2_1.eContents().get(1);
private final Assignment cOwnedDetailsAssignment_2_1_1_0 = (Assignment)cGroup_2_1_1.eContents().get(0);
private final RuleCall cOwnedDetailsDetailCSParserRuleCall_2_1_1_0_0 = (RuleCall)cOwnedDetailsAssignment_2_1_1_0.eContents().get(0);
private final Keyword cSemicolonKeyword_2_1_1_1 = (Keyword)cGroup_2_1_1.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_2_1_2 = (Keyword)cGroup_2_1.eContents().get(2);
//SysMLCS:
// {SysMLCS} "sysml" (ownedDetails+=DetailCS ";" | "{" (ownedDetails+=DetailCS ";")* "}");
@Override
public ParserRule getRule() { return rule; }
//{SysMLCS} "sysml" (ownedDetails+=DetailCS ";" | "{" (ownedDetails+=DetailCS ";")* "}")
public Group getGroup() { return cGroup; }
//{SysMLCS}
public Action getSysMLCSAction_0() { return cSysMLCSAction_0; }
//"sysml"
public Keyword getSysmlKeyword_1() { return cSysmlKeyword_1; }
//ownedDetails+=DetailCS ";" | "{" (ownedDetails+=DetailCS ";")* "}"
public Alternatives getAlternatives_2() { return cAlternatives_2; }
//ownedDetails+=DetailCS ";"
public Group getGroup_2_0() { return cGroup_2_0; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_2_0_0() { return cOwnedDetailsAssignment_2_0_0; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_2_0_0_0() { return cOwnedDetailsDetailCSParserRuleCall_2_0_0_0; }
//";"
public Keyword getSemicolonKeyword_2_0_1() { return cSemicolonKeyword_2_0_1; }
//"{" (ownedDetails+=DetailCS ";")* "}"
public Group getGroup_2_1() { return cGroup_2_1; }
//"{"
public Keyword getLeftCurlyBracketKeyword_2_1_0() { return cLeftCurlyBracketKeyword_2_1_0; }
//(ownedDetails+=DetailCS ";")*
public Group getGroup_2_1_1() { return cGroup_2_1_1; }
//ownedDetails+=DetailCS
public Assignment getOwnedDetailsAssignment_2_1_1_0() { return cOwnedDetailsAssignment_2_1_1_0; }
//DetailCS
public RuleCall getOwnedDetailsDetailCSParserRuleCall_2_1_1_0_0() { return cOwnedDetailsDetailCSParserRuleCall_2_1_1_0_0; }
//";"
public Keyword getSemicolonKeyword_2_1_1_1() { return cSemicolonKeyword_2_1_1_1; }
//"}"
public Keyword getRightCurlyBracketKeyword_2_1_2() { return cRightCurlyBracketKeyword_2_1_2; }
}
public class TypeIdentifierElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypeIdentifier");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cUnrestrictedNameParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cPrimitiveTypeIdentifierParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//TypeIdentifier:
// UnrestrictedName | PrimitiveTypeIdentifier;
@Override
public ParserRule getRule() { return rule; }
//UnrestrictedName | PrimitiveTypeIdentifier
public Alternatives getAlternatives() { return cAlternatives; }
//UnrestrictedName
public RuleCall getUnrestrictedNameParserRuleCall_0() { return cUnrestrictedNameParserRuleCall_0; }
//PrimitiveTypeIdentifier
public RuleCall getPrimitiveTypeIdentifierParserRuleCall_1() { return cPrimitiveTypeIdentifierParserRuleCall_1; }
}
public class TypedMultiplicityRefCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypedMultiplicityRefCS");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cTypedRefCSParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Assignment cOwnedMultiplicityAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cOwnedMultiplicityMultiplicityCSParserRuleCall_1_0 = (RuleCall)cOwnedMultiplicityAssignment_1.eContents().get(0);
//TypedMultiplicityRefCS returns base::TypedRefCS:
// TypedRefCS ownedMultiplicity=MultiplicityCS?;
@Override
public ParserRule getRule() { return rule; }
//TypedRefCS ownedMultiplicity=MultiplicityCS?
public Group getGroup() { return cGroup; }
//TypedRefCS
public RuleCall getTypedRefCSParserRuleCall_0() { return cTypedRefCSParserRuleCall_0; }
//ownedMultiplicity=MultiplicityCS?
public Assignment getOwnedMultiplicityAssignment_1() { return cOwnedMultiplicityAssignment_1; }
//MultiplicityCS
public RuleCall getOwnedMultiplicityMultiplicityCSParserRuleCall_1_0() { return cOwnedMultiplicityMultiplicityCSParserRuleCall_1_0; }
}
public class TemplateBindingCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TemplateBindingCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
private final Keyword cLeftParenthesisKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
private final Assignment cOwnedSubstitutionsAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
private final RuleCall cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_1_0 = (RuleCall)cOwnedSubstitutionsAssignment_0_1.eContents().get(0);
private final Group cGroup_0_2 = (Group)cGroup_0.eContents().get(2);
private final Keyword cCommaKeyword_0_2_0 = (Keyword)cGroup_0_2.eContents().get(0);
private final Assignment cOwnedSubstitutionsAssignment_0_2_1 = (Assignment)cGroup_0_2.eContents().get(1);
private final RuleCall cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_2_1_0 = (RuleCall)cOwnedSubstitutionsAssignment_0_2_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_0_3 = (Keyword)cGroup_0.eContents().get(3);
private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
private final Keyword cLessThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cOwnedSubstitutionsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_1_0 = (RuleCall)cOwnedSubstitutionsAssignment_1_1.eContents().get(0);
private final Group cGroup_1_2 = (Group)cGroup_1.eContents().get(2);
private final Keyword cCommaKeyword_1_2_0 = (Keyword)cGroup_1_2.eContents().get(0);
private final Assignment cOwnedSubstitutionsAssignment_1_2_1 = (Assignment)cGroup_1_2.eContents().get(1);
private final RuleCall cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_2_1_0 = (RuleCall)cOwnedSubstitutionsAssignment_1_2_1.eContents().get(0);
private final Keyword cGreaterThanSignKeyword_1_3 = (Keyword)cGroup_1.eContents().get(3);
////---------------------------------------------------------------------------------
// // Base overrides
//
////---------------------------------------------------------------------------------
// TemplateBindingCS returns
//base::TemplateBindingCS:
// "(" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)*
// ")" | "<" ownedSubstitutions+=TemplateParameterSubstitutionCS (","
// ownedSubstitutions+=TemplateParameterSubstitutionCS)* ">";
@Override
public ParserRule getRule() { return rule; }
//"(" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)* ")" |
//"<" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)* ">"
public Alternatives getAlternatives() { return cAlternatives; }
//"(" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)* ")"
public Group getGroup_0() { return cGroup_0; }
//"("
public Keyword getLeftParenthesisKeyword_0_0() { return cLeftParenthesisKeyword_0_0; }
//ownedSubstitutions+=TemplateParameterSubstitutionCS
public Assignment getOwnedSubstitutionsAssignment_0_1() { return cOwnedSubstitutionsAssignment_0_1; }
//TemplateParameterSubstitutionCS
public RuleCall getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_1_0() { return cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_1_0; }
//("," ownedSubstitutions+=TemplateParameterSubstitutionCS)*
public Group getGroup_0_2() { return cGroup_0_2; }
//","
public Keyword getCommaKeyword_0_2_0() { return cCommaKeyword_0_2_0; }
//ownedSubstitutions+=TemplateParameterSubstitutionCS
public Assignment getOwnedSubstitutionsAssignment_0_2_1() { return cOwnedSubstitutionsAssignment_0_2_1; }
//TemplateParameterSubstitutionCS
public RuleCall getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_2_1_0() { return cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_2_1_0; }
//")"
public Keyword getRightParenthesisKeyword_0_3() { return cRightParenthesisKeyword_0_3; }
//"<" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)* ">"
public Group getGroup_1() { return cGroup_1; }
//"<"
public Keyword getLessThanSignKeyword_1_0() { return cLessThanSignKeyword_1_0; }
//ownedSubstitutions+=TemplateParameterSubstitutionCS
public Assignment getOwnedSubstitutionsAssignment_1_1() { return cOwnedSubstitutionsAssignment_1_1; }
//TemplateParameterSubstitutionCS
public RuleCall getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_1_0() { return cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_1_0; }
//("," ownedSubstitutions+=TemplateParameterSubstitutionCS)*
public Group getGroup_1_2() { return cGroup_1_2; }
//","
public Keyword getCommaKeyword_1_2_0() { return cCommaKeyword_1_2_0; }
//ownedSubstitutions+=TemplateParameterSubstitutionCS
public Assignment getOwnedSubstitutionsAssignment_1_2_1() { return cOwnedSubstitutionsAssignment_1_2_1; }
//TemplateParameterSubstitutionCS
public RuleCall getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_2_1_0() { return cOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_2_1_0; }
//">"
public Keyword getGreaterThanSignKeyword_1_3() { return cGreaterThanSignKeyword_1_3; }
}
public class TemplateSignatureCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TemplateSignatureCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
private final Keyword cLeftParenthesisKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
private final Assignment cOwnedParametersAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
private final RuleCall cOwnedParametersTypeParameterCSParserRuleCall_0_1_0 = (RuleCall)cOwnedParametersAssignment_0_1.eContents().get(0);
private final Group cGroup_0_2 = (Group)cGroup_0.eContents().get(2);
private final Keyword cCommaKeyword_0_2_0 = (Keyword)cGroup_0_2.eContents().get(0);
private final Assignment cOwnedParametersAssignment_0_2_1 = (Assignment)cGroup_0_2.eContents().get(1);
private final RuleCall cOwnedParametersTypeParameterCSParserRuleCall_0_2_1_0 = (RuleCall)cOwnedParametersAssignment_0_2_1.eContents().get(0);
private final Keyword cRightParenthesisKeyword_0_3 = (Keyword)cGroup_0.eContents().get(3);
private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
private final Keyword cLessThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cOwnedParametersAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cOwnedParametersTypeParameterCSParserRuleCall_1_1_0 = (RuleCall)cOwnedParametersAssignment_1_1.eContents().get(0);
private final Group cGroup_1_2 = (Group)cGroup_1.eContents().get(2);
private final Keyword cCommaKeyword_1_2_0 = (Keyword)cGroup_1_2.eContents().get(0);
private final Assignment cOwnedParametersAssignment_1_2_1 = (Assignment)cGroup_1_2.eContents().get(1);
private final RuleCall cOwnedParametersTypeParameterCSParserRuleCall_1_2_1_0 = (RuleCall)cOwnedParametersAssignment_1_2_1.eContents().get(0);
private final Keyword cGreaterThanSignKeyword_1_3 = (Keyword)cGroup_1.eContents().get(3);
//TemplateSignatureCS returns base::TemplateSignatureCS:
// "(" ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ")" | "<"
// ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ">";
@Override
public ParserRule getRule() { return rule; }
//"(" ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ")" | "<" ownedParameters+=TypeParameterCS
//("," ownedParameters+=TypeParameterCS)* ">"
public Alternatives getAlternatives() { return cAlternatives; }
//"(" ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ")"
public Group getGroup_0() { return cGroup_0; }
//"("
public Keyword getLeftParenthesisKeyword_0_0() { return cLeftParenthesisKeyword_0_0; }
//ownedParameters+=TypeParameterCS
public Assignment getOwnedParametersAssignment_0_1() { return cOwnedParametersAssignment_0_1; }
//TypeParameterCS
public RuleCall getOwnedParametersTypeParameterCSParserRuleCall_0_1_0() { return cOwnedParametersTypeParameterCSParserRuleCall_0_1_0; }
//("," ownedParameters+=TypeParameterCS)*
public Group getGroup_0_2() { return cGroup_0_2; }
//","
public Keyword getCommaKeyword_0_2_0() { return cCommaKeyword_0_2_0; }
//ownedParameters+=TypeParameterCS
public Assignment getOwnedParametersAssignment_0_2_1() { return cOwnedParametersAssignment_0_2_1; }
//TypeParameterCS
public RuleCall getOwnedParametersTypeParameterCSParserRuleCall_0_2_1_0() { return cOwnedParametersTypeParameterCSParserRuleCall_0_2_1_0; }
//")"
public Keyword getRightParenthesisKeyword_0_3() { return cRightParenthesisKeyword_0_3; }
//"<" ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ">"
public Group getGroup_1() { return cGroup_1; }
//"<"
public Keyword getLessThanSignKeyword_1_0() { return cLessThanSignKeyword_1_0; }
//ownedParameters+=TypeParameterCS
public Assignment getOwnedParametersAssignment_1_1() { return cOwnedParametersAssignment_1_1; }
//TypeParameterCS
public RuleCall getOwnedParametersTypeParameterCSParserRuleCall_1_1_0() { return cOwnedParametersTypeParameterCSParserRuleCall_1_1_0; }
//("," ownedParameters+=TypeParameterCS)*
public Group getGroup_1_2() { return cGroup_1_2; }
//","
public Keyword getCommaKeyword_1_2_0() { return cCommaKeyword_1_2_0; }
//ownedParameters+=TypeParameterCS
public Assignment getOwnedParametersAssignment_1_2_1() { return cOwnedParametersAssignment_1_2_1; }
//TypeParameterCS
public RuleCall getOwnedParametersTypeParameterCSParserRuleCall_1_2_1_0() { return cOwnedParametersTypeParameterCSParserRuleCall_1_2_1_0; }
//">"
public Keyword getGreaterThanSignKeyword_1_3() { return cGreaterThanSignKeyword_1_3; }
}
public class TypedRefCSElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypedRefCS");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cTypeLiteralCSParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cTypedTypeRefCSParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//TypedRefCS returns base::TypedRefCS:
// TypeLiteralCS | TypedTypeRefCS;
@Override
public ParserRule getRule() { return rule; }
//TypeLiteralCS | TypedTypeRefCS
public Alternatives getAlternatives() { return cAlternatives; }
//TypeLiteralCS
public RuleCall getTypeLiteralCSParserRuleCall_0() { return cTypeLiteralCSParserRuleCall_0; }
//TypedTypeRefCS
public RuleCall getTypedTypeRefCSParserRuleCall_1() { return cTypedTypeRefCSParserRuleCall_1; }
}
public class UnrestrictedNameElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UnrestrictedName");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cEnumerationLiteralNameParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final Keyword cAnnotationKeyword_1 = (Keyword)cAlternatives.eContents().get(1);
private final Keyword cDocumentationKeyword_2 = (Keyword)cAlternatives.eContents().get(2);
private final Keyword cInvariantKeyword_3 = (Keyword)cAlternatives.eContents().get(3);
private final Keyword cLiteralKeyword_4 = (Keyword)cAlternatives.eContents().get(4);
private final Keyword cSerializableKeyword_5 = (Keyword)cAlternatives.eContents().get(5);
private final Keyword cSysmlKeyword_6 = (Keyword)cAlternatives.eContents().get(6);
//UnrestrictedName returns ecore::EString:
// EnumerationLiteralName | "annotation" | "documentation" | "invariant" | "literal" | "serializable" | "sysml";
@Override
public ParserRule getRule() { return rule; }
//EnumerationLiteralName | "annotation" | "documentation" | "invariant" | "literal" | "serializable" | "sysml"
public Alternatives getAlternatives() { return cAlternatives; }
//EnumerationLiteralName
public RuleCall getEnumerationLiteralNameParserRuleCall_0() { return cEnumerationLiteralNameParserRuleCall_0; }
//"annotation"
public Keyword getAnnotationKeyword_1() { return cAnnotationKeyword_1; }
//"documentation"
public Keyword getDocumentationKeyword_2() { return cDocumentationKeyword_2; }
//"invariant"
public Keyword getInvariantKeyword_3() { return cInvariantKeyword_3; }
//"literal"
public Keyword getLiteralKeyword_4() { return cLiteralKeyword_4; }
//"serializable"
public Keyword getSerializableKeyword_5() { return cSerializableKeyword_5; }
//"sysml"
public Keyword getSysmlKeyword_6() { return cSysmlKeyword_6; }
}
private final TopLevelCSElements pTopLevelCS;
private final TerminalRule tUNQUOTED_STRING;
private final INTEGERElements pINTEGER;
private final SIGNEDElements pSIGNED;
private final EnumerationLiteralNameElements pEnumerationLiteralName;
private final InvariantConstraintCSElements pInvariantConstraintCS;
private final PostconditionConstraintCSElements pPostconditionConstraintCS;
private final PreconditionConstraintCSElements pPreconditionConstraintCS;
private final AnnotationCSElements pAnnotationCS;
private final AnnotationElementCSElements pAnnotationElementCS;
private final AttributeCSElements pAttributeCS;
private final ClassCSElements pClassCS;
private final DataTypeCSElements pDataTypeCS;
private final DetailCSElements pDetailCS;
private final DocumentationCSElements pDocumentationCS;
private final EnumerationCSElements pEnumerationCS;
private final EnumerationLiteralCSElements pEnumerationLiteralCS;
private final ImportCSElements pImportCS;
private final LibraryCSElements pLibraryCS;
private final ModelElementCSElements pModelElementCS;
private final ModelElementRefCSElements pModelElementRefCS;
private final OperationCSElements pOperationCS;
private final PackageCSElements pPackageCS;
private final ParameterCSElements pParameterCS;
private final ReferenceCSElements pReferenceCS;
private final SpecificationCSElements pSpecificationCS;
private final StructuredClassCSElements pStructuredClassCS;
private final StructuralFeatureCSElements pStructuralFeatureCS;
private final SysMLCSElements pSysMLCS;
private final TypeIdentifierElements pTypeIdentifier;
private final TypedMultiplicityRefCSElements pTypedMultiplicityRefCS;
private final TemplateBindingCSElements pTemplateBindingCS;
private final TemplateSignatureCSElements pTemplateSignatureCS;
private final TypedRefCSElements pTypedRefCS;
private final UnrestrictedNameElements pUnrestrictedName;
private final Grammar grammar;
private final EssentialOCLGrammarAccess gaEssentialOCL;
@Inject
public OCLinEcoreGrammarAccess(GrammarProvider grammarProvider,
EssentialOCLGrammarAccess gaEssentialOCL) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaEssentialOCL = gaEssentialOCL;
this.pTopLevelCS = new TopLevelCSElements();
this.tUNQUOTED_STRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "UNQUOTED_STRING");
this.pINTEGER = new INTEGERElements();
this.pSIGNED = new SIGNEDElements();
this.pEnumerationLiteralName = new EnumerationLiteralNameElements();
this.pInvariantConstraintCS = new InvariantConstraintCSElements();
this.pPostconditionConstraintCS = new PostconditionConstraintCSElements();
this.pPreconditionConstraintCS = new PreconditionConstraintCSElements();
this.pAnnotationCS = new AnnotationCSElements();
this.pAnnotationElementCS = new AnnotationElementCSElements();
this.pAttributeCS = new AttributeCSElements();
this.pClassCS = new ClassCSElements();
this.pDataTypeCS = new DataTypeCSElements();
this.pDetailCS = new DetailCSElements();
this.pDocumentationCS = new DocumentationCSElements();
this.pEnumerationCS = new EnumerationCSElements();
this.pEnumerationLiteralCS = new EnumerationLiteralCSElements();
this.pImportCS = new ImportCSElements();
this.pLibraryCS = new LibraryCSElements();
this.pModelElementCS = new ModelElementCSElements();
this.pModelElementRefCS = new ModelElementRefCSElements();
this.pOperationCS = new OperationCSElements();
this.pPackageCS = new PackageCSElements();
this.pParameterCS = new ParameterCSElements();
this.pReferenceCS = new ReferenceCSElements();
this.pSpecificationCS = new SpecificationCSElements();
this.pStructuredClassCS = new StructuredClassCSElements();
this.pStructuralFeatureCS = new StructuralFeatureCSElements();
this.pSysMLCS = new SysMLCSElements();
this.pTypeIdentifier = new TypeIdentifierElements();
this.pTypedMultiplicityRefCS = new TypedMultiplicityRefCSElements();
this.pTemplateBindingCS = new TemplateBindingCSElements();
this.pTemplateSignatureCS = new TemplateSignatureCSElements();
this.pTypedRefCS = new TypedRefCSElements();
this.pUnrestrictedName = new UnrestrictedNameElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.eclipse.ocl.xtext.oclinecore.OCLinEcore".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
@Override
public Grammar getGrammar() {
return grammar;
}
public EssentialOCLGrammarAccess getEssentialOCLGrammarAccess() {
return gaEssentialOCL;
}
////generate oclinEcore2 "http://www.eclipse.org/ocl/examples/xtext/oclinecore/OCLinEcore"
// TopLevelCS:
// {TopLevelCS} ("module" UnrestrictedName)? ownedLibraries+=LibraryCS* ownedImports+=ImportCS*
// ownedPackages+=PackageCS*;
public TopLevelCSElements getTopLevelCSAccess() {
return pTopLevelCS;
}
public ParserRule getTopLevelCSRule() {
return getTopLevelCSAccess().getRule();
}
//// Never forward parsed; just provides a placeholder
// terminal UNQUOTED_STRING:
//// for reverse serialisation of embedded OCL
// "£$%^£$%^";
public TerminalRule getUNQUOTED_STRINGRule() {
return tUNQUOTED_STRING;
}
//INTEGER returns ecore::EInt:
// INT;
public INTEGERElements getINTEGERAccess() {
return pINTEGER;
}
public ParserRule getINTEGERRule() {
return getINTEGERAccess().getRule();
}
//SIGNED returns ecore::EInt:
// "-"? INT;
public SIGNEDElements getSIGNEDAccess() {
return pSIGNED;
}
public ParserRule getSIGNEDRule() {
return getSIGNEDAccess().getRule();
}
//EnumerationLiteralName returns ecore::EString:
// EssentialOCLUnrestrictedName | "abstract" | "attribute" | "body" | "callable" | "class" | "composes" | "datatype" |
// "definition" | "derivation" | "derived" | "enum" | "extends" | "id" | "import" | "initial" | "interface" | "key" |
// "library" | "module" | "operation" | "ordered" | "package" | "postcondition" | "precondition" | "primitive" |
// "property" | "readonly" | "reference" | "resolve" | "static" | "super" | "throws" | "transient" | "unique" |
// "unsettable" | "volatile";
public EnumerationLiteralNameElements getEnumerationLiteralNameAccess() {
return pEnumerationLiteralName;
}
public ParserRule getEnumerationLiteralNameRule() {
return getEnumerationLiteralNameAccess().getRule();
}
//InvariantConstraintCS returns OCLinEcoreConstraintCS:
// isCallable?="callable"? stereotype="invariant" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS
// ")")?)? (":" ownedSpecification=SpecificationCS? ";" | ";");
public InvariantConstraintCSElements getInvariantConstraintCSAccess() {
return pInvariantConstraintCS;
}
public ParserRule getInvariantConstraintCSRule() {
return getInvariantConstraintCSAccess().getRule();
}
//PostconditionConstraintCS returns OCLinEcoreConstraintCS:
// stereotype="postcondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
// ownedSpecification=SpecificationCS? ";";
public PostconditionConstraintCSElements getPostconditionConstraintCSAccess() {
return pPostconditionConstraintCS;
}
public ParserRule getPostconditionConstraintCSRule() {
return getPostconditionConstraintCSAccess().getRule();
}
//PreconditionConstraintCS returns OCLinEcoreConstraintCS:
// stereotype="precondition" (name=UnrestrictedName ("(" ownedMessageSpecification=SpecificationCS ")")?)? ":"
// ownedSpecification=SpecificationCS? ";";
public PreconditionConstraintCSElements getPreconditionConstraintCSAccess() {
return pPreconditionConstraintCS;
}
public ParserRule getPreconditionConstraintCSRule() {
return getPreconditionConstraintCSAccess().getRule();
}
//AnnotationCS returns base::AnnotationCS:
// {base::AnnotationCS} "annotation" name=(UnrestrictedName | SINGLE_QUOTED_STRING)? ("(" ownedDetails+=DetailCS (","
// ownedDetails+=DetailCS)* ")")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedContents+=ModelElementCS |
// ownedReferences+=ModelElementRefCS)+ "}" | ";");
public AnnotationCSElements getAnnotationCSAccess() {
return pAnnotationCS;
}
public ParserRule getAnnotationCSRule() {
return getAnnotationCSAccess().getRule();
}
//AnnotationElementCS returns base::AnnotationElementCS:
// AnnotationCS | DocumentationCS | SysMLCS;
public AnnotationElementCSElements getAnnotationElementCSAccess() {
return pAnnotationElementCS;
}
public ParserRule getAnnotationElementCSRule() {
return getAnnotationElementCSAccess().getRule();
}
//AttributeCS returns base::AttributeCS:
// (isStatic?="static"? & isDefinition?="definition"?) "attribute" name=UnrestrictedName (":"
// ownedType=TypedMultiplicityRefCS)? ("=" default=SINGLE_QUOTED_STRING)? ("{" ((isDerived?="derived" | "!derived")
// ","?)? & ((isId?="id" | "!id") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" |
// "!readonly") ","?)? & ((isTransient?="transient" | "!transient") ","?)? & ((isNotUnique?="!unique" | "unique") ","?)?
// & ((isUnsettable?="unsettable" | "!unsettable") ","?)? & ((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{"
// (ownedAnnotations+=AnnotationElementCS | "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS?
// ";" | "initial" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";");
public AttributeCSElements getAttributeCSAccess() {
return pAttributeCS;
}
public ParserRule getAttributeCSRule() {
return getAttributeCSAccess().getRule();
}
//ClassCS returns base::ClassCS:
// StructuredClassCS | DataTypeCS | EnumerationCS;
public ClassCSElements getClassCSAccess() {
return pClassCS;
}
public ParserRule getClassCSRule() {
return getClassCSAccess().getRule();
}
//DataTypeCS returns base::DataTypeCS:
// isPrimitive?="primitive"? "datatype" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":"
// instanceClassName=SINGLE_QUOTED_STRING)? ("{" (isSerializable?="serializable" | "!serializable")? "}")? ("{"
// (ownedAnnotations+=AnnotationElementCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
public DataTypeCSElements getDataTypeCSAccess() {
return pDataTypeCS;
}
public ParserRule getDataTypeCSRule() {
return getDataTypeCSAccess().getRule();
}
//DetailCS returns base::DetailCS:
// name=(UnrestrictedName | SINGLE_QUOTED_STRING) "=" values+=(SINGLE_QUOTED_STRING | ML_SINGLE_QUOTED_STRING)*;
public DetailCSElements getDetailCSAccess() {
return pDetailCS;
}
public ParserRule getDetailCSRule() {
return getDetailCSAccess().getRule();
}
//DocumentationCS returns base::DocumentationCS:
// {base::DocumentationCS} "documentation" value=SINGLE_QUOTED_STRING? ("(" ownedDetails+=DetailCS (","
// ownedDetails+=DetailCS)* ")")? ";";
public DocumentationCSElements getDocumentationCSAccess() {
return pDocumentationCS;
}
public ParserRule getDocumentationCSRule() {
return getDocumentationCSAccess().getRule();
}
//EnumerationCS returns base::EnumerationCS:
// "enum" name=UnrestrictedName ownedSignature=TemplateSignatureCS? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
// (isSerializable?="serializable" | "!serializable")? "}")? ("{" (ownedAnnotations+=AnnotationElementCS |
// ownedLiterals+=EnumerationLiteralCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
public EnumerationCSElements getEnumerationCSAccess() {
return pEnumerationCS;
}
public ParserRule getEnumerationCSRule() {
return getEnumerationCSAccess().getRule();
}
//EnumerationLiteralCS returns base::EnumerationLiteralCS:
// ("literal" name=UnrestrictedName | name=EnumerationLiteralName) ("=" value=SIGNED)? ("{"
// ownedAnnotations+=AnnotationElementCS* "}" | ";");
public EnumerationLiteralCSElements getEnumerationLiteralCSAccess() {
return pEnumerationLiteralCS;
}
public ParserRule getEnumerationLiteralCSRule() {
return getEnumerationLiteralCSAccess().getRule();
}
//ImportCS returns base::ImportCS:
// "import" (name=UnrestrictedName ":")? ownedPathName=URIPathNameCS isAll?="::*"? ";";
public ImportCSElements getImportCSAccess() {
return pImportCS;
}
public ParserRule getImportCSRule() {
return getImportCSAccess().getRule();
}
//LibraryCS returns base::LibraryCS:
// "library" (name=UnrestrictedName ":")? referredPackage=[pivot::Package|URI] ";";
public LibraryCSElements getLibraryCSAccess() {
return pLibraryCS;
}
public ParserRule getLibraryCSRule() {
return getLibraryCSAccess().getRule();
}
//ModelElementCS returns base::ModelElementCS:
// ClassCS | EnumerationLiteralCS | OperationCS | PackageCS | StructuralFeatureCS;
public ModelElementCSElements getModelElementCSAccess() {
return pModelElementCS;
}
public ParserRule getModelElementCSRule() {
return getModelElementCSAccess().getRule();
}
//ModelElementRefCS returns base::ModelElementRefCS:
// "reference" ownedPathName=PathNameCS ";";
public ModelElementRefCSElements getModelElementRefCSAccess() {
return pModelElementRefCS;
}
public ParserRule getModelElementRefCSRule() {
return getModelElementRefCSAccess().getRule();
}
//OperationCS returns base::OperationCS:
// (isStatic?="static"? & isDefinition?="definition"?) "operation" ownedSignature=TemplateSignatureCS?
// name=UnrestrictedName "(" (ownedParameters+=ParameterCS ("," ownedParameters+=ParameterCS)*)? ")" (":"
// ownedType=TypedMultiplicityRefCS)? ("throws" ownedExceptions+=TypedRefCS ("," ownedExceptions+=TypedRefCS)*)? ("{"
// ((isDerived?="derived" | "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isNotUnique?="!unique"
// | "unique") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedPreconditions+=PreconditionConstraintCS |
// "body" UnrestrictedName? ":" ownedBodyExpressions+=SpecificationCS? ";" |
// ownedPostconditions+=PostconditionConstraintCS)* "}" | ";");
public OperationCSElements getOperationCSAccess() {
return pOperationCS;
}
public ParserRule getOperationCSRule() {
return getOperationCSAccess().getRule();
}
//PackageCS returns base::PackageCS:
// "package" name=UnrestrictedName (":" nsPrefix=UnrestrictedName)? ("=" nsURI=URI)? ("{"
// (ownedAnnotations+=AnnotationElementCS | ownedPackages+=PackageCS | ownedClasses+=ClassCS)* "}" | ";");
public PackageCSElements getPackageCSAccess() {
return pPackageCS;
}
public ParserRule getPackageCSRule() {
return getPackageCSAccess().getRule();
}
//ParameterCS returns base::ParameterCS:
// name=UnrestrictedName (":" ownedType=TypedMultiplicityRefCS)? ("{" ((isOrdered?="ordered" | "!ordered") ","?)? &
// ((isNotUnique?="!unique" | "unique") ","?)? "}")? ("{" ownedAnnotations+=AnnotationElementCS* "}")?;
public ParameterCSElements getParameterCSAccess() {
return pParameterCS;
}
public ParserRule getParameterCSRule() {
return getParameterCSAccess().getRule();
}
//ReferenceCS returns base::ReferenceCS:
// (isStatic?="static"? & isDefinition?="definition"?) "property" name=UnrestrictedName ("#"
// referredOpposite=[pivot::Property|UnrestrictedName])? (":" ownedType=TypedMultiplicityRefCS)? ("="
// default=SINGLE_QUOTED_STRING)? ("{" ((isComposes?="composes" | "!composes") ","?)? & ((isDerived?="derived" |
// "!derived") ","?)? & ((isOrdered?="ordered" | "!ordered") ","?)? & ((isReadonly?="readonly" | "!readonly") ","?)? &
// ((isResolve?="resolve" | "!resolve") ","?)? & ((isTransient?="transient" | "!transient") ","?)? &
// ((isNotUnique?="!unique" | "unique") ","?)? & ((isUnsettable?="unsettable" | "!unsettable") ","?)? &
// ((isVolatile?="volatile" | "!volatile") ","?)? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | "key"
// referredKeys+=[pivot::Property|UnrestrictedName] ("," referredKeys+=[pivot::Property|UnrestrictedName])* ";" |
// "derivation" UnrestrictedName? ":" ownedDefaultExpressions+=SpecificationCS? ";" | "initial" UnrestrictedName? ":"
// ownedDefaultExpressions+=SpecificationCS? ";")* "}" | ";");
public ReferenceCSElements getReferenceCSAccess() {
return pReferenceCS;
}
public ParserRule getReferenceCSRule() {
return getReferenceCSAccess().getRule();
}
//SpecificationCS returns essentialocl::ExpSpecificationCS:
// ownedExpression=ExpCS | exprString=UNQUOTED_STRING;
public SpecificationCSElements getSpecificationCSAccess() {
return pSpecificationCS;
}
public ParserRule getSpecificationCSRule() {
return getSpecificationCSAccess().getRule();
}
//StructuredClassCS returns base::StructuredClassCS:
// isAbstract?="abstract"? "class" name=UnrestrictedName ownedSignature=TemplateSignatureCS? ("extends"
// ownedSuperTypes+=TypedRefCS ("," ownedSuperTypes+=TypedRefCS)*)? (":" instanceClassName=SINGLE_QUOTED_STRING)? ("{"
// isInterface?="interface"? "}")? ("{" (ownedAnnotations+=AnnotationElementCS | ownedOperations+=OperationCS |
// ownedProperties+=StructuralFeatureCS | ownedConstraints+=InvariantConstraintCS)* "}" | ";");
public StructuredClassCSElements getStructuredClassCSAccess() {
return pStructuredClassCS;
}
public ParserRule getStructuredClassCSRule() {
return getStructuredClassCSAccess().getRule();
}
//StructuralFeatureCS returns base::StructuralFeatureCS:
// AttributeCS | ReferenceCS;
public StructuralFeatureCSElements getStructuralFeatureCSAccess() {
return pStructuralFeatureCS;
}
public ParserRule getStructuralFeatureCSRule() {
return getStructuralFeatureCSAccess().getRule();
}
//SysMLCS:
// {SysMLCS} "sysml" (ownedDetails+=DetailCS ";" | "{" (ownedDetails+=DetailCS ";")* "}");
public SysMLCSElements getSysMLCSAccess() {
return pSysMLCS;
}
public ParserRule getSysMLCSRule() {
return getSysMLCSAccess().getRule();
}
//TypeIdentifier:
// UnrestrictedName | PrimitiveTypeIdentifier;
public TypeIdentifierElements getTypeIdentifierAccess() {
return pTypeIdentifier;
}
public ParserRule getTypeIdentifierRule() {
return getTypeIdentifierAccess().getRule();
}
//TypedMultiplicityRefCS returns base::TypedRefCS:
// TypedRefCS ownedMultiplicity=MultiplicityCS?;
public TypedMultiplicityRefCSElements getTypedMultiplicityRefCSAccess() {
return pTypedMultiplicityRefCS;
}
public ParserRule getTypedMultiplicityRefCSRule() {
return getTypedMultiplicityRefCSAccess().getRule();
}
////---------------------------------------------------------------------------------
// // Base overrides
//
////---------------------------------------------------------------------------------
// TemplateBindingCS returns
//base::TemplateBindingCS:
// "(" ownedSubstitutions+=TemplateParameterSubstitutionCS ("," ownedSubstitutions+=TemplateParameterSubstitutionCS)*
// ")" | "<" ownedSubstitutions+=TemplateParameterSubstitutionCS (","
// ownedSubstitutions+=TemplateParameterSubstitutionCS)* ">";
public TemplateBindingCSElements getTemplateBindingCSAccess() {
return pTemplateBindingCS;
}
public ParserRule getTemplateBindingCSRule() {
return getTemplateBindingCSAccess().getRule();
}
//TemplateSignatureCS returns base::TemplateSignatureCS:
// "(" ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ")" | "<"
// ownedParameters+=TypeParameterCS ("," ownedParameters+=TypeParameterCS)* ">";
public TemplateSignatureCSElements getTemplateSignatureCSAccess() {
return pTemplateSignatureCS;
}
public ParserRule getTemplateSignatureCSRule() {
return getTemplateSignatureCSAccess().getRule();
}
//TypedRefCS returns base::TypedRefCS:
// TypeLiteralCS | TypedTypeRefCS;
public TypedRefCSElements getTypedRefCSAccess() {
return pTypedRefCS;
}
public ParserRule getTypedRefCSRule() {
return getTypedRefCSAccess().getRule();
}
//UnrestrictedName returns ecore::EString:
// EnumerationLiteralName | "annotation" | "documentation" | "invariant" | "literal" | "serializable" | "sysml";
public UnrestrictedNameElements getUnrestrictedNameAccess() {
return pUnrestrictedName;
}
public ParserRule getUnrestrictedNameRule() {
return getUnrestrictedNameAccess().getRule();
}
////generate essentialOCLCST "http://www.eclipse.org/ocl/3.0.0/EssentialOCLCST"
// Model returns ContextCS:
// ownedExpression=ExpCS;
public EssentialOCLGrammarAccess.ModelElements getModelAccess() {
return gaEssentialOCL.getModelAccess();
}
public ParserRule getModelRule() {
return getModelAccess().getRule();
}
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLReservedKeyword:
// "and" | "else" | "endif" | "if" | "implies" | "in" | "let" | "not" | "or" | "then" | "xor";
public EssentialOCLGrammarAccess.EssentialOCLReservedKeywordElements getEssentialOCLReservedKeywordAccess() {
return gaEssentialOCL.getEssentialOCLReservedKeywordAccess();
}
public ParserRule getEssentialOCLReservedKeywordRule() {
return getEssentialOCLReservedKeywordAccess().getRule();
}
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLUnaryOperatorName:
// "-" | "not";
public EssentialOCLGrammarAccess.EssentialOCLUnaryOperatorNameElements getEssentialOCLUnaryOperatorNameAccess() {
return gaEssentialOCL.getEssentialOCLUnaryOperatorNameAccess();
}
public ParserRule getEssentialOCLUnaryOperatorNameRule() {
return getEssentialOCLUnaryOperatorNameAccess().getRule();
}
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLInfixOperatorName:
// "*" | "/" | "+" | "-" | ">" | "<" | ">=" | "<=" | "=" | "<>" | "and" | "or" | "xor" | "implies";
public EssentialOCLGrammarAccess.EssentialOCLInfixOperatorNameElements getEssentialOCLInfixOperatorNameAccess() {
return gaEssentialOCL.getEssentialOCLInfixOperatorNameAccess();
}
public ParserRule getEssentialOCLInfixOperatorNameRule() {
return getEssentialOCLInfixOperatorNameAccess().getRule();
}
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLNavigationOperatorName:
// "." | "->" | "?." | "?->";
public EssentialOCLGrammarAccess.EssentialOCLNavigationOperatorNameElements getEssentialOCLNavigationOperatorNameAccess() {
return gaEssentialOCL.getEssentialOCLNavigationOperatorNameAccess();
}
public ParserRule getEssentialOCLNavigationOperatorNameRule() {
return getEssentialOCLNavigationOperatorNameAccess().getRule();
}
//BinaryOperatorName:
// InfixOperatorName | NavigationOperatorName;
public EssentialOCLGrammarAccess.BinaryOperatorNameElements getBinaryOperatorNameAccess() {
return gaEssentialOCL.getBinaryOperatorNameAccess();
}
public ParserRule getBinaryOperatorNameRule() {
return getBinaryOperatorNameAccess().getRule();
}
//// Intended to be overrideable
// InfixOperatorName:
// EssentialOCLInfixOperatorName;
public EssentialOCLGrammarAccess.InfixOperatorNameElements getInfixOperatorNameAccess() {
return gaEssentialOCL.getInfixOperatorNameAccess();
}
public ParserRule getInfixOperatorNameRule() {
return getInfixOperatorNameAccess().getRule();
}
//// Intended to be overrideable
// NavigationOperatorName:
// EssentialOCLNavigationOperatorName;
public EssentialOCLGrammarAccess.NavigationOperatorNameElements getNavigationOperatorNameAccess() {
return gaEssentialOCL.getNavigationOperatorNameAccess();
}
public ParserRule getNavigationOperatorNameRule() {
return getNavigationOperatorNameAccess().getRule();
}
//// Intended to be overrideable
// UnaryOperatorName:
// EssentialOCLUnaryOperatorName;
public EssentialOCLGrammarAccess.UnaryOperatorNameElements getUnaryOperatorNameAccess() {
return gaEssentialOCL.getUnaryOperatorNameAccess();
}
public ParserRule getUnaryOperatorNameRule() {
return getUnaryOperatorNameAccess().getRule();
}
////---------------------------------------------------------------------
// // Names
//
////---------------------------------------------------------------------
//
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLUnrestrictedName returns ecore::EString:
// Identifier;
public EssentialOCLGrammarAccess.EssentialOCLUnrestrictedNameElements getEssentialOCLUnrestrictedNameAccess() {
return gaEssentialOCL.getEssentialOCLUnrestrictedNameAccess();
}
public ParserRule getEssentialOCLUnrestrictedNameRule() {
return getEssentialOCLUnrestrictedNameAccess().getRule();
}
/// ** <<<This is a join point for derived grammars - replace with a more disciplined grammar extensibility>>> * /
//EssentialOCLUnreservedName returns ecore::EString:
// UnrestrictedName | CollectionTypeIdentifier | PrimitiveTypeIdentifier | "Tuple";
public EssentialOCLGrammarAccess.EssentialOCLUnreservedNameElements getEssentialOCLUnreservedNameAccess() {
return gaEssentialOCL.getEssentialOCLUnreservedNameAccess();
}
public ParserRule getEssentialOCLUnreservedNameRule() {
return getEssentialOCLUnreservedNameAccess().getRule();
}
//// Intended to be overridden
// UnreservedName returns ecore::EString:
// EssentialOCLUnreservedName;
public EssentialOCLGrammarAccess.UnreservedNameElements getUnreservedNameAccess() {
return gaEssentialOCL.getUnreservedNameAccess();
}
public ParserRule getUnreservedNameRule() {
return getUnreservedNameAccess().getRule();
}
//URIPathNameCS returns base::PathNameCS:
// ownedPathElements+=URIFirstPathElementCS ("::" ownedPathElements+=NextPathElementCS)*;
public EssentialOCLGrammarAccess.URIPathNameCSElements getURIPathNameCSAccess() {
return gaEssentialOCL.getURIPathNameCSAccess();
}
public ParserRule getURIPathNameCSRule() {
return getURIPathNameCSAccess().getRule();
}
//URIFirstPathElementCS returns base::PathElementCS:
// referredElement=[pivot::NamedElement|UnrestrictedName] | {base::PathElementWithURICS}
// referredElement=[pivot::Namespace|URI];
public EssentialOCLGrammarAccess.URIFirstPathElementCSElements getURIFirstPathElementCSAccess() {
return gaEssentialOCL.getURIFirstPathElementCSAccess();
}
public ParserRule getURIFirstPathElementCSRule() {
return getURIFirstPathElementCSAccess().getRule();
}
////---------------------------------------------------------------------
// // Types
//
////---------------------------------------------------------------------
// PrimitiveTypeIdentifier:
// "Boolean" | "Integer" | "Real" | "String" | "UnlimitedNatural" | "OclAny" | "OclInvalid" | "OclVoid";
public EssentialOCLGrammarAccess.PrimitiveTypeIdentifierElements getPrimitiveTypeIdentifierAccess() {
return gaEssentialOCL.getPrimitiveTypeIdentifierAccess();
}
public ParserRule getPrimitiveTypeIdentifierRule() {
return getPrimitiveTypeIdentifierAccess().getRule();
}
//PrimitiveTypeCS returns base::PrimitiveTypeRefCS:
// name=PrimitiveTypeIdentifier;
public EssentialOCLGrammarAccess.PrimitiveTypeCSElements getPrimitiveTypeCSAccess() {
return gaEssentialOCL.getPrimitiveTypeCSAccess();
}
public ParserRule getPrimitiveTypeCSRule() {
return getPrimitiveTypeCSAccess().getRule();
}
//CollectionTypeIdentifier returns ecore::EString:
// "Set" | "Bag" | "Sequence" | "Collection" | "OrderedSet";
public EssentialOCLGrammarAccess.CollectionTypeIdentifierElements getCollectionTypeIdentifierAccess() {
return gaEssentialOCL.getCollectionTypeIdentifierAccess();
}
public ParserRule getCollectionTypeIdentifierRule() {
return getCollectionTypeIdentifierAccess().getRule();
}
//CollectionTypeCS:
// name=CollectionTypeIdentifier ("(" ownedType=TypeExpCS ")")?;
public EssentialOCLGrammarAccess.CollectionTypeCSElements getCollectionTypeCSAccess() {
return gaEssentialOCL.getCollectionTypeCSAccess();
}
public ParserRule getCollectionTypeCSRule() {
return getCollectionTypeCSAccess().getRule();
}
//TupleTypeCS returns base::TupleTypeCS:
// name="Tuple" ("(" (ownedParts+=TuplePartCS ("," ownedParts+=TuplePartCS)*)? ")")?;
public EssentialOCLGrammarAccess.TupleTypeCSElements getTupleTypeCSAccess() {
return gaEssentialOCL.getTupleTypeCSAccess();
}
public ParserRule getTupleTypeCSRule() {
return getTupleTypeCSAccess().getRule();
}
//TuplePartCS returns base::TuplePartCS:
// name=UnrestrictedName ":" ownedType=TypeExpCS;
public EssentialOCLGrammarAccess.TuplePartCSElements getTuplePartCSAccess() {
return gaEssentialOCL.getTuplePartCSAccess();
}
public ParserRule getTuplePartCSRule() {
return getTuplePartCSAccess().getRule();
}
////---------------------------------------------------------------------
// // Literals
//
////---------------------------------------------------------------------
// CollectionLiteralExpCS:
// ownedType=CollectionTypeCS "{" (ownedParts+=CollectionLiteralPartCS ("," ownedParts+=CollectionLiteralPartCS)*)? "}";
public EssentialOCLGrammarAccess.CollectionLiteralExpCSElements getCollectionLiteralExpCSAccess() {
return gaEssentialOCL.getCollectionLiteralExpCSAccess();
}
public ParserRule getCollectionLiteralExpCSRule() {
return getCollectionLiteralExpCSAccess().getRule();
}
//CollectionLiteralPartCS:
// ownedExpression=ExpCS (".." ownedLastExpression=ExpCS)? | ownedExpression=PatternExpCS;
public EssentialOCLGrammarAccess.CollectionLiteralPartCSElements getCollectionLiteralPartCSAccess() {
return gaEssentialOCL.getCollectionLiteralPartCSAccess();
}
public ParserRule getCollectionLiteralPartCSRule() {
return getCollectionLiteralPartCSAccess().getRule();
}
//CollectionPatternCS:
// ownedType=CollectionTypeCS "{" (ownedParts+=PatternExpCS ("," ownedParts+=PatternExpCS)* ("++"
// restVariableName=Identifier))? "}";
public EssentialOCLGrammarAccess.CollectionPatternCSElements getCollectionPatternCSAccess() {
return gaEssentialOCL.getCollectionPatternCSAccess();
}
public ParserRule getCollectionPatternCSRule() {
return getCollectionPatternCSAccess().getRule();
}
//// PatternPartCS
// ConstructorPartCS:
// referredProperty=[pivot::Property|UnrestrictedName] "=" ownedInitExpression=(ExpCS | PatternExpCS);
public EssentialOCLGrammarAccess.ConstructorPartCSElements getConstructorPartCSAccess() {
return gaEssentialOCL.getConstructorPartCSAccess();
}
public ParserRule getConstructorPartCSRule() {
return getConstructorPartCSAccess().getRule();
}
//PatternExpCS:
// patternVariableName=UnrestrictedName? ":" ownedPatternType=TypeExpCS;
public EssentialOCLGrammarAccess.PatternExpCSElements getPatternExpCSAccess() {
return gaEssentialOCL.getPatternExpCSAccess();
}
public ParserRule getPatternExpCSRule() {
return getPatternExpCSAccess().getRule();
}
//LambdaLiteralExpCS:
// "Lambda" "{" ownedExpressionCS=ExpCS "}";
public EssentialOCLGrammarAccess.LambdaLiteralExpCSElements getLambdaLiteralExpCSAccess() {
return gaEssentialOCL.getLambdaLiteralExpCSAccess();
}
public ParserRule getLambdaLiteralExpCSRule() {
return getLambdaLiteralExpCSAccess().getRule();
}
//PrimitiveLiteralExpCS:
// NumberLiteralExpCS | StringLiteralExpCS | BooleanLiteralExpCS | UnlimitedNaturalLiteralExpCS | InvalidLiteralExpCS |
// NullLiteralExpCS;
public EssentialOCLGrammarAccess.PrimitiveLiteralExpCSElements getPrimitiveLiteralExpCSAccess() {
return gaEssentialOCL.getPrimitiveLiteralExpCSAccess();
}
public ParserRule getPrimitiveLiteralExpCSRule() {
return getPrimitiveLiteralExpCSAccess().getRule();
}
//TupleLiteralExpCS:
// "Tuple" "{" ownedParts+=TupleLiteralPartCS ("," ownedParts+=TupleLiteralPartCS)* "}";
public EssentialOCLGrammarAccess.TupleLiteralExpCSElements getTupleLiteralExpCSAccess() {
return gaEssentialOCL.getTupleLiteralExpCSAccess();
}
public ParserRule getTupleLiteralExpCSRule() {
return getTupleLiteralExpCSAccess().getRule();
}
//TupleLiteralPartCS:
// name=UnrestrictedName (":" ownedType=TypeExpCS)? "=" ownedInitExpression=ExpCS;
public EssentialOCLGrammarAccess.TupleLiteralPartCSElements getTupleLiteralPartCSAccess() {
return gaEssentialOCL.getTupleLiteralPartCSAccess();
}
public ParserRule getTupleLiteralPartCSRule() {
return getTupleLiteralPartCSAccess().getRule();
}
//NumberLiteralExpCS:
// symbol=NUMBER_LITERAL;
public EssentialOCLGrammarAccess.NumberLiteralExpCSElements getNumberLiteralExpCSAccess() {
return gaEssentialOCL.getNumberLiteralExpCSAccess();
}
public ParserRule getNumberLiteralExpCSRule() {
return getNumberLiteralExpCSAccess().getRule();
}
//StringLiteralExpCS:
// segments+=StringLiteral+;
public EssentialOCLGrammarAccess.StringLiteralExpCSElements getStringLiteralExpCSAccess() {
return gaEssentialOCL.getStringLiteralExpCSAccess();
}
public ParserRule getStringLiteralExpCSRule() {
return getStringLiteralExpCSAccess().getRule();
}
//BooleanLiteralExpCS:
// symbol="true" | symbol="false";
public EssentialOCLGrammarAccess.BooleanLiteralExpCSElements getBooleanLiteralExpCSAccess() {
return gaEssentialOCL.getBooleanLiteralExpCSAccess();
}
public ParserRule getBooleanLiteralExpCSRule() {
return getBooleanLiteralExpCSAccess().getRule();
}
//UnlimitedNaturalLiteralExpCS:
// {UnlimitedNaturalLiteralExpCS} "*";
public EssentialOCLGrammarAccess.UnlimitedNaturalLiteralExpCSElements getUnlimitedNaturalLiteralExpCSAccess() {
return gaEssentialOCL.getUnlimitedNaturalLiteralExpCSAccess();
}
public ParserRule getUnlimitedNaturalLiteralExpCSRule() {
return getUnlimitedNaturalLiteralExpCSAccess().getRule();
}
//InvalidLiteralExpCS:
// {InvalidLiteralExpCS} "invalid";
public EssentialOCLGrammarAccess.InvalidLiteralExpCSElements getInvalidLiteralExpCSAccess() {
return gaEssentialOCL.getInvalidLiteralExpCSAccess();
}
public ParserRule getInvalidLiteralExpCSRule() {
return getInvalidLiteralExpCSAccess().getRule();
}
//NullLiteralExpCS:
// {NullLiteralExpCS} "null";
public EssentialOCLGrammarAccess.NullLiteralExpCSElements getNullLiteralExpCSAccess() {
return gaEssentialOCL.getNullLiteralExpCSAccess();
}
public ParserRule getNullLiteralExpCSRule() {
return getNullLiteralExpCSAccess().getRule();
}
//TypeLiteralCS returns base::TypedRefCS:
// PrimitiveTypeCS | CollectionTypeCS | TupleTypeCS;
public EssentialOCLGrammarAccess.TypeLiteralCSElements getTypeLiteralCSAccess() {
return gaEssentialOCL.getTypeLiteralCSAccess();
}
public ParserRule getTypeLiteralCSRule() {
return getTypeLiteralCSAccess().getRule();
}
//TypeLiteralWithMultiplicityCS returns base::TypedRefCS:
// TypeLiteralCS ownedMultiplicity=MultiplicityCS?;
public EssentialOCLGrammarAccess.TypeLiteralWithMultiplicityCSElements getTypeLiteralWithMultiplicityCSAccess() {
return gaEssentialOCL.getTypeLiteralWithMultiplicityCSAccess();
}
public ParserRule getTypeLiteralWithMultiplicityCSRule() {
return getTypeLiteralWithMultiplicityCSAccess().getRule();
}
//TypeLiteralExpCS:
// ownedType=TypeLiteralWithMultiplicityCS;
public EssentialOCLGrammarAccess.TypeLiteralExpCSElements getTypeLiteralExpCSAccess() {
return gaEssentialOCL.getTypeLiteralExpCSAccess();
}
public ParserRule getTypeLiteralExpCSRule() {
return getTypeLiteralExpCSAccess().getRule();
}
//TypeNameExpCS:
// ownedPathName=PathNameCS (ownedCurlyBracketedClause=CurlyBracketedClauseCS ("{" ownedPatternGuard=ExpCS "}")?)?;
public EssentialOCLGrammarAccess.TypeNameExpCSElements getTypeNameExpCSAccess() {
return gaEssentialOCL.getTypeNameExpCSAccess();
}
public ParserRule getTypeNameExpCSRule() {
return getTypeNameExpCSAccess().getRule();
}
//TypeExpCS returns base::TypedRefCS:
// (TypeNameExpCS | TypeLiteralCS | CollectionPatternCS) ownedMultiplicity=MultiplicityCS?;
public EssentialOCLGrammarAccess.TypeExpCSElements getTypeExpCSAccess() {
return gaEssentialOCL.getTypeExpCSAccess();
}
public ParserRule getTypeExpCSRule() {
return getTypeExpCSAccess().getRule();
}
////---------------------------------------------------------------------
// // Expressions
//
////---------------------------------------------------------------------
//
//// An ExpCS permits a LetExpCS only in the final term to ensure
//
//// that let is right associative, whereas infix operators are left associative.
//
//// a = 64 / 16 / let b : Integer in 8 / let c : Integer in 4
// // is
//
//// a = (64 / 16) / (let b : Integer in 8 / (let c : Integer in 4 ))
//
/// * An expression elaborates a prefixed expression with zero or more binary operator and expression suffixes.
// * An optionally prefixed let expression is permitted except when suffixed with further expressions.* /
//ExpCS:
// PrefixedPrimaryExpCS ({InfixExpCS.ownedLeft=current} name=BinaryOperatorName ownedRight=ExpCS)?
// // ({InfixExpCS} ownedSource=PrefixedExpCS name=BinaryOperatorName ownedArgument=ExpCS)
// //| PrefixedExpCS
//
// // the above takes exponential or worse time for backtracking, below is fast
// | PrefixedLetExpCS;
public EssentialOCLGrammarAccess.ExpCSElements getExpCSAccess() {
return gaEssentialOCL.getExpCSAccess();
}
public ParserRule getExpCSRule() {
return getExpCSAccess().getRule();
}
/// * A prefixed let expression elaborates a let expression with zero or more unary prefix operators. * / PrefixedLetExpCS
//returns ExpCS:
// {PrefixExpCS} name=UnaryOperatorName ownedRight=PrefixedLetExpCS | LetExpCS;
public EssentialOCLGrammarAccess.PrefixedLetExpCSElements getPrefixedLetExpCSAccess() {
return gaEssentialOCL.getPrefixedLetExpCSAccess();
}
public ParserRule getPrefixedLetExpCSRule() {
return getPrefixedLetExpCSAccess().getRule();
}
/// * A prefixed primary expression elaborates a primary expression with zero or more unary prefix operators. * /
//PrefixedPrimaryExpCS returns ExpCS:
// {PrefixExpCS} name=UnaryOperatorName ownedRight=PrefixedPrimaryExpCS | PrimaryExpCS;
public EssentialOCLGrammarAccess.PrefixedPrimaryExpCSElements getPrefixedPrimaryExpCSAccess() {
return gaEssentialOCL.getPrefixedPrimaryExpCSAccess();
}
public ParserRule getPrefixedPrimaryExpCSRule() {
return getPrefixedPrimaryExpCSAccess().getRule();
}
/// * A primary expression identifies the basic expressions from which more complex expressions may be constructed. * /
//PrimaryExpCS returns ExpCS:
// NestedExpCS | IfExpCS | SelfExpCS | PrimitiveLiteralExpCS | TupleLiteralExpCS | CollectionLiteralExpCS |
// LambdaLiteralExpCS | TypeLiteralExpCS | NameExpCS;
public EssentialOCLGrammarAccess.PrimaryExpCSElements getPrimaryExpCSAccess() {
return gaEssentialOCL.getPrimaryExpCSAccess();
}
public ParserRule getPrimaryExpCSRule() {
return getPrimaryExpCSAccess().getRule();
}
/// * A name expression is a generalised rule for expressions that start with a name and which may be followed by square, round or
// * curly bracket clauses and optionally an @pre as well.* /
//NameExpCS:
// ownedPathName=PathNameCS ownedSquareBracketedClauses+=SquareBracketedClauseCS*
// ownedRoundBracketedClause=RoundBracketedClauseCS? ownedCurlyBracketedClause=CurlyBracketedClauseCS? (isPre?="@"
// "pre")?;
public EssentialOCLGrammarAccess.NameExpCSElements getNameExpCSAccess() {
return gaEssentialOCL.getNameExpCSAccess();
}
public ParserRule getNameExpCSRule() {
return getNameExpCSAccess().getRule();
}
/// * A curly bracket clause is a generalized rule for the literal arguments of collections, maps, tuples and type constructors.* /
//CurlyBracketedClauseCS:
// {CurlyBracketedClauseCS} "{" ((ownedParts+=ConstructorPartCS ("," ownedParts+=ConstructorPartCS)*)? |
// value=StringLiteral) "}";
public EssentialOCLGrammarAccess.CurlyBracketedClauseCSElements getCurlyBracketedClauseCSAccess() {
return gaEssentialOCL.getCurlyBracketedClauseCSAccess();
}
public ParserRule getCurlyBracketedClauseCSRule() {
return getCurlyBracketedClauseCSAccess().getRule();
}
/// * A curly bracket clause is a generalized rule for template specialisations and operations arguments.* /
//RoundBracketedClauseCS:
// {RoundBracketedClauseCS} "(" (ownedArguments+=NavigatingArgCS ownedArguments+=NavigatingCommaArgCS*
// (ownedArguments+=NavigatingSemiArgCS ownedArguments+=NavigatingCommaArgCS*)? (ownedArguments+=NavigatingBarArgCS
// ownedArguments+=NavigatingCommaArgCS*)*)? ")";
public EssentialOCLGrammarAccess.RoundBracketedClauseCSElements getRoundBracketedClauseCSAccess() {
return gaEssentialOCL.getRoundBracketedClauseCSAccess();
}
public ParserRule getRoundBracketedClauseCSRule() {
return getRoundBracketedClauseCSAccess().getRule();
}
/// * A square bracket clause is a generalized rule for association class qualifiers and roles.* / SquareBracketedClauseCS:
// "[" ownedTerms+=ExpCS ("," ownedTerms+=ExpCS)* "]";
public EssentialOCLGrammarAccess.SquareBracketedClauseCSElements getSquareBracketedClauseCSAccess() {
return gaEssentialOCL.getSquareBracketedClauseCSAccess();
}
public ParserRule getSquareBracketedClauseCSRule() {
return getSquareBracketedClauseCSAccess().getRule();
}
/// * A navigating argument is a generalized rule for the first argument in a round bracket clause. This is typically the first operation
// * parameter or an iterator. * /
//// Type-less init is an illegal infix expression
// NavigatingArgCS:
// ownedNameExpression=NavigatingArgExpCS (":" ownedType=TypeExpCS ("=" ownedInitExpression=ExpCS)? | "in"
// ownedInitExpression=ExpCS)? | ":" ownedType=TypeExpCS;
public EssentialOCLGrammarAccess.NavigatingArgCSElements getNavigatingArgCSAccess() {
return gaEssentialOCL.getNavigatingArgCSAccess();
}
public ParserRule getNavigatingArgCSRule() {
return getNavigatingArgCSAccess().getRule();
}
/// * A navigating bar argument is a generalized rule for a bar-prefixed argument in a round bracket clause. This is typically the body of an iteration. * /
//// Type-less init is an illegal infix expression
// NavigatingBarArgCS returns NavigatingArgCS:
// prefix="|" ownedNameExpression=NavigatingArgExpCS (":" ownedType=TypeExpCS ("=" ownedInitExpression=ExpCS)?)?;
public EssentialOCLGrammarAccess.NavigatingBarArgCSElements getNavigatingBarArgCSAccess() {
return gaEssentialOCL.getNavigatingBarArgCSAccess();
}
public ParserRule getNavigatingBarArgCSRule() {
return getNavigatingBarArgCSAccess().getRule();
}
/// * A navigating comma argument is a generalized rule for non-first argument in a round bracket clause. These are typically non-first operation
// * parameters or a second iterator. * /
//// Type-less init is an illegal infix expression
// NavigatingCommaArgCS returns NavigatingArgCS:
// prefix="," ownedNameExpression=NavigatingArgExpCS (":" ownedType=TypeExpCS ("=" ownedInitExpression=ExpCS)? | "in"
// ownedInitExpression=ExpCS)?;
public EssentialOCLGrammarAccess.NavigatingCommaArgCSElements getNavigatingCommaArgCSAccess() {
return gaEssentialOCL.getNavigatingCommaArgCSAccess();
}
public ParserRule getNavigatingCommaArgCSRule() {
return getNavigatingCommaArgCSAccess().getRule();
}
/// * A navigating semi argument is a generalized rule for a semicolon prefixed argument in a round bracket clause. This is typically an iterate accumulator. * /
//// Type-less init is an illegal infix expression
// NavigatingSemiArgCS returns NavigatingArgCS:
// prefix=";" ownedNameExpression=NavigatingArgExpCS (":" ownedType=TypeExpCS ("=" ownedInitExpression=ExpCS)?)?;
public EssentialOCLGrammarAccess.NavigatingSemiArgCSElements getNavigatingSemiArgCSAccess() {
return gaEssentialOCL.getNavigatingSemiArgCSAccess();
}
public ParserRule getNavigatingSemiArgCSRule() {
return getNavigatingSemiArgCSAccess().getRule();
}
//// Intended to be overridden
// // '?' -- defined by Complete OCL
// NavigatingArgExpCS returns ExpCS:
// ExpCS;
public EssentialOCLGrammarAccess.NavigatingArgExpCSElements getNavigatingArgExpCSAccess() {
return gaEssentialOCL.getNavigatingArgExpCSAccess();
}
public ParserRule getNavigatingArgExpCSRule() {
return getNavigatingArgExpCSAccess().getRule();
}
//IfExpCS:
// "if" ownedCondition=(ExpCS | PatternExpCS) "then" ownedThenExpression=ExpCS // ifThenExpressions+=IfThenExpCS
//
// ownedIfThenExpressions+=ElseIfThenExpCS* "else" ownedElseExpression=ExpCS "endif";
public EssentialOCLGrammarAccess.IfExpCSElements getIfExpCSAccess() {
return gaEssentialOCL.getIfExpCSAccess();
}
public ParserRule getIfExpCSRule() {
return getIfExpCSAccess().getRule();
}
////IfThenExpCS returns IfThenExpCS:
// // 'if' condition=ExpCS
// // 'then' thenExpression=ExpCS
// //;
// ElseIfThenExpCS
//returns IfThenExpCS:
// "elseif" ownedCondition=ExpCS "then" ownedThenExpression=ExpCS;
public EssentialOCLGrammarAccess.ElseIfThenExpCSElements getElseIfThenExpCSAccess() {
return gaEssentialOCL.getElseIfThenExpCSAccess();
}
public ParserRule getElseIfThenExpCSRule() {
return getElseIfThenExpCSAccess().getRule();
}
//LetExpCS:
// "let" ownedVariables+=LetVariableCS ("," ownedVariables+=LetVariableCS)* "in" ownedInExpression=ExpCS;
public EssentialOCLGrammarAccess.LetExpCSElements getLetExpCSAccess() {
return gaEssentialOCL.getLetExpCSAccess();
}
public ParserRule getLetExpCSRule() {
return getLetExpCSAccess().getRule();
}
//LetVariableCS:
// name=UnrestrictedName ownedRoundBracketedClause=RoundBracketedClauseCS? (":" ownedType=TypeExpCS)? "="
// ownedInitExpression=ExpCS;
public EssentialOCLGrammarAccess.LetVariableCSElements getLetVariableCSAccess() {
return gaEssentialOCL.getLetVariableCSAccess();
}
public ParserRule getLetVariableCSRule() {
return getLetVariableCSAccess().getRule();
}
//NestedExpCS:
// "(" ownedExpression=ExpCS ")";
public EssentialOCLGrammarAccess.NestedExpCSElements getNestedExpCSAccess() {
return gaEssentialOCL.getNestedExpCSAccess();
}
public ParserRule getNestedExpCSRule() {
return getNestedExpCSAccess().getRule();
}
//SelfExpCS:
// {SelfExpCS} "self";
public EssentialOCLGrammarAccess.SelfExpCSElements getSelfExpCSAccess() {
return gaEssentialOCL.getSelfExpCSAccess();
}
public ParserRule getSelfExpCSRule() {
return getSelfExpCSAccess().getRule();
}
//MultiplicityBoundsCS:
// lowerBound=LOWER (".." upperBound=UPPER)?;
public BaseGrammarAccess.MultiplicityBoundsCSElements getMultiplicityBoundsCSAccess() {
return gaEssentialOCL.getMultiplicityBoundsCSAccess();
}
public ParserRule getMultiplicityBoundsCSRule() {
return getMultiplicityBoundsCSAccess().getRule();
}
//MultiplicityCS:
// "[" (MultiplicityBoundsCS | MultiplicityStringCS) "]";
public BaseGrammarAccess.MultiplicityCSElements getMultiplicityCSAccess() {
return gaEssentialOCL.getMultiplicityCSAccess();
}
public ParserRule getMultiplicityCSRule() {
return getMultiplicityCSAccess().getRule();
}
//MultiplicityStringCS:
// stringBounds=("*" | "+" | "?");
public BaseGrammarAccess.MultiplicityStringCSElements getMultiplicityStringCSAccess() {
return gaEssentialOCL.getMultiplicityStringCSAccess();
}
public ParserRule getMultiplicityStringCSRule() {
return getMultiplicityStringCSAccess().getRule();
}
//PathNameCS:
// ownedPathElements+=FirstPathElementCS ("::" ownedPathElements+=NextPathElementCS)*;
public BaseGrammarAccess.PathNameCSElements getPathNameCSAccess() {
return gaEssentialOCL.getPathNameCSAccess();
}
public ParserRule getPathNameCSRule() {
return getPathNameCSAccess().getRule();
}
//FirstPathElementCS returns PathElementCS:
// referredElement=[pivot::NamedElement|UnrestrictedName];
public BaseGrammarAccess.FirstPathElementCSElements getFirstPathElementCSAccess() {
return gaEssentialOCL.getFirstPathElementCSAccess();
}
public ParserRule getFirstPathElementCSRule() {
return getFirstPathElementCSAccess().getRule();
}
//NextPathElementCS returns PathElementCS:
// referredElement=[pivot::NamedElement|UnreservedName];
public BaseGrammarAccess.NextPathElementCSElements getNextPathElementCSAccess() {
return gaEssentialOCL.getNextPathElementCSAccess();
}
public ParserRule getNextPathElementCSRule() {
return getNextPathElementCSAccess().getRule();
}
//TemplateParameterSubstitutionCS:
// ownedActualParameter=TypeRefCS;
public BaseGrammarAccess.TemplateParameterSubstitutionCSElements getTemplateParameterSubstitutionCSAccess() {
return gaEssentialOCL.getTemplateParameterSubstitutionCSAccess();
}
public ParserRule getTemplateParameterSubstitutionCSRule() {
return getTemplateParameterSubstitutionCSAccess().getRule();
}
//TypeParameterCS:
// name=UnrestrictedName ("extends" ownedExtends+=TypedRefCS ("&&" ownedExtends+=TypedRefCS)* | "super"
// ownedSuper=TypedRefCS)?;
public BaseGrammarAccess.TypeParameterCSElements getTypeParameterCSAccess() {
return gaEssentialOCL.getTypeParameterCSAccess();
}
public ParserRule getTypeParameterCSRule() {
return getTypeParameterCSAccess().getRule();
}
//TypeRefCS:
// TypedRefCS | WildcardTypeRefCS;
public BaseGrammarAccess.TypeRefCSElements getTypeRefCSAccess() {
return gaEssentialOCL.getTypeRefCSAccess();
}
public ParserRule getTypeRefCSRule() {
return getTypeRefCSAccess().getRule();
}
//TypedTypeRefCS:
// ownedPathName=PathNameCS ownedBinding=TemplateBindingCS?;
public BaseGrammarAccess.TypedTypeRefCSElements getTypedTypeRefCSAccess() {
return gaEssentialOCL.getTypedTypeRefCSAccess();
}
public ParserRule getTypedTypeRefCSRule() {
return getTypedTypeRefCSAccess().getRule();
}
//WildcardTypeRefCS:
// {WildcardTypeRefCS} "?" ("extends" ownedExtends=TypedRefCS | "super" ownedSuper=TypedRefCS)?;
public BaseGrammarAccess.WildcardTypeRefCSElements getWildcardTypeRefCSAccess() {
return gaEssentialOCL.getWildcardTypeRefCSAccess();
}
public ParserRule getWildcardTypeRefCSRule() {
return getWildcardTypeRefCSAccess().getRule();
}
//ID:
// SIMPLE_ID | ESCAPED_ID;
public BaseGrammarAccess.IDElements getIDAccess() {
return gaEssentialOCL.getIDAccess();
}
public ParserRule getIDRule() {
return getIDAccess().getRule();
}
//Identifier:
// ID;
public BaseGrammarAccess.IdentifierElements getIdentifierAccess() {
return gaEssentialOCL.getIdentifierAccess();
}
public ParserRule getIdentifierRule() {
return getIdentifierAccess().getRule();
}
/// * A lowerbounded integer is used to define the lowerbound of a collection multiplicity. The value may not be the unlimited value. * /
//LOWER returns ecore::EInt:
// INT;
public BaseGrammarAccess.LOWERElements getLOWERAccess() {
return gaEssentialOCL.getLOWERAccess();
}
public ParserRule getLOWERRule() {
return getLOWERAccess().getRule();
}
/// * A number may be an integer or floating point value. The declaration here appears to be that for just an integer. This is to avoid
// * lookahead conflicts in simple lexers between a dot within a floating point number and the dot-dot in a CollectionLiteralPartCS. A
// * practical implementation should give high priority to a successful parse of INT ('.' INT)? (('e' | 'E') ('+' | '-')? INT)? than
// * to the unsuccessful partial parse of INT '..'. The type of the INT terminal is String to allow the floating point syntax to be used.
// * /
//// Not terminal to allow parser backtracking to sort out "5..7"
//
//// EssentialOCLTokenSource pieces this together ('.' INT)? (('e' | 'E') ('+' | '-')? INT)?;
// NUMBER_LITERAL returns
//BigNumber:
// INT;
public BaseGrammarAccess.NUMBER_LITERALElements getNUMBER_LITERALAccess() {
return gaEssentialOCL.getNUMBER_LITERALAccess();
}
public ParserRule getNUMBER_LITERALRule() {
return getNUMBER_LITERALAccess().getRule();
}
//StringLiteral:
// SINGLE_QUOTED_STRING;
public BaseGrammarAccess.StringLiteralElements getStringLiteralAccess() {
return gaEssentialOCL.getStringLiteralAccess();
}
public ParserRule getStringLiteralRule() {
return getStringLiteralAccess().getRule();
}
/// * An upperbounded integer is used to define the upperbound of a collection multiplicity. The value may be the unlimited value. * /
//UPPER returns ecore::EInt:
// INT | "*";
public BaseGrammarAccess.UPPERElements getUPPERAccess() {
return gaEssentialOCL.getUPPERAccess();
}
public ParserRule getUPPERRule() {
return getUPPERAccess().getRule();
}
//URI:
// SINGLE_QUOTED_STRING;
public BaseGrammarAccess.URIElements getURIAccess() {
return gaEssentialOCL.getURIAccess();
}
public ParserRule getURIRule() {
return getURIAccess().getRule();
}
//terminal fragment ESCAPED_CHARACTER:
// "\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\");
public TerminalRule getESCAPED_CHARACTERRule() {
return gaEssentialOCL.getESCAPED_CHARACTERRule();
}
//terminal fragment LETTER_CHARACTER:
// "a".."z" | "A".."Z" | "_";
public TerminalRule getLETTER_CHARACTERRule() {
return gaEssentialOCL.getLETTER_CHARACTERRule();
}
//terminal DOUBLE_QUOTED_STRING:
// "\"" (ESCAPED_CHARACTER | !("\\" | "\""))* "\"";
public TerminalRule getDOUBLE_QUOTED_STRINGRule() {
return gaEssentialOCL.getDOUBLE_QUOTED_STRINGRule();
}
//terminal SINGLE_QUOTED_STRING:
// "\'" (ESCAPED_CHARACTER | !("\\" | "\'"))* "\'";
public TerminalRule getSINGLE_QUOTED_STRINGRule() {
return gaEssentialOCL.getSINGLE_QUOTED_STRINGRule();
}
//terminal ML_SINGLE_QUOTED_STRING:
// "/\'"->"\'/";
public TerminalRule getML_SINGLE_QUOTED_STRINGRule() {
return gaEssentialOCL.getML_SINGLE_QUOTED_STRINGRule();
}
//terminal SIMPLE_ID:
// LETTER_CHARACTER (LETTER_CHARACTER | "0".."9")*;
public TerminalRule getSIMPLE_IDRule() {
return gaEssentialOCL.getSIMPLE_IDRule();
}
//terminal ESCAPED_ID:
// "_" SINGLE_QUOTED_STRING;
public TerminalRule getESCAPED_IDRule() {
return gaEssentialOCL.getESCAPED_IDRule();
}
//// String to allow diverse re-use
// // multiple leading zeroes occur as floating point fractional part
// terminal INT:
// "0".."9"+;
public TerminalRule getINTRule() {
return gaEssentialOCL.getINTRule();
}
/// * A multi-line comment supports a comment that may span more than one line using familiar slash-star...star-slash comment delimiters * /
//terminal ML_COMMENT:
// "/ *"->"* /";
public TerminalRule getML_COMMENTRule() {
return gaEssentialOCL.getML_COMMENTRule();
}
/// * A single-line comment supports a comment that terminates at the end of the line * / terminal SL_COMMENT:
// "--" !("\n" | "\r")* ("\r"? "\n")?;
public TerminalRule getSL_COMMENTRule() {
return gaEssentialOCL.getSL_COMMENTRule();
}
/// * Whitespace may occur between any pair of tokens * / terminal WS:
// (" " | "\t" | "\r" | "\n")+;
public TerminalRule getWSRule() {
return gaEssentialOCL.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaEssentialOCL.getANY_OTHERRule();
}
}