org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias Java Examples
The following examples show how to use
org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: N4JSSyntacticSequencer.java From n4js with Eclipse Public License 1.0 | 6 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (N4JSGrammarAccess) access; match_AnnotatedN4MemberDeclaration_SemicolonKeyword_1_0_2_q = new TokenAlias(false, true, grammarAccess.getAnnotatedN4MemberDeclarationAccess().getSemicolonKeyword_1_0_2()); match_AnnotatedN4MemberDeclaration_SemicolonKeyword_1_1_6_q = new TokenAlias(false, true, grammarAccess.getAnnotatedN4MemberDeclarationAccess().getSemicolonKeyword_1_1_6()); match_AnnotatedN4MemberDeclaration_SemicolonKeyword_1_2_1_q = new TokenAlias(false, true, grammarAccess.getAnnotatedN4MemberDeclarationAccess().getSemicolonKeyword_1_2_1()); match_AnnotatedPropertyAssignment_SemicolonKeyword_1_3_1_q = new TokenAlias(false, true, grammarAccess.getAnnotatedPropertyAssignmentAccess().getSemicolonKeyword_1_3_1()); match_AnnotationNoAtSign___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAnnotationNoAtSignAccess().getLeftParenthesisKeyword_1_0()), new TokenAlias(false, false, grammarAccess.getAnnotationNoAtSignAccess().getRightParenthesisKeyword_1_2())); match_ArrayBindingPattern_CommaKeyword_3_2_0_q = new TokenAlias(false, true, grammarAccess.getArrayBindingPatternAccess().getCommaKeyword_3_2_0()); match_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_LeftParenthesisKeyword_0_0_1_or___LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftCurlyBracketKeyword_1()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getFunctionKeyword_3()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftParenthesisKeyword_5())), new TokenAlias(false, false, grammarAccess.getArrowFunctionTypeExpressionAccess().getLeftParenthesisKeyword_0_0_1())); match_DoStatement_SemiParserRuleCall_6_q = new TokenAlias(false, true, grammarAccess.getDoStatementAccess().getSemiParserRuleCall_6()); match_ExportClause_CommaKeyword_1_2_q = new TokenAlias(false, true, grammarAccess.getExportClauseAccess().getCommaKeyword_1_2()); match_FunctionDeclaration_SemiParserRuleCall_1_q = new TokenAlias(false, true, grammarAccess.getFunctionDeclarationAccess().getSemiParserRuleCall_1()); match_ImportSpecifiersExceptDefault_CommaKeyword_1_1_2_q = new TokenAlias(false, true, grammarAccess.getImportSpecifiersExceptDefaultAccess().getCommaKeyword_1_1_2()); match_InterfaceExtendsList_ExtendsKeyword_0_0_or_ImplementsKeyword_0_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getInterfaceExtendsListAccess().getExtendsKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getInterfaceExtendsListAccess().getImplementsKeyword_0_1())); match_N4CallableConstructorDeclaration_SemicolonKeyword_1_q = new TokenAlias(false, true, grammarAccess.getN4CallableConstructorDeclarationAccess().getSemicolonKeyword_1()); match_N4GetterDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getN4GetterDeclarationAccess().getSemicolonKeyword_2()); match_N4MethodDeclaration_SemicolonKeyword_1_q = new TokenAlias(false, true, grammarAccess.getN4MethodDeclarationAccess().getSemicolonKeyword_1()); match_N4SetterDeclaration_SemicolonKeyword_6_q = new TokenAlias(false, true, grammarAccess.getN4SetterDeclarationAccess().getSemicolonKeyword_6()); match_NoLineTerminator_NO_LINE_TERMINATORTerminalRuleCall_q = new TokenAlias(false, true, grammarAccess.getNoLineTerminatorAccess().getNO_LINE_TERMINATORTerminalRuleCall()); match_ObjectLiteral_CommaKeyword_2_2_q = new TokenAlias(false, true, grammarAccess.getObjectLiteralAccess().getCommaKeyword_2_2()); match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_a = new TokenAlias(true, true, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()); match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_p = new TokenAlias(true, false, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()); match_PropertyMethodDeclaration_SemicolonKeyword_1_q = new TokenAlias(false, true, grammarAccess.getPropertyMethodDeclarationAccess().getSemicolonKeyword_1()); match_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getCommaKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getSemicolonKeyword_1_1_0())); }
Example #2
Source File: AbstractSyntacticSequencerTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (SyntacticSequencerTestLanguageGrammarAccess) access; match_ActionOnly_IDTerminalRuleCall_2_q = new TokenAlias(false, true, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_2()); match_ActionOnly_IDTerminalRuleCall_5_q = new TokenAlias(false, true, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_5()); match_ActionOnly_Kw1Keyword_1_q = new TokenAlias(false, true, grammarAccess.getActionOnlyAccess().getKw1Keyword_1()); match_ActionOnly_Kw2Keyword_4_q = new TokenAlias(false, true, grammarAccess.getActionOnlyAccess().getKw2Keyword_4()); match_AlternativeTransition_KW1ParserRuleCall_1_0_or_Kw2Keyword_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getAlternativeTransitionAccess().getKW1ParserRuleCall_1_0()), new TokenAlias(false, false, grammarAccess.getAlternativeTransitionAccess().getKw2Keyword_1_1())); match_LongAlternative___Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a = new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0__a_Kw8Keyword_2_7_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw8Keyword_2_7_0__a_Kw7Keyword_2_6_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw6Keyword_2_5_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw5Keyword_2_4_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw4Keyword_2_3_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw2Keyword_2_1_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw3Keyword_2_2_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0())); match_LongAlternative_____Kw1Keyword_2_0_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw2Keyword_2_1_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0())); match_LongAlternative_____Kw2Keyword_2_1_0_or_Kw3Keyword_2_2_0_or_Kw4Keyword_2_3_0_or_Kw5Keyword_2_4_0_or_Kw6Keyword_2_5_0_or_Kw7Keyword_2_6_0_or_Kw8Keyword_2_7_0__a_Kw1Keyword_2_0_0__p = new GroupAlias(true, false, new AlternativeAlias(true, true, new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0())), new TokenAlias(false, false, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0())); match_MandatoryManyTransition_KW1ParserRuleCall_1_p = new TokenAlias(true, false, grammarAccess.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1()); match_OptionalManyTransition_KW1ParserRuleCall_1_a = new TokenAlias(true, true, grammarAccess.getOptionalManyTransitionAccess().getKW1ParserRuleCall_1()); match_OptionalSingleTransition_KW1ParserRuleCall_1_q = new TokenAlias(false, true, grammarAccess.getOptionalSingleTransitionAccess().getKW1ParserRuleCall_1()); match_Prim1_LeftParenthesisKeyword_1_0_a = new TokenAlias(true, true, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); match_Prim1_LeftParenthesisKeyword_1_0_p = new TokenAlias(true, false, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); match_Prim2_LeftParenthesisKeyword_1_0_a = new TokenAlias(true, true, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); match_Prim2_LeftParenthesisKeyword_1_0_p = new TokenAlias(true, false, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); }
Example #3
Source File: SyntacticSequencerPDAProvider.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@Override public List<AbstractElementAlias> getAmbiguousSyntaxes() { if (ambiguousSyntaxes != null) return ambiguousSyntaxes; if (!isSyntacticallyAmbiguous()) return ambiguousSyntaxes = Collections.emptyList(); ambiguousSyntaxes = Lists.newArrayList(); AbstractElementAlias syntax = getAmbiguousSyntax(); if (syntax instanceof GroupAlias) { GroupAlias group = (GroupAlias) syntax; for (AbstractElementAlias child : group.getChildren()) if (child.isMany() || child.isOptional() || child instanceof AlternativeAlias) ambiguousSyntaxes.add(child); } else ambiguousSyntaxes.add(syntax); return ambiguousSyntaxes; }
Example #4
Source File: Bug304681TestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug304681TestLanguageGrammarAccess) access; match_Attribute2_SemicolonKeyword_3_1_or___LeftCurlyBracketKeyword_3_0_0_RightCurlyBracketKeyword_3_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getAttribute2Access().getLeftCurlyBracketKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getAttribute2Access().getRightCurlyBracketKeyword_3_0_2())), new TokenAlias(false, false, grammarAccess.getAttribute2Access().getSemicolonKeyword_3_1())); match_ConstraintDefinition___ParametersKeyword_3_0_0_SemicolonKeyword_3_0_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getParametersKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getSemicolonKeyword_3_0_2())); match_ConstraintDefinition___ParametersKeyword_3_0_0_SemicolonKeyword_3_0_2__p = new GroupAlias(true, false, new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getParametersKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getSemicolonKeyword_3_0_2())); match_ConstraintDefinition___SemicolonKeyword_3_0_2_ParametersKeyword_3_0_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getSemicolonKeyword_3_0_2()), new TokenAlias(false, false, grammarAccess.getConstraintDefinitionAccess().getParametersKeyword_3_0_0())); match_Object_OptionalLoopKeyword_5_6_0_a = new TokenAlias(true, true, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()); match_Object_OptionalLoopKeyword_5_6_0_p = new TokenAlias(true, false, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()); match_Object___AfterKeyword_5_5_2_OptionalLoopKeyword_5_6_0_a_BeforeKeyword_5_5_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()), new TokenAlias(true, true, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0())); match_Object___BeforeKeyword_5_5_0_AfterKeyword_5_5_2_OptionalLoopKeyword_5_6_0_a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()), new TokenAlias(true, true, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0())); match_Object___OptionalLoopKeyword_5_6_0___BeforeKeyword_5_5_0_AfterKeyword_5_5_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()))); match_Object___OptionalLoopKeyword_5_6_0___BeforeKeyword_5_5_0_AfterKeyword_5_5_2__a__p = new GroupAlias(true, false, new TokenAlias(false, false, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()))); match_Object___OptionalLoopKeyword_5_6_0_q___BeforeKeyword_5_5_0_AfterKeyword_5_5_2__q__p = new GroupAlias(true, false, new TokenAlias(false, true, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()))); match_Object_____BeforeKeyword_5_5_0_or___OptionalLoopKeyword_5_6_0_p_BeforeKeyword_5_5_0_____AfterKeyword_5_5_2__a = new GroupAlias(true, true, new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(true, false, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0())), new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0())), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2())); match_Object_____OptionalLoopKeyword_5_6_0_q___BeforeKeyword_5_5_0_AfterKeyword_5_5_2__q__p_MandatoryLoopKeyword_5_7_0__q = new GroupAlias(false, true, new GroupAlias(true, false, new TokenAlias(false, true, grammarAccess.getObjectAccess().getOptionalLoopKeyword_5_6_0()), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getObjectAccess().getBeforeKeyword_5_5_0()), new TokenAlias(false, false, grammarAccess.getObjectAccess().getAfterKeyword_5_5_2()))), new TokenAlias(false, false, grammarAccess.getObjectAccess().getMandatoryLoopKeyword_5_7_0())); match_Reference2_SemicolonKeyword_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getReference2Access().getLeftCurlyBracketKeyword_4_0_0()), new TokenAlias(false, false, grammarAccess.getReference2Access().getRightCurlyBracketKeyword_4_0_2())), new TokenAlias(false, false, grammarAccess.getReference2Access().getSemicolonKeyword_4_1())); match_Reference_SemicolonKeyword_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getReferenceAccess().getLeftCurlyBracketKeyword_4_0_0()), new TokenAlias(false, false, grammarAccess.getReferenceAccess().getRightCurlyBracketKeyword_4_0_2())), new TokenAlias(false, false, grammarAccess.getReferenceAccess().getSemicolonKeyword_4_1())); }
Example #5
Source File: TypeExpressionsSyntacticSequencer.java From n4js with Eclipse Public License 1.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (TypeExpressionsGrammarAccess) access; match_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_LeftParenthesisKeyword_0_0_1_or___LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftCurlyBracketKeyword_1()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getFunctionKeyword_3()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftParenthesisKeyword_5())), new TokenAlias(false, false, grammarAccess.getArrowFunctionTypeExpressionAccess().getLeftParenthesisKeyword_0_0_1())); match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_a = new TokenAlias(true, true, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()); match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_p = new TokenAlias(true, false, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()); match_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getCommaKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getSemicolonKeyword_1_1_0())); }
Example #6
Source File: RegionAccessTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (RegionAccessTestLanguageGrammarAccess) access; match_Fragment_RecursionKeyword_2_0_a = new TokenAlias(true, true, grammarAccess.getFragmentAccess().getRecursionKeyword_2_0()); match_Mixed___LeftParenthesisKeyword_0___UnassignedKeyword_1_0___DatatypeParserRuleCall_1_1_1_or_IDTerminalRuleCall_1_1_0____q__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getMixedAccess().getLeftParenthesisKeyword_0()), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getMixedAccess().getUnassignedKeyword_1_0()), new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getMixedAccess().getDatatypeParserRuleCall_1_1_1()), new TokenAlias(false, false, grammarAccess.getMixedAccess().getIDTerminalRuleCall_1_1_0())))); match_Mixed___LeftParenthesisKeyword_0___UnassignedKeyword_1_0___DatatypeParserRuleCall_1_1_1_or_IDTerminalRuleCall_1_1_0____q__p = new GroupAlias(true, false, new TokenAlias(false, false, grammarAccess.getMixedAccess().getLeftParenthesisKeyword_0()), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getMixedAccess().getUnassignedKeyword_1_0()), new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getMixedAccess().getDatatypeParserRuleCall_1_1_1()), new TokenAlias(false, false, grammarAccess.getMixedAccess().getIDTerminalRuleCall_1_1_0())))); match_Parenthesized_LeftParenthesisKeyword_0_a = new TokenAlias(true, true, grammarAccess.getParenthesizedAccess().getLeftParenthesisKeyword_0()); match_Parenthesized_LeftParenthesisKeyword_0_p = new TokenAlias(true, false, grammarAccess.getParenthesizedAccess().getLeftParenthesisKeyword_0()); }
Example #7
Source File: SimpleUnorderedGroupsTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (SimpleUnorderedGroupsTestLanguageGrammarAccess) access; match_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getBug302585Keyword_1_16_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFiveKeyword_1_4_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFourKeyword_1_3_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitOneKeyword_1_10_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitZeroKeyword_1_9_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSevenKeyword_1_6_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSixKeyword_1_5_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitThreeKeyword_1_2_0())); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a = new TokenAlias(true, true, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p = new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitThreeKeyword_1_2_0()), new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitTwoKeyword_1_1_0()), new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0())); }
Example #8
Source File: ExUnorderedGroupsTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (ExUnorderedGroupsTestLanguageGrammarAccess) access; match_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getBug302585Keyword_1_16_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFiveKeyword_1_4_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFourKeyword_1_3_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitOneKeyword_1_10_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitZeroKeyword_1_9_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSevenKeyword_1_6_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSixKeyword_1_5_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitThreeKeyword_1_2_0())); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a = new TokenAlias(true, true, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p = new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitThreeKeyword_1_2_0()), new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitTwoKeyword_1_1_0()), new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0())); }
Example #9
Source File: UnorderedGroupsTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (UnorderedGroupsTestLanguageGrammarAccess) access; match_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getBug302585Keyword_1_16_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFiveKeyword_1_4_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitFourKeyword_1_3_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitOneKeyword_1_10_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitOneDigitZeroKeyword_1_9_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSevenKeyword_1_6_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitSixKeyword_1_5_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getDigitThreeKeyword_1_2_0())); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a = new TokenAlias(true, true, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p = new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0()); match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitThreeKeyword_1_2_0()), new TokenAlias(false, false, grammarAccess.getUnorderedSerializationAccess().getDigitTwoKeyword_1_1_0()), new TokenAlias(true, false, grammarAccess.getUnorderedSerializationAccess().getDigitOneKeyword_1_0_0_0())); }
Example #10
Source File: PartialSerializationTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (PartialSerializationTestLanguageGrammarAccess) access; match_Node_RefsKeyword_3_0_q = new TokenAlias(false, true, grammarAccess.getNodeAccess().getRefsKeyword_3_0()); match_Node_SemicolonKeyword_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_3__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getNodeAccess().getLeftCurlyBracketKeyword_4_0_0()), new TokenAlias(false, false, grammarAccess.getNodeAccess().getRightCurlyBracketKeyword_4_0_3())), new TokenAlias(false, false, grammarAccess.getNodeAccess().getSemicolonKeyword_4_1())); match_OptionalValue_Kw1Keyword_1_q = new TokenAlias(false, true, grammarAccess.getOptionalValueAccess().getKw1Keyword_1()); match_OptionalValue_Kw2Keyword_3_q = new TokenAlias(false, true, grammarAccess.getOptionalValueAccess().getKw2Keyword_3()); }
Example #11
Source File: Bug303200TestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug303200TestLanguageGrammarAccess) access; match_Attribute_LTTerminalRuleCall_1_2_a = new TokenAlias(true, true, grammarAccess.getAttributeAccess().getLTTerminalRuleCall_1_2()); match_Attribute_LTTerminalRuleCall_1_4_a = new TokenAlias(true, true, grammarAccess.getAttributeAccess().getLTTerminalRuleCall_1_4()); match_Block_LTTerminalRuleCall_2_0_a = new TokenAlias(true, true, grammarAccess.getBlockAccess().getLTTerminalRuleCall_2_0()); match_Block_LTTerminalRuleCall_3_a = new TokenAlias(true, true, grammarAccess.getBlockAccess().getLTTerminalRuleCall_3()); match_FunctionDefinition_LTTerminalRuleCall_2_a = new TokenAlias(true, true, grammarAccess.getFunctionDefinitionAccess().getLTTerminalRuleCall_2()); match_FunctionDefinition_LTTerminalRuleCall_4_a = new TokenAlias(true, true, grammarAccess.getFunctionDefinitionAccess().getLTTerminalRuleCall_4()); match_FunctionDefinition_LTTerminalRuleCall_6_a = new TokenAlias(true, true, grammarAccess.getFunctionDefinitionAccess().getLTTerminalRuleCall_6()); match_ListExpression_LTTerminalRuleCall_1_0_a = new TokenAlias(true, true, grammarAccess.getListExpressionAccess().getLTTerminalRuleCall_1_0()); match_ListExpression_LTTerminalRuleCall_1_2_a = new TokenAlias(true, true, grammarAccess.getListExpressionAccess().getLTTerminalRuleCall_1_2()); match_Parameters_LTTerminalRuleCall_2_a = new TokenAlias(true, true, grammarAccess.getParametersAccess().getLTTerminalRuleCall_2()); match_Parameters_LTTerminalRuleCall_3_1_a = new TokenAlias(true, true, grammarAccess.getParametersAccess().getLTTerminalRuleCall_3_1()); match_Parameters_LTTerminalRuleCall_3_2_1_a = new TokenAlias(true, true, grammarAccess.getParametersAccess().getLTTerminalRuleCall_3_2_1()); match_Parameters_LTTerminalRuleCall_3_2_3_a = new TokenAlias(true, true, grammarAccess.getParametersAccess().getLTTerminalRuleCall_3_2_3()); match_PostfixExpression_LTTerminalRuleCall_1_0_1_a = new TokenAlias(true, true, grammarAccess.getPostfixExpressionAccess().getLTTerminalRuleCall_1_0_1()); match_PostfixExpression_LTTerminalRuleCall_1_1_1_a = new TokenAlias(true, true, grammarAccess.getPostfixExpressionAccess().getLTTerminalRuleCall_1_1_1()); match_PostfixExpression_LTTerminalRuleCall_1_1_3_a = new TokenAlias(true, true, grammarAccess.getPostfixExpressionAccess().getLTTerminalRuleCall_1_1_3()); match_PostfixExpression_LTTerminalRuleCall_1_1_4_1_a = new TokenAlias(true, true, grammarAccess.getPostfixExpressionAccess().getLTTerminalRuleCall_1_1_4_1()); match_PrimaryExpression_LTTerminalRuleCall_1_2_a = new TokenAlias(true, true, grammarAccess.getPrimaryExpressionAccess().getLTTerminalRuleCall_1_2()); match_PrimaryExpression_LTTerminalRuleCall_1_4_a = new TokenAlias(true, true, grammarAccess.getPrimaryExpressionAccess().getLTTerminalRuleCall_1_4()); match_Program_LTTerminalRuleCall_1_0_a = new TokenAlias(true, true, grammarAccess.getProgramAccess().getLTTerminalRuleCall_1_0()); match_Program_LTTerminalRuleCall_2_a = new TokenAlias(true, true, grammarAccess.getProgramAccess().getLTTerminalRuleCall_2()); match_PropertyOperator_LTTerminalRuleCall_0_1_a = new TokenAlias(true, true, grammarAccess.getPropertyOperatorAccess().getLTTerminalRuleCall_0_1()); match_PropertyOperator_LTTerminalRuleCall_1_1_a = new TokenAlias(true, true, grammarAccess.getPropertyOperatorAccess().getLTTerminalRuleCall_1_1()); match_PropertyOperator_LTTerminalRuleCall_1_3_a = new TokenAlias(true, true, grammarAccess.getPropertyOperatorAccess().getLTTerminalRuleCall_1_3()); match_Statement_LTTerminalRuleCall_1_2_1_or_SemicolonKeyword_1_2_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getStatementAccess().getLTTerminalRuleCall_1_2_1()), new TokenAlias(false, false, grammarAccess.getStatementAccess().getSemicolonKeyword_1_2_0())); }
Example #12
Source File: ParametersTestLanguageExSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (ParametersTestLanguageExGrammarAccess) access; match_ParametersTestLanguageParserRuleParameters_TrailingKeyword_1_10_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getTrailingKeyword_1_10_1_1_1()); match_ParametersTestLanguageParserRuleParameters_TrailingKeyword_1_11_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getTrailingKeyword_1_11_1_1_1()); match_ParametersTestLanguageParserRuleParameters_TrailingKeyword_1_8_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getTrailingKeyword_1_8_1_1_1()); match_ParametersTestLanguageParserRuleParameters_TrailingKeyword_1_9_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getTrailingKeyword_1_9_1_1_1()); match_Scenario5_IncludeKeyword_0_1_or_TrailingKeyword_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getScenario5Access().getIncludeKeyword_0_1()), new TokenAlias(false, false, grammarAccess.getScenario5Access().getTrailingKeyword_1_1())); match_Scenario5_IncludeKeyword_2_2_0_q = new TokenAlias(false, true, grammarAccess.getScenario5Access().getIncludeKeyword_2_2_0()); }
Example #13
Source File: TwoParametersTestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (TwoParametersTestLanguageGrammarAccess) access; match_ParserRuleParameters_TrailingKeyword_1_10_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_10_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_11_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_11_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_8_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_8_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_9_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_9_1_1_1()); match_Scenario10_IncludeKeyword_0_1_or_TrailingKeyword_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getScenario10Access().getIncludeKeyword_0_1()), new TokenAlias(false, false, grammarAccess.getScenario10Access().getTrailingKeyword_1_1())); match_Scenario10_IncludeKeyword_2_2_0_q = new TokenAlias(false, true, grammarAccess.getScenario10Access().getIncludeKeyword_2_2_0()); match_Scenario5_IncludeKeyword_0_1_or_TrailingKeyword_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getScenario5Access().getIncludeKeyword_0_1()), new TokenAlias(false, false, grammarAccess.getScenario5Access().getTrailingKeyword_1_1())); match_Scenario5_IncludeKeyword_2_2_0_q = new TokenAlias(false, true, grammarAccess.getScenario5Access().getIncludeKeyword_2_2_0()); }
Example #14
Source File: ParametersTestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (ParametersTestLanguageGrammarAccess) access; match_ParserRuleParameters_TrailingKeyword_1_10_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_10_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_11_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_11_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_8_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_8_1_1_1()); match_ParserRuleParameters_TrailingKeyword_1_9_1_1_1_q = new TokenAlias(false, true, grammarAccess.getParserRuleParametersAccess().getTrailingKeyword_1_9_1_1_1()); match_Scenario5_IncludeKeyword_0_1_or_TrailingKeyword_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getScenario5Access().getIncludeKeyword_0_1()), new TokenAlias(false, false, grammarAccess.getScenario5Access().getTrailingKeyword_1_1())); match_Scenario5_IncludeKeyword_2_2_0_q = new TokenAlias(false, true, grammarAccess.getScenario5Access().getIncludeKeyword_2_2_0()); }
Example #15
Source File: TypesSyntacticSequencer.java From n4js with Eclipse Public License 1.0 | 5 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (TypesGrammarAccess) access; match_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_PrimaryTypeExpression_LeftParenthesisKeyword_0_0_1_or___LeftParenthesisKeyword_3_0_q_LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, true, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftCurlyBracketKeyword_1()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getFunctionKeyword_3()), new TokenAlias(false, false, grammarAccess.getFunctionTypeExpressionOLDAccess().getLeftParenthesisKeyword_5())), new TokenAlias(false, false, grammarAccess.getArrowFunctionTypeExpressionAccess().getLeftParenthesisKeyword_0_0_1())); match_CallableCtor_SemicolonKeyword_3_q = new TokenAlias(false, true, grammarAccess.getCallableCtorAccess().getSemicolonKeyword_3()); match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_q = new TokenAlias(false, true, grammarAccess.getPrimaryTypeExpressionAccess().getLeftParenthesisKeyword_3_0()); match_TAnnotation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getTAnnotationAccess().getLeftParenthesisKeyword_1_0()), new TokenAlias(false, false, grammarAccess.getTAnnotationAccess().getRightParenthesisKeyword_1_2())); match_TField_SemicolonKeyword_5_q = new TokenAlias(false, true, grammarAccess.getTFieldAccess().getSemicolonKeyword_5()); match_TMethod_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getTMethodAccess().getSemicolonKeyword_2()); match_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q = new AlternativeAlias(false, true, new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getCommaKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getTStructMemberListAccess().getSemicolonKeyword_1_1_0())); }
Example #16
Source File: BmTestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (BmTestLanguageGrammarAccess) access; match_Expression_LeftSquareBracketKeyword_2_0_a = new TokenAlias(true, true, grammarAccess.getExpressionAccess().getLeftSquareBracketKeyword_2_0()); match_SExpression___BeginKeyword_1_1_0_EndKeyword_1_1_2___or___LeftParenthesisKeyword_1_0_0_RightParenthesisKeyword_1_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getSExpressionAccess().getBeginKeyword_1_1_0()), new TokenAlias(false, false, grammarAccess.getSExpressionAccess().getEndKeyword_1_1_2())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getSExpressionAccess().getLeftParenthesisKeyword_1_0_0()), new TokenAlias(false, false, grammarAccess.getSExpressionAccess().getRightParenthesisKeyword_1_0_2()))); }
Example #17
Source File: Bug348199TestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug348199TestLanguageGrammarAccess) access; match_Timeperiod_NLTerminalRuleCall_3_0_2_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_2_0()); match_Timeperiod_NLTerminalRuleCall_3_0_3_0_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_3_0_0()); match_Timeperiod_NLTerminalRuleCall_3_0_3_0_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_3_0_3_0()); match_Timeperiod_NLTerminalRuleCall_3_0_3_1_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_3_1_0()); match_Timeperiod_NLTerminalRuleCall_3_0_3_1_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_3_1_3_0()); match_Timeperiod_NLTerminalRuleCall_3_0_4_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_4()); match_Timeperiod_NLTerminalRuleCall_3_1_2_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_2_0()); match_Timeperiod_NLTerminalRuleCall_3_1_3_0_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_3_0_0()); match_Timeperiod_NLTerminalRuleCall_3_1_3_0_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_3_0_3_0()); match_Timeperiod_NLTerminalRuleCall_3_1_3_1_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_3_1_0()); match_Timeperiod_NLTerminalRuleCall_3_1_3_1_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_3_1_3_0()); match_Timeperiod_NLTerminalRuleCall_3_1_4_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_4()); match_Timeperiod_NLTerminalRuleCall_3_2_2_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_2_0()); match_Timeperiod_NLTerminalRuleCall_3_2_3_0_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_3_0_0()); match_Timeperiod_NLTerminalRuleCall_3_2_3_0_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_3_0_3_0()); match_Timeperiod_NLTerminalRuleCall_3_2_3_1_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_3_1_0()); match_Timeperiod_NLTerminalRuleCall_3_2_3_1_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_3_1_3_0()); match_Timeperiod_NLTerminalRuleCall_3_2_4_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_2_4()); match_Timeperiod_NLTerminalRuleCall_3_3_2_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_2_0()); match_Timeperiod_NLTerminalRuleCall_3_3_3_0_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_3_0_0()); match_Timeperiod_NLTerminalRuleCall_3_3_3_0_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_3_0_3_0()); match_Timeperiod_NLTerminalRuleCall_3_3_3_1_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_3_1_0()); match_Timeperiod_NLTerminalRuleCall_3_3_3_1_3_0_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_3_1_3_0()); match_Timeperiod_NLTerminalRuleCall_3_3_4_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_4()); match_Timeperiod_NLTerminalRuleCall_3_4_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_2()); match_Timeperiod_NLTerminalRuleCall_3_4_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_3_1()); match_Timeperiod_NLTerminalRuleCall_3_4_4_0_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_4_0_2()); match_Timeperiod_NLTerminalRuleCall_3_4_4_0_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_4_0_3_1()); match_Timeperiod_NLTerminalRuleCall_3_4_4_1_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_4_1_2()); match_Timeperiod_NLTerminalRuleCall_3_4_4_1_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_4_1_3_1()); match_Timeperiod_NLTerminalRuleCall_3_5_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_2()); match_Timeperiod_NLTerminalRuleCall_3_5_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_3_1()); match_Timeperiod_NLTerminalRuleCall_3_5_4_0_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_4_0_2()); match_Timeperiod_NLTerminalRuleCall_3_5_4_0_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_4_0_3_1()); match_Timeperiod_NLTerminalRuleCall_3_5_4_1_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_4_1_2()); match_Timeperiod_NLTerminalRuleCall_3_5_4_1_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_4_1_3_1()); match_Timeperiod_NLTerminalRuleCall_3_6_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_2()); match_Timeperiod_NLTerminalRuleCall_3_6_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_3_1()); match_Timeperiod_NLTerminalRuleCall_3_6_4_0_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_4_0_2()); match_Timeperiod_NLTerminalRuleCall_3_6_4_0_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_4_0_3_1()); match_Timeperiod_NLTerminalRuleCall_3_6_4_1_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_4_1_2()); match_Timeperiod_NLTerminalRuleCall_3_6_4_1_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_6_4_1_3_1()); match_Timeperiod_NLTerminalRuleCall_3_7_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_2()); match_Timeperiod_NLTerminalRuleCall_3_7_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_3_1()); match_Timeperiod_NLTerminalRuleCall_3_7_4_0_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_4_0_2()); match_Timeperiod_NLTerminalRuleCall_3_7_4_0_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_4_0_3_1()); match_Timeperiod_NLTerminalRuleCall_3_7_4_1_2_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_4_1_2()); match_Timeperiod_NLTerminalRuleCall_3_7_4_1_3_1_p = new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_4_1_3_1()); match_Timeperiod___DigitEightKeyword_3_7_0_LeftCurlyBracketKeyword_3_7_1_NLTerminalRuleCall_3_7_2_p_RightCurlyBracketKeyword_3_7_5___or___DigitFiveKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_NLTerminalRuleCall_3_4_2_p_RightCurlyBracketKeyword_3_4_5___or___DigitFourKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_NLTerminalRuleCall_3_3_4_p_RightCurlyBracketKeyword_3_3_5___or___DigitOneKeyword_3_0_0_LeftCurlyBracketKeyword_3_0_1_NLTerminalRuleCall_3_0_4_p_RightCurlyBracketKeyword_3_0_5___or___DigitSixKeyword_3_5_0_LeftCurlyBracketKeyword_3_5_1_NLTerminalRuleCall_3_5_2_p_RightCurlyBracketKeyword_3_5_5___or___DigitTwoKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_NLTerminalRuleCall_3_1_4_p_RightCurlyBracketKeyword_3_1_5__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitEightKeyword_3_7_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_7_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_7_2()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_7_5())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitFiveKeyword_3_4_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_4_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_4_2()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_4_5())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitFourKeyword_3_3_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_3_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_3_4()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_3_5())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitOneKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_0_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_0_4()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_0_5())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitSixKeyword_3_5_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_5_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_5_2()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_5_5())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getDigitTwoKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getLeftCurlyBracketKeyword_3_1_1()), new TokenAlias(true, false, grammarAccess.getTimeperiodAccess().getNLTerminalRuleCall_3_1_4()), new TokenAlias(false, false, grammarAccess.getTimeperiodAccess().getRightCurlyBracketKeyword_3_1_5()))); }
Example #18
Source File: Bug291022TestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug291022TestLanguageGrammarAccess) access; match_ModelElement_SemicolonKeyword_3_0_or___LeftCurlyBracketKeyword_3_1_0_RightCurlyBracketKeyword_3_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelElementAccess().getLeftCurlyBracketKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getModelElementAccess().getRightCurlyBracketKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getModelElementAccess().getSemicolonKeyword_3_0())); match_RootModel___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getRootModelAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getRootModelAccess().getRightCurlyBracketKeyword_3_2())); }
Example #19
Source File: Bug296889ExTestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug296889ExTestLanguageGrammarAccess) access; match_Model_DataTypeKeyword_1_0_or_ModelKeyword_0_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getDataTypeKeyword_1_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getModelKeyword_0_0())); }
Example #20
Source File: Bug296889TestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug296889TestLanguageGrammarAccess) access; match_Model_DataTypeKeyword_1_0_or_ModelKeyword_0_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getDataTypeKeyword_1_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getModelKeyword_0_0())); }
Example #21
Source File: Bug309949TestLanguageSyntacticSequencer.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug309949TestLanguageGrammarAccess) access; match_Model___NumberSignDigitOneAsteriskKeyword_1_0_0_LeftCurlyBracketKeyword_1_0_1_RightCurlyBracketKeyword_1_0_4___or___NumberSignDigitTwoAsteriskKeyword_1_2_0_LeftCurlyBracketKeyword_1_2_1_RightCurlyBracketKeyword_1_2_4__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getNumberSignDigitOneAsteriskKeyword_1_0_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getLeftCurlyBracketKeyword_1_0_1()), new TokenAlias(false, false, grammarAccess.getModelAccess().getRightCurlyBracketKeyword_1_0_4())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getNumberSignDigitTwoAsteriskKeyword_1_2_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getLeftCurlyBracketKeyword_1_2_1()), new TokenAlias(false, false, grammarAccess.getModelAccess().getRightCurlyBracketKeyword_1_2_4()))); }
Example #22
Source File: Bug287988TestLanguageSyntacticSequencer.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (Bug287988TestLanguageGrammarAccess) access; match_Model_ActionsKeyword_0_0_or_InlinedActionsKeyword_5_0_or_Rulecall2Keyword_3_0_or_Rulecall3Keyword_4_0_or_RulecallKeyword_2_0_or_SimpleKeyword_1_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getModelAccess().getActionsKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getInlinedActionsKeyword_5_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getRulecall2Keyword_3_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getRulecall3Keyword_4_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getRulecallKeyword_2_0()), new TokenAlias(false, false, grammarAccess.getModelAccess().getSimpleKeyword_1_0())); }
Example #23
Source File: AbstractGamlSyntacticSequencer.java From gama with GNU General Public License v3.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (GamlGrammarAccess) access; match_S_Equations_SemicolonKeyword_3_1_or___LeftCurlyBracketKeyword_3_0_0_RightCurlyBracketKeyword_3_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getS_EquationsAccess().getLeftCurlyBracketKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getS_EquationsAccess().getRightCurlyBracketKeyword_3_0_2())), new TokenAlias(false, false, grammarAccess.getS_EquationsAccess().getSemicolonKeyword_3_1())); match_S_Set_LessThanSignHyphenMinusKeyword_2_1_or_ValueKeyword_2_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getS_SetAccess().getLessThanSignHyphenMinusKeyword_2_1()), new TokenAlias(false, false, grammarAccess.getS_SetAccess().getValueKeyword_2_0())); }
Example #24
Source File: YangSyntacticSequencer.java From yang-design-studio with Eclipse Public License 1.0 | 4 votes |
@Inject protected void init(IGrammarAccess access) { grammarAccess = (YangGrammarAccess) access; match_AnyxmlStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getAnyxmlStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getAnyxmlStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getAnyxmlStatementAccess().getSemicolonKeyword_2_0())); match_ArgumentStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getArgumentStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getArgumentStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getArgumentStatementAccess().getSemicolonKeyword_2_0())); match_AugmentStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getAugmentStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getAugmentStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getAugmentStatementAccess().getSemicolonKeyword_2_0())); match_AugmentUsesStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getAugmentUsesStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getAugmentUsesStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getAugmentUsesStatementAccess().getSemicolonKeyword_2_0())); match_BaseStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getBaseStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getBaseStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getBaseStatementAccess().getSemicolonKeyword_2_0())); match_BitStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getBitStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getBitStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getBitStatementAccess().getSemicolonKeyword_2_0())); match_CaseStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getCaseStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getCaseStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getCaseStatementAccess().getSemicolonKeyword_2_0())); match_ChoiceStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getChoiceStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getChoiceStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getChoiceStatementAccess().getSemicolonKeyword_2_0())); match_ConfigStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getConfigStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getConfigStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getConfigStatementAccess().getSemicolonKeyword_2_0())); match_ContactStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getContactStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getContactStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getContactStatementAccess().getSemicolonKeyword_2_0())); match_ContainerStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getContainerStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getContainerStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getContainerStatementAccess().getSemicolonKeyword_2_0())); match_DefaultStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getDefaultStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getDefaultStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getDefaultStatementAccess().getSemicolonKeyword_2_0())); match_DescriptionStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getDescriptionStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getDescriptionStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getDescriptionStatementAccess().getSemicolonKeyword_2_0())); match_DeviateStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getDeviateStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getDeviateStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getDeviateStatementAccess().getSemicolonKeyword_2_0())); match_DeviationStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getDeviationStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getDeviationStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getDeviationStatementAccess().getSemicolonKeyword_2_0())); match_EnumStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getEnumStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getEnumStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getEnumStatementAccess().getSemicolonKeyword_2_0())); match_ErrorAppTagStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getErrorAppTagStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getErrorAppTagStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getErrorAppTagStatementAccess().getSemicolonKeyword_2_0())); match_ErrorMessageStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getErrorMessageStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getErrorMessageStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getErrorMessageStatementAccess().getSemicolonKeyword_2_0())); match_ExtensionStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getExtensionStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getExtensionStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getExtensionStatementAccess().getSemicolonKeyword_2_0())); match_FeatureStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getFeatureStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getFeatureStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getFeatureStatementAccess().getSemicolonKeyword_2_0())); match_FractionDigitsStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getFractionDigitsStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getFractionDigitsStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getFractionDigitsStatementAccess().getSemicolonKeyword_2_0())); match_GroupingStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getGroupingStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getGroupingStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getGroupingStatementAccess().getSemicolonKeyword_2_0())); match_IdentityStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getIdentityStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getIdentityStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getIdentityStatementAccess().getSemicolonKeyword_2_0())); match_IfFeatureStatement_SemicolonKeyword_3_0_or___LeftCurlyBracketKeyword_3_1_0_RightCurlyBracketKeyword_3_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getIfFeatureStatementAccess().getLeftCurlyBracketKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getIfFeatureStatementAccess().getRightCurlyBracketKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getIfFeatureStatementAccess().getSemicolonKeyword_3_0())); match_ImportStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getImportStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getImportStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getImportStatementAccess().getSemicolonKeyword_2_0())); match_IncludeStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getIncludeStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getIncludeStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getIncludeStatementAccess().getSemicolonKeyword_2_0())); match_KeyStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getKeyStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getKeyStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getKeyStatementAccess().getSemicolonKeyword_2_0())); match_LeafListStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getLeafListStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLeafListStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getLeafListStatementAccess().getSemicolonKeyword_2_0())); match_LeafStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getLeafStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLeafStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getLeafStatementAccess().getSemicolonKeyword_2_0())); match_LengthStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getLengthStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getLengthStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getLengthStatementAccess().getSemicolonKeyword_2_0())); match_ListStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getListStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getListStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getListStatementAccess().getSemicolonKeyword_2_0())); match_MandatoryStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getMandatoryStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getMandatoryStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getMandatoryStatementAccess().getSemicolonKeyword_2_0())); match_MaxElementsStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getMaxElementsStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getMaxElementsStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getMaxElementsStatementAccess().getSemicolonKeyword_2_0())); match_MinElementsStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getMinElementsStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getMinElementsStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getMinElementsStatementAccess().getSemicolonKeyword_2_0())); match_MustStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getMustStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getMustStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getMustStatementAccess().getSemicolonKeyword_2_0())); match_NamespaceStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getNamespaceStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getNamespaceStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getNamespaceStatementAccess().getSemicolonKeyword_2_0())); match_NotificationStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getNotificationStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getNotificationStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getNotificationStatementAccess().getSemicolonKeyword_2_0())); match_OrderedbyStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getOrderedbyStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getOrderedbyStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getOrderedbyStatementAccess().getSemicolonKeyword_2_0())); match_OrganizationStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getOrganizationStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getOrganizationStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getOrganizationStatementAccess().getSemicolonKeyword_2_0())); match_PathStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getPathStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getPathStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getPathStatementAccess().getSemicolonKeyword_2_0())); match_PatternStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getPatternStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getPatternStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getPatternStatementAccess().getSemicolonKeyword_2_0())); match_PositionStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getPositionStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getPositionStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getPositionStatementAccess().getSemicolonKeyword_2_0())); match_PrefixStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getPrefixStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getPrefixStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getPrefixStatementAccess().getSemicolonKeyword_2_0())); match_PresenceStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getPresenceStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getPresenceStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getPresenceStatementAccess().getSemicolonKeyword_2_0())); match_RangeStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getRangeStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getRangeStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getRangeStatementAccess().getSemicolonKeyword_2_0())); match_ReferenceStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getReferenceStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getReferenceStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getReferenceStatementAccess().getSemicolonKeyword_2_0())); match_RefineStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getRefineStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getRefineStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getRefineStatementAccess().getSemicolonKeyword_2_0())); match_RequireInstanceStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getRequireInstanceStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getRequireInstanceStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getRequireInstanceStatementAccess().getSemicolonKeyword_2_0())); match_RevisionDateStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getRevisionDateStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getRevisionDateStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getRevisionDateStatementAccess().getSemicolonKeyword_2_0())); match_RevisionStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getRevisionStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getRevisionStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getRevisionStatementAccess().getSemicolonKeyword_2_0())); match_StatusStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getStatusStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getStatusStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getStatusStatementAccess().getSemicolonKeyword_2_0())); match_TypeStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getTypeStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getTypeStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getTypeStatementAccess().getSemicolonKeyword_2_0())); match_UniqueStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getUniqueStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getUniqueStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getUniqueStatementAccess().getSemicolonKeyword_2_0())); match_UnitsStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getUnitsStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getUnitsStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getUnitsStatementAccess().getSemicolonKeyword_2_0())); match_UnknownStatement_SemicolonKeyword_4_0_or___LeftCurlyBracketKeyword_4_1_0_RightCurlyBracketKeyword_4_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getUnknownStatementAccess().getLeftCurlyBracketKeyword_4_1_0()), new TokenAlias(false, false, grammarAccess.getUnknownStatementAccess().getRightCurlyBracketKeyword_4_1_2())), new TokenAlias(false, false, grammarAccess.getUnknownStatementAccess().getSemicolonKeyword_4_0())); match_UnknownSubstatements_SemicolonKeyword_3_0_or___LeftCurlyBracketKeyword_3_1_0_RightCurlyBracketKeyword_3_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getUnknownSubstatementsAccess().getLeftCurlyBracketKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getUnknownSubstatementsAccess().getRightCurlyBracketKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getUnknownSubstatementsAccess().getSemicolonKeyword_3_0())); match_UsesStatement_SemicolonKeyword_3_0_or___LeftCurlyBracketKeyword_3_1_0_RightCurlyBracketKeyword_3_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getUsesStatementAccess().getLeftCurlyBracketKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getUsesStatementAccess().getRightCurlyBracketKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getUsesStatementAccess().getSemicolonKeyword_3_0())); match_ValueStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getValueStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getValueStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getValueStatementAccess().getSemicolonKeyword_2_0())); match_WhenStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getWhenStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getWhenStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getWhenStatementAccess().getSemicolonKeyword_2_0())); match_YangVersionStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getYangVersionStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getYangVersionStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getYangVersionStatementAccess().getSemicolonKeyword_2_0())); match_YinElementStatement_SemicolonKeyword_2_0_or___LeftCurlyBracketKeyword_2_1_0_RightCurlyBracketKeyword_2_1_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getYinElementStatementAccess().getLeftCurlyBracketKeyword_2_1_0()), new TokenAlias(false, false, grammarAccess.getYinElementStatementAccess().getRightCurlyBracketKeyword_2_1_2())), new TokenAlias(false, false, grammarAccess.getYinElementStatementAccess().getSemicolonKeyword_2_0())); }