/*
* generated by Xtext
*/
package org.lunifera.dsl.common.xtext.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.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess;
import org.eclipse.xtext.xbase.services.XbaseGrammarAccess;
import org.eclipse.xtext.xbase.services.XtypeGrammarAccess;
@Singleton
public class CommonGrammarGrammarAccess extends AbstractGrammarElementFinder {
public class TypedPackageElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypedPackage");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cLTypedPackageAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPackageKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
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 cImportsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cImportsImportParserRuleCall_3_1_0 = (RuleCall)cImportsAssignment_3_1.eContents().get(0);
private final Assignment cTypesAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2);
private final RuleCall cTypesTypeParserRuleCall_3_2_0 = (RuleCall)cTypesAssignment_3_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
//TypedPackage returns types::LTypedPackage:
// {types::LTypedPackage} "package" name=QualifiedName ("{" imports+=Import* types+=Type* "}")?;
public ParserRule getRule() { return rule; }
//{types::LTypedPackage} "package" name=QualifiedName ("{" imports+=Import* types+=Type* "}")?
public Group getGroup() { return cGroup; }
//{types::LTypedPackage}
public Action getLTypedPackageAction_0() { return cLTypedPackageAction_0; }
//"package"
public Keyword getPackageKeyword_1() { return cPackageKeyword_1; }
//name=QualifiedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; }
//("{" imports+=Import* types+=Type* "}")?
public Group getGroup_3() { return cGroup_3; }
//"{"
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//imports+=Import*
public Assignment getImportsAssignment_3_1() { return cImportsAssignment_3_1; }
//Import
public RuleCall getImportsImportParserRuleCall_3_1_0() { return cImportsImportParserRuleCall_3_1_0; }
//types+=Type*
public Assignment getTypesAssignment_3_2() { return cTypesAssignment_3_2; }
//Type
public RuleCall getTypesTypeParserRuleCall_3_2_0() { return cTypesTypeParserRuleCall_3_2_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; }
}
public class TypeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Type");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cScalarTypeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cClassParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//Type returns types::LType:
// ScalarType | Class;
public ParserRule getRule() { return rule; }
//ScalarType | Class
public Alternatives getAlternatives() { return cAlternatives; }
//ScalarType
public RuleCall getScalarTypeParserRuleCall_0() { return cScalarTypeParserRuleCall_0; }
//Class
public RuleCall getClassParserRuleCall_1() { return cClassParserRuleCall_1; }
}
public class ClassElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Class");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cLClassAction_0 = (Action)cGroup.eContents().get(0);
private final Assignment cAnnotationsAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cAnnotationsAnnotationDefParserRuleCall_1_0 = (RuleCall)cAnnotationsAssignment_1.eContents().get(0);
private final Action cLClassAnnotationInfoAction_2 = (Action)cGroup.eContents().get(2);
private final Keyword cClassKeyword_3 = (Keyword)cGroup.eContents().get(3);
/// **
// * Needs to be overridden by sub grammar
// * / Class returns types::LClass:
// {types::LClass} annotations+=AnnotationDef* {types::LClass.annotationInfo=current} "class";
public ParserRule getRule() { return rule; }
//{types::LClass} annotations+=AnnotationDef* {types::LClass.annotationInfo=current} "class"
public Group getGroup() { return cGroup; }
//{types::LClass}
public Action getLClassAction_0() { return cLClassAction_0; }
//annotations+=AnnotationDef*
public Assignment getAnnotationsAssignment_1() { return cAnnotationsAssignment_1; }
//AnnotationDef
public RuleCall getAnnotationsAnnotationDefParserRuleCall_1_0() { return cAnnotationsAnnotationDefParserRuleCall_1_0; }
//{types::LClass.annotationInfo=current}
public Action getLClassAnnotationInfoAction_2() { return cLClassAnnotationInfoAction_2; }
//"class"
public Keyword getClassKeyword_3() { return cClassKeyword_3; }
}
public class ImportElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0);
private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
//Import returns types::LImport:
// "import" importedNamespace=LQualifiedNameWithWildCard ";";
public ParserRule getRule() { return rule; }
//"import" importedNamespace=LQualifiedNameWithWildCard ";"
public Group getGroup() { return cGroup; }
//"import"
public Keyword getImportKeyword_0() { return cImportKeyword_0; }
//importedNamespace=LQualifiedNameWithWildCard
public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; }
//LQualifiedNameWithWildCard
public RuleCall getImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0() { return cImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0; }
//";"
public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
}
public class DataTypeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataType");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cDatatypeKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameValidIDWithKeywordsParserRuleCall_1_0 = (RuleCall)cNameAssignment_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 cJvmTypeKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0);
private final Assignment cJvmTypeReferenceAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
private final RuleCall cJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0 = (RuleCall)cJvmTypeReferenceAssignment_2_0_1.eContents().get(0);
private final Assignment cAsPrimitiveAssignment_2_0_2 = (Assignment)cGroup_2_0.eContents().get(2);
private final Keyword cAsPrimitiveAsPrimitiveKeyword_2_0_2_0 = (Keyword)cAsPrimitiveAssignment_2_0_2.eContents().get(0);
private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1);
private final Assignment cDateAssignment_2_1_0 = (Assignment)cGroup_2_1.eContents().get(0);
private final Keyword cDateDateTypeKeyword_2_1_0_0 = (Keyword)cDateAssignment_2_1_0.eContents().get(0);
private final Assignment cDateTypeAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
private final RuleCall cDateTypeDateTypeEnumRuleCall_2_1_1_0 = (RuleCall)cDateTypeAssignment_2_1_1.eContents().get(0);
private final Assignment cAsBlobAssignment_2_2 = (Assignment)cAlternatives_2.eContents().get(2);
private final Keyword cAsBlobAsBlobKeyword_2_2_0 = (Keyword)cAsBlobAssignment_2_2.eContents().get(0);
private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3);
//DataType returns types::LDataType:
// "datatype" name=ValidIDWithKeywords ("jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"? |
// date?="dateType" dateType=DateType | asBlob?="as blob") ";";
public ParserRule getRule() { return rule; }
//"datatype" name=ValidIDWithKeywords ("jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"? |
//date?="dateType" dateType=DateType | asBlob?="as blob") ";"
public Group getGroup() { return cGroup; }
//"datatype"
public Keyword getDatatypeKeyword_0() { return cDatatypeKeyword_0; }
//name=ValidIDWithKeywords
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ValidIDWithKeywords
public RuleCall getNameValidIDWithKeywordsParserRuleCall_1_0() { return cNameValidIDWithKeywordsParserRuleCall_1_0; }
//"jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"? | date?="dateType" dateType=DateType |
//asBlob?="as blob"
public Alternatives getAlternatives_2() { return cAlternatives_2; }
//"jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"?
public Group getGroup_2_0() { return cGroup_2_0; }
//"jvmType"
public Keyword getJvmTypeKeyword_2_0_0() { return cJvmTypeKeyword_2_0_0; }
//jvmTypeReference=JvmTypeReference
public Assignment getJvmTypeReferenceAssignment_2_0_1() { return cJvmTypeReferenceAssignment_2_0_1; }
//JvmTypeReference
public RuleCall getJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0() { return cJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0; }
//asPrimitive?="as primitive"?
public Assignment getAsPrimitiveAssignment_2_0_2() { return cAsPrimitiveAssignment_2_0_2; }
//"as primitive"
public Keyword getAsPrimitiveAsPrimitiveKeyword_2_0_2_0() { return cAsPrimitiveAsPrimitiveKeyword_2_0_2_0; }
//date?="dateType" dateType=DateType
public Group getGroup_2_1() { return cGroup_2_1; }
//date?="dateType"
public Assignment getDateAssignment_2_1_0() { return cDateAssignment_2_1_0; }
//"dateType"
public Keyword getDateDateTypeKeyword_2_1_0_0() { return cDateDateTypeKeyword_2_1_0_0; }
//dateType=DateType
public Assignment getDateTypeAssignment_2_1_1() { return cDateTypeAssignment_2_1_1; }
//DateType
public RuleCall getDateTypeDateTypeEnumRuleCall_2_1_1_0() { return cDateTypeDateTypeEnumRuleCall_2_1_1_0; }
//asBlob?="as blob"
public Assignment getAsBlobAssignment_2_2() { return cAsBlobAssignment_2_2; }
//"as blob"
public Keyword getAsBlobAsBlobKeyword_2_2_0() { return cAsBlobAsBlobKeyword_2_2_0; }
//";"
public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; }
}
public class ScalarTypeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ScalarType");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cDataTypeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cEnumParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//ScalarType returns types::LScalarType:
// DataType | Enum;
public ParserRule getRule() { return rule; }
//DataType | Enum
public Alternatives getAlternatives() { return cAlternatives; }
//DataType
public RuleCall getDataTypeParserRuleCall_0() { return cDataTypeParserRuleCall_0; }
//Enum
public RuleCall getEnumParserRuleCall_1() { return cEnumParserRuleCall_1; }
}
public class ModifierElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Modifier");
private final UnorderedGroup cUnorderedGroup = (UnorderedGroup)rule.eContents().get(1);
private final Assignment cFinalAssignment_0 = (Assignment)cUnorderedGroup.eContents().get(0);
private final Keyword cFinalFinalKeyword_0_0 = (Keyword)cFinalAssignment_0.eContents().get(0);
private final Assignment cStaticAssignment_1 = (Assignment)cUnorderedGroup.eContents().get(1);
private final Keyword cStaticStaticKeyword_1_0 = (Keyword)cStaticAssignment_1.eContents().get(0);
private final Assignment cVisibilityAssignment_2 = (Assignment)cUnorderedGroup.eContents().get(2);
private final RuleCall cVisibilityLVisibilityEnumRuleCall_2_0 = (RuleCall)cVisibilityAssignment_2.eContents().get(0);
//Modifier returns types::LModifier:
// final?="final"? & static?="static"? & visibility=LVisibility;
public ParserRule getRule() { return rule; }
//final?="final"? & static?="static"? & visibility=LVisibility
public UnorderedGroup getUnorderedGroup() { return cUnorderedGroup; }
//final?="final"?
public Assignment getFinalAssignment_0() { return cFinalAssignment_0; }
//"final"
public Keyword getFinalFinalKeyword_0_0() { return cFinalFinalKeyword_0_0; }
//static?="static"?
public Assignment getStaticAssignment_1() { return cStaticAssignment_1; }
//"static"
public Keyword getStaticStaticKeyword_1_0() { return cStaticStaticKeyword_1_0; }
//visibility=LVisibility
public Assignment getVisibilityAssignment_2() { return cVisibilityAssignment_2; }
//LVisibility
public RuleCall getVisibilityLVisibilityEnumRuleCall_2_0() { return cVisibilityLVisibilityEnumRuleCall_2_0; }
}
public class EnumElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Enum");
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 cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cLiteralsAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cLiteralsEnumLiteralParserRuleCall_3_0 = (RuleCall)cLiteralsAssignment_3.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cCommaSpaceKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cLiteralsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cLiteralsEnumLiteralParserRuleCall_4_1_0 = (RuleCall)cLiteralsAssignment_4_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
//Enum returns types::LEnum:
// "enum" name=ID "{" literals+=EnumLiteral (", " literals+=EnumLiteral)* "}";
public ParserRule getRule() { return rule; }
//"enum" name=ID "{" literals+=EnumLiteral (", " literals+=EnumLiteral)* "}"
public Group getGroup() { return cGroup; }
//"enum"
public Keyword getEnumKeyword_0() { return cEnumKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
//literals+=EnumLiteral
public Assignment getLiteralsAssignment_3() { return cLiteralsAssignment_3; }
//EnumLiteral
public RuleCall getLiteralsEnumLiteralParserRuleCall_3_0() { return cLiteralsEnumLiteralParserRuleCall_3_0; }
//(", " literals+=EnumLiteral)*
public Group getGroup_4() { return cGroup_4; }
//", "
public Keyword getCommaSpaceKeyword_4_0() { return cCommaSpaceKeyword_4_0; }
//literals+=EnumLiteral
public Assignment getLiteralsAssignment_4_1() { return cLiteralsAssignment_4_1; }
//EnumLiteral
public RuleCall getLiteralsEnumLiteralParserRuleCall_4_1_0() { return cLiteralsEnumLiteralParserRuleCall_4_1_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
}
public class EnumLiteralElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EnumLiteral");
private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0);
//EnumLiteral returns types::LEnumLiteral:
// name=ID;
public ParserRule getRule() { return rule; }
//name=ID
public Assignment getNameAssignment() { return cNameAssignment; }
//ID
public RuleCall getNameIDTerminalRuleCall_0() { return cNameIDTerminalRuleCall_0; }
}
public class AnnotationDefElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnnotationDef");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cAnnotationAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cAnnotationXAnnotationParserRuleCall_0_0 = (RuleCall)cAnnotationAssignment_0.eContents().get(0);
//AnnotationDef returns types::LAnnotationDef:
// => (annotation=XAnnotation);
public ParserRule getRule() { return rule; }
//=> (annotation=XAnnotation)
public Group getGroup() { return cGroup; }
//annotation=XAnnotation
public Assignment getAnnotationAssignment_0() { return cAnnotationAssignment_0; }
//XAnnotation
public RuleCall getAnnotationXAnnotationParserRuleCall_0_0() { return cAnnotationXAnnotationParserRuleCall_0_0; }
}
public class ConstraintsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Constraints");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cLConstraintsAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cConstraintsKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cConstraintsAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cConstraintsConstraintParserRuleCall_3_0 = (RuleCall)cConstraintsAssignment_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
//Constraints returns types::LConstraints:
// {types::LConstraints} "constraints" "{" constraints+=Constraint* "}";
public ParserRule getRule() { return rule; }
//{types::LConstraints} "constraints" "{" constraints+=Constraint* "}"
public Group getGroup() { return cGroup; }
//{types::LConstraints}
public Action getLConstraintsAction_0() { return cLConstraintsAction_0; }
//"constraints"
public Keyword getConstraintsKeyword_1() { return cConstraintsKeyword_1; }
//"{"
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
//constraints+=Constraint*
public Assignment getConstraintsAssignment_3() { return cConstraintsAssignment_3; }
//Constraint
public RuleCall getConstraintsConstraintParserRuleCall_3_0() { return cConstraintsConstraintParserRuleCall_3_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
}
public class ConstraintElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Constraint");
private final RuleCall cAttributeMatchingConstraintParserRuleCall = (RuleCall)rule.eContents().get(1);
//Constraint returns types::LConstraint:
// AttributeMatchingConstraint;
public ParserRule getRule() { return rule; }
//AttributeMatchingConstraint
public RuleCall getAttributeMatchingConstraintParserRuleCall() { return cAttributeMatchingConstraintParserRuleCall; }
}
public class AttributeMatchingConstraintElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttributeMatchingConstraint");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cAttributeAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final CrossReference cAttributeLAttributeCrossReference_0_0 = (CrossReference)cAttributeAssignment_0.eContents().get(0);
private final RuleCall cAttributeLAttributeIDTerminalRuleCall_0_0_1 = (RuleCall)cAttributeLAttributeCrossReference_0_0.eContents().get(1);
private final Assignment cComparatorTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cComparatorTypeLComparatorTypeEnumRuleCall_1_0 = (RuleCall)cComparatorTypeAssignment_1.eContents().get(0);
private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
private final Assignment cMatchingValueAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
private final RuleCall cMatchingValueSTRINGTerminalRuleCall_2_0_0 = (RuleCall)cMatchingValueAssignment_2_0.eContents().get(0);
private final Assignment cMatchingLiteralAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
private final CrossReference cMatchingLiteralLEnumLiteralCrossReference_2_1_0 = (CrossReference)cMatchingLiteralAssignment_2_1.eContents().get(0);
private final RuleCall cMatchingLiteralLEnumLiteralIDTerminalRuleCall_2_1_0_1 = (RuleCall)cMatchingLiteralLEnumLiteralCrossReference_2_1_0.eContents().get(1);
private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3);
//AttributeMatchingConstraint returns types::LAttributeMatchingConstraint:
// attribute=[types::LAttribute] comparatorType=LComparatorType (matchingValue=STRING | =>
// matchingLiteral=[types::LEnumLiteral]) ";";
public ParserRule getRule() { return rule; }
//attribute=[types::LAttribute] comparatorType=LComparatorType (matchingValue=STRING | =>
//matchingLiteral=[types::LEnumLiteral]) ";"
public Group getGroup() { return cGroup; }
//attribute=[types::LAttribute]
public Assignment getAttributeAssignment_0() { return cAttributeAssignment_0; }
//[types::LAttribute]
public CrossReference getAttributeLAttributeCrossReference_0_0() { return cAttributeLAttributeCrossReference_0_0; }
//ID
public RuleCall getAttributeLAttributeIDTerminalRuleCall_0_0_1() { return cAttributeLAttributeIDTerminalRuleCall_0_0_1; }
//comparatorType=LComparatorType
public Assignment getComparatorTypeAssignment_1() { return cComparatorTypeAssignment_1; }
//LComparatorType
public RuleCall getComparatorTypeLComparatorTypeEnumRuleCall_1_0() { return cComparatorTypeLComparatorTypeEnumRuleCall_1_0; }
//matchingValue=STRING | => matchingLiteral=[types::LEnumLiteral]
public Alternatives getAlternatives_2() { return cAlternatives_2; }
//matchingValue=STRING
public Assignment getMatchingValueAssignment_2_0() { return cMatchingValueAssignment_2_0; }
//STRING
public RuleCall getMatchingValueSTRINGTerminalRuleCall_2_0_0() { return cMatchingValueSTRINGTerminalRuleCall_2_0_0; }
//=> matchingLiteral=[types::LEnumLiteral]
public Assignment getMatchingLiteralAssignment_2_1() { return cMatchingLiteralAssignment_2_1; }
//[types::LEnumLiteral]
public CrossReference getMatchingLiteralLEnumLiteralCrossReference_2_1_0() { return cMatchingLiteralLEnumLiteralCrossReference_2_1_0; }
//ID
public RuleCall getMatchingLiteralLEnumLiteralIDTerminalRuleCall_2_1_0_1() { return cMatchingLiteralLEnumLiteralIDTerminalRuleCall_2_1_0_1; }
//";"
public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; }
}
public class LQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LQualifiedNameWithWildCard");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
//LQualifiedNameWithWildCard:
// QualifiedName ("." "*")?;
public ParserRule getRule() { return rule; }
//QualifiedName ("." "*")?
public Group getGroup() { return cGroup; }
//QualifiedName
public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; }
//("." "*")?
public Group getGroup_1() { return cGroup_1; }
//"."
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//"*"
public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; }
}
public class LFQNElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LFQN");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
//LFQN:
// ID ("." ID)*;
public ParserRule getRule() { return rule; }
//ID ("." ID)*
public Group getGroup() { return cGroup; }
//ID
public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; }
//("." ID)*
public Group getGroup_1() { return cGroup_1; }
//"."
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//ID
public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
}
public class ValidIDWithKeywordsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValidIDWithKeywords");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final Keyword cCachableKeyword_0 = (Keyword)cAlternatives.eContents().get(0);
private final Keyword cIdKeyword_1 = (Keyword)cAlternatives.eContents().get(1);
private final Keyword cUuidKeyword_2 = (Keyword)cAlternatives.eContents().get(2);
private final Keyword cTransientKeyword_3 = (Keyword)cAlternatives.eContents().get(3);
private final Keyword cVersionKeyword_4 = (Keyword)cAlternatives.eContents().get(4);
private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5);
private final Keyword cDerivedKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Keyword cCollectionKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1);
private final Keyword cRefersKeyword_6 = (Keyword)cAlternatives.eContents().get(6);
private final Keyword cSettingsKeyword_7 = (Keyword)cAlternatives.eContents().get(7);
private final Keyword cLazyKeyword_8 = (Keyword)cAlternatives.eContents().get(8);
private final Keyword cNotnullKeyword_9 = (Keyword)cAlternatives.eContents().get(9);
private final Keyword cDtoKeyword_10 = (Keyword)cAlternatives.eContents().get(10);
private final Keyword cDateKeyword_11 = (Keyword)cAlternatives.eContents().get(11);
private final Keyword cMaptoKeyword_12 = (Keyword)cAlternatives.eContents().get(12);
private final Keyword cRefKeyword_13 = (Keyword)cAlternatives.eContents().get(13);
private final Keyword cCascadeKeyword_14 = (Keyword)cAlternatives.eContents().get(14);
private final Keyword cVarKeyword_15 = (Keyword)cAlternatives.eContents().get(15);
private final RuleCall cIDTerminalRuleCall_16 = (RuleCall)cAlternatives.eContents().get(16);
//ValidIDWithKeywords:
// "cachable" | "id" | "uuid" | "transient" | "version" | "derived" "collection" | "refers" | "settings" | "lazy" |
// "notnull" | "dto" | "date" | "mapto" | "ref" | "cascade" | "var" | ID;
public ParserRule getRule() { return rule; }
//"cachable" | "id" | "uuid" | "transient" | "version" | "derived" "collection" | "refers" | "settings" | "lazy" |
//"notnull" | "dto" | "date" | "mapto" | "ref" | "cascade" | "var" | ID
public Alternatives getAlternatives() { return cAlternatives; }
//"cachable"
public Keyword getCachableKeyword_0() { return cCachableKeyword_0; }
//"id"
public Keyword getIdKeyword_1() { return cIdKeyword_1; }
//"uuid"
public Keyword getUuidKeyword_2() { return cUuidKeyword_2; }
//"transient"
public Keyword getTransientKeyword_3() { return cTransientKeyword_3; }
//"version"
public Keyword getVersionKeyword_4() { return cVersionKeyword_4; }
//"derived" "collection"
public Group getGroup_5() { return cGroup_5; }
//"derived"
public Keyword getDerivedKeyword_5_0() { return cDerivedKeyword_5_0; }
//"collection"
public Keyword getCollectionKeyword_5_1() { return cCollectionKeyword_5_1; }
//"refers"
public Keyword getRefersKeyword_6() { return cRefersKeyword_6; }
//"settings"
public Keyword getSettingsKeyword_7() { return cSettingsKeyword_7; }
//"lazy"
public Keyword getLazyKeyword_8() { return cLazyKeyword_8; }
//"notnull"
public Keyword getNotnullKeyword_9() { return cNotnullKeyword_9; }
//"dto"
public Keyword getDtoKeyword_10() { return cDtoKeyword_10; }
//"date"
public Keyword getDateKeyword_11() { return cDateKeyword_11; }
//"mapto"
public Keyword getMaptoKeyword_12() { return cMaptoKeyword_12; }
//"ref"
public Keyword getRefKeyword_13() { return cRefKeyword_13; }
//"cascade"
public Keyword getCascadeKeyword_14() { return cCascadeKeyword_14; }
//"var"
public Keyword getVarKeyword_15() { return cVarKeyword_15; }
//ID
public RuleCall getIDTerminalRuleCall_16() { return cIDTerminalRuleCall_16; }
}
public class ValidLFQNWithKeywordsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValidLFQNWithKeywords");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cValidIDWithKeywordsParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final RuleCall cValidIDWithKeywordsParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
//ValidLFQNWithKeywords:
// ValidIDWithKeywords ("." ValidIDWithKeywords)*;
public ParserRule getRule() { return rule; }
//ValidIDWithKeywords ("." ValidIDWithKeywords)*
public Group getGroup() { return cGroup; }
//ValidIDWithKeywords
public RuleCall getValidIDWithKeywordsParserRuleCall_0() { return cValidIDWithKeywordsParserRuleCall_0; }
//("." ValidIDWithKeywords)*
public Group getGroup_1() { return cGroup_1; }
//"."
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//ValidIDWithKeywords
public RuleCall getValidIDWithKeywordsParserRuleCall_1_1() { return cValidIDWithKeywordsParserRuleCall_1_1; }
}
public class MultiplicityElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Multiplicity");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cLowerAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cLowerLowerBoundEnumRuleCall_1_0 = (RuleCall)cLowerAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cFullStopFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cUpperAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cUpperUpperBoundEnumRuleCall_2_1_0 = (RuleCall)cUpperAssignment_2_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
//Multiplicity returns types::LMultiplicity:
// "[" lower=LowerBound (".." upper=UpperBound)? "]";
public ParserRule getRule() { return rule; }
//"[" lower=LowerBound (".." upper=UpperBound)? "]"
public Group getGroup() { return cGroup; }
//"["
public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; }
//lower=LowerBound
public Assignment getLowerAssignment_1() { return cLowerAssignment_1; }
//LowerBound
public RuleCall getLowerLowerBoundEnumRuleCall_1_0() { return cLowerLowerBoundEnumRuleCall_1_0; }
//(".." upper=UpperBound)?
public Group getGroup_2() { return cGroup_2; }
//".."
public Keyword getFullStopFullStopKeyword_2_0() { return cFullStopFullStopKeyword_2_0; }
//upper=UpperBound
public Assignment getUpperAssignment_2_1() { return cUpperAssignment_2_1; }
//UpperBound
public RuleCall getUpperUpperBoundEnumRuleCall_2_1_0() { return cUpperUpperBoundEnumRuleCall_2_1_0; }
//"]"
public Keyword getRightSquareBracketKeyword_3() { return cRightSquareBracketKeyword_3; }
}
public class LIntElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LInt");
private final RuleCall cINTTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//LInt returns ecore::EInt:
// INT;
public ParserRule getRule() { return rule; }
//INT
public RuleCall getINTTerminalRuleCall() { return cINTTerminalRuleCall; }
}
public class DateTypeElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "DateType");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cDATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cDATEDateKeyword_0_0 = (Keyword)cDATEEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cTIMEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cTIMETimeKeyword_1_0 = (Keyword)cTIMEEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cTIMESTAMPEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cTIMESTAMPTimestampKeyword_2_0 = (Keyword)cTIMESTAMPEnumLiteralDeclaration_2.eContents().get(0);
//enum DateType returns types::LDateType:
// DATE="date" | TIME="time" | TIMESTAMP="timestamp";
public EnumRule getRule() { return rule; }
//DATE="date" | TIME="time" | TIMESTAMP="timestamp"
public Alternatives getAlternatives() { return cAlternatives; }
//DATE="date"
public EnumLiteralDeclaration getDATEEnumLiteralDeclaration_0() { return cDATEEnumLiteralDeclaration_0; }
//"date"
public Keyword getDATEDateKeyword_0_0() { return cDATEDateKeyword_0_0; }
//TIME="time"
public EnumLiteralDeclaration getTIMEEnumLiteralDeclaration_1() { return cTIMEEnumLiteralDeclaration_1; }
//"time"
public Keyword getTIMETimeKeyword_1_0() { return cTIMETimeKeyword_1_0; }
//TIMESTAMP="timestamp"
public EnumLiteralDeclaration getTIMESTAMPEnumLiteralDeclaration_2() { return cTIMESTAMPEnumLiteralDeclaration_2; }
//"timestamp"
public Keyword getTIMESTAMPTimestampKeyword_2_0() { return cTIMESTAMPTimestampKeyword_2_0; }
}
public class LVisibilityElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LVisibility");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cPACKAGEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cPACKAGEPackageKeyword_0_0 = (Keyword)cPACKAGEEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cPRIVATEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cPRIVATEPrivateKeyword_1_0 = (Keyword)cPRIVATEEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cPROTECTEDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cPROTECTEDProtectedKeyword_2_0 = (Keyword)cPROTECTEDEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cPUBLICEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cPUBLICPublicKeyword_3_0 = (Keyword)cPUBLICEnumLiteralDeclaration_3.eContents().get(0);
//enum LVisibility returns types::LVisibility:
// PACKAGE="package" | PRIVATE="private" | PROTECTED="protected" | PUBLIC="public";
public EnumRule getRule() { return rule; }
//PACKAGE="package" | PRIVATE="private" | PROTECTED="protected" | PUBLIC="public"
public Alternatives getAlternatives() { return cAlternatives; }
//PACKAGE="package"
public EnumLiteralDeclaration getPACKAGEEnumLiteralDeclaration_0() { return cPACKAGEEnumLiteralDeclaration_0; }
//"package"
public Keyword getPACKAGEPackageKeyword_0_0() { return cPACKAGEPackageKeyword_0_0; }
//PRIVATE="private"
public EnumLiteralDeclaration getPRIVATEEnumLiteralDeclaration_1() { return cPRIVATEEnumLiteralDeclaration_1; }
//"private"
public Keyword getPRIVATEPrivateKeyword_1_0() { return cPRIVATEPrivateKeyword_1_0; }
//PROTECTED="protected"
public EnumLiteralDeclaration getPROTECTEDEnumLiteralDeclaration_2() { return cPROTECTEDEnumLiteralDeclaration_2; }
//"protected"
public Keyword getPROTECTEDProtectedKeyword_2_0() { return cPROTECTEDProtectedKeyword_2_0; }
//PUBLIC="public"
public EnumLiteralDeclaration getPUBLICEnumLiteralDeclaration_3() { return cPUBLICEnumLiteralDeclaration_3; }
//"public"
public Keyword getPUBLICPublicKeyword_3_0() { return cPUBLICPublicKeyword_3_0; }
}
public class LComparatorTypeElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LComparatorType");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cEQUALSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cEQUALSEqualsSignEqualsSignKeyword_0_0 = (Keyword)cEQUALSEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cGREATEREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cGREATERGreaterThanSignKeyword_1_0 = (Keyword)cGREATEREnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cLOWEREnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cLOWERLessThanSignKeyword_2_0 = (Keyword)cLOWEREnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cGREATER_EQEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cGREATER_EQGreaterThanSignEqualsSignKeyword_3_0 = (Keyword)cGREATER_EQEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cLOWER_EQEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cLOWER_EQLessThanSignEqualsSignKeyword_4_0 = (Keyword)cLOWER_EQEnumLiteralDeclaration_4.eContents().get(0);
private final EnumLiteralDeclaration cNOT_EQEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
private final Keyword cNOT_EQLessThanSignGreaterThanSignKeyword_5_0 = (Keyword)cNOT_EQEnumLiteralDeclaration_5.eContents().get(0);
//enum LComparatorType returns types::LComparatorType:
// EQUALS="==" | GREATER=">" | LOWER="<" | GREATER_EQ=">=" | LOWER_EQ="<=" | NOT_EQ="<>";
public EnumRule getRule() { return rule; }
//EQUALS="==" | GREATER=">" | LOWER="<" | GREATER_EQ=">=" | LOWER_EQ="<=" | NOT_EQ="<>"
public Alternatives getAlternatives() { return cAlternatives; }
//EQUALS="=="
public EnumLiteralDeclaration getEQUALSEnumLiteralDeclaration_0() { return cEQUALSEnumLiteralDeclaration_0; }
//"=="
public Keyword getEQUALSEqualsSignEqualsSignKeyword_0_0() { return cEQUALSEqualsSignEqualsSignKeyword_0_0; }
//GREATER=">"
public EnumLiteralDeclaration getGREATEREnumLiteralDeclaration_1() { return cGREATEREnumLiteralDeclaration_1; }
//">"
public Keyword getGREATERGreaterThanSignKeyword_1_0() { return cGREATERGreaterThanSignKeyword_1_0; }
//LOWER="<"
public EnumLiteralDeclaration getLOWEREnumLiteralDeclaration_2() { return cLOWEREnumLiteralDeclaration_2; }
//"<"
public Keyword getLOWERLessThanSignKeyword_2_0() { return cLOWERLessThanSignKeyword_2_0; }
//GREATER_EQ=">="
public EnumLiteralDeclaration getGREATER_EQEnumLiteralDeclaration_3() { return cGREATER_EQEnumLiteralDeclaration_3; }
//">="
public Keyword getGREATER_EQGreaterThanSignEqualsSignKeyword_3_0() { return cGREATER_EQGreaterThanSignEqualsSignKeyword_3_0; }
//LOWER_EQ="<="
public EnumLiteralDeclaration getLOWER_EQEnumLiteralDeclaration_4() { return cLOWER_EQEnumLiteralDeclaration_4; }
//"<="
public Keyword getLOWER_EQLessThanSignEqualsSignKeyword_4_0() { return cLOWER_EQLessThanSignEqualsSignKeyword_4_0; }
//NOT_EQ="<>"
public EnumLiteralDeclaration getNOT_EQEnumLiteralDeclaration_5() { return cNOT_EQEnumLiteralDeclaration_5; }
//"<>"
public Keyword getNOT_EQLessThanSignGreaterThanSignKeyword_5_0() { return cNOT_EQLessThanSignGreaterThanSignKeyword_5_0; }
}
public class LowerBoundElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LowerBound");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cMANYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cMANYAsteriskKeyword_0_0 = (Keyword)cMANYEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cZEROEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cZERO0Keyword_1_0 = (Keyword)cZEROEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cOPTIONALEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cOPTIONALQuestionMarkKeyword_2_0 = (Keyword)cOPTIONALEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cATLEASTONEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cATLEASTONEPlusSignKeyword_3_0 = (Keyword)cATLEASTONEEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cONEEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cONE1Keyword_4_0 = (Keyword)cONEEnumLiteralDeclaration_4.eContents().get(0);
//enum LowerBound returns types::LLowerBound:
// MANY="*" | ZERO="0" | OPTIONAL="?" | ATLEASTONE="+" | ONE="1";
public EnumRule getRule() { return rule; }
//MANY="*" | ZERO="0" | OPTIONAL="?" | ATLEASTONE="+" | ONE="1"
public Alternatives getAlternatives() { return cAlternatives; }
//MANY="*"
public EnumLiteralDeclaration getMANYEnumLiteralDeclaration_0() { return cMANYEnumLiteralDeclaration_0; }
//"*"
public Keyword getMANYAsteriskKeyword_0_0() { return cMANYAsteriskKeyword_0_0; }
//ZERO="0"
public EnumLiteralDeclaration getZEROEnumLiteralDeclaration_1() { return cZEROEnumLiteralDeclaration_1; }
//"0"
public Keyword getZERO0Keyword_1_0() { return cZERO0Keyword_1_0; }
//OPTIONAL="?"
public EnumLiteralDeclaration getOPTIONALEnumLiteralDeclaration_2() { return cOPTIONALEnumLiteralDeclaration_2; }
//"?"
public Keyword getOPTIONALQuestionMarkKeyword_2_0() { return cOPTIONALQuestionMarkKeyword_2_0; }
//ATLEASTONE="+"
public EnumLiteralDeclaration getATLEASTONEEnumLiteralDeclaration_3() { return cATLEASTONEEnumLiteralDeclaration_3; }
//"+"
public Keyword getATLEASTONEPlusSignKeyword_3_0() { return cATLEASTONEPlusSignKeyword_3_0; }
//ONE="1"
public EnumLiteralDeclaration getONEEnumLiteralDeclaration_4() { return cONEEnumLiteralDeclaration_4; }
//"1"
public Keyword getONE1Keyword_4_0() { return cONE1Keyword_4_0; }
}
public class UpperBoundElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "UpperBound");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cMANYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cMANYAsteriskKeyword_0_0 = (Keyword)cMANYEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cONEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cONE1Keyword_1_0 = (Keyword)cONEEnumLiteralDeclaration_1.eContents().get(0);
//enum UpperBound returns types::LUpperBound:
// MANY="*" | ONE="1";
public EnumRule getRule() { return rule; }
//MANY="*" | ONE="1"
public Alternatives getAlternatives() { return cAlternatives; }
//MANY="*"
public EnumLiteralDeclaration getMANYEnumLiteralDeclaration_0() { return cMANYEnumLiteralDeclaration_0; }
//"*"
public Keyword getMANYAsteriskKeyword_0_0() { return cMANYAsteriskKeyword_0_0; }
//ONE="1"
public EnumLiteralDeclaration getONEEnumLiteralDeclaration_1() { return cONEEnumLiteralDeclaration_1; }
//"1"
public Keyword getONE1Keyword_1_0() { return cONE1Keyword_1_0; }
}
private final TypedPackageElements pTypedPackage;
private final TypeElements pType;
private final ClassElements pClass;
private final ImportElements pImport;
private final DataTypeElements pDataType;
private final DateTypeElements unknownRuleDateType;
private final ScalarTypeElements pScalarType;
private final ModifierElements pModifier;
private final EnumElements pEnum;
private final EnumLiteralElements pEnumLiteral;
private final AnnotationDefElements pAnnotationDef;
private final LVisibilityElements unknownRuleLVisibility;
private final ConstraintsElements pConstraints;
private final ConstraintElements pConstraint;
private final AttributeMatchingConstraintElements pAttributeMatchingConstraint;
private final LComparatorTypeElements unknownRuleLComparatorType;
private final LQualifiedNameWithWildCardElements pLQualifiedNameWithWildCard;
private final LFQNElements pLFQN;
private final ValidIDWithKeywordsElements pValidIDWithKeywords;
private final ValidLFQNWithKeywordsElements pValidLFQNWithKeywords;
private final MultiplicityElements pMultiplicity;
private final LowerBoundElements unknownRuleLowerBound;
private final UpperBoundElements unknownRuleUpperBound;
private final LIntElements pLInt;
private final Grammar grammar;
private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations;
@Inject
public CommonGrammarGrammarAccess(GrammarProvider grammarProvider,
XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaXbaseWithAnnotations = gaXbaseWithAnnotations;
this.pTypedPackage = new TypedPackageElements();
this.pType = new TypeElements();
this.pClass = new ClassElements();
this.pImport = new ImportElements();
this.pDataType = new DataTypeElements();
this.unknownRuleDateType = new DateTypeElements();
this.pScalarType = new ScalarTypeElements();
this.pModifier = new ModifierElements();
this.pEnum = new EnumElements();
this.pEnumLiteral = new EnumLiteralElements();
this.pAnnotationDef = new AnnotationDefElements();
this.unknownRuleLVisibility = new LVisibilityElements();
this.pConstraints = new ConstraintsElements();
this.pConstraint = new ConstraintElements();
this.pAttributeMatchingConstraint = new AttributeMatchingConstraintElements();
this.unknownRuleLComparatorType = new LComparatorTypeElements();
this.pLQualifiedNameWithWildCard = new LQualifiedNameWithWildCardElements();
this.pLFQN = new LFQNElements();
this.pValidIDWithKeywords = new ValidIDWithKeywordsElements();
this.pValidLFQNWithKeywords = new ValidLFQNWithKeywordsElements();
this.pMultiplicity = new MultiplicityElements();
this.unknownRuleLowerBound = new LowerBoundElements();
this.unknownRuleUpperBound = new UpperBoundElements();
this.pLInt = new LIntElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.lunifera.dsl.common.xtext.CommonGrammar".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
public Grammar getGrammar() {
return grammar;
}
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
return gaXbaseWithAnnotations;
}
//TypedPackage returns types::LTypedPackage:
// {types::LTypedPackage} "package" name=QualifiedName ("{" imports+=Import* types+=Type* "}")?;
public TypedPackageElements getTypedPackageAccess() {
return pTypedPackage;
}
public ParserRule getTypedPackageRule() {
return getTypedPackageAccess().getRule();
}
//Type returns types::LType:
// ScalarType | Class;
public TypeElements getTypeAccess() {
return pType;
}
public ParserRule getTypeRule() {
return getTypeAccess().getRule();
}
/// **
// * Needs to be overridden by sub grammar
// * / Class returns types::LClass:
// {types::LClass} annotations+=AnnotationDef* {types::LClass.annotationInfo=current} "class";
public ClassElements getClassAccess() {
return pClass;
}
public ParserRule getClassRule() {
return getClassAccess().getRule();
}
//Import returns types::LImport:
// "import" importedNamespace=LQualifiedNameWithWildCard ";";
public ImportElements getImportAccess() {
return pImport;
}
public ParserRule getImportRule() {
return getImportAccess().getRule();
}
//DataType returns types::LDataType:
// "datatype" name=ValidIDWithKeywords ("jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"? |
// date?="dateType" dateType=DateType | asBlob?="as blob") ";";
public DataTypeElements getDataTypeAccess() {
return pDataType;
}
public ParserRule getDataTypeRule() {
return getDataTypeAccess().getRule();
}
//enum DateType returns types::LDateType:
// DATE="date" | TIME="time" | TIMESTAMP="timestamp";
public DateTypeElements getDateTypeAccess() {
return unknownRuleDateType;
}
public EnumRule getDateTypeRule() {
return getDateTypeAccess().getRule();
}
//ScalarType returns types::LScalarType:
// DataType | Enum;
public ScalarTypeElements getScalarTypeAccess() {
return pScalarType;
}
public ParserRule getScalarTypeRule() {
return getScalarTypeAccess().getRule();
}
//Modifier returns types::LModifier:
// final?="final"? & static?="static"? & visibility=LVisibility;
public ModifierElements getModifierAccess() {
return pModifier;
}
public ParserRule getModifierRule() {
return getModifierAccess().getRule();
}
//Enum returns types::LEnum:
// "enum" name=ID "{" literals+=EnumLiteral (", " literals+=EnumLiteral)* "}";
public EnumElements getEnumAccess() {
return pEnum;
}
public ParserRule getEnumRule() {
return getEnumAccess().getRule();
}
//EnumLiteral returns types::LEnumLiteral:
// name=ID;
public EnumLiteralElements getEnumLiteralAccess() {
return pEnumLiteral;
}
public ParserRule getEnumLiteralRule() {
return getEnumLiteralAccess().getRule();
}
//AnnotationDef returns types::LAnnotationDef:
// => (annotation=XAnnotation);
public AnnotationDefElements getAnnotationDefAccess() {
return pAnnotationDef;
}
public ParserRule getAnnotationDefRule() {
return getAnnotationDefAccess().getRule();
}
//enum LVisibility returns types::LVisibility:
// PACKAGE="package" | PRIVATE="private" | PROTECTED="protected" | PUBLIC="public";
public LVisibilityElements getLVisibilityAccess() {
return unknownRuleLVisibility;
}
public EnumRule getLVisibilityRule() {
return getLVisibilityAccess().getRule();
}
//Constraints returns types::LConstraints:
// {types::LConstraints} "constraints" "{" constraints+=Constraint* "}";
public ConstraintsElements getConstraintsAccess() {
return pConstraints;
}
public ParserRule getConstraintsRule() {
return getConstraintsAccess().getRule();
}
//Constraint returns types::LConstraint:
// AttributeMatchingConstraint;
public ConstraintElements getConstraintAccess() {
return pConstraint;
}
public ParserRule getConstraintRule() {
return getConstraintAccess().getRule();
}
//AttributeMatchingConstraint returns types::LAttributeMatchingConstraint:
// attribute=[types::LAttribute] comparatorType=LComparatorType (matchingValue=STRING | =>
// matchingLiteral=[types::LEnumLiteral]) ";";
public AttributeMatchingConstraintElements getAttributeMatchingConstraintAccess() {
return pAttributeMatchingConstraint;
}
public ParserRule getAttributeMatchingConstraintRule() {
return getAttributeMatchingConstraintAccess().getRule();
}
//enum LComparatorType returns types::LComparatorType:
// EQUALS="==" | GREATER=">" | LOWER="<" | GREATER_EQ=">=" | LOWER_EQ="<=" | NOT_EQ="<>";
public LComparatorTypeElements getLComparatorTypeAccess() {
return unknownRuleLComparatorType;
}
public EnumRule getLComparatorTypeRule() {
return getLComparatorTypeAccess().getRule();
}
//LQualifiedNameWithWildCard:
// QualifiedName ("." "*")?;
public LQualifiedNameWithWildCardElements getLQualifiedNameWithWildCardAccess() {
return pLQualifiedNameWithWildCard;
}
public ParserRule getLQualifiedNameWithWildCardRule() {
return getLQualifiedNameWithWildCardAccess().getRule();
}
//LFQN:
// ID ("." ID)*;
public LFQNElements getLFQNAccess() {
return pLFQN;
}
public ParserRule getLFQNRule() {
return getLFQNAccess().getRule();
}
//ValidIDWithKeywords:
// "cachable" | "id" | "uuid" | "transient" | "version" | "derived" "collection" | "refers" | "settings" | "lazy" |
// "notnull" | "dto" | "date" | "mapto" | "ref" | "cascade" | "var" | ID;
public ValidIDWithKeywordsElements getValidIDWithKeywordsAccess() {
return pValidIDWithKeywords;
}
public ParserRule getValidIDWithKeywordsRule() {
return getValidIDWithKeywordsAccess().getRule();
}
//ValidLFQNWithKeywords:
// ValidIDWithKeywords ("." ValidIDWithKeywords)*;
public ValidLFQNWithKeywordsElements getValidLFQNWithKeywordsAccess() {
return pValidLFQNWithKeywords;
}
public ParserRule getValidLFQNWithKeywordsRule() {
return getValidLFQNWithKeywordsAccess().getRule();
}
//Multiplicity returns types::LMultiplicity:
// "[" lower=LowerBound (".." upper=UpperBound)? "]";
public MultiplicityElements getMultiplicityAccess() {
return pMultiplicity;
}
public ParserRule getMultiplicityRule() {
return getMultiplicityAccess().getRule();
}
//enum LowerBound returns types::LLowerBound:
// MANY="*" | ZERO="0" | OPTIONAL="?" | ATLEASTONE="+" | ONE="1";
public LowerBoundElements getLowerBoundAccess() {
return unknownRuleLowerBound;
}
public EnumRule getLowerBoundRule() {
return getLowerBoundAccess().getRule();
}
//enum UpperBound returns types::LUpperBound:
// MANY="*" | ONE="1";
public UpperBoundElements getUpperBoundAccess() {
return unknownRuleUpperBound;
}
public EnumRule getUpperBoundRule() {
return getUpperBoundAccess().getRule();
}
//LInt returns ecore::EInt:
// INT;
public LIntElements getLIntAccess() {
return pLInt;
}
public ParserRule getLIntRule() {
return getLIntAccess().getRule();
}
//XAnnotation:
// {XAnnotation} "@" annotationType=[types::JvmAnnotationType|QualifiedName] ("("
// (elementValuePairs+=XAnnotationElementValuePair ("," elementValuePairs+=XAnnotationElementValuePair)* |
// value=XAnnotationElementValueOrCommaList)? ")")?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() {
return gaXbaseWithAnnotations.getXAnnotationAccess();
}
public ParserRule getXAnnotationRule() {
return getXAnnotationAccess().getRule();
}
//XAnnotationElementValuePair:
// => (element=[types::JvmOperation|ValidID] "=") value=XAnnotationElementValue;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess();
}
public ParserRule getXAnnotationElementValuePairRule() {
return getXAnnotationElementValuePairAccess().getRule();
}
//XAnnotationElementValueOrCommaList returns xbase::XExpression:
// => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" |
// XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} ("," elements+=XAnnotationOrExpression)+)?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess();
}
public ParserRule getXAnnotationElementValueOrCommaListRule() {
return getXAnnotationElementValueOrCommaListAccess().getRule();
}
//XAnnotationElementValue returns xbase::XExpression:
// => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" |
// XAnnotationOrExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
public ParserRule getXAnnotationElementValueRule() {
return getXAnnotationElementValueAccess().getRule();
}
//XAnnotationOrExpression returns xbase::XExpression:
// XAnnotation | XExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}
public ParserRule getXAnnotationOrExpressionRule() {
return getXAnnotationOrExpressionAccess().getRule();
}
//XExpression:
// XAssignment;
public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() {
return gaXbaseWithAnnotations.getXExpressionAccess();
}
public ParserRule getXExpressionRule() {
return getXExpressionAccess().getRule();
}
//XAssignment returns XExpression:
// {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression
// (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign])
// rightOperand=XAssignment)?;
public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() {
return gaXbaseWithAnnotations.getXAssignmentAccess();
}
public ParserRule getXAssignmentRule() {
return getXAssignmentAccess().getRule();
}
//OpSingleAssign:
// "=";
public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() {
return gaXbaseWithAnnotations.getOpSingleAssignAccess();
}
public ParserRule getOpSingleAssignRule() {
return getOpSingleAssignAccess().getRule();
}
//OpMultiAssign:
// "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">=";
public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() {
return gaXbaseWithAnnotations.getOpMultiAssignAccess();
}
public ParserRule getOpMultiAssignRule() {
return getOpMultiAssignAccess().getRule();
}
//XOrExpression returns XExpression:
// XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr])
// rightOperand=XAndExpression)*;
public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() {
return gaXbaseWithAnnotations.getXOrExpressionAccess();
}
public ParserRule getXOrExpressionRule() {
return getXOrExpressionAccess().getRule();
}
//OpOr:
// "||";
public XbaseGrammarAccess.OpOrElements getOpOrAccess() {
return gaXbaseWithAnnotations.getOpOrAccess();
}
public ParserRule getOpOrRule() {
return getOpOrAccess().getRule();
}
//XAndExpression returns XExpression:
// XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd])
// rightOperand=XEqualityExpression)*;
public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() {
return gaXbaseWithAnnotations.getXAndExpressionAccess();
}
public ParserRule getXAndExpressionRule() {
return getXAndExpressionAccess().getRule();
}
//OpAnd:
// "&&";
public XbaseGrammarAccess.OpAndElements getOpAndAccess() {
return gaXbaseWithAnnotations.getOpAndAccess();
}
public ParserRule getOpAndRule() {
return getOpAndAccess().getRule();
}
//XEqualityExpression returns XExpression:
// XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality])
// rightOperand=XRelationalExpression)*;
public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() {
return gaXbaseWithAnnotations.getXEqualityExpressionAccess();
}
public ParserRule getXEqualityExpressionRule() {
return getXEqualityExpressionAccess().getRule();
}
//OpEquality:
// "==" | "!=" | "===" | "!==";
public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() {
return gaXbaseWithAnnotations.getOpEqualityAccess();
}
public ParserRule getOpEqualityRule() {
return getOpEqualityAccess().getRule();
}
//XRelationalExpression returns XExpression:
// XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | =>
// ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare])
// rightOperand=XOtherOperatorExpression)*;
public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() {
return gaXbaseWithAnnotations.getXRelationalExpressionAccess();
}
public ParserRule getXRelationalExpressionRule() {
return getXRelationalExpressionAccess().getRule();
}
//OpCompare:
// ">=" | "<" "=" | ">" | "<";
public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() {
return gaXbaseWithAnnotations.getOpCompareAccess();
}
public ParserRule getOpCompareRule() {
return getOpCompareAccess().getRule();
}
//XOtherOperatorExpression returns XExpression:
// XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther])
// rightOperand=XAdditiveExpression)*;
public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() {
return gaXbaseWithAnnotations.getXOtherOperatorExpressionAccess();
}
public ParserRule getXOtherOperatorExpressionRule() {
return getXOtherOperatorExpressionAccess().getRule();
}
//OpOther:
// "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:";
public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() {
return gaXbaseWithAnnotations.getOpOtherAccess();
}
public ParserRule getOpOtherRule() {
return getOpOtherAccess().getRule();
}
//XAdditiveExpression returns XExpression:
// XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd])
// rightOperand=XMultiplicativeExpression)*;
public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() {
return gaXbaseWithAnnotations.getXAdditiveExpressionAccess();
}
public ParserRule getXAdditiveExpressionRule() {
return getXAdditiveExpressionAccess().getRule();
}
//OpAdd:
// "+" | "-";
public XbaseGrammarAccess.OpAddElements getOpAddAccess() {
return gaXbaseWithAnnotations.getOpAddAccess();
}
public ParserRule getOpAddRule() {
return getOpAddAccess().getRule();
}
//XMultiplicativeExpression returns XExpression:
// XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti])
// rightOperand=XUnaryOperation)*;
public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() {
return gaXbaseWithAnnotations.getXMultiplicativeExpressionAccess();
}
public ParserRule getXMultiplicativeExpressionRule() {
return getXMultiplicativeExpressionAccess().getRule();
}
//OpMulti:
// "*" | "**" | "/" | "%";
public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() {
return gaXbaseWithAnnotations.getOpMultiAccess();
}
public ParserRule getOpMultiRule() {
return getOpMultiAccess().getRule();
}
//XUnaryOperation returns XExpression:
// {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression;
public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() {
return gaXbaseWithAnnotations.getXUnaryOperationAccess();
}
public ParserRule getXUnaryOperationRule() {
return getXUnaryOperationAccess().getRule();
}
//OpUnary:
// "!" | "-" | "+";
public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() {
return gaXbaseWithAnnotations.getOpUnaryAccess();
}
public ParserRule getOpUnaryRule() {
return getOpUnaryAccess().getRule();
}
//XCastedExpression returns XExpression:
// XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*;
public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() {
return gaXbaseWithAnnotations.getXCastedExpressionAccess();
}
public ParserRule getXCastedExpressionRule() {
return getXCastedExpressionAccess().getRule();
}
//XPostfixOperation returns XExpression:
// XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?;
public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() {
return gaXbaseWithAnnotations.getXPostfixOperationAccess();
}
public ParserRule getXPostfixOperationRule() {
return getXPostfixOperationAccess().getRule();
}
//OpPostfix:
// "++" | "--";
public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() {
return gaXbaseWithAnnotations.getOpPostfixAccess();
}
public ParserRule getOpPostfixRule() {
return getOpPostfixAccess().getRule();
}
//XMemberFeatureCall returns XExpression:
// XPrimaryExpression (=> ({XAssignment.assignable=current} ("." | explicitStatic?="::")
// feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment | =>
// ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ("<"
// typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (memberCallArguments+=XShortClosure |
// memberCallArguments+=XExpression ("," memberCallArguments+=XExpression)*)? ")")? memberCallArguments+=XClosure?)*;
public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() {
return gaXbaseWithAnnotations.getXMemberFeatureCallAccess();
}
public ParserRule getXMemberFeatureCallRule() {
return getXMemberFeatureCallAccess().getRule();
}
//XPrimaryExpression returns XExpression:
// XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral |
// XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression |
// XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression;
public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() {
return gaXbaseWithAnnotations.getXPrimaryExpressionAccess();
}
public ParserRule getXPrimaryExpressionRule() {
return getXPrimaryExpressionAccess().getRule();
}
//XLiteral returns XExpression:
// XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral;
public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() {
return gaXbaseWithAnnotations.getXLiteralAccess();
}
public ParserRule getXLiteralRule() {
return getXLiteralAccess().getRule();
}
//XCollectionLiteral:
// XSetLiteral | XListLiteral;
public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() {
return gaXbaseWithAnnotations.getXCollectionLiteralAccess();
}
public ParserRule getXCollectionLiteralRule() {
return getXCollectionLiteralAccess().getRule();
}
//XSetLiteral:
// {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}";
public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() {
return gaXbaseWithAnnotations.getXSetLiteralAccess();
}
public ParserRule getXSetLiteralRule() {
return getXSetLiteralAccess().getRule();
}
//XListLiteral:
// {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]";
public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() {
return gaXbaseWithAnnotations.getXListLiteralAccess();
}
public ParserRule getXListLiteralRule() {
return getXListLiteralAccess().getRule();
}
//XClosure returns XExpression:
// => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter (","
// declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]";
public XbaseGrammarAccess.XClosureElements getXClosureAccess() {
return gaXbaseWithAnnotations.getXClosureAccess();
}
public ParserRule getXClosureRule() {
return getXClosureAccess().getRule();
}
//XExpressionInClosure returns XExpression:
// {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*;
public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() {
return gaXbaseWithAnnotations.getXExpressionInClosureAccess();
}
public ParserRule getXExpressionInClosureRule() {
return getXExpressionInClosureAccess().getRule();
}
//XShortClosure returns XExpression:
// => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?="|") expression=XExpression;
public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() {
return gaXbaseWithAnnotations.getXShortClosureAccess();
}
public ParserRule getXShortClosureRule() {
return getXShortClosureAccess().getRule();
}
//XParenthesizedExpression returns XExpression:
// "(" XExpression ")";
public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() {
return gaXbaseWithAnnotations.getXParenthesizedExpressionAccess();
}
public ParserRule getXParenthesizedExpressionRule() {
return getXParenthesizedExpressionAccess().getRule();
}
//XIfExpression returns XExpression:
// {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?;
public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() {
return gaXbaseWithAnnotations.getXIfExpressionAccess();
}
public ParserRule getXIfExpressionRule() {
return getXIfExpressionAccess().getRule();
}
//XSwitchExpression returns XExpression:
// {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | =>
// (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":" default=XExpression)?
// "}";
public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() {
return gaXbaseWithAnnotations.getXSwitchExpressionAccess();
}
public ParserRule getXSwitchExpressionRule() {
return getXSwitchExpressionAccess().getRule();
}
//XCasePart:
// {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=",");
public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() {
return gaXbaseWithAnnotations.getXCasePartAccess();
}
public ParserRule getXCasePartRule() {
return getXCasePartAccess().getRule();
}
//XForLoopExpression returns XExpression:
// => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")"
// eachExpression=XExpression;
public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() {
return gaXbaseWithAnnotations.getXForLoopExpressionAccess();
}
public ParserRule getXForLoopExpressionRule() {
return getXForLoopExpressionAccess().getRule();
}
//XBasicForLoopExpression returns XExpression:
// {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration (","
// initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression (","
// updateExpressions+=XExpression)*)? ")" eachExpression=XExpression;
public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() {
return gaXbaseWithAnnotations.getXBasicForLoopExpressionAccess();
}
public ParserRule getXBasicForLoopExpressionRule() {
return getXBasicForLoopExpressionAccess().getRule();
}
//XWhileExpression returns XExpression:
// {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression;
public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() {
return gaXbaseWithAnnotations.getXWhileExpressionAccess();
}
public ParserRule getXWhileExpressionRule() {
return getXWhileExpressionAccess().getRule();
}
//XDoWhileExpression returns XExpression:
// {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")";
public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() {
return gaXbaseWithAnnotations.getXDoWhileExpressionAccess();
}
public ParserRule getXDoWhileExpressionRule() {
return getXDoWhileExpressionAccess().getRule();
}
//XBlockExpression returns XExpression:
// {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}";
public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() {
return gaXbaseWithAnnotations.getXBlockExpressionAccess();
}
public ParserRule getXBlockExpressionRule() {
return getXBlockExpressionAccess().getRule();
}
//XExpressionOrVarDeclaration returns XExpression:
// XVariableDeclaration | XExpression;
public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() {
return gaXbaseWithAnnotations.getXExpressionOrVarDeclarationAccess();
}
public ParserRule getXExpressionOrVarDeclarationRule() {
return getXExpressionOrVarDeclarationAccess().getRule();
}
//XVariableDeclaration returns XExpression:
// {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("="
// right=XExpression)?;
public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() {
return gaXbaseWithAnnotations.getXVariableDeclarationAccess();
}
public ParserRule getXVariableDeclarationRule() {
return getXVariableDeclarationAccess().getRule();
}
//JvmFormalParameter returns types::JvmFormalParameter:
// parameterType=JvmTypeReference? name=ValidID;
public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() {
return gaXbaseWithAnnotations.getJvmFormalParameterAccess();
}
public ParserRule getJvmFormalParameterRule() {
return getJvmFormalParameterAccess().getRule();
}
//FullJvmFormalParameter returns types::JvmFormalParameter:
// parameterType=JvmTypeReference name=ValidID;
public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() {
return gaXbaseWithAnnotations.getFullJvmFormalParameterAccess();
}
public ParserRule getFullJvmFormalParameterRule() {
return getFullJvmFormalParameterAccess().getRule();
}
//XFeatureCall returns XExpression:
// {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure
// | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?;
public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() {
return gaXbaseWithAnnotations.getXFeatureCallAccess();
}
public ParserRule getXFeatureCallRule() {
return getXFeatureCallAccess().getRule();
}
//FeatureCallID:
// ValidID | "extends" | "static" | "import" | "extension";
public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() {
return gaXbaseWithAnnotations.getFeatureCallIDAccess();
}
public ParserRule getFeatureCallIDRule() {
return getFeatureCallIDAccess().getRule();
}
//IdOrSuper:
// FeatureCallID | "super";
public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {
return gaXbaseWithAnnotations.getIdOrSuperAccess();
}
public ParserRule getIdOrSuperRule() {
return getIdOrSuperAccess().getRule();
}
//XConstructorCall returns XExpression:
// {XConstructorCall} "new" constructor=[types::JvmConstructor|QualifiedName] ("<"
// typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? (=>
// explicitConstructorCall?="(" (arguments+=XShortClosure | arguments+=XExpression ("," arguments+=XExpression)*)? ")")?
// arguments+=XClosure?;
public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() {
return gaXbaseWithAnnotations.getXConstructorCallAccess();
}
public ParserRule getXConstructorCallRule() {
return getXConstructorCallAccess().getRule();
}
//XBooleanLiteral returns XExpression:
// {XBooleanLiteral} ("false" | isTrue?="true");
public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() {
return gaXbaseWithAnnotations.getXBooleanLiteralAccess();
}
public ParserRule getXBooleanLiteralRule() {
return getXBooleanLiteralAccess().getRule();
}
//XNullLiteral returns XExpression:
// {XNullLiteral} "null";
public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() {
return gaXbaseWithAnnotations.getXNullLiteralAccess();
}
public ParserRule getXNullLiteralRule() {
return getXNullLiteralAccess().getRule();
}
//XNumberLiteral returns XExpression:
// {XNumberLiteral} value=Number;
public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() {
return gaXbaseWithAnnotations.getXNumberLiteralAccess();
}
public ParserRule getXNumberLiteralRule() {
return getXNumberLiteralAccess().getRule();
}
//XStringLiteral returns XExpression:
// {XStringLiteral} value=STRING;
public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() {
return gaXbaseWithAnnotations.getXStringLiteralAccess();
}
public ParserRule getXStringLiteralRule() {
return getXStringLiteralAccess().getRule();
}
//XTypeLiteral returns XExpression:
// {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")";
public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() {
return gaXbaseWithAnnotations.getXTypeLiteralAccess();
}
public ParserRule getXTypeLiteralRule() {
return getXTypeLiteralAccess().getRule();
}
//XThrowExpression returns XExpression:
// {XThrowExpression} "throw" expression=XExpression;
public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() {
return gaXbaseWithAnnotations.getXThrowExpressionAccess();
}
public ParserRule getXThrowExpressionRule() {
return getXThrowExpressionAccess().getRule();
}
//XReturnExpression returns XExpression:
// {XReturnExpression} "return" -> expression=XExpression?;
public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() {
return gaXbaseWithAnnotations.getXReturnExpressionAccess();
}
public ParserRule getXReturnExpressionRule() {
return getXReturnExpressionAccess().getRule();
}
//XTryCatchFinallyExpression returns XExpression:
// {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally"
// finallyExpression=XExpression)? | "finally" finallyExpression=XExpression);
public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() {
return gaXbaseWithAnnotations.getXTryCatchFinallyExpressionAccess();
}
public ParserRule getXTryCatchFinallyExpressionRule() {
return getXTryCatchFinallyExpressionAccess().getRule();
}
//XSynchronizedExpression returns XExpression:
// => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression;
public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() {
return gaXbaseWithAnnotations.getXSynchronizedExpressionAccess();
}
public ParserRule getXSynchronizedExpressionRule() {
return getXSynchronizedExpressionAccess().getRule();
}
//XCatchClause:
// "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression;
public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() {
return gaXbaseWithAnnotations.getXCatchClauseAccess();
}
public ParserRule getXCatchClauseRule() {
return getXCatchClauseAccess().getRule();
}
//QualifiedName:
// ValidID ("." ValidID)*;
public XbaseGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
return gaXbaseWithAnnotations.getQualifiedNameAccess();
}
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
//Number hidden():
// HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?;
public XbaseGrammarAccess.NumberElements getNumberAccess() {
return gaXbaseWithAnnotations.getNumberAccess();
}
public ParserRule getNumberRule() {
return getNumberAccess().getRule();
}
/// **
// * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes,
// * which makes downstream grammars break on classloading, when a rule is removed.
// * / StaticQualifier:
// (ValidID "::")+;
public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() {
return gaXbaseWithAnnotations.getStaticQualifierAccess();
}
public ParserRule getStaticQualifierRule() {
return getStaticQualifierAccess().getRule();
}
//terminal HEX:
// ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F" | "_")+ ("#" (("b" | "B") ("i" | "I") | ("l" | "L")))?;
public TerminalRule getHEXRule() {
return gaXbaseWithAnnotations.getHEXRule();
}
//terminal INT returns ecore::EInt:
// "0".."9" ("0".."9" | "_")*;
public TerminalRule getINTRule() {
return gaXbaseWithAnnotations.getINTRule();
}
//terminal DECIMAL:
// INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?;
public TerminalRule getDECIMALRule() {
return gaXbaseWithAnnotations.getDECIMALRule();
}
//JvmTypeReference:
// JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* |
// XFunctionTypeRef;
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmTypeReferenceAccess();
}
public ParserRule getJvmTypeReferenceRule() {
return getJvmTypeReferenceAccess().getRule();
}
//ArrayBrackets:
// "[" "]";
public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() {
return gaXbaseWithAnnotations.getArrayBracketsAccess();
}
public ParserRule getArrayBracketsRule() {
return getArrayBracketsAccess().getRule();
}
//XFunctionTypeRef:
// ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference;
public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() {
return gaXbaseWithAnnotations.getXFunctionTypeRefAccess();
}
public ParserRule getXFunctionTypeRefRule() {
return getXFunctionTypeRefAccess().getRule();
}
//JvmParameterizedTypeReference:
// type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">"
// (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference (","
// arguments+=JvmArgumentTypeReference)* ">")?)*)?;
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmParameterizedTypeReferenceAccess();
}
public ParserRule getJvmParameterizedTypeReferenceRule() {
return getJvmParameterizedTypeReferenceAccess().getRule();
}
//JvmArgumentTypeReference returns JvmTypeReference:
// JvmTypeReference | JvmWildcardTypeReference;
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmArgumentTypeReferenceAccess();
}
public ParserRule getJvmArgumentTypeReferenceRule() {
return getJvmArgumentTypeReferenceAccess().getRule();
}
//JvmWildcardTypeReference:
// {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* |
// constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?;
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmWildcardTypeReferenceAccess();
}
public ParserRule getJvmWildcardTypeReferenceRule() {
return getJvmWildcardTypeReferenceAccess().getRule();
}
//JvmUpperBound:
// "extends" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
return gaXbaseWithAnnotations.getJvmUpperBoundAccess();
}
public ParserRule getJvmUpperBoundRule() {
return getJvmUpperBoundAccess().getRule();
}
//JvmUpperBoundAnded returns JvmUpperBound:
// "&" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() {
return gaXbaseWithAnnotations.getJvmUpperBoundAndedAccess();
}
public ParserRule getJvmUpperBoundAndedRule() {
return getJvmUpperBoundAndedAccess().getRule();
}
//JvmLowerBound:
// "super" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() {
return gaXbaseWithAnnotations.getJvmLowerBoundAccess();
}
public ParserRule getJvmLowerBoundRule() {
return getJvmLowerBoundAccess().getRule();
}
//JvmLowerBoundAnded returns JvmLowerBound:
// "&" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {
return gaXbaseWithAnnotations.getJvmLowerBoundAndedAccess();
}
public ParserRule getJvmLowerBoundAndedRule() {
return getJvmLowerBoundAndedAccess().getRule();
}
//JvmTypeParameter:
// name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?;
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
return gaXbaseWithAnnotations.getJvmTypeParameterAccess();
}
public ParserRule getJvmTypeParameterRule() {
return getJvmTypeParameterAccess().getRule();
}
//QualifiedNameWithWildcard:
// QualifiedName "." "*";
public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
return gaXbaseWithAnnotations.getQualifiedNameWithWildcardAccess();
}
public ParserRule getQualifiedNameWithWildcardRule() {
return getQualifiedNameWithWildcardAccess().getRule();
}
//ValidID:
// ID;
public XtypeGrammarAccess.ValidIDElements getValidIDAccess() {
return gaXbaseWithAnnotations.getValidIDAccess();
}
public ParserRule getValidIDRule() {
return getValidIDAccess().getRule();
}
//XImportSection:
// importDeclarations+=XImportDeclaration+;
public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() {
return gaXbaseWithAnnotations.getXImportSectionAccess();
}
public ParserRule getXImportSectionRule() {
return getXImportSectionAccess().getRule();
}
//XImportDeclaration:
// "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport]
// (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] |
// importedNamespace=QualifiedNameWithWildcard) ";"?;
public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() {
return gaXbaseWithAnnotations.getXImportDeclarationAccess();
}
public ParserRule getXImportDeclarationRule() {
return getXImportDeclarationAccess().getRule();
}
//QualifiedNameInStaticImport:
// (ValidID ".")+;
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
return gaXbaseWithAnnotations.getQualifiedNameInStaticImportAccess();
}
public ParserRule getQualifiedNameInStaticImportRule() {
return getQualifiedNameInStaticImportAccess().getRule();
}
//terminal ID:
// "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*;
public TerminalRule getIDRule() {
return gaXbaseWithAnnotations.getIDRule();
}
//terminal STRING:
// "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" .
// / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?;
public TerminalRule getSTRINGRule() {
return gaXbaseWithAnnotations.getSTRINGRule();
}
//terminal ML_COMMENT:
// "/ *"->"* /";
public TerminalRule getML_COMMENTRule() {
return gaXbaseWithAnnotations.getML_COMMENTRule();
}
//terminal SL_COMMENT:
// "//" !("\n" | "\r")* ("\r"? "\n")?;
public TerminalRule getSL_COMMENTRule() {
return gaXbaseWithAnnotations.getSL_COMMENTRule();
}
//terminal WS:
// (" " | "\t" | "\r" | "\n")+;
public TerminalRule getWSRule() {
return gaXbaseWithAnnotations.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaXbaseWithAnnotations.getANY_OTHERRule();
}
}