/* * generated by Xtext */ grammar InternalEbnf; options { superClass=AbstractInternalContentAssistParser; } @lexer::header { package de.ugoe.cs.swe.bnftools.ui.contentassist.antlr.internal; // Hack: Use our own Lexer superclass by means of import. // Currently there is no other way to specify the superclass for the lexer. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; } @parser::header { package de.ugoe.cs.swe.bnftools.ui.contentassist.antlr.internal; import java.io.InputStream; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; import org.eclipse.xtext.parser.impl.*; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.EObject; import org.eclipse.xtext.parser.antlr.XtextTokenStream; import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; import de.ugoe.cs.swe.bnftools.services.EbnfGrammarAccess; } @parser::members { private EbnfGrammarAccess grammarAccess; public void setGrammarAccess(EbnfGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } @Override protected Grammar getGrammar() { return grammarAccess.getGrammar(); } @Override protected String getValueForTokenName(String tokenName) { return tokenName; } } // Entry rule entryRuleEtsiBnf entryRuleEtsiBnf : { before(grammarAccess.getEtsiBnfRule()); } ruleEtsiBnf { after(grammarAccess.getEtsiBnfRule()); } EOF ; // Rule EtsiBnf ruleEtsiBnf @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getAlternatives()); } (rule__EtsiBnf__Alternatives) { after(grammarAccess.getEtsiBnfAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleImportSection entryRuleImportSection : { before(grammarAccess.getImportSectionRule()); } ruleImportSection { after(grammarAccess.getImportSectionRule()); } EOF ; // Rule ImportSection ruleImportSection @init { int stackSize = keepStackSize(); } : ( ( { before(grammarAccess.getImportSectionAccess().getImportsAssignment()); } (rule__ImportSection__ImportsAssignment) { after(grammarAccess.getImportSectionAccess().getImportsAssignment()); } ) ( { before(grammarAccess.getImportSectionAccess().getImportsAssignment()); } (rule__ImportSection__ImportsAssignment)* { after(grammarAccess.getImportSectionAccess().getImportsAssignment()); } ) ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleBnfEntry entryRuleBnfEntry : { before(grammarAccess.getBnfEntryRule()); } ruleBnfEntry { after(grammarAccess.getBnfEntryRule()); } EOF ; // Rule BnfEntry ruleBnfEntry @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getBnfEntryAccess().getAlternatives()); } (rule__BnfEntry__Alternatives) { after(grammarAccess.getBnfEntryAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleDeltaEntry entryRuleDeltaEntry : { before(grammarAccess.getDeltaEntryRule()); } ruleDeltaEntry { after(grammarAccess.getDeltaEntryRule()); } EOF ; // Rule DeltaEntry ruleDeltaEntry @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDeltaEntryAccess().getAlternatives()); } (rule__DeltaEntry__Alternatives) { after(grammarAccess.getDeltaEntryAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleMergeEntry entryRuleMergeEntry : { before(grammarAccess.getMergeEntryRule()); } ruleMergeEntry { after(grammarAccess.getMergeEntryRule()); } EOF ; // Rule MergeEntry ruleMergeEntry @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeEntryAccess().getAlternatives()); } (rule__MergeEntry__Alternatives) { after(grammarAccess.getMergeEntryAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleSectionHeading entryRuleSectionHeading : { before(grammarAccess.getSectionHeadingRule()); } ruleSectionHeading { after(grammarAccess.getSectionHeadingRule()); } EOF ; // Rule SectionHeading ruleSectionHeading @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getSectionHeadingAccess().getGroup()); } (rule__SectionHeading__Group__0) { after(grammarAccess.getSectionHeadingAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleImport entryRuleImport : { before(grammarAccess.getImportRule()); } ruleImport { after(grammarAccess.getImportRule()); } EOF ; // Rule Import ruleImport @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGroup()); } (rule__Import__Group__0) { after(grammarAccess.getImportAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleRule entryRuleRule : { before(grammarAccess.getRuleRule()); } ruleRule { after(grammarAccess.getRuleRule()); } EOF ; // Rule Rule ruleRule @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getGroup()); } (rule__Rule__Group__0) { after(grammarAccess.getRuleAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleExtRule entryRuleExtRule : { before(grammarAccess.getExtRuleRule()); } ruleExtRule { after(grammarAccess.getExtRuleRule()); } EOF ; // Rule ExtRule ruleExtRule @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getGroup()); } (rule__ExtRule__Group__0) { after(grammarAccess.getExtRuleAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleMergeRule entryRuleMergeRule : { before(grammarAccess.getMergeRuleRule()); } ruleMergeRule { after(grammarAccess.getMergeRuleRule()); } EOF ; // Rule MergeRule ruleMergeRule @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeRuleAccess().getAlternatives()); } (rule__MergeRule__Alternatives) { after(grammarAccess.getMergeRuleAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleGlobalCombinator entryRuleGlobalCombinator : { before(grammarAccess.getGlobalCombinatorRule()); } ruleGlobalCombinator { after(grammarAccess.getGlobalCombinatorRule()); } EOF ; // Rule GlobalCombinator ruleGlobalCombinator @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getGroup()); } (rule__GlobalCombinator__Group__0) { after(grammarAccess.getGlobalCombinatorAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleRuleCombinator entryRuleRuleCombinator : { before(grammarAccess.getRuleCombinatorRule()); } ruleRuleCombinator { after(grammarAccess.getRuleCombinatorRule()); } EOF ; // Rule RuleCombinator ruleRuleCombinator @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getGroup()); } (rule__RuleCombinator__Group__0) { after(grammarAccess.getRuleCombinatorAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleHookCombinator entryRuleHookCombinator : { before(grammarAccess.getHookCombinatorRule()); } ruleHookCombinator { after(grammarAccess.getHookCombinatorRule()); } EOF ; // Rule HookCombinator ruleHookCombinator @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getGroup()); } (rule__HookCombinator__Group__0) { after(grammarAccess.getHookCombinatorAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleDefinitionList entryRuleDefinitionList : { before(grammarAccess.getDefinitionListRule()); } ruleDefinitionList { after(grammarAccess.getDefinitionListRule()); } EOF ; // Rule DefinitionList ruleDefinitionList @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getGroup()); } (rule__DefinitionList__Group__0) { after(grammarAccess.getDefinitionListAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleSingleDefinition entryRuleSingleDefinition : { before(grammarAccess.getSingleDefinitionRule()); } ruleSingleDefinition { after(grammarAccess.getSingleDefinitionRule()); } EOF ; // Rule SingleDefinition ruleSingleDefinition @init { int stackSize = keepStackSize(); } : ( ( { before(grammarAccess.getSingleDefinitionAccess().getTermsAssignment()); } (rule__SingleDefinition__TermsAssignment) { after(grammarAccess.getSingleDefinitionAccess().getTermsAssignment()); } ) ( { before(grammarAccess.getSingleDefinitionAccess().getTermsAssignment()); } (rule__SingleDefinition__TermsAssignment)* { after(grammarAccess.getSingleDefinitionAccess().getTermsAssignment()); } ) ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleTerm entryRuleTerm : { before(grammarAccess.getTermRule()); } ruleTerm { after(grammarAccess.getTermRule()); } EOF ; // Rule Term ruleTerm @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getAlternatives()); } (rule__Term__Alternatives) { after(grammarAccess.getTermAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleAtom entryRuleAtom : { before(grammarAccess.getAtomRule()); } ruleAtom { after(grammarAccess.getAtomRule()); } EOF ; // Rule Atom ruleAtom @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getAtomAccess().getAlternatives()); } (rule__Atom__Alternatives) { after(grammarAccess.getAtomAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleRuleReference entryRuleRuleReference : { before(grammarAccess.getRuleReferenceRule()); } ruleRuleReference { after(grammarAccess.getRuleReferenceRule()); } EOF ; // Rule RuleReference ruleRuleReference @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleReferenceAccess().getRulerefAssignment()); } (rule__RuleReference__RulerefAssignment) { after(grammarAccess.getRuleReferenceAccess().getRulerefAssignment()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleStringRule entryRuleStringRule : { before(grammarAccess.getStringRuleRule()); } ruleStringRule { after(grammarAccess.getStringRuleRule()); } EOF ; // Rule StringRule ruleStringRule @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getStringRuleAccess().getAlternatives()); } (rule__StringRule__Alternatives) { after(grammarAccess.getStringRuleAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleGroupedSequence entryRuleGroupedSequence : { before(grammarAccess.getGroupedSequenceRule()); } ruleGroupedSequence { after(grammarAccess.getGroupedSequenceRule()); } EOF ; // Rule GroupedSequence ruleGroupedSequence @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGroupedSequenceAccess().getGroup()); } (rule__GroupedSequence__Group__0) { after(grammarAccess.getGroupedSequenceAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleOptionalSequence entryRuleOptionalSequence : { before(grammarAccess.getOptionalSequenceRule()); } ruleOptionalSequence { after(grammarAccess.getOptionalSequenceRule()); } EOF ; // Rule OptionalSequence ruleOptionalSequence @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getOptionalSequenceAccess().getGroup()); } (rule__OptionalSequence__Group__0) { after(grammarAccess.getOptionalSequenceAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } // Entry rule entryRuleRepeatedSequence entryRuleRepeatedSequence : { before(grammarAccess.getRepeatedSequenceRule()); } ruleRepeatedSequence { after(grammarAccess.getRepeatedSequenceRule()); } EOF ; // Rule RepeatedSequence ruleRepeatedSequence @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getGroup()); } (rule__RepeatedSequence__Group__0) { after(grammarAccess.getRepeatedSequenceAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getGroup_0()); } (rule__EtsiBnf__Group_0__0) { after(grammarAccess.getEtsiBnfAccess().getGroup_0()); } ) |( { before(grammarAccess.getEtsiBnfAccess().getGroup_1()); } (rule__EtsiBnf__Group_1__0) { after(grammarAccess.getEtsiBnfAccess().getGroup_1()); } ) |( { before(grammarAccess.getEtsiBnfAccess().getGroup_2()); } (rule__EtsiBnf__Group_2__0) { after(grammarAccess.getEtsiBnfAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } rule__BnfEntry__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getBnfEntryAccess().getSectionheaderAssignment_0()); } (rule__BnfEntry__SectionheaderAssignment_0) { after(grammarAccess.getBnfEntryAccess().getSectionheaderAssignment_0()); } ) |( { before(grammarAccess.getBnfEntryAccess().getRuleAssignment_1()); } (rule__BnfEntry__RuleAssignment_1) { after(grammarAccess.getBnfEntryAccess().getRuleAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__DeltaEntry__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDeltaEntryAccess().getRuleAssignment_0()); } (rule__DeltaEntry__RuleAssignment_0) { after(grammarAccess.getDeltaEntryAccess().getRuleAssignment_0()); } ) |( { before(grammarAccess.getDeltaEntryAccess().getSectionheaderAssignment_1()); } (rule__DeltaEntry__SectionheaderAssignment_1) { after(grammarAccess.getDeltaEntryAccess().getSectionheaderAssignment_1()); } ) |( { before(grammarAccess.getDeltaEntryAccess().getExtRuleAssignment_2()); } (rule__DeltaEntry__ExtRuleAssignment_2) { after(grammarAccess.getDeltaEntryAccess().getExtRuleAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } rule__MergeEntry__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeEntryAccess().getSectionheaderAssignment_0()); } (rule__MergeEntry__SectionheaderAssignment_0) { after(grammarAccess.getMergeEntryAccess().getSectionheaderAssignment_0()); } ) |( { before(grammarAccess.getMergeEntryAccess().getMergeRuleAssignment_1()); } (rule__MergeEntry__MergeRuleAssignment_1) { after(grammarAccess.getMergeEntryAccess().getMergeRuleAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Alternatives_2_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_0()); } (rule__Import__GrammarTypeAssignment_2_1_0) { after(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_0()); } ) |( { before(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_1()); } (rule__Import__GrammarTypeAssignment_2_1_1) { after(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_1()); } ) |( { before(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_2()); } (rule__Import__GrammarTypeAssignment_2_1_2) { after(grammarAccess.getImportAccess().getGrammarTypeAssignment_2_1_2()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Alternatives_4 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getElementsAssignment_4_0()); } (rule__ExtRule__ElementsAssignment_4_0) { after(grammarAccess.getExtRuleAccess().getElementsAssignment_4_0()); } ) |( { before(grammarAccess.getExtRuleAccess().getRightParenthesisKeyword_4_1()); } ')' { after(grammarAccess.getExtRuleAccess().getRightParenthesisKeyword_4_1()); } ) |( { before(grammarAccess.getExtRuleAccess().getRightSquareBracketKeyword_4_2()); } ']' { after(grammarAccess.getExtRuleAccess().getRightSquareBracketKeyword_4_2()); } ) |( { before(grammarAccess.getExtRuleAccess().getRightCurlyBracketKeyword_4_3()); } '}' { after(grammarAccess.getExtRuleAccess().getRightCurlyBracketKeyword_4_3()); } ) |( { before(grammarAccess.getExtRuleAccess().getVerticalLineKeyword_4_4()); } '|' { after(grammarAccess.getExtRuleAccess().getVerticalLineKeyword_4_4()); } ) |( { before(grammarAccess.getExtRuleAccess().getLeftParenthesisKeyword_4_5()); } '(' { after(grammarAccess.getExtRuleAccess().getLeftParenthesisKeyword_4_5()); } ) |( { before(grammarAccess.getExtRuleAccess().getLeftSquareBracketKeyword_4_6()); } '[' { after(grammarAccess.getExtRuleAccess().getLeftSquareBracketKeyword_4_6()); } ) |( { before(grammarAccess.getExtRuleAccess().getLeftCurlyBracketKeyword_4_7()); } '{' { after(grammarAccess.getExtRuleAccess().getLeftCurlyBracketKeyword_4_7()); } ) |( { before(grammarAccess.getExtRuleAccess().getAsteriskKeyword_4_8()); } '*' { after(grammarAccess.getExtRuleAccess().getAsteriskKeyword_4_8()); } ) |( { before(grammarAccess.getExtRuleAccess().getPlusSignKeyword_4_9()); } '+' { after(grammarAccess.getExtRuleAccess().getPlusSignKeyword_4_9()); } ) ; finally { restoreStackSize(stackSize); } rule__MergeRule__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeRuleAccess().getGlobalCombinatorParserRuleCall_0()); } ruleGlobalCombinator { after(grammarAccess.getMergeRuleAccess().getGlobalCombinatorParserRuleCall_0()); } ) |( { before(grammarAccess.getMergeRuleAccess().getRuleCombinatorParserRuleCall_1()); } ruleRuleCombinator { after(grammarAccess.getMergeRuleAccess().getRuleCombinatorParserRuleCall_1()); } ) |( { before(grammarAccess.getMergeRuleAccess().getHookCombinatorParserRuleCall_2()); } ruleHookCombinator { after(grammarAccess.getMergeRuleAccess().getHookCombinatorParserRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } rule__Term__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getTermAtomAssignment_0()); } (rule__Term__TermAtomAssignment_0) { after(grammarAccess.getTermAccess().getTermAtomAssignment_0()); } ) |( { before(grammarAccess.getTermAccess().getTermGroupedSequenceAssignment_1()); } (rule__Term__TermGroupedSequenceAssignment_1) { after(grammarAccess.getTermAccess().getTermGroupedSequenceAssignment_1()); } ) |( { before(grammarAccess.getTermAccess().getTermOptionalSequenceAssignment_2()); } (rule__Term__TermOptionalSequenceAssignment_2) { after(grammarAccess.getTermAccess().getTermOptionalSequenceAssignment_2()); } ) |( { before(grammarAccess.getTermAccess().getTermRepeatedSequenceAssignment_3()); } (rule__Term__TermRepeatedSequenceAssignment_3) { after(grammarAccess.getTermAccess().getTermRepeatedSequenceAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } rule__Atom__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getAtomAccess().getAtomStringRuleAssignment_0()); } (rule__Atom__AtomStringRuleAssignment_0) { after(grammarAccess.getAtomAccess().getAtomStringRuleAssignment_0()); } ) |( { before(grammarAccess.getAtomAccess().getAtomRuleReferenceAssignment_1()); } (rule__Atom__AtomRuleReferenceAssignment_1) { after(grammarAccess.getAtomAccess().getAtomRuleReferenceAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__StringRule__Alternatives @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getStringRuleAccess().getLiteralAssignment_0()); } (rule__StringRule__LiteralAssignment_0) { after(grammarAccess.getStringRuleAccess().getLiteralAssignment_0()); } ) |( { before(grammarAccess.getStringRuleAccess().getColonAssignment_1()); } (rule__StringRule__ColonAssignment_1) { after(grammarAccess.getStringRuleAccess().getColonAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__0 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0__0__Impl rule__EtsiBnf__Group_0__1 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getGrammarKeyword_0_0()); } 'grammar' { after(grammarAccess.getEtsiBnfAccess().getGrammarKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__1 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0__1__Impl rule__EtsiBnf__Group_0__2 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getNameAssignment_0_1()); } (rule__EtsiBnf__NameAssignment_0_1) { after(grammarAccess.getEtsiBnfAccess().getNameAssignment_0_1()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__2 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getGroup_0_2()); } (rule__EtsiBnf__Group_0_2__0) { after(grammarAccess.getEtsiBnfAccess().getGroup_0_2()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__0 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0_2__0__Impl rule__EtsiBnf__Group_0_2__1 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeAssignment_0_2_0()); } (rule__EtsiBnf__TypeAssignment_0_2_0)? { after(grammarAccess.getEtsiBnfAccess().getTypeAssignment_0_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__1 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0_2__1__Impl rule__EtsiBnf__Group_0_2__2 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_0_2_1()); } ';' { after(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_0_2_1()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__2 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0_2__2__Impl rule__EtsiBnf__Group_0_2__3 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_0_2_2()); } (rule__EtsiBnf__ImportSectionAssignment_0_2_2)? { after(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_0_2_2()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__3 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_0_2__3__Impl ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_0_2__3__Impl @init { int stackSize = keepStackSize(); } : ( ( { before(grammarAccess.getEtsiBnfAccess().getBnfEntryAssignment_0_2_3()); } (rule__EtsiBnf__BnfEntryAssignment_0_2_3) { after(grammarAccess.getEtsiBnfAccess().getBnfEntryAssignment_0_2_3()); } ) ( { before(grammarAccess.getEtsiBnfAccess().getBnfEntryAssignment_0_2_3()); } (rule__EtsiBnf__BnfEntryAssignment_0_2_3)* { after(grammarAccess.getEtsiBnfAccess().getBnfEntryAssignment_0_2_3()); } ) ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__0 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_1__0__Impl rule__EtsiBnf__Group_1__1 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeAssignment_1_0()); } (rule__EtsiBnf__TypeAssignment_1_0) { after(grammarAccess.getEtsiBnfAccess().getTypeAssignment_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__1 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_1__1__Impl rule__EtsiBnf__Group_1__2 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_1_1()); } ';' { after(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_1_1()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__2 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_1__2__Impl rule__EtsiBnf__Group_1__3 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_1_2()); } (rule__EtsiBnf__ImportSectionAssignment_1_2)? { after(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_1_2()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__3 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_1__3__Impl ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_1__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getDeltaEntryAssignment_1_3()); } (rule__EtsiBnf__DeltaEntryAssignment_1_3)* { after(grammarAccess.getEtsiBnfAccess().getDeltaEntryAssignment_1_3()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__0 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_2__0__Impl rule__EtsiBnf__Group_2__1 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeAssignment_2_0()); } (rule__EtsiBnf__TypeAssignment_2_0) { after(grammarAccess.getEtsiBnfAccess().getTypeAssignment_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__1 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_2__1__Impl rule__EtsiBnf__Group_2__2 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_2_1()); } ';' { after(grammarAccess.getEtsiBnfAccess().getSemicolonKeyword_2_1()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__2 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_2__2__Impl rule__EtsiBnf__Group_2__3 ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_2_2()); } (rule__EtsiBnf__ImportSectionAssignment_2_2)? { after(grammarAccess.getEtsiBnfAccess().getImportSectionAssignment_2_2()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__3 @init { int stackSize = keepStackSize(); } : rule__EtsiBnf__Group_2__3__Impl ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__Group_2__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getMergeEntryAssignment_2_3()); } (rule__EtsiBnf__MergeEntryAssignment_2_3)* { after(grammarAccess.getEtsiBnfAccess().getMergeEntryAssignment_2_3()); } ) ; finally { restoreStackSize(stackSize); } rule__SectionHeading__Group__0 @init { int stackSize = keepStackSize(); } : rule__SectionHeading__Group__0__Impl rule__SectionHeading__Group__1 ; finally { restoreStackSize(stackSize); } rule__SectionHeading__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getSectionHeadingAccess().getSectionHeadingAction_0()); } ( ) { after(grammarAccess.getSectionHeadingAccess().getSectionHeadingAction_0()); } ) ; finally { restoreStackSize(stackSize); } rule__SectionHeading__Group__1 @init { int stackSize = keepStackSize(); } : rule__SectionHeading__Group__1__Impl ; finally { restoreStackSize(stackSize); } rule__SectionHeading__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getSectionHeadingAccess().getSectionHeaderAssignment_1()); } (rule__SectionHeading__SectionHeaderAssignment_1) { after(grammarAccess.getSectionHeadingAccess().getSectionHeaderAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group__0 @init { int stackSize = keepStackSize(); } : rule__Import__Group__0__Impl rule__Import__Group__1 ; finally { restoreStackSize(stackSize); } rule__Import__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getImportKeyword_0()); } 'import' { after(grammarAccess.getImportAccess().getImportKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group__1 @init { int stackSize = keepStackSize(); } : rule__Import__Group__1__Impl rule__Import__Group__2 ; finally { restoreStackSize(stackSize); } rule__Import__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getImportURIAssignment_1()); } (rule__Import__ImportURIAssignment_1) { after(grammarAccess.getImportAccess().getImportURIAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group__2 @init { int stackSize = keepStackSize(); } : rule__Import__Group__2__Impl rule__Import__Group__3 ; finally { restoreStackSize(stackSize); } rule__Import__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGroup_2()); } (rule__Import__Group_2__0)? { after(grammarAccess.getImportAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group__3 @init { int stackSize = keepStackSize(); } : rule__Import__Group__3__Impl rule__Import__Group__4 ; finally { restoreStackSize(stackSize); } rule__Import__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGroup_3()); } (rule__Import__Group_3__0)? { after(grammarAccess.getImportAccess().getGroup_3()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group__4 @init { int stackSize = keepStackSize(); } : rule__Import__Group__4__Impl ; finally { restoreStackSize(stackSize); } rule__Import__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getSemicolonKeyword_4()); } ';' { after(grammarAccess.getImportAccess().getSemicolonKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group_2__0 @init { int stackSize = keepStackSize(); } : rule__Import__Group_2__0__Impl rule__Import__Group_2__1 ; finally { restoreStackSize(stackSize); } rule__Import__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getSolidusKeyword_2_0()); } '/' { after(grammarAccess.getImportAccess().getSolidusKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group_2__1 @init { int stackSize = keepStackSize(); } : rule__Import__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } rule__Import__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getAlternatives_2_1()); } (rule__Import__Alternatives_2_1) { after(grammarAccess.getImportAccess().getAlternatives_2_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group_3__0 @init { int stackSize = keepStackSize(); } : rule__Import__Group_3__0__Impl rule__Import__Group_3__1 ; finally { restoreStackSize(stackSize); } rule__Import__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getLabelKeyword_3_0()); } 'label:' { after(grammarAccess.getImportAccess().getLabelKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__Group_3__1 @init { int stackSize = keepStackSize(); } : rule__Import__Group_3__1__Impl ; finally { restoreStackSize(stackSize); } rule__Import__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getLabelAssignment_3_1()); } (rule__Import__LabelAssignment_3_1) { after(grammarAccess.getImportAccess().getLabelAssignment_3_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group__0 @init { int stackSize = keepStackSize(); } : rule__Rule__Group__0__Impl rule__Rule__Group__1 ; finally { restoreStackSize(stackSize); } rule__Rule__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getGroup_0()); } (rule__Rule__Group_0__0)? { after(grammarAccess.getRuleAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group__1 @init { int stackSize = keepStackSize(); } : rule__Rule__Group__1__Impl rule__Rule__Group__2 ; finally { restoreStackSize(stackSize); } rule__Rule__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getNameAssignment_1()); } (rule__Rule__NameAssignment_1) { after(grammarAccess.getRuleAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group__2 @init { int stackSize = keepStackSize(); } : rule__Rule__Group__2__Impl rule__Rule__Group__3 ; finally { restoreStackSize(stackSize); } rule__Rule__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getColonColonEqualsSignKeyword_2()); } '::=' { after(grammarAccess.getRuleAccess().getColonColonEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group__3 @init { int stackSize = keepStackSize(); } : rule__Rule__Group__3__Impl rule__Rule__Group__4 ; finally { restoreStackSize(stackSize); } rule__Rule__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getDefinitionListAssignment_3()); } (rule__Rule__DefinitionListAssignment_3)? { after(grammarAccess.getRuleAccess().getDefinitionListAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group__4 @init { int stackSize = keepStackSize(); } : rule__Rule__Group__4__Impl ; finally { restoreStackSize(stackSize); } rule__Rule__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getSemicolonKeyword_4()); } ( ';' )? { after(grammarAccess.getRuleAccess().getSemicolonKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__0 @init { int stackSize = keepStackSize(); } : rule__Rule__Group_0__0__Impl rule__Rule__Group_0__1 ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getRulenumberAssignment_0_0()); } (rule__Rule__RulenumberAssignment_0_0) { after(grammarAccess.getRuleAccess().getRulenumberAssignment_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__1 @init { int stackSize = keepStackSize(); } : rule__Rule__Group_0__1__Impl rule__Rule__Group_0__2 ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getRulevariantAssignment_0_1()); } (rule__Rule__RulevariantAssignment_0_1)? { after(grammarAccess.getRuleAccess().getRulevariantAssignment_0_1()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__2 @init { int stackSize = keepStackSize(); } : rule__Rule__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } rule__Rule__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getFullStopKeyword_0_2()); } '.' { after(grammarAccess.getRuleAccess().getFullStopKeyword_0_2()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__0 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__0__Impl rule__ExtRule__Group__1 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getGroup_0()); } (rule__ExtRule__Group_0__0)? { after(grammarAccess.getExtRuleAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__1 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__1__Impl rule__ExtRule__Group__2 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getNameAssignment_1()); } (rule__ExtRule__NameAssignment_1) { after(grammarAccess.getExtRuleAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__2 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__2__Impl rule__ExtRule__Group__3 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getGroup_2()); } (rule__ExtRule__Group_2__0) { after(grammarAccess.getExtRuleAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__3 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__3__Impl rule__ExtRule__Group__4 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getLessThanSignHyphenMinusKeyword_3()); } '<-' { after(grammarAccess.getExtRuleAccess().getLessThanSignHyphenMinusKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__4 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__4__Impl rule__ExtRule__Group__5 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getAlternatives_4()); } (rule__ExtRule__Alternatives_4)* { after(grammarAccess.getExtRuleAccess().getAlternatives_4()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__5 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group__5__Impl ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getSemicolonKeyword_5()); } ( ';' )? { after(grammarAccess.getExtRuleAccess().getSemicolonKeyword_5()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__0 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_0__0__Impl rule__ExtRule__Group_0__1 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRulenumberAssignment_0_0()); } (rule__ExtRule__RulenumberAssignment_0_0) { after(grammarAccess.getExtRuleAccess().getRulenumberAssignment_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__1 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_0__1__Impl rule__ExtRule__Group_0__2 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRulevariantAssignment_0_1()); } (rule__ExtRule__RulevariantAssignment_0_1)? { after(grammarAccess.getExtRuleAccess().getRulevariantAssignment_0_1()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__2 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getFullStopKeyword_0_2()); } '.' { after(grammarAccess.getExtRuleAccess().getFullStopKeyword_0_2()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__0 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_2__0__Impl rule__ExtRule__Group_2__1 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getLeftParenthesisKeyword_2_0()); } '(' { after(grammarAccess.getExtRuleAccess().getLeftParenthesisKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__1 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_2__1__Impl rule__ExtRule__Group_2__2 ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRuleextAssignment_2_1()); } (rule__ExtRule__RuleextAssignment_2_1) { after(grammarAccess.getExtRuleAccess().getRuleextAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__2 @init { int stackSize = keepStackSize(); } : rule__ExtRule__Group_2__2__Impl ; finally { restoreStackSize(stackSize); } rule__ExtRule__Group_2__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRightParenthesisKeyword_2_2()); } ')' { after(grammarAccess.getExtRuleAccess().getRightParenthesisKeyword_2_2()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__0 @init { int stackSize = keepStackSize(); } : rule__GlobalCombinator__Group__0__Impl rule__GlobalCombinator__Group__1 ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getGroup_0()); } (rule__GlobalCombinator__Group_0__0) { after(grammarAccess.getGlobalCombinatorAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__1 @init { int stackSize = keepStackSize(); } : rule__GlobalCombinator__Group__1__Impl rule__GlobalCombinator__Group__2 ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getLogicAssignment_1()); } (rule__GlobalCombinator__LogicAssignment_1) { after(grammarAccess.getGlobalCombinatorAccess().getLogicAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__2 @init { int stackSize = keepStackSize(); } : rule__GlobalCombinator__Group__2__Impl ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getSemicolonKeyword_2()); } ( ';' )? { after(grammarAccess.getGlobalCombinatorAccess().getSemicolonKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group_0__0 @init { int stackSize = keepStackSize(); } : rule__GlobalCombinator__Group_0__0__Impl rule__GlobalCombinator__Group_0__1 ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getGlobalKeyword_0_0()); } 'global' { after(grammarAccess.getGlobalCombinatorAccess().getGlobalKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group_0__1 @init { int stackSize = keepStackSize(); } : rule__GlobalCombinator__Group_0__1__Impl ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getCombinatorKeyword_0_1()); } 'combinator:' { after(grammarAccess.getGlobalCombinatorAccess().getCombinatorKeyword_0_1()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__0 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group__0__Impl rule__RuleCombinator__Group__1 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getGroup_0()); } (rule__RuleCombinator__Group_0__0) { after(grammarAccess.getRuleCombinatorAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__1 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group__1__Impl rule__RuleCombinator__Group__2 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getLogicAssignment_1()); } (rule__RuleCombinator__LogicAssignment_1) { after(grammarAccess.getRuleCombinatorAccess().getLogicAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__2 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group__2__Impl rule__RuleCombinator__Group__3 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getGroup_2()); } (rule__RuleCombinator__Group_2__0)* { after(grammarAccess.getRuleCombinatorAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__3 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group__3__Impl ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getSemicolonKeyword_3()); } ( ';' )? { after(grammarAccess.getRuleCombinatorAccess().getSemicolonKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__0 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_0__0__Impl rule__RuleCombinator__Group_0__1 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getRuleKeyword_0_0()); } 'rule' { after(grammarAccess.getRuleCombinatorAccess().getRuleKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__1 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_0__1__Impl rule__RuleCombinator__Group_0__2 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getCombinatorKeyword_0_1()); } 'combinator:' { after(grammarAccess.getRuleCombinatorAccess().getCombinatorKeyword_0_1()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__2 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getNameAssignment_0_2()); } (rule__RuleCombinator__NameAssignment_0_2) { after(grammarAccess.getRuleCombinatorAccess().getNameAssignment_0_2()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__0 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_2__0__Impl rule__RuleCombinator__Group_2__1 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getLeftParenthesisKeyword_2_0()); } '(' { after(grammarAccess.getRuleCombinatorAccess().getLeftParenthesisKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__1 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_2__1__Impl rule__RuleCombinator__Group_2__2 ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getLABELAssignment_2_1()); } (rule__RuleCombinator__LABELAssignment_2_1) { after(grammarAccess.getRuleCombinatorAccess().getLABELAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__2 @init { int stackSize = keepStackSize(); } : rule__RuleCombinator__Group_2__2__Impl ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__Group_2__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getRightParenthesisKeyword_2_2()); } ')' { after(grammarAccess.getRuleCombinatorAccess().getRightParenthesisKeyword_2_2()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__0 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__0__Impl rule__HookCombinator__Group__1 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getHookKeyword_0()); } 'hook' { after(grammarAccess.getHookCombinatorAccess().getHookKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__1 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__1__Impl rule__HookCombinator__Group__2 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getCombinatorKeyword_1()); } 'combinator:' { after(grammarAccess.getHookCombinatorAccess().getCombinatorKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__2 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__2__Impl rule__HookCombinator__Group__3 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getNameAssignment_2()); } (rule__HookCombinator__NameAssignment_2) { after(grammarAccess.getHookCombinatorAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__3 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__3__Impl rule__HookCombinator__Group__4 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLeftParenthesisKeyword_3()); } '(' { after(grammarAccess.getHookCombinatorAccess().getLeftParenthesisKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__4 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__4__Impl rule__HookCombinator__Group__5 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getRuleextAssignment_4()); } (rule__HookCombinator__RuleextAssignment_4) { after(grammarAccess.getHookCombinatorAccess().getRuleextAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__5 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__5__Impl rule__HookCombinator__Group__6 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getRightParenthesisKeyword_5()); } ')' { after(grammarAccess.getHookCombinatorAccess().getRightParenthesisKeyword_5()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__6 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__6__Impl rule__HookCombinator__Group__7 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__6__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLogicAssignment_6()); } (rule__HookCombinator__LogicAssignment_6)? { after(grammarAccess.getHookCombinatorAccess().getLogicAssignment_6()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__7 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__7__Impl rule__HookCombinator__Group__8 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__7__Impl @init { int stackSize = keepStackSize(); } : ( ( { before(grammarAccess.getHookCombinatorAccess().getGroup_7()); } (rule__HookCombinator__Group_7__0) { after(grammarAccess.getHookCombinatorAccess().getGroup_7()); } ) ( { before(grammarAccess.getHookCombinatorAccess().getGroup_7()); } (rule__HookCombinator__Group_7__0)* { after(grammarAccess.getHookCombinatorAccess().getGroup_7()); } ) ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__8 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group__8__Impl ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group__8__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getSemicolonKeyword_8()); } ( ';' )? { after(grammarAccess.getHookCombinatorAccess().getSemicolonKeyword_8()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__0 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group_7__0__Impl rule__HookCombinator__Group_7__1 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLeftParenthesisKeyword_7_0()); } '(' { after(grammarAccess.getHookCombinatorAccess().getLeftParenthesisKeyword_7_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__1 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group_7__1__Impl rule__HookCombinator__Group_7__2 ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLABELAssignment_7_1()); } (rule__HookCombinator__LABELAssignment_7_1) { after(grammarAccess.getHookCombinatorAccess().getLABELAssignment_7_1()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__2 @init { int stackSize = keepStackSize(); } : rule__HookCombinator__Group_7__2__Impl ; finally { restoreStackSize(stackSize); } rule__HookCombinator__Group_7__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getRightParenthesisKeyword_7_2()); } ')' { after(grammarAccess.getHookCombinatorAccess().getRightParenthesisKeyword_7_2()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group__0 @init { int stackSize = keepStackSize(); } : rule__DefinitionList__Group__0__Impl rule__DefinitionList__Group__1 ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getSingleDefinitionAssignment_0()); } (rule__DefinitionList__SingleDefinitionAssignment_0) { after(grammarAccess.getDefinitionListAccess().getSingleDefinitionAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group__1 @init { int stackSize = keepStackSize(); } : rule__DefinitionList__Group__1__Impl ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getGroup_1()); } (rule__DefinitionList__Group_1__0)* { after(grammarAccess.getDefinitionListAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group_1__0 @init { int stackSize = keepStackSize(); } : rule__DefinitionList__Group_1__0__Impl rule__DefinitionList__Group_1__1 ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getVerticalLineKeyword_1_0()); } '|' { after(grammarAccess.getDefinitionListAccess().getVerticalLineKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group_1__1 @init { int stackSize = keepStackSize(); } : rule__DefinitionList__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } rule__DefinitionList__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getSingleDefinitionAssignment_1_1()); } (rule__DefinitionList__SingleDefinitionAssignment_1_1) { after(grammarAccess.getDefinitionListAccess().getSingleDefinitionAssignment_1_1()); } ) ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__0 @init { int stackSize = keepStackSize(); } : rule__GroupedSequence__Group__0__Impl rule__GroupedSequence__Group__1 ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGroupedSequenceAccess().getLeftParenthesisKeyword_0()); } '(' { after(grammarAccess.getGroupedSequenceAccess().getLeftParenthesisKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__1 @init { int stackSize = keepStackSize(); } : rule__GroupedSequence__Group__1__Impl rule__GroupedSequence__Group__2 ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGroupedSequenceAccess().getDefinitionListAssignment_1()); } (rule__GroupedSequence__DefinitionListAssignment_1) { after(grammarAccess.getGroupedSequenceAccess().getDefinitionListAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__2 @init { int stackSize = keepStackSize(); } : rule__GroupedSequence__Group__2__Impl ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGroupedSequenceAccess().getRightParenthesisKeyword_2()); } ')' { after(grammarAccess.getGroupedSequenceAccess().getRightParenthesisKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__0 @init { int stackSize = keepStackSize(); } : rule__OptionalSequence__Group__0__Impl rule__OptionalSequence__Group__1 ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getOptionalSequenceAccess().getLeftSquareBracketKeyword_0()); } '[' { after(grammarAccess.getOptionalSequenceAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__1 @init { int stackSize = keepStackSize(); } : rule__OptionalSequence__Group__1__Impl rule__OptionalSequence__Group__2 ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getOptionalSequenceAccess().getDefinitionListAssignment_1()); } (rule__OptionalSequence__DefinitionListAssignment_1) { after(grammarAccess.getOptionalSequenceAccess().getDefinitionListAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__2 @init { int stackSize = keepStackSize(); } : rule__OptionalSequence__Group__2__Impl ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getOptionalSequenceAccess().getRightSquareBracketKeyword_2()); } ']' { after(grammarAccess.getOptionalSequenceAccess().getRightSquareBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__0 @init { int stackSize = keepStackSize(); } : rule__RepeatedSequence__Group__0__Impl rule__RepeatedSequence__Group__1 ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getLeftCurlyBracketKeyword_0()); } '{' { after(grammarAccess.getRepeatedSequenceAccess().getLeftCurlyBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__1 @init { int stackSize = keepStackSize(); } : rule__RepeatedSequence__Group__1__Impl rule__RepeatedSequence__Group__2 ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getDefinitionsAssignment_1()); } (rule__RepeatedSequence__DefinitionsAssignment_1) { after(grammarAccess.getRepeatedSequenceAccess().getDefinitionsAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__2 @init { int stackSize = keepStackSize(); } : rule__RepeatedSequence__Group__2__Impl rule__RepeatedSequence__Group__3 ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getRightCurlyBracketKeyword_2()); } '}' { after(grammarAccess.getRepeatedSequenceAccess().getRightCurlyBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__3 @init { int stackSize = keepStackSize(); } : rule__RepeatedSequence__Group__3__Impl ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getMorethanonceAssignment_3()); } (rule__RepeatedSequence__MorethanonceAssignment_3)? { after(grammarAccess.getRepeatedSequenceAccess().getMorethanonceAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__NameAssignment_0_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getNameIDTerminalRuleCall_0_1_0()); } RULE_ID{ after(grammarAccess.getEtsiBnfAccess().getNameIDTerminalRuleCall_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__TypeAssignment_0_2_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeBnfKeyword_0_2_0_0()); } ( { before(grammarAccess.getEtsiBnfAccess().getTypeBnfKeyword_0_2_0_0()); } '/bnf' { after(grammarAccess.getEtsiBnfAccess().getTypeBnfKeyword_0_2_0_0()); } ) { after(grammarAccess.getEtsiBnfAccess().getTypeBnfKeyword_0_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__ImportSectionAssignment_0_2_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_0_2_2_0()); } ruleImportSection{ after(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_0_2_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__BnfEntryAssignment_0_2_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getBnfEntryBnfEntryParserRuleCall_0_2_3_0()); } ruleBnfEntry{ after(grammarAccess.getEtsiBnfAccess().getBnfEntryBnfEntryParserRuleCall_0_2_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__TypeAssignment_1_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeDeltaKeyword_1_0_0()); } ( { before(grammarAccess.getEtsiBnfAccess().getTypeDeltaKeyword_1_0_0()); } '/delta' { after(grammarAccess.getEtsiBnfAccess().getTypeDeltaKeyword_1_0_0()); } ) { after(grammarAccess.getEtsiBnfAccess().getTypeDeltaKeyword_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__ImportSectionAssignment_1_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_1_2_0()); } ruleImportSection{ after(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__DeltaEntryAssignment_1_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getDeltaEntryDeltaEntryParserRuleCall_1_3_0()); } ruleDeltaEntry{ after(grammarAccess.getEtsiBnfAccess().getDeltaEntryDeltaEntryParserRuleCall_1_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__TypeAssignment_2_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getTypeMergeKeyword_2_0_0()); } ( { before(grammarAccess.getEtsiBnfAccess().getTypeMergeKeyword_2_0_0()); } '/merge' { after(grammarAccess.getEtsiBnfAccess().getTypeMergeKeyword_2_0_0()); } ) { after(grammarAccess.getEtsiBnfAccess().getTypeMergeKeyword_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__ImportSectionAssignment_2_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_2_2_0()); } ruleImportSection{ after(grammarAccess.getEtsiBnfAccess().getImportSectionImportSectionParserRuleCall_2_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__EtsiBnf__MergeEntryAssignment_2_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getEtsiBnfAccess().getMergeEntryMergeEntryParserRuleCall_2_3_0()); } ruleMergeEntry{ after(grammarAccess.getEtsiBnfAccess().getMergeEntryMergeEntryParserRuleCall_2_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ImportSection__ImportsAssignment @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportSectionAccess().getImportsImportParserRuleCall_0()); } ruleImport{ after(grammarAccess.getImportSectionAccess().getImportsImportParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } rule__BnfEntry__SectionheaderAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getBnfEntryAccess().getSectionheaderSectionHeadingParserRuleCall_0_0()); } ruleSectionHeading{ after(grammarAccess.getBnfEntryAccess().getSectionheaderSectionHeadingParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__BnfEntry__RuleAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getBnfEntryAccess().getRuleRuleParserRuleCall_1_0()); } ruleRule{ after(grammarAccess.getBnfEntryAccess().getRuleRuleParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DeltaEntry__RuleAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDeltaEntryAccess().getRuleRuleParserRuleCall_0_0()); } ruleRule{ after(grammarAccess.getDeltaEntryAccess().getRuleRuleParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DeltaEntry__SectionheaderAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDeltaEntryAccess().getSectionheaderSectionHeadingParserRuleCall_1_0()); } ruleSectionHeading{ after(grammarAccess.getDeltaEntryAccess().getSectionheaderSectionHeadingParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DeltaEntry__ExtRuleAssignment_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDeltaEntryAccess().getExtRuleExtRuleParserRuleCall_2_0()); } ruleExtRule{ after(grammarAccess.getDeltaEntryAccess().getExtRuleExtRuleParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__MergeEntry__SectionheaderAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeEntryAccess().getSectionheaderSectionHeadingParserRuleCall_0_0()); } ruleSectionHeading{ after(grammarAccess.getMergeEntryAccess().getSectionheaderSectionHeadingParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__MergeEntry__MergeRuleAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getMergeEntryAccess().getMergeRuleMergeRuleParserRuleCall_1_0()); } ruleMergeRule{ after(grammarAccess.getMergeEntryAccess().getMergeRuleMergeRuleParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__SectionHeading__SectionHeaderAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getSectionHeadingAccess().getSectionHeaderSECTIONHEADERTerminalRuleCall_1_0()); } RULE_SECTIONHEADER{ after(grammarAccess.getSectionHeadingAccess().getSectionHeaderSECTIONHEADERTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__ImportURIAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); } RULE_STRING{ after(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__GrammarTypeAssignment_2_1_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGrammarTypeCoreKeyword_2_1_0_0()); } ( { before(grammarAccess.getImportAccess().getGrammarTypeCoreKeyword_2_1_0_0()); } 'core' { after(grammarAccess.getImportAccess().getGrammarTypeCoreKeyword_2_1_0_0()); } ) { after(grammarAccess.getImportAccess().getGrammarTypeCoreKeyword_2_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__GrammarTypeAssignment_2_1_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGrammarTypePackageKeyword_2_1_1_0()); } ( { before(grammarAccess.getImportAccess().getGrammarTypePackageKeyword_2_1_1_0()); } 'package' { after(grammarAccess.getImportAccess().getGrammarTypePackageKeyword_2_1_1_0()); } ) { after(grammarAccess.getImportAccess().getGrammarTypePackageKeyword_2_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__GrammarTypeAssignment_2_1_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getGrammarTypeUpdateKeyword_2_1_2_0()); } ( { before(grammarAccess.getImportAccess().getGrammarTypeUpdateKeyword_2_1_2_0()); } 'update' { after(grammarAccess.getImportAccess().getGrammarTypeUpdateKeyword_2_1_2_0()); } ) { after(grammarAccess.getImportAccess().getGrammarTypeUpdateKeyword_2_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Import__LabelAssignment_3_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getImportAccess().getLabelIDTerminalRuleCall_3_1_0()); } RULE_ID{ after(grammarAccess.getImportAccess().getLabelIDTerminalRuleCall_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__RulenumberAssignment_0_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getRulenumberINTTerminalRuleCall_0_0_0()); } RULE_INT{ after(grammarAccess.getRuleAccess().getRulenumberINTTerminalRuleCall_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__RulevariantAssignment_0_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getRulevariantIDTerminalRuleCall_0_1_0()); } RULE_ID{ after(grammarAccess.getRuleAccess().getRulevariantIDTerminalRuleCall_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); } RULE_ID{ after(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Rule__DefinitionListAssignment_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleAccess().getDefinitionListDefinitionListParserRuleCall_3_0()); } ruleDefinitionList{ after(grammarAccess.getRuleAccess().getDefinitionListDefinitionListParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__RulenumberAssignment_0_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRulenumberINTTerminalRuleCall_0_0_0()); } RULE_INT{ after(grammarAccess.getExtRuleAccess().getRulenumberINTTerminalRuleCall_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__RulevariantAssignment_0_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRulevariantIDTerminalRuleCall_0_1_0()); } RULE_ID{ after(grammarAccess.getExtRuleAccess().getRulevariantIDTerminalRuleCall_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getNameIDTerminalRuleCall_1_0()); } RULE_ID{ after(grammarAccess.getExtRuleAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__RuleextAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getRuleextINTTerminalRuleCall_2_1_0()); } RULE_INT{ after(grammarAccess.getExtRuleAccess().getRuleextINTTerminalRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__ExtRule__ElementsAssignment_4_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getExtRuleAccess().getElementsAtomParserRuleCall_4_0_0()); } ruleAtom{ after(grammarAccess.getExtRuleAccess().getElementsAtomParserRuleCall_4_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__GlobalCombinator__LogicAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGlobalCombinatorAccess().getLogicLOGICTerminalRuleCall_1_0()); } RULE_LOGIC{ after(grammarAccess.getGlobalCombinatorAccess().getLogicLOGICTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__NameAssignment_0_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getNameIDTerminalRuleCall_0_2_0()); } RULE_ID{ after(grammarAccess.getRuleCombinatorAccess().getNameIDTerminalRuleCall_0_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__LogicAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getLogicLOGICTerminalRuleCall_1_0()); } RULE_LOGIC{ after(grammarAccess.getRuleCombinatorAccess().getLogicLOGICTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleCombinator__LABELAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleCombinatorAccess().getLABELSTRINGTerminalRuleCall_2_1_0()); } RULE_STRING{ after(grammarAccess.getRuleCombinatorAccess().getLABELSTRINGTerminalRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getNameIDTerminalRuleCall_2_0()); } RULE_ID{ after(grammarAccess.getHookCombinatorAccess().getNameIDTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__RuleextAssignment_4 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getRuleextINTTerminalRuleCall_4_0()); } RULE_INT{ after(grammarAccess.getHookCombinatorAccess().getRuleextINTTerminalRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__LogicAssignment_6 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLogicLOGICTerminalRuleCall_6_0()); } RULE_LOGIC{ after(grammarAccess.getHookCombinatorAccess().getLogicLOGICTerminalRuleCall_6_0()); } ) ; finally { restoreStackSize(stackSize); } rule__HookCombinator__LABELAssignment_7_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getHookCombinatorAccess().getLABELSTRINGTerminalRuleCall_7_1_0()); } RULE_STRING{ after(grammarAccess.getHookCombinatorAccess().getLABELSTRINGTerminalRuleCall_7_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__SingleDefinitionAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getSingleDefinitionSingleDefinitionParserRuleCall_0_0()); } ruleSingleDefinition{ after(grammarAccess.getDefinitionListAccess().getSingleDefinitionSingleDefinitionParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__DefinitionList__SingleDefinitionAssignment_1_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getDefinitionListAccess().getSingleDefinitionSingleDefinitionParserRuleCall_1_1_0()); } ruleSingleDefinition{ after(grammarAccess.getDefinitionListAccess().getSingleDefinitionSingleDefinitionParserRuleCall_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__SingleDefinition__TermsAssignment @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getSingleDefinitionAccess().getTermsTermParserRuleCall_0()); } ruleTerm{ after(grammarAccess.getSingleDefinitionAccess().getTermsTermParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Term__TermAtomAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getTermAtomAtomParserRuleCall_0_0()); } ruleAtom{ after(grammarAccess.getTermAccess().getTermAtomAtomParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Term__TermGroupedSequenceAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getTermGroupedSequenceGroupedSequenceParserRuleCall_1_0()); } ruleGroupedSequence{ after(grammarAccess.getTermAccess().getTermGroupedSequenceGroupedSequenceParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Term__TermOptionalSequenceAssignment_2 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getTermOptionalSequenceOptionalSequenceParserRuleCall_2_0()); } ruleOptionalSequence{ after(grammarAccess.getTermAccess().getTermOptionalSequenceOptionalSequenceParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Term__TermRepeatedSequenceAssignment_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getTermAccess().getTermRepeatedSequenceRepeatedSequenceParserRuleCall_3_0()); } ruleRepeatedSequence{ after(grammarAccess.getTermAccess().getTermRepeatedSequenceRepeatedSequenceParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Atom__AtomStringRuleAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getAtomAccess().getAtomStringRuleStringRuleParserRuleCall_0_0()); } ruleStringRule{ after(grammarAccess.getAtomAccess().getAtomStringRuleStringRuleParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__Atom__AtomRuleReferenceAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getAtomAccess().getAtomRuleReferenceRuleReferenceParserRuleCall_1_0()); } ruleRuleReference{ after(grammarAccess.getAtomAccess().getAtomRuleReferenceRuleReferenceParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RuleReference__RulerefAssignment @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRuleReferenceAccess().getRulerefRuleCrossReference_0()); } ( { before(grammarAccess.getRuleReferenceAccess().getRulerefRuleIDTerminalRuleCall_0_1()); } RULE_ID{ after(grammarAccess.getRuleReferenceAccess().getRulerefRuleIDTerminalRuleCall_0_1()); } ) { after(grammarAccess.getRuleReferenceAccess().getRulerefRuleCrossReference_0()); } ) ; finally { restoreStackSize(stackSize); } rule__StringRule__LiteralAssignment_0 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getStringRuleAccess().getLiteralSTRINGTerminalRuleCall_0_0()); } RULE_STRING{ after(grammarAccess.getStringRuleAccess().getLiteralSTRINGTerminalRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } rule__StringRule__ColonAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getStringRuleAccess().getColonCOLONTerminalRuleCall_1_0()); } RULE_COLON{ after(grammarAccess.getStringRuleAccess().getColonCOLONTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__GroupedSequence__DefinitionListAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getGroupedSequenceAccess().getDefinitionListDefinitionListParserRuleCall_1_0()); } ruleDefinitionList{ after(grammarAccess.getGroupedSequenceAccess().getDefinitionListDefinitionListParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__OptionalSequence__DefinitionListAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getOptionalSequenceAccess().getDefinitionListDefinitionListParserRuleCall_1_0()); } ruleDefinitionList{ after(grammarAccess.getOptionalSequenceAccess().getDefinitionListDefinitionListParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__DefinitionsAssignment_1 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getDefinitionsDefinitionListParserRuleCall_1_0()); } ruleDefinitionList{ after(grammarAccess.getRepeatedSequenceAccess().getDefinitionsDefinitionListParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } rule__RepeatedSequence__MorethanonceAssignment_3 @init { int stackSize = keepStackSize(); } : ( { before(grammarAccess.getRepeatedSequenceAccess().getMorethanoncePlusSignKeyword_3_0()); } ( { before(grammarAccess.getRepeatedSequenceAccess().getMorethanoncePlusSignKeyword_3_0()); } '+' { after(grammarAccess.getRepeatedSequenceAccess().getMorethanoncePlusSignKeyword_3_0()); } ) { after(grammarAccess.getRepeatedSequenceAccess().getMorethanoncePlusSignKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')*; RULE_INT : ('0'..'9')+; RULE_WS : (' '|'\t'|'\r'? '\n')+; RULE_COLON : '"' '"' '"'; RULE_STRING : ('"' ~('"')* '"'|'\'' ~('\'')* '\''); RULE_SECTIONHEADER : ('a'..'z'|'A'..'Z') ('.'|'0'..'9')+ (' '|'\t') ~(('\n'|'\r'))* '\r'? '\n'; RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; RULE_LOGIC : ('/and'|'/or'|'/andr'|'/orr'|'/any'|'/together');