aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-02-28 11:51:25 (EST)
committersefftinge2009-02-28 11:51:25 (EST)
commit029e9b3980ab0ab25a7b1ccf31a7154409b09b57 (patch)
treef4609e320577b451ec3f6b3d175e1d4494fe8b20
parente30f2ae84223b0cef98389b4900aa58143369c12 (diff)
downloadorg.eclipse.xtext-029e9b3980ab0ab25a7b1ccf31a7154409b09b57.zip
org.eclipse.xtext-029e9b3980ab0ab25a7b1ccf31a7154409b09b57.tar.gz
org.eclipse.xtext-029e9b3980ab0ab25a7b1ccf31a7154409b09b57.tar.bz2
Removed keyword and property 'abstract' from Grammar (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=266427)
-rw-r--r--devtools/org.eclipse.xtext.reference.ui/plugin.xml_gen2
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeModule.java8
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi2
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammarStandaloneSetup.java7
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel.ui/plugin.xml_gen2
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/AbstractDomainmodelRuntimeModule.java8
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/Domainmodel.xmi2
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/DomainmodelStandaloneSetup.java7
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml_gen2
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/AbstractEcoreDslRuntimeModule.java8
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDsl.xmi2
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDslStandaloneSetup.java7
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl.ui/plugin.xml_gen2
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeModule.java8
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi2
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDslStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi9
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/AbstractLowerCaseNamedTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractBaseInheritanceTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractInheritanceTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java15
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xmi4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java66
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g41
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens65
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java878
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2456
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/AbstractEpatchTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/AbstractKeywordsTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java161
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java382
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/AbstractHiddenTerminalsTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/AbstractTerminalRulesTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/AbstractXtextTerminalsTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/HiddenTerminalsTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/TerminalRulesTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.genmodel3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parseTreeConstruction/XtextTerminalsTestLanguageParsetreeConstructor.java66
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g41
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.tokens65
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguageLexer.java882
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguageParser.java2456
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage__.g81
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/XtextTerminalsTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/XtextTerminalsTestLanguageParserConfiguration.java161
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/consumers/XtextTerminalsTestLanguageGrammarConsumer.java382
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/consumers/XtextTerminalsTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/services/XtextTerminalsTestLanguageGrammarAccess.java16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/xtextTerminalsTestLanguage/Grammar.java27
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/xtextTerminalsTestLanguage/XtextTerminalsTestLanguagePackage.java42
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/xtextTerminalsTestLanguage/impl/GrammarImpl.java58
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/xtextTerminalsTestLanguage/impl/XtextTerminalsTestLanguagePackageImpl.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/AbstractFormatterTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/FormatterTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/AbstractComplexReconstrTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/AbstractSimpleReconstrTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/AbstractTransientValuesTestRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/TransientValuesTest.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/TransientValuesTestStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/AbstractMultiValueFeatureTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/MultiValueFeatureTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/MultiValueFeatureTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/services/XtextGrammarTestLanguageGrammarAccess.java16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractActionTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractContentAssistTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractFowlerDslTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractLexerTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractLookaheadTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractOptionalEmptyTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractPartialParserTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractReferenceGrammarTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractSimpleExpressionsTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractTreeTestLanguageRuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ActionTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ActionTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/FowlerDslTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/FowlerDslTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/LexerTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/LexerTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/LookaheadTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/LookaheadTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/OptionalEmptyTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/OptionalEmptyTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/PartialParserTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/PartialParserTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/SimpleExpressionsTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/SimpleExpressionsTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/TestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/TestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguageStandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/AbstractBug250313RuntimeModule.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/Bug250313.xmi2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/Bug250313StandaloneSetup.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/xtextTest/Grammar.java27
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/xtextTest/XtextTestPackage.java42
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/xtextTest/impl/GrammarImpl.java58
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/xtextTest/impl/XtextTestPackageImpl.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/GenerateAllTestLanguages.mwe2
-rwxr-xr-xtests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/XtextGrammarTestLanguage.xtext3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xtext2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xtext3
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/packrat/XtextPackratParserTest.java2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/plugin.xml_gen21
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageProposals.java9
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageScopeProvider.ext38
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore3
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel3
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi9
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractAbstractTestLanguageRuntimeModule.java20
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractAbstractTestLanguageUiModule.java8
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi4
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java17
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/AbstractTestLanguageAntlrTokenFileProvider.java15
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/AbstractTestLanguageParser.java56
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalAbstractTestLanguage.g247
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalAbstractTestLanguage.tokens9
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalAbstractTestLanguageLexer.java728
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalAbstractTestLanguageParser.java383
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalAbstractTestLanguage__.g39
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java66
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g41
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens65
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java878
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2456
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g79
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java161
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java382
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/services/XtextGrammarTestLanguageGrammarAccess.java16
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/GenReferenceGrammarTestLanguageScopeProvider.ext8
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/ui/common/editor/contentassist/impl/TwoContextsTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/ui/common/editor/contentassist/impl/TwoContextsTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/xtextTest/Grammar.java27
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/xtextTest/XtextTestPackage.java42
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/xtextTest/impl/GrammarImpl.java58
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/xtextTest/impl/XtextTestPackageImpl.java24
-rw-r--r--tests/org.eclipse.xtext.ui.integration.tests/plugin.xml_gen2
-rw-r--r--tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/TestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/TestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/plugin.xml_gen10
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageProposals.ext6
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageScopeProvider.ext36
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore3
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel3
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi9
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java66
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g41
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens65
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java878
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2456
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g79
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java161
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java382
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/services/XtextGrammarTestLanguageGrammarAccess.java16
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/GenReferenceGrammarTestLanguageScopeProvider.ext8
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguage.xmi2
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/TreeTestLanguageStandaloneSetup.java5
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextTest/Grammar.java27
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextTest/XtextTestPackage.java42
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextTest/impl/GrammarImpl.java58
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextTest/impl/XtextTestPackageImpl.java24
232 files changed, 9783 insertions, 10003 deletions
diff --git a/devtools/org.eclipse.xtext.reference.ui/plugin.xml_gen b/devtools/org.eclipse.xtext.reference.ui/plugin.xml_gen
index 67508fb..648547d 100644
--- a/devtools/org.eclipse.xtext.reference.ui/plugin.xml_gen
+++ b/devtools/org.eclipse.xtext.reference.ui/plugin.xml_gen
@@ -3,7 +3,6 @@
<plugin>
-
<!-- adding resource factories -->
<extension
@@ -23,7 +22,6 @@
</extension>
-
<extension
point="org.eclipse.ui.editors">
<editor
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeModule.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeModule.java
index d307020..db2d99d 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeModule.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractReferenceGrammarRuntimeModule extends DefaultRunti
return org.eclipse.xtext.reference.parser.packrat.ReferenceGrammarPackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.reference.parseTreeConstruction.ReferenceGrammarParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.reference.parser.antlr.internal.InternalReferenceGrammarLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractReferenceGrammarRuntimeModule extends DefaultRunti
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.reference.parseTreeConstruction.ReferenceGrammarParsetreeConstructor.class;
- }
}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi
index f1e3488..51e8934 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi
@@ -220,7 +220,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammarStandaloneSetup.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammarStandaloneSetup.java
index 449a7a6..70e0926 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammarStandaloneSetup.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammarStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.reference;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class ReferenceGrammarStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,14 +36,12 @@ public class ReferenceGrammarStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/reference/ReferenceGrammar")) {
EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/reference/ReferenceGrammar", org.eclipse.xtext.reference.referenceGrammar.ReferenceGrammarPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xtest", resourceFactory);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("tst", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/examples/org.eclipse.xtext.example.domainmodel.ui/plugin.xml_gen b/examples/org.eclipse.xtext.example.domainmodel.ui/plugin.xml_gen
index 7c56e43..f22f277 100644
--- a/examples/org.eclipse.xtext.example.domainmodel.ui/plugin.xml_gen
+++ b/examples/org.eclipse.xtext.example.domainmodel.ui/plugin.xml_gen
@@ -3,7 +3,6 @@
<plugin>
-
<!-- adding resource factories -->
<extension
@@ -15,7 +14,6 @@
</extension>
-
<extension
point="org.eclipse.ui.editors">
<editor
diff --git a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/AbstractDomainmodelRuntimeModule.java b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/AbstractDomainmodelRuntimeModule.java
index db2824d..27ae3ed 100644
--- a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/AbstractDomainmodelRuntimeModule.java
+++ b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/AbstractDomainmodelRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractDomainmodelRuntimeModule extends DefaultRuntimeMod
return org.eclipse.xtext.example.parser.packrat.DomainmodelPackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.example.parseTreeConstruction.DomainmodelParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.example.parser.antlr.internal.InternalDomainmodelLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractDomainmodelRuntimeModule extends DefaultRuntimeMod
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.example.parseTreeConstruction.DomainmodelParsetreeConstructor.class;
- }
}
diff --git a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/Domainmodel.xmi b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/Domainmodel.xmi
index 667fe63..decbd82 100644
--- a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/Domainmodel.xmi
+++ b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/Domainmodel.xmi
@@ -269,7 +269,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/DomainmodelStandaloneSetup.java b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/DomainmodelStandaloneSetup.java
index f51a4f3..6dce169 100644
--- a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/DomainmodelStandaloneSetup.java
+++ b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/DomainmodelStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.example;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class DomainmodelStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class DomainmodelStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.example.xtext/Domainmodel")) {
EPackage.Registry.INSTANCE.put("http://www.example.xtext/Domainmodel", org.eclipse.xtext.example.domainmodel.DomainmodelPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("dmodel", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml_gen b/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml_gen
index 9b027d8..bb68924 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml_gen
+++ b/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml_gen
@@ -3,7 +3,6 @@
<plugin>
-
<!-- adding resource factories -->
<extension
@@ -15,7 +14,6 @@
</extension>
-
<extension
point="org.eclipse.ui.editors">
<editor
diff --git a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/AbstractEcoreDslRuntimeModule.java b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/AbstractEcoreDslRuntimeModule.java
index b1bd64c..b4dff54 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/AbstractEcoreDslRuntimeModule.java
+++ b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/AbstractEcoreDslRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractEcoreDslRuntimeModule extends DefaultRuntimeModule
return org.eclipse.xtext.example.parser.packrat.EcoreDslPackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.example.parseTreeConstruction.EcoreDslParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.example.parser.antlr.internal.InternalEcoreDslLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractEcoreDslRuntimeModule extends DefaultRuntimeModule
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.example.parseTreeConstruction.EcoreDslParsetreeConstructor.class;
- }
}
diff --git a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDsl.xmi b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDsl.xmi
index e8a43ba..b64098c 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDsl.xmi
+++ b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDsl.xmi
@@ -850,7 +850,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDslStandaloneSetup.java b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDslStandaloneSetup.java
index 95c42c9..d7ee119 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDslStandaloneSetup.java
+++ b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/EcoreDslStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.example;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class EcoreDslStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class EcoreDslStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://example.xtext.org/EcoreDsl")) {
EPackage.Registry.INSTANCE.put("http://example.xtext.org/EcoreDsl", org.eclipse.xtext.example.ecoredsl.EcoredslPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("ecoredsl", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl.ui/plugin.xml_gen b/examples/org.eclipse.xtext.example.fowlerdsl.ui/plugin.xml_gen
index 3df66c4..6e0e0a0 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl.ui/plugin.xml_gen
+++ b/examples/org.eclipse.xtext.example.fowlerdsl.ui/plugin.xml_gen
@@ -3,7 +3,6 @@
<plugin>
-
<!-- adding resource factories -->
<extension
@@ -15,7 +14,6 @@
</extension>
-
<extension
point="org.eclipse.ui.editors">
<editor
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeModule.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeModule.java
index de9a164..b7cb10a 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeModule.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractFowlerDslRuntimeModule extends DefaultRuntimeModul
return org.eclipse.xtext.example.parser.packrat.FowlerDslPackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.example.parseTreeConstruction.FowlerDslParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.example.parser.antlr.internal.InternalFowlerDslLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractFowlerDslRuntimeModule extends DefaultRuntimeModul
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.example.parseTreeConstruction.FowlerDslParsetreeConstructor.class;
- }
}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi
index e6946a6..071c6ae 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi
@@ -127,7 +127,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDslStandaloneSetup.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDslStandaloneSetup.java
index fb8cdf4..8d3537e 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDslStandaloneSetup.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDslStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.example;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class FowlerDslStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class FowlerDslStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://example.xtext.org/FowlerDsl")) {
EPackage.Registry.INSTANCE.put("http://example.xtext.org/FowlerDsl", org.eclipse.xtext.example.fowlerdsl.FowlerdslPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("fowlerdsl", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeModule.java
index b4b707a..331c283 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractXtextGrammarTestLanguageRuntimeModule extends Defa
return org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.parseTreeConstruction.XtextGrammarTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parser.antlr.internal.InternalXtextGrammarTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractXtextGrammarTestLanguageRuntimeModule extends Defa
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.parseTreeConstruction.XtextGrammarTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore
index 5e5da63..98cd54d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.ecore
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="ASCII"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xtextTest" nsURI="http://www.eclipse.org/2008/Test/XtextTest" nsPrefix="xtextTest">
<eClassifiers xsi:type="ecore:EClass" name="Grammar">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel
index 1cd8168..c9fc2ce 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.genmodel
@@ -5,9 +5,6 @@
<genClasses>
<ecoreClass href="XtextGrammarTestLanguage.ecore#//Grammar"/>
<genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="XtextGrammarTestLanguage.ecore#//Grammar/abstract"/>
- </genFeatures>
- <genFeatures createChild="false">
<ecoreFeature xsi:type="ecore:EAttribute" href="XtextGrammarTestLanguage.ecore#//Grammar/name"/>
</genFeatures>
<genFeatures notify="false" createChild="false" propertySortChoices="true">
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
index afb2173..f2a643b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
@@ -16,12 +16,7 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="abstract" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="abstract"/>
- </abstractTokens>
- <abstractTokens xsi:type="xtext:Keyword" value="grammar"/>
- </abstractTokens>
+ <abstractTokens xsi:type="xtext:Keyword" value="grammar"/>
<abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
</abstractTokens>
@@ -654,7 +649,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java
index 8908ba6..4d80165 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class XtextGrammarTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class XtextGrammarTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2008/Test/XtextTest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2008/Test/XtextTest", org.eclipse.xtext.xtextTest.XtextTestPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("xtextgrammartestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeModule.java
index ffa19fa..e222bac 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractImportUriTestLanguageRuntimeModule extends Default
return org.eclipse.xtext.crossrefs.parser.packrat.ImportUriTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.crossrefs.parseTreeConstruction.ImportUriTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalImportUriTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractImportUriTestLanguageRuntimeModule extends Default
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.crossrefs.parseTreeConstruction.ImportUriTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeModule.java
index e96f42d..0fc86f3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractLangATestLanguageRuntimeModule extends DefaultRunt
return org.eclipse.xtext.crossrefs.parser.packrat.LangATestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.crossrefs.parseTreeConstruction.LangATestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalLangATestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractLangATestLanguageRuntimeModule extends DefaultRunt
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.crossrefs.parseTreeConstruction.LangATestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi
index ac0e268..8becd92 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi
@@ -52,7 +52,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguageStandaloneSetup.java
index 7d50e3a..93166bd 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.crossrefs;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class ImportUriTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class ImportUriTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/importUriTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/importUriTestLanguage", org.eclipse.xtext.crossrefs.importedURI.ImportedURIPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("importuritestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi
index 7cb761d..d94a246 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi
@@ -52,7 +52,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguageStandaloneSetup.java
index 71fd4c8..f98b520 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.crossrefs;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class LangATestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class LangATestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/langATestLanguage")) {
EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/langATestLanguage", org.eclipse.xtext.crossrefs.langATestLanguage.LangATestLanguagePackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("langatestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeModule.java
index ab22259..bf49bcf 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractDummyTestLanguageRuntimeModule extends DefaultRunt
return org.eclipse.xtext.dummy.parser.packrat.DummyTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.dummy.parseTreeConstruction.DummyTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.dummy.parser.antlr.internal.InternalDummyTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractDummyTestLanguageRuntimeModule extends DefaultRunt
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.dummy.parseTreeConstruction.DummyTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguage.xmi
index 4c6a05e..0bda5db 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguage.xmi
@@ -37,7 +37,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguageStandaloneSetup.java
index 7bc4507..43f964c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/DummyTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.dummy;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class DummyTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class DummyTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2008/xtext/DummyLang")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2008/xtext/DummyLang", org.eclipse.xtext.dummy.dummyLang.DummyLangPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("dummytestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/AbstractLowerCaseNamedTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/AbstractLowerCaseNamedTestLanguageRuntimeModule.java
index e194527..2cba82a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/AbstractLowerCaseNamedTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/AbstractLowerCaseNamedTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractLowerCaseNamedTestLanguageRuntimeModule extends De
return org.eclipse.xtext.generator.parser.packrat.LowerCaseNamedTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.generator.parseTreeConstruction.LowerCaseNamedTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.generator.parser.antlr.internal.InternalLowerCaseNamedTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractLowerCaseNamedTestLanguageRuntimeModule extends De
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.generator.parseTreeConstruction.LowerCaseNamedTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguage.xmi
index 5b3901f..4a260e9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguage.xmi
@@ -13,7 +13,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguageStandaloneSetup.java
index 56d84bc..cc8068c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/lowerCaseNamedTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.generator;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class lowerCaseNamedTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class lowerCaseNamedTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/lowerCaseNamedTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/lowerCaseNamedTestLanguage", org.eclipse.xtext.generator.lowerCaseNamedTestLanguage.LowerCaseNamedTestLanguagePackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("lowercasenamedtestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractBaseInheritanceTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractBaseInheritanceTestLanguageRuntimeModule.java
index 55b6295..4eaa163 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractBaseInheritanceTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractBaseInheritanceTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractBaseInheritanceTestLanguageRuntimeModule extends D
return org.eclipse.xtext.grammarinheritance.parser.packrat.BaseInheritanceTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.BaseInheritanceTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.grammarinheritance.parser.antlr.internal.InternalBaseInheritanceTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractBaseInheritanceTestLanguageRuntimeModule extends D
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.BaseInheritanceTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeModule.java
index 7f38144..04bec23 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractConcreteTestLanguageRuntimeModule extends DefaultR
return org.eclipse.xtext.grammarinheritance.parser.packrat.ConcreteTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.ConcreteTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.grammarinheritance.parser.antlr.internal.InternalConcreteTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractConcreteTestLanguageRuntimeModule extends DefaultR
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.ConcreteTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractInheritanceTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractInheritanceTestLanguageRuntimeModule.java
index 09cb996..637597d0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractInheritanceTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractInheritanceTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractInheritanceTestLanguageRuntimeModule extends Defau
return org.eclipse.xtext.grammarinheritance.parser.packrat.InheritanceTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.InheritanceTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.grammarinheritance.parser.antlr.internal.InternalInheritanceTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractInheritanceTestLanguageRuntimeModule extends Defau
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.grammarinheritance.parseTreeConstruction.InheritanceTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi
index 489270f..4c8d135 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xmi
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.grammarinheritance.AbstractTestLanguage" superGrammar="/1">
+ <xtext:Grammar name="org.eclipse.xtext.grammarinheritance.AbstractTestLanguage" superGrammar="/1">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="mm">
<ePackage href="http://www.eclipse.org/xtext/tests/grammarinheritance#/"/>
</metamodelDeclarations>
@@ -84,7 +84,7 @@
</type>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java
index 02e64c5..985fdb5 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.grammarinheritance;
import org.eclipse.emf.ecore.EPackage;
@@ -24,11 +22,18 @@ public class AbstractTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
- return null;
+
+ Injector injector = createInjector();
+ register(injector);
+ return injector;
}
-
-
+ public Injector createInjector() {
+ return Guice.createInjector(new org.eclipse.xtext.grammarinheritance.AbstractTestLanguageRuntimeModule());
+ }
+
+ public void register(Injector injector) {
//TODO registration of EValidators should be added here, too
+ }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguage.xmi
index 3551f79..5dcd188 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguage.xmi
@@ -16,7 +16,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguageStandaloneSetup.java
index f17a330..bb0748a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/BaseInheritanceTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.grammarinheritance;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class BaseInheritanceTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class BaseInheritanceTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/BaseInheritanceTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/BaseInheritanceTestLanguage", org.eclipse.xtext.grammarinheritance.baseInheritanceTest.BaseInheritanceTestPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("baseinheritancetestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xmi
index 89126bc..ded77d4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xmi
@@ -148,7 +148,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.grammarinheritance.AbstractTestLanguage" superGrammar="/2">
+ <xtext:Grammar name="org.eclipse.xtext.grammarinheritance.AbstractTestLanguage" superGrammar="/2">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="mm">
<ePackage href="http://www.eclipse.org/xtext/tests/grammarinheritance#/"/>
</metamodelDeclarations>
@@ -232,7 +232,7 @@
</type>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/2/@rules.5 /2/@rules.3 /2/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/2/@rules.5 /2/@rules.3 /2/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguageStandaloneSetup.java
index 2831097..59244a4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.grammarinheritance;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class ConcreteTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.grammarinheritance.AbstractTestLanguageStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class ConcreteTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://holla")) {
EPackage.Registry.INSTANCE.put("http://holla", org.eclipse.xtext.grammarinheritance.foo.FooPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("concretetestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xmi
index f94d9f7..fcdeb23 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xmi
@@ -54,7 +54,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/2/@rules.5 /2/@rules.3 /2/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/2/@rules.5 /2/@rules.3 /2/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguageStandaloneSetup.java
index 2d24917..a4271eb 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.grammarinheritance;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class InheritanceTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.grammarinheritance.BaseInheritanceTestLanguageStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class InheritanceTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/InheritanceTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/InheritanceTestLanguage", org.eclipse.xtext.grammarinheritance.inheritanceTest.InheritanceTestPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("inheritancetestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeModule.java
index 4d1bd74..96f5a7a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractMetamodelRefTestLanguageRuntimeModule extends Defa
return org.eclipse.xtext.metamodelreferencing.tests.parser.packrat.MetamodelRefTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.metamodelreferencing.tests.parseTreeConstruction.MetamodelRefTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal.InternalMetamodelRefTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractMetamodelRefTestLanguageRuntimeModule extends Defa
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.metamodelreferencing.tests.parseTreeConstruction.MetamodelRefTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeModule.java
index 0252ac5..85dcf88 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractMultiGenMMTestLanguageRuntimeModule extends Defaul
return org.eclipse.xtext.metamodelreferencing.tests.parser.packrat.MultiGenMMTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.metamodelreferencing.tests.parseTreeConstruction.MultiGenMMTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal.InternalMultiGenMMTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractMultiGenMMTestLanguageRuntimeModule extends Defaul
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.metamodelreferencing.tests.parseTreeConstruction.MultiGenMMTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi
index 83e35e3..e20a03d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi
@@ -41,7 +41,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguageStandaloneSetup.java
index 28f20ee..0733448 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.metamodelreferencing.tests;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class MetamodelRefTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class MetamodelRefTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/tests/AnotherSimpleTest")) {
EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/tests/AnotherSimpleTest", org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest.AnotherSimpleTestPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("metamodelreftestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguage.xmi
index d728aee..c4395a9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguage.xmi
@@ -29,7 +29,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguageStandaloneSetup.java
index fd6c88c..c65a86e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MultiGenMMTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.metamodelreferencing.tests;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class MultiGenMMTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -40,13 +39,11 @@ public class MultiGenMMTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/tests/OtherTest")) {
EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/tests/OtherTest", org.eclipse.xtext.metamodelreferencing.tests.otherTest.OtherTestPackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("multigenmmtestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java
index 67aa782..34ccc25 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parseTreeConstruction/XtextGrammarTestLanguageParsetreeConstructor.java
@@ -198,7 +198,7 @@ protected class Grammar_0_0_0_0_Group extends GroupToken {
protected Solution createSolution() {
Solution s1 = new Grammar_0_0_0_0_1_Assignment_name(current, this).firstSolution();
while(s1 != null) {
- Solution s2 = new Grammar_0_0_0_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
+ Solution s2 = new Grammar_0_0_0_0_0_Keyword_grammar(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
@@ -213,75 +213,17 @@ protected class Grammar_0_0_0_0_Group extends GroupToken {
}
// not supported
-protected class Grammar_0_0_0_0_0_Group extends GroupToken {
+protected class Grammar_0_0_0_0_0_Keyword_grammar extends KeywordToken {
- public Grammar_0_0_0_0_0_Group(IInstanceDescription curr, AbstractToken pred) {
- super(curr, pred, !IS_MANY, IS_REQUIRED);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.prGrammar().ele00000Group();
- }
-
- @Override
- protected Solution createSolution() {
- Solution s1 = new Grammar_0_0_0_0_0_1_Keyword_grammar(current, this).firstSolution();
- while(s1 != null) {
- Solution s2 = new Grammar_0_0_0_0_0_0_Assignment_abstract(s1.getCurrent(), s1.getPredecessor()).firstSolution();
- if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this,s1);
- if(s1 == null) return null;
- } else {
- last = s2.getPredecessor();
- return s2;
- }
- }
- return null;
-
- }
-}
-
-// not supported
-protected class Grammar_0_0_0_0_0_0_Assignment_abstract extends AssignmentToken {
-
- public Grammar_0_0_0_0_0_0_Assignment_abstract(IInstanceDescription curr, AbstractToken pred) {
- super(curr, pred, !IS_MANY, !IS_REQUIRED);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.prGrammar().ele000000AssignmentAbstract();
- }
-
- @Override
- protected Solution createSolution() {
- if((value = current.getConsumable("abstract",!IS_REQUIRED)) == null) return null;
- IInstanceDescription obj = current.cloneAndConsume("abstract");
-
- if(Boolean.TRUE.equals(value)) { // xtext::Keyword
- type = AssignmentType.KW;
- element = grammarAccess.prGrammar().ele0000000KeywordAbstract();
- return new Solution(obj);
- }
-
- return null;
- }
-}
-
-// not supported
-protected class Grammar_0_0_0_0_0_1_Keyword_grammar extends KeywordToken {
-
- public Grammar_0_0_0_0_0_1_Keyword_grammar(IInstanceDescription curr, AbstractToken pred) {
+ public Grammar_0_0_0_0_0_Keyword_grammar(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public Keyword getGrammarElement() {
- return grammarAccess.prGrammar().ele000001KeywordGrammar();
+ return grammarAccess.prGrammar().ele00000KeywordGrammar();
}
}
-
// not supported
protected class Grammar_0_0_0_0_1_Assignment_name extends AssignmentToken {
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
index 7b5b5a8..01f3802 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
@@ -81,38 +81,17 @@ ruleGrammar returns [EObject current=null]
@after { resetLookahead();
lastConsumedNode = currentNode;
}:
-(((((((
-
- lv_abstract_0='abstract'
+((((('grammar'
{
- createLeafNode(grammarAccess.prGrammar().ele0000000KeywordAbstract(), "abstract");
+ createLeafNode(grammarAccess.prGrammar().ele00000KeywordGrammar(), null);
}
-
-
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.prGrammar().getRule().getType().getType());
- associateNodeWithAstElement(currentNode, $current);
- }
-
- try {
- set($current, "abstract", true, "abstract", lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)?'grammar'
- {
- createLeafNode(grammarAccess.prGrammar().ele000001KeywordGrammar(), null);
- }
-)(
+(
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele000010ParserRuleCallGrammarID(), currentNode);
}
- lv_name_2=ruleGrammarID
+ lv_name_1=ruleGrammarID
{
if ($current==null) {
$current = factory.create(grammarAccess.prGrammar().getRule().getType().getType());
@@ -120,7 +99,7 @@ ruleGrammar returns [EObject current=null]
}
try {
- set($current, "name", lv_name_2, "GrammarID", currentNode);
+ set($current, "name", lv_name_1, "GrammarID", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
@@ -151,7 +130,7 @@ ruleGrammar returns [EObject current=null]
))?)((((
- lv_definesHiddenTokens_5='hidden'
+ lv_definesHiddenTokens_4='hidden'
{
createLeafNode(grammarAccess.prGrammar().ele0010000KeywordHidden(), "definesHiddenTokens");
}
@@ -220,7 +199,7 @@ ruleGrammar returns [EObject current=null]
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele010ParserRuleCallAbstractMetamodelDeclaration(), currentNode);
}
- lv_metamodelDeclarations_11=ruleAbstractMetamodelDeclaration
+ lv_metamodelDeclarations_10=ruleAbstractMetamodelDeclaration
{
if ($current==null) {
$current = factory.create(grammarAccess.prGrammar().getRule().getType().getType());
@@ -228,7 +207,7 @@ ruleGrammar returns [EObject current=null]
}
try {
- add($current, "metamodelDeclarations", lv_metamodelDeclarations_11, "AbstractMetamodelDeclaration", currentNode);
+ add($current, "metamodelDeclarations", lv_metamodelDeclarations_10, "AbstractMetamodelDeclaration", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
@@ -241,7 +220,7 @@ ruleGrammar returns [EObject current=null]
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele10ParserRuleCallAbstractRule(), currentNode);
}
- lv_rules_12=ruleAbstractRule
+ lv_rules_11=ruleAbstractRule
{
if ($current==null) {
$current = factory.create(grammarAccess.prGrammar().getRule().getType().getType());
@@ -249,7 +228,7 @@ ruleGrammar returns [EObject current=null]
}
try {
- add($current, "rules", lv_rules_12, "AbstractRule", currentNode);
+ add($current, "rules", lv_rules_11, "AbstractRule", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
index 9d977bc..0fa696f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
@@ -5,36 +5,35 @@ RULE_INT=6
RULE_STRING=5
RULE_ANY_OTHER=10
RULE_SL_COMMENT=8
-'->'=40
-'returns'=24
-'..'=41
-'generate'=19
-'terminal'=27
-'?='=35
-';'=26
-']'=43
-'?'=30
-','=16
-'hidden'=14
-'='=34
-'['=42
-'::'=28
-'lexer'=23
-'|'=29
-')'=17
-'native'=22
-'grammar'=12
-'{'=36
-'import'=21
-'!'=39
-'+='=33
-'('=15
-'as'=20
-':'=25
-'.'=18
-'extends'=13
-'*'=31
-'}'=38
-'+'=32
-'current'=37
-'abstract'=11
+'->'=39
+'returns'=23
+'..'=40
+'generate'=18
+'terminal'=26
+'?='=34
+';'=25
+']'=42
+'?'=29
+','=15
+'hidden'=13
+'='=33
+'['=41
+'::'=27
+'lexer'=22
+'|'=28
+')'=16
+'native'=21
+'grammar'=11
+'import'=20
+'{'=35
+'!'=38
+'+='=32
+'('=14
+'as'=19
+':'=24
+'.'=17
+'extends'=12
+'*'=30
+'}'=37
+'+'=31
+'current'=36
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
index f29fa31..bb9373d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
@@ -37,7 +37,6 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public static final int T33=33;
public static final int T11=11;
public static final int T22=22;
- public static final int T43=43;
public static final int T12=12;
public static final int T23=23;
public static final int T28=28;
@@ -47,7 +46,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public static final int RULE_WS=9;
public static final int T15=15;
public static final int EOF=-1;
- public static final int Tokens=44;
+ public static final int Tokens=43;
public static final int RULE_ANY_OTHER=10;
public static final int T31=31;
public static final int RULE_SL_COMMENT=8;
@@ -63,10 +62,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:10:5: ( 'abstract' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:10:7: 'abstract'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:10:5: ( 'grammar' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:10:7: 'grammar'
{
- match("abstract");
+ match("grammar");
}
@@ -82,10 +81,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:11:5: ( 'grammar' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:11:7: 'grammar'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:11:5: ( 'extends' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:11:7: 'extends'
{
- match("grammar");
+ match("extends");
}
@@ -101,10 +100,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:5: ( 'extends' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:7: 'extends'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:5: ( 'hidden' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:7: 'hidden'
{
- match("extends");
+ match("hidden");
}
@@ -120,11 +119,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT14() throws RecognitionException {
try {
int _type = T14;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:5: ( 'hidden' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:7: 'hidden'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:5: ( '(' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:7: '('
{
- match("hidden");
-
+ match('(');
}
@@ -139,10 +137,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT15() throws RecognitionException {
try {
int _type = T15;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:5: ( '(' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:7: '('
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:5: ( ',' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:7: ','
{
- match('(');
+ match(',');
}
@@ -157,10 +155,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT16() throws RecognitionException {
try {
int _type = T16;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:5: ( ',' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:7: ','
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:5: ( ')' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:7: ')'
{
- match(',');
+ match(')');
}
@@ -175,10 +173,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT17() throws RecognitionException {
try {
int _type = T17;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:5: ( ')' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:7: ')'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:5: ( '.' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:7: '.'
{
- match(')');
+ match('.');
}
@@ -193,10 +191,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT18() throws RecognitionException {
try {
int _type = T18;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:5: ( '.' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:7: '.'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:5: ( 'generate' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:7: 'generate'
{
- match('.');
+ match("generate");
+
}
@@ -211,10 +210,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT19() throws RecognitionException {
try {
int _type = T19;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:18:5: ( 'generate' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:18:7: 'generate'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:18:5: ( 'as' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:18:7: 'as'
{
- match("generate");
+ match("as");
}
@@ -230,10 +229,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT20() throws RecognitionException {
try {
int _type = T20;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:19:5: ( 'as' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:19:7: 'as'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:19:5: ( 'import' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:19:7: 'import'
{
- match("as");
+ match("import");
}
@@ -249,10 +248,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT21() throws RecognitionException {
try {
int _type = T21;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:20:5: ( 'import' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:20:7: 'import'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:20:5: ( 'native' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:20:7: 'native'
{
- match("import");
+ match("native");
}
@@ -268,10 +267,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT22() throws RecognitionException {
try {
int _type = T22;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:21:5: ( 'native' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:21:7: 'native'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:21:5: ( 'lexer' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:21:7: 'lexer'
{
- match("native");
+ match("lexer");
}
@@ -287,10 +286,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT23() throws RecognitionException {
try {
int _type = T23;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:22:5: ( 'lexer' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:22:7: 'lexer'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:22:5: ( 'returns' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:22:7: 'returns'
{
- match("lexer");
+ match("returns");
}
@@ -306,11 +305,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT24() throws RecognitionException {
try {
int _type = T24;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:23:5: ( 'returns' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:23:7: 'returns'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:23:5: ( ':' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:23:7: ':'
{
- match("returns");
-
+ match(':');
}
@@ -325,10 +323,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT25() throws RecognitionException {
try {
int _type = T25;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:24:5: ( ':' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:24:7: ':'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:24:5: ( ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:24:7: ';'
{
- match(':');
+ match(';');
}
@@ -343,10 +341,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT26() throws RecognitionException {
try {
int _type = T26;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:25:5: ( ';' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:25:7: ';'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:25:5: ( 'terminal' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:25:7: 'terminal'
{
- match(';');
+ match("terminal");
+
}
@@ -361,10 +360,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT27() throws RecognitionException {
try {
int _type = T27;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:26:5: ( 'terminal' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:26:7: 'terminal'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:26:5: ( '::' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:26:7: '::'
{
- match("terminal");
+ match("::");
}
@@ -380,11 +379,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT28() throws RecognitionException {
try {
int _type = T28;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:27:5: ( '::' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:27:7: '::'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:27:5: ( '|' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:27:7: '|'
{
- match("::");
-
+ match('|');
}
@@ -399,10 +397,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT29() throws RecognitionException {
try {
int _type = T29;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:28:5: ( '|' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:28:7: '|'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:28:5: ( '?' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:28:7: '?'
{
- match('|');
+ match('?');
}
@@ -417,10 +415,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT30() throws RecognitionException {
try {
int _type = T30;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:29:5: ( '?' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:29:7: '?'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:29:5: ( '*' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:29:7: '*'
{
- match('?');
+ match('*');
}
@@ -435,10 +433,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT31() throws RecognitionException {
try {
int _type = T31;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:30:5: ( '*' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:30:7: '*'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:30:5: ( '+' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:30:7: '+'
{
- match('*');
+ match('+');
}
@@ -453,10 +451,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT32() throws RecognitionException {
try {
int _type = T32;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:31:5: ( '+' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:31:7: '+'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:31:5: ( '+=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:31:7: '+='
{
- match('+');
+ match("+=");
+
}
@@ -471,11 +470,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT33() throws RecognitionException {
try {
int _type = T33;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:32:5: ( '+=' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:32:7: '+='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:32:5: ( '=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:32:7: '='
{
- match("+=");
-
+ match('=');
}
@@ -490,10 +488,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT34() throws RecognitionException {
try {
int _type = T34;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:33:5: ( '=' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:33:7: '='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:33:5: ( '?=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:33:7: '?='
{
- match('=');
+ match("?=");
+
}
@@ -508,11 +507,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT35() throws RecognitionException {
try {
int _type = T35;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:34:5: ( '?=' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:34:7: '?='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:34:5: ( '{' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:34:7: '{'
{
- match("?=");
-
+ match('{');
}
@@ -527,10 +525,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT36() throws RecognitionException {
try {
int _type = T36;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:35:5: ( '{' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:35:7: '{'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:35:5: ( 'current' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:35:7: 'current'
{
- match('{');
+ match("current");
+
}
@@ -545,11 +544,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT37() throws RecognitionException {
try {
int _type = T37;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:36:5: ( 'current' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:36:7: 'current'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:36:5: ( '}' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:36:7: '}'
{
- match("current");
-
+ match('}');
}
@@ -564,10 +562,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT38() throws RecognitionException {
try {
int _type = T38;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:37:5: ( '}' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:37:7: '}'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:37:5: ( '!' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:37:7: '!'
{
- match('}');
+ match('!');
}
@@ -582,10 +580,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT39() throws RecognitionException {
try {
int _type = T39;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:38:5: ( '!' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:38:7: '!'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:38:5: ( '->' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:38:7: '->'
{
- match('!');
+ match("->");
+
}
@@ -600,10 +599,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT40() throws RecognitionException {
try {
int _type = T40;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:39:5: ( '->' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:39:7: '->'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:39:5: ( '..' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:39:7: '..'
{
- match("->");
+ match("..");
}
@@ -619,11 +618,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT41() throws RecognitionException {
try {
int _type = T41;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:40:5: ( '..' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:40:7: '..'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:40:5: ( '[' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:40:7: '['
{
- match("..");
-
+ match('[');
}
@@ -638,26 +636,8 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT42() throws RecognitionException {
try {
int _type = T42;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:41:5: ( '[' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:41:7: '['
- {
- match('[');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T42
-
- // $ANTLR start T43
- public final void mT43() throws RecognitionException {
- try {
- int _type = T43;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:42:5: ( ']' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:42:7: ']'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:41:5: ( ']' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:41:7: ']'
{
match(']');
@@ -668,16 +648,16 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
finally {
}
}
- // $ANTLR end T43
+ // $ANTLR end T42
// $ANTLR start RULE_ID
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2340:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2340:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2319:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2319:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2340:11: ( '^' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2319:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -686,7 +666,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2340:12: '^'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2319:12: '^'
{
match('^');
@@ -705,7 +685,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
recover(mse); throw mse;
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2340:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2319:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -753,10 +733,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2342:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2342:12: ( '0' .. '9' )+
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2321:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2321:12: ( '0' .. '9' )+
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2342:12: ( '0' .. '9' )+
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2321:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -770,7 +750,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt3) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2342:13: '0' .. '9'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2321:13: '0' .. '9'
{
matchRange('0','9');
@@ -800,7 +780,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2344:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2323:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -812,16 +792,16 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
else {
NoViableAltException nvae =
- new NoViableAltException("2344:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
+ new NoViableAltException("2323:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2345:6: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2324:6: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2345:10: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2324:10: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -837,7 +817,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2345:12: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2324:12: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -854,7 +834,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2345:56: ~ ( '\\\\' | '\"' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2324:56: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -880,10 +860,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2346:15: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2325:15: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2346:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2325:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -899,7 +879,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2346:22: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2325:22: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -916,7 +896,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2346:66: ~ ( '\\\\' | '\\'' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2325:66: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -954,12 +934,12 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2349:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2349:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2328:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2328:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2349:24: ( options {greedy=false; } : . )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2328:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -984,7 +964,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2349:52: .
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2328:52: .
{
matchAny();
@@ -1012,12 +992,12 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:24: (~ ( '\\n' | '\\r' ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -1030,7 +1010,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt8) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:24: ~ ( '\\n' | '\\r' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:24: ~ ( '\\n' | '\\r' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -1051,7 +1031,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:38: ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1060,9 +1040,9 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:39: ( '\\r' )? '\\n'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:39: ( '\\r' )? '\\n'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:39: ( '\\r' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1071,7 +1051,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2351:39: '\\r'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2330:39: '\\r'
{
match('\r');
@@ -1101,10 +1081,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2353:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2353:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2332:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2332:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2353:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2332:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -1157,8 +1137,8 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2355:16: ( . )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2355:18: .
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2334:16: ( . )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2334:18: .
{
matchAny();
@@ -1172,643 +1152,594 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt12=40;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt12=39;
int LA12_0 = input.LA(1);
- if ( (LA12_0=='a') ) {
+ if ( (LA12_0=='g') ) {
switch ( input.LA(2) ) {
- case 'b':
+ case 'e':
{
int LA12_36 = input.LA(3);
- if ( (LA12_36=='s') ) {
- int LA12_75 = input.LA(4);
+ if ( (LA12_36=='n') ) {
+ int LA12_74 = input.LA(4);
- if ( (LA12_75=='t') ) {
- int LA12_87 = input.LA(5);
+ if ( (LA12_74=='e') ) {
+ int LA12_85 = input.LA(5);
- if ( (LA12_87=='r') ) {
- int LA12_98 = input.LA(6);
+ if ( (LA12_85=='r') ) {
+ int LA12_95 = input.LA(6);
- if ( (LA12_98=='a') ) {
- int LA12_109 = input.LA(7);
+ if ( (LA12_95=='a') ) {
+ int LA12_105 = input.LA(7);
- if ( (LA12_109=='c') ) {
- int LA12_120 = input.LA(8);
+ if ( (LA12_105=='t') ) {
+ int LA12_115 = input.LA(8);
- if ( (LA12_120=='t') ) {
- int LA12_130 = input.LA(9);
+ if ( (LA12_115=='e') ) {
+ int LA12_124 = input.LA(9);
- if ( ((LA12_130>='0' && LA12_130<='9')||(LA12_130>='A' && LA12_130<='Z')||LA12_130=='_'||(LA12_130>='a' && LA12_130<='z')) ) {
- alt12=34;
+ if ( ((LA12_124>='0' && LA12_124<='9')||(LA12_124>='A' && LA12_124<='Z')||LA12_124=='_'||(LA12_124>='a' && LA12_124<='z')) ) {
+ alt12=33;
}
else {
- alt12=1;}
+ alt12=8;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
break;
- case 's':
- {
- int LA12_37 = input.LA(3);
-
- if ( ((LA12_37>='0' && LA12_37<='9')||(LA12_37>='A' && LA12_37<='Z')||LA12_37=='_'||(LA12_37>='a' && LA12_37<='z')) ) {
- alt12=34;
- }
- else {
- alt12=10;}
- }
- break;
- default:
- alt12=34;}
-
- }
- else if ( (LA12_0=='g') ) {
- switch ( input.LA(2) ) {
case 'r':
{
- int LA12_39 = input.LA(3);
-
- if ( (LA12_39=='a') ) {
- int LA12_77 = input.LA(4);
-
- if ( (LA12_77=='m') ) {
- int LA12_88 = input.LA(5);
-
- if ( (LA12_88=='m') ) {
- int LA12_99 = input.LA(6);
-
- if ( (LA12_99=='a') ) {
- int LA12_110 = input.LA(7);
-
- if ( (LA12_110=='r') ) {
- int LA12_121 = input.LA(8);
-
- if ( ((LA12_121>='0' && LA12_121<='9')||(LA12_121>='A' && LA12_121<='Z')||LA12_121=='_'||(LA12_121>='a' && LA12_121<='z')) ) {
- alt12=34;
- }
- else {
- alt12=2;}
- }
- else {
- alt12=34;}
- }
- else {
- alt12=34;}
- }
- else {
- alt12=34;}
- }
- else {
- alt12=34;}
- }
- else {
- alt12=34;}
- }
- break;
- case 'e':
- {
- int LA12_40 = input.LA(3);
+ int LA12_37 = input.LA(3);
- if ( (LA12_40=='n') ) {
- int LA12_78 = input.LA(4);
+ if ( (LA12_37=='a') ) {
+ int LA12_75 = input.LA(4);
- if ( (LA12_78=='e') ) {
- int LA12_89 = input.LA(5);
+ if ( (LA12_75=='m') ) {
+ int LA12_86 = input.LA(5);
- if ( (LA12_89=='r') ) {
- int LA12_100 = input.LA(6);
-
- if ( (LA12_100=='a') ) {
- int LA12_111 = input.LA(7);
+ if ( (LA12_86=='m') ) {
+ int LA12_96 = input.LA(6);
- if ( (LA12_111=='t') ) {
- int LA12_122 = input.LA(8);
+ if ( (LA12_96=='a') ) {
+ int LA12_106 = input.LA(7);
- if ( (LA12_122=='e') ) {
- int LA12_132 = input.LA(9);
+ if ( (LA12_106=='r') ) {
+ int LA12_116 = input.LA(8);
- if ( ((LA12_132>='0' && LA12_132<='9')||(LA12_132>='A' && LA12_132<='Z')||LA12_132=='_'||(LA12_132>='a' && LA12_132<='z')) ) {
- alt12=34;
- }
- else {
- alt12=9;}
+ if ( ((LA12_116>='0' && LA12_116<='9')||(LA12_116>='A' && LA12_116<='Z')||LA12_116=='_'||(LA12_116>='a' && LA12_116<='z')) ) {
+ alt12=33;
}
else {
- alt12=34;}
+ alt12=1;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
break;
default:
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='e') ) {
- int LA12_3 = input.LA(2);
+ int LA12_2 = input.LA(2);
- if ( (LA12_3=='x') ) {
- int LA12_41 = input.LA(3);
+ if ( (LA12_2=='x') ) {
+ int LA12_39 = input.LA(3);
- if ( (LA12_41=='t') ) {
- int LA12_79 = input.LA(4);
+ if ( (LA12_39=='t') ) {
+ int LA12_76 = input.LA(4);
- if ( (LA12_79=='e') ) {
- int LA12_90 = input.LA(5);
+ if ( (LA12_76=='e') ) {
+ int LA12_87 = input.LA(5);
- if ( (LA12_90=='n') ) {
- int LA12_101 = input.LA(6);
+ if ( (LA12_87=='n') ) {
+ int LA12_97 = input.LA(6);
- if ( (LA12_101=='d') ) {
- int LA12_112 = input.LA(7);
+ if ( (LA12_97=='d') ) {
+ int LA12_107 = input.LA(7);
- if ( (LA12_112=='s') ) {
- int LA12_123 = input.LA(8);
+ if ( (LA12_107=='s') ) {
+ int LA12_117 = input.LA(8);
- if ( ((LA12_123>='0' && LA12_123<='9')||(LA12_123>='A' && LA12_123<='Z')||LA12_123=='_'||(LA12_123>='a' && LA12_123<='z')) ) {
- alt12=34;
+ if ( ((LA12_117>='0' && LA12_117<='9')||(LA12_117>='A' && LA12_117<='Z')||LA12_117=='_'||(LA12_117>='a' && LA12_117<='z')) ) {
+ alt12=33;
}
else {
- alt12=3;}
+ alt12=2;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='h') ) {
- int LA12_4 = input.LA(2);
+ int LA12_3 = input.LA(2);
- if ( (LA12_4=='i') ) {
- int LA12_42 = input.LA(3);
+ if ( (LA12_3=='i') ) {
+ int LA12_40 = input.LA(3);
- if ( (LA12_42=='d') ) {
- int LA12_80 = input.LA(4);
+ if ( (LA12_40=='d') ) {
+ int LA12_77 = input.LA(4);
- if ( (LA12_80=='d') ) {
- int LA12_91 = input.LA(5);
+ if ( (LA12_77=='d') ) {
+ int LA12_88 = input.LA(5);
- if ( (LA12_91=='e') ) {
- int LA12_102 = input.LA(6);
+ if ( (LA12_88=='e') ) {
+ int LA12_98 = input.LA(6);
- if ( (LA12_102=='n') ) {
- int LA12_113 = input.LA(7);
+ if ( (LA12_98=='n') ) {
+ int LA12_108 = input.LA(7);
- if ( ((LA12_113>='0' && LA12_113<='9')||(LA12_113>='A' && LA12_113<='Z')||LA12_113=='_'||(LA12_113>='a' && LA12_113<='z')) ) {
- alt12=34;
+ if ( ((LA12_108>='0' && LA12_108<='9')||(LA12_108>='A' && LA12_108<='Z')||LA12_108=='_'||(LA12_108>='a' && LA12_108<='z')) ) {
+ alt12=33;
}
else {
- alt12=4;}
+ alt12=3;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='(') ) {
- alt12=5;
+ alt12=4;
}
else if ( (LA12_0==',') ) {
- alt12=6;
+ alt12=5;
}
else if ( (LA12_0==')') ) {
- alt12=7;
+ alt12=6;
}
else if ( (LA12_0=='.') ) {
+ int LA12_7 = input.LA(2);
+
+ if ( (LA12_7=='.') ) {
+ alt12=30;
+ }
+ else {
+ alt12=7;}
+ }
+ else if ( (LA12_0=='a') ) {
int LA12_8 = input.LA(2);
- if ( (LA12_8=='.') ) {
- alt12=31;
+ if ( (LA12_8=='s') ) {
+ int LA12_46 = input.LA(3);
+
+ if ( ((LA12_46>='0' && LA12_46<='9')||(LA12_46>='A' && LA12_46<='Z')||LA12_46=='_'||(LA12_46>='a' && LA12_46<='z')) ) {
+ alt12=33;
+ }
+ else {
+ alt12=9;}
}
else {
- alt12=8;}
+ alt12=33;}
}
else if ( (LA12_0=='i') ) {
int LA12_9 = input.LA(2);
if ( (LA12_9=='m') ) {
- int LA12_48 = input.LA(3);
+ int LA12_47 = input.LA(3);
- if ( (LA12_48=='p') ) {
- int LA12_81 = input.LA(4);
+ if ( (LA12_47=='p') ) {
+ int LA12_79 = input.LA(4);
- if ( (LA12_81=='o') ) {
- int LA12_92 = input.LA(5);
+ if ( (LA12_79=='o') ) {
+ int LA12_89 = input.LA(5);
- if ( (LA12_92=='r') ) {
- int LA12_103 = input.LA(6);
+ if ( (LA12_89=='r') ) {
+ int LA12_99 = input.LA(6);
- if ( (LA12_103=='t') ) {
- int LA12_114 = input.LA(7);
+ if ( (LA12_99=='t') ) {
+ int LA12_109 = input.LA(7);
- if ( ((LA12_114>='0' && LA12_114<='9')||(LA12_114>='A' && LA12_114<='Z')||LA12_114=='_'||(LA12_114>='a' && LA12_114<='z')) ) {
- alt12=34;
+ if ( ((LA12_109>='0' && LA12_109<='9')||(LA12_109>='A' && LA12_109<='Z')||LA12_109=='_'||(LA12_109>='a' && LA12_109<='z')) ) {
+ alt12=33;
}
else {
- alt12=11;}
+ alt12=10;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='n') ) {
int LA12_10 = input.LA(2);
if ( (LA12_10=='a') ) {
- int LA12_49 = input.LA(3);
+ int LA12_48 = input.LA(3);
- if ( (LA12_49=='t') ) {
- int LA12_82 = input.LA(4);
+ if ( (LA12_48=='t') ) {
+ int LA12_80 = input.LA(4);
- if ( (LA12_82=='i') ) {
- int LA12_93 = input.LA(5);
+ if ( (LA12_80=='i') ) {
+ int LA12_90 = input.LA(5);
- if ( (LA12_93=='v') ) {
- int LA12_104 = input.LA(6);
+ if ( (LA12_90=='v') ) {
+ int LA12_100 = input.LA(6);
- if ( (LA12_104=='e') ) {
- int LA12_115 = input.LA(7);
+ if ( (LA12_100=='e') ) {
+ int LA12_110 = input.LA(7);
- if ( ((LA12_115>='0' && LA12_115<='9')||(LA12_115>='A' && LA12_115<='Z')||LA12_115=='_'||(LA12_115>='a' && LA12_115<='z')) ) {
- alt12=34;
+ if ( ((LA12_110>='0' && LA12_110<='9')||(LA12_110>='A' && LA12_110<='Z')||LA12_110=='_'||(LA12_110>='a' && LA12_110<='z')) ) {
+ alt12=33;
}
else {
- alt12=12;}
+ alt12=11;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='l') ) {
int LA12_11 = input.LA(2);
if ( (LA12_11=='e') ) {
- int LA12_50 = input.LA(3);
+ int LA12_49 = input.LA(3);
- if ( (LA12_50=='x') ) {
- int LA12_83 = input.LA(4);
+ if ( (LA12_49=='x') ) {
+ int LA12_81 = input.LA(4);
- if ( (LA12_83=='e') ) {
- int LA12_94 = input.LA(5);
+ if ( (LA12_81=='e') ) {
+ int LA12_91 = input.LA(5);
- if ( (LA12_94=='r') ) {
- int LA12_105 = input.LA(6);
+ if ( (LA12_91=='r') ) {
+ int LA12_101 = input.LA(6);
- if ( ((LA12_105>='0' && LA12_105<='9')||(LA12_105>='A' && LA12_105<='Z')||LA12_105=='_'||(LA12_105>='a' && LA12_105<='z')) ) {
- alt12=34;
+ if ( ((LA12_101>='0' && LA12_101<='9')||(LA12_101>='A' && LA12_101<='Z')||LA12_101=='_'||(LA12_101>='a' && LA12_101<='z')) ) {
+ alt12=33;
}
else {
- alt12=13;}
+ alt12=12;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='r') ) {
int LA12_12 = input.LA(2);
if ( (LA12_12=='e') ) {
- int LA12_51 = input.LA(3);
+ int LA12_50 = input.LA(3);
- if ( (LA12_51=='t') ) {
- int LA12_84 = input.LA(4);
+ if ( (LA12_50=='t') ) {
+ int LA12_82 = input.LA(4);
- if ( (LA12_84=='u') ) {
- int LA12_95 = input.LA(5);
+ if ( (LA12_82=='u') ) {
+ int LA12_92 = input.LA(5);
- if ( (LA12_95=='r') ) {
- int LA12_106 = input.LA(6);
+ if ( (LA12_92=='r') ) {
+ int LA12_102 = input.LA(6);
- if ( (LA12_106=='n') ) {
- int LA12_117 = input.LA(7);
+ if ( (LA12_102=='n') ) {
+ int LA12_112 = input.LA(7);
- if ( (LA12_117=='s') ) {
- int LA12_127 = input.LA(8);
+ if ( (LA12_112=='s') ) {
+ int LA12_121 = input.LA(8);
- if ( ((LA12_127>='0' && LA12_127<='9')||(LA12_127>='A' && LA12_127<='Z')||LA12_127=='_'||(LA12_127>='a' && LA12_127<='z')) ) {
- alt12=34;
+ if ( ((LA12_121>='0' && LA12_121<='9')||(LA12_121>='A' && LA12_121<='Z')||LA12_121=='_'||(LA12_121>='a' && LA12_121<='z')) ) {
+ alt12=33;
}
else {
- alt12=14;}
+ alt12=13;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0==':') ) {
int LA12_13 = input.LA(2);
if ( (LA12_13==':') ) {
- alt12=18;
+ alt12=17;
}
else {
- alt12=15;}
+ alt12=14;}
}
else if ( (LA12_0==';') ) {
- alt12=16;
+ alt12=15;
}
else if ( (LA12_0=='t') ) {
int LA12_15 = input.LA(2);
if ( (LA12_15=='e') ) {
- int LA12_55 = input.LA(3);
+ int LA12_54 = input.LA(3);
- if ( (LA12_55=='r') ) {
- int LA12_85 = input.LA(4);
+ if ( (LA12_54=='r') ) {
+ int LA12_83 = input.LA(4);
- if ( (LA12_85=='m') ) {
- int LA12_96 = input.LA(5);
+ if ( (LA12_83=='m') ) {
+ int LA12_93 = input.LA(5);
- if ( (LA12_96=='i') ) {
- int LA12_107 = input.LA(6);
+ if ( (LA12_93=='i') ) {
+ int LA12_103 = input.LA(6);
- if ( (LA12_107=='n') ) {
- int LA12_118 = input.LA(7);
+ if ( (LA12_103=='n') ) {
+ int LA12_113 = input.LA(7);
- if ( (LA12_118=='a') ) {
- int LA12_128 = input.LA(8);
+ if ( (LA12_113=='a') ) {
+ int LA12_122 = input.LA(8);
- if ( (LA12_128=='l') ) {
- int LA12_135 = input.LA(9);
+ if ( (LA12_122=='l') ) {
+ int LA12_128 = input.LA(9);
- if ( ((LA12_135>='0' && LA12_135<='9')||(LA12_135>='A' && LA12_135<='Z')||LA12_135=='_'||(LA12_135>='a' && LA12_135<='z')) ) {
- alt12=34;
+ if ( ((LA12_128>='0' && LA12_128<='9')||(LA12_128>='A' && LA12_128<='Z')||LA12_128=='_'||(LA12_128>='a' && LA12_128<='z')) ) {
+ alt12=33;
}
else {
- alt12=17;}
+ alt12=16;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='|') ) {
- alt12=19;
+ alt12=18;
}
else if ( (LA12_0=='?') ) {
int LA12_17 = input.LA(2);
if ( (LA12_17=='=') ) {
- alt12=25;
+ alt12=24;
}
else {
- alt12=20;}
+ alt12=19;}
}
else if ( (LA12_0=='*') ) {
- alt12=21;
+ alt12=20;
}
else if ( (LA12_0=='+') ) {
int LA12_19 = input.LA(2);
if ( (LA12_19=='=') ) {
- alt12=23;
+ alt12=22;
}
else {
- alt12=22;}
+ alt12=21;}
}
else if ( (LA12_0=='=') ) {
- alt12=24;
+ alt12=23;
}
else if ( (LA12_0=='{') ) {
- alt12=26;
+ alt12=25;
}
else if ( (LA12_0=='c') ) {
int LA12_22 = input.LA(2);
if ( (LA12_22=='u') ) {
- int LA12_64 = input.LA(3);
+ int LA12_63 = input.LA(3);
- if ( (LA12_64=='r') ) {
- int LA12_86 = input.LA(4);
+ if ( (LA12_63=='r') ) {
+ int LA12_84 = input.LA(4);
- if ( (LA12_86=='r') ) {
- int LA12_97 = input.LA(5);
+ if ( (LA12_84=='r') ) {
+ int LA12_94 = input.LA(5);
- if ( (LA12_97=='e') ) {
- int LA12_108 = input.LA(6);
+ if ( (LA12_94=='e') ) {
+ int LA12_104 = input.LA(6);
- if ( (LA12_108=='n') ) {
- int LA12_119 = input.LA(7);
+ if ( (LA12_104=='n') ) {
+ int LA12_114 = input.LA(7);
- if ( (LA12_119=='t') ) {
- int LA12_129 = input.LA(8);
+ if ( (LA12_114=='t') ) {
+ int LA12_123 = input.LA(8);
- if ( ((LA12_129>='0' && LA12_129<='9')||(LA12_129>='A' && LA12_129<='Z')||LA12_129=='_'||(LA12_129>='a' && LA12_129<='z')) ) {
- alt12=34;
+ if ( ((LA12_123>='0' && LA12_123<='9')||(LA12_123>='A' && LA12_123<='Z')||LA12_123=='_'||(LA12_123>='a' && LA12_123<='z')) ) {
+ alt12=33;
}
else {
- alt12=27;}
+ alt12=26;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else {
- alt12=34;}
+ alt12=33;}
}
else if ( (LA12_0=='}') ) {
- alt12=28;
+ alt12=27;
}
else if ( (LA12_0=='!') ) {
- alt12=29;
+ alt12=28;
}
else if ( (LA12_0=='-') ) {
int LA12_25 = input.LA(2);
if ( (LA12_25=='>') ) {
- alt12=30;
+ alt12=29;
}
else {
- alt12=40;}
+ alt12=39;}
}
else if ( (LA12_0=='[') ) {
- alt12=32;
+ alt12=31;
}
else if ( (LA12_0==']') ) {
- alt12=33;
+ alt12=32;
}
else if ( (LA12_0=='^') ) {
int LA12_28 = input.LA(2);
if ( ((LA12_28>='A' && LA12_28<='Z')||LA12_28=='_'||(LA12_28>='a' && LA12_28<='z')) ) {
- alt12=34;
+ alt12=33;
}
else {
- alt12=40;}
+ alt12=39;}
}
else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||LA12_0=='d'||LA12_0=='f'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='m'||(LA12_0>='o' && LA12_0<='q')||LA12_0=='s'||(LA12_0>='u' && LA12_0<='z')) ) {
- alt12=34;
+ alt12=33;
}
else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
- alt12=35;
+ alt12=34;
}
else if ( (LA12_0=='\"') ) {
int LA12_31 = input.LA(2);
if ( ((LA12_31>='\u0000' && LA12_31<='\uFFFE')) ) {
- alt12=36;
+ alt12=35;
}
else {
- alt12=40;}
+ alt12=39;}
}
else if ( (LA12_0=='\'') ) {
int LA12_32 = input.LA(2);
if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFE')) ) {
- alt12=36;
+ alt12=35;
}
else {
- alt12=40;}
+ alt12=39;}
}
else if ( (LA12_0=='/') ) {
switch ( input.LA(2) ) {
case '*':
{
- alt12=37;
+ alt12=36;
}
break;
case '/':
{
- alt12=38;
+ alt12=37;
}
break;
default:
- alt12=40;}
+ alt12=39;}
}
else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
- alt12=39;
+ alt12=38;
}
else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='&')||LA12_0=='<'||LA12_0=='>'||LA12_0=='@'||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='~' && LA12_0<='\uFFFE')) ) {
- alt12=40;
+ alt12=39;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
+ new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
throw nvae;
}
@@ -2038,56 +1969,49 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 33 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:138: T43
- {
- mT43();
-
- }
- break;
- case 34 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:142: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:138: RULE_ID
{
mRULE_ID();
}
break;
- case 35 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:150: RULE_INT
+ case 34 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:146: RULE_INT
{
mRULE_INT();
}
break;
- case 36 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:159: RULE_STRING
+ case 35 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:155: RULE_STRING
{
mRULE_STRING();
}
break;
- case 37 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:171: RULE_ML_COMMENT
+ case 36 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:167: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
- case 38 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:187: RULE_SL_COMMENT
+ case 37 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:183: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
- case 39 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:203: RULE_WS
+ case 38 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:199: RULE_WS
{
mRULE_WS();
}
break;
- case 40 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:211: RULE_ANY_OTHER
+ case 39 :
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1:207: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
index dc544c0..095acc3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
@@ -23,7 +23,7 @@ import java.util.ArrayList;
public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract'", "'grammar'", "'extends'", "'hidden'", "'('", "','", "')'", "'.'", "'generate'", "'as'", "'import'", "'native'", "'lexer'", "'returns'", "':'", "';'", "'terminal'", "'::'", "'|'", "'?'", "'*'", "'+'", "'+='", "'='", "'?='", "'{'", "'current'", "'}'", "'!'", "'->'", "'..'", "'['", "']'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'grammar'", "'extends'", "'hidden'", "'('", "','", "')'", "'.'", "'generate'", "'as'", "'import'", "'native'", "'lexer'", "'returns'", "':'", "';'", "'terminal'", "'::'", "'|'", "'?'", "'*'", "'+'", "'+='", "'='", "'?='", "'{'", "'current'", "'}'", "'!'", "'->'", "'..'", "'['", "']'"
};
public static final int RULE_ML_COMMENT=7;
public static final int RULE_ID=4;
@@ -100,92 +100,51 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGrammar
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:78:1: ruleGrammar returns [EObject current=null] : ( ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* ) (lv_rules_12= ruleAbstractRule )+ ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:78:1: ruleGrammar returns [EObject current=null] : ( ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* ) (lv_rules_11= ruleAbstractRule )+ ) ;
public final EObject ruleGrammar() throws RecognitionException {
EObject current = null;
- Token lv_abstract_0=null;
- Token lv_definesHiddenTokens_5=null;
- AntlrDatatypeRuleToken lv_name_2 = null;
+ Token lv_definesHiddenTokens_4=null;
+ AntlrDatatypeRuleToken lv_name_1 = null;
- EObject lv_metamodelDeclarations_11 = null;
+ EObject lv_metamodelDeclarations_10 = null;
- EObject lv_rules_12 = null;
+ EObject lv_rules_11 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:83:6: ( ( ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* ) (lv_rules_12= ruleAbstractRule )+ ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:1: ( ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* ) (lv_rules_12= ruleAbstractRule )+ )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:83:6: ( ( ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* ) (lv_rules_11= ruleAbstractRule )+ ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:1: ( ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* ) (lv_rules_11= ruleAbstractRule )+ )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:1: ( ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* ) (lv_rules_12= ruleAbstractRule )+ )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:2: ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* ) (lv_rules_12= ruleAbstractRule )+
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:1: ( ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* ) (lv_rules_11= ruleAbstractRule )+ )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:2: ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* ) (lv_rules_11= ruleAbstractRule )+
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:2: ( ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:3: ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:2: ( ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:3: ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )*
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:3: ( ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:4: ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:3: ( ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:4: ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? ) ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:4: ( ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:5: ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:4: ( ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:5: ( 'grammar' (lv_name_1= ruleGrammarID ) ) ( 'extends' ( ruleGrammarID ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:5: ( ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:6: ( (lv_abstract_0= 'abstract' )? 'grammar' ) (lv_name_2= ruleGrammarID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:5: ( 'grammar' (lv_name_1= ruleGrammarID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:6: 'grammar' (lv_name_1= ruleGrammarID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:6: ( (lv_abstract_0= 'abstract' )? 'grammar' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:7: (lv_abstract_0= 'abstract' )? 'grammar'
- {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:84:7: (lv_abstract_0= 'abstract' )?
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0==11) ) {
- alt1=1;
- }
- switch (alt1) {
- case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:86:6: lv_abstract_0= 'abstract'
- {
- lv_abstract_0=(Token)input.LT(1);
- match(input,11,FOLLOW_11_in_ruleGrammar133);
-
- createLeafNode(grammarAccess.prGrammar().ele0000000KeywordAbstract(), "abstract");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.prGrammar().getRule().getType().getType());
- associateNodeWithAstElement(currentNode, current);
- }
-
- try {
- set(current, "abstract", true, "abstract", lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
- break;
+ match(input,11,FOLLOW_11_in_ruleGrammar120);
- }
-
- match(input,12,FOLLOW_12_in_ruleGrammar156);
-
- createLeafNode(grammarAccess.prGrammar().ele000001KeywordGrammar(), null);
+ createLeafNode(grammarAccess.prGrammar().ele00000KeywordGrammar(), null);
-
- }
-
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:109:2: (lv_name_2= ruleGrammarID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:112:6: lv_name_2= ruleGrammarID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:88:1: (lv_name_1= ruleGrammarID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:91:6: lv_name_1= ruleGrammarID
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele000010ParserRuleCallGrammarID(), currentNode);
- pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar191);
- lv_name_2=ruleGrammarID();
+ pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar154);
+ lv_name_1=ruleGrammarID();
_fsp--;
@@ -195,7 +154,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
try {
- set(current, "name", lv_name_2, "GrammarID", currentNode);
+ set(current, "name", lv_name_1, "GrammarID", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
@@ -207,23 +166,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:130:3: ( 'extends' ( ruleGrammarID ) )?
- int alt2=2;
- int LA2_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:109:3: ( 'extends' ( ruleGrammarID ) )?
+ int alt1=2;
+ int LA1_0 = input.LA(1);
- if ( (LA2_0==13) ) {
- alt2=1;
+ if ( (LA1_0==12) ) {
+ alt1=1;
}
- switch (alt2) {
+ switch (alt1) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:130:4: 'extends' ( ruleGrammarID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:109:4: 'extends' ( ruleGrammarID )
{
- match(input,13,FOLLOW_13_in_ruleGrammar206);
+ match(input,12,FOLLOW_12_in_ruleGrammar169);
createLeafNode(grammarAccess.prGrammar().ele00010KeywordExtends(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:134:1: ( ruleGrammarID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:137:3: ruleGrammarID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:113:1: ( ruleGrammarID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:116:3: ruleGrammarID
{
if (current==null) {
@@ -234,7 +193,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
currentNode=createCompositeNode(grammarAccess.prGrammar().ele000110CrossReferenceEStringGrammar(), currentNode);
- pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar233);
+ pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar196);
ruleGrammarID();
_fsp--;
@@ -253,28 +212,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:5: ( ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
- int alt5=2;
- int LA5_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:5: ( ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
+ int alt4=2;
+ int LA4_0 = input.LA(1);
- if ( (LA5_0==14) ) {
- alt5=1;
+ if ( (LA4_0==13) ) {
+ alt4=1;
}
- switch (alt5) {
+ switch (alt4) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:6: ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:6: ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:6: ( ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:7: ( (lv_definesHiddenTokens_5= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:6: ( ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:7: ( (lv_definesHiddenTokens_4= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:7: ( (lv_definesHiddenTokens_5= 'hidden' ) '(' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:8: (lv_definesHiddenTokens_5= 'hidden' ) '('
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:7: ( (lv_definesHiddenTokens_4= 'hidden' ) '(' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:8: (lv_definesHiddenTokens_4= 'hidden' ) '('
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:152:8: (lv_definesHiddenTokens_5= 'hidden' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:154:6: lv_definesHiddenTokens_5= 'hidden'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:8: (lv_definesHiddenTokens_4= 'hidden' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:133:6: lv_definesHiddenTokens_4= 'hidden'
{
- lv_definesHiddenTokens_5=(Token)input.LT(1);
- match(input,14,FOLLOW_14_in_ruleGrammar263);
+ lv_definesHiddenTokens_4=(Token)input.LT(1);
+ match(input,13,FOLLOW_13_in_ruleGrammar226);
createLeafNode(grammarAccess.prGrammar().ele0010000KeywordHidden(), "definesHiddenTokens");
@@ -293,26 +252,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,15,FOLLOW_15_in_ruleGrammar285);
+ match(input,14,FOLLOW_14_in_ruleGrammar248);
createLeafNode(grammarAccess.prGrammar().ele001001KeywordLeftParenthesis(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:177:2: ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
- int alt4=2;
- int LA4_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:156:2: ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
+ int alt3=2;
+ int LA3_0 = input.LA(1);
- if ( (LA4_0==RULE_ID) ) {
- alt4=1;
+ if ( (LA3_0==RULE_ID) ) {
+ alt3=1;
}
- switch (alt4) {
+ switch (alt3) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:177:3: ( RULE_ID ) ( ',' ( RULE_ID ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:156:3: ( RULE_ID ) ( ',' ( RULE_ID ) )*
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:177:3: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:180:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:156:3: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:159:3: RULE_ID
{
if (current==null) {
@@ -320,34 +279,34 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar309);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar272);
createLeafNode(grammarAccess.prGrammar().ele0010100CrossReferenceEStringAbstractRule(), "hiddenTokens");
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:193:2: ( ',' ( RULE_ID ) )*
- loop3:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:172:2: ( ',' ( RULE_ID ) )*
+ loop2:
do {
- int alt3=2;
- int LA3_0 = input.LA(1);
+ int alt2=2;
+ int LA2_0 = input.LA(1);
- if ( (LA3_0==16) ) {
- alt3=1;
+ if ( (LA2_0==15) ) {
+ alt2=1;
}
- switch (alt3) {
+ switch (alt2) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:193:3: ',' ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:172:3: ',' ( RULE_ID )
{
- match(input,16,FOLLOW_16_in_ruleGrammar322);
+ match(input,15,FOLLOW_15_in_ruleGrammar285);
createLeafNode(grammarAccess.prGrammar().ele0010110KeywordComma(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:197:1: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:200:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:176:1: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:179:3: RULE_ID
{
if (current==null) {
@@ -355,7 +314,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar344);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar307);
createLeafNode(grammarAccess.prGrammar().ele00101110CrossReferenceEStringAbstractRule(), "hiddenTokens");
@@ -367,7 +326,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop3;
+ break loop2;
}
} while (true);
@@ -380,7 +339,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,17,FOLLOW_17_in_ruleGrammar361);
+ match(input,16,FOLLOW_16_in_ruleGrammar324);
createLeafNode(grammarAccess.prGrammar().ele0011KeywordRightParenthesis(), null);
@@ -393,26 +352,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:217:4: (lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration )*
- loop6:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:196:4: (lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration )*
+ loop5:
do {
- int alt6=2;
- int LA6_0 = input.LA(1);
+ int alt5=2;
+ int LA5_0 = input.LA(1);
- if ( (LA6_0==19||LA6_0==21) ) {
- alt6=1;
+ if ( (LA5_0==18||LA5_0==20) ) {
+ alt5=1;
}
- switch (alt6) {
+ switch (alt5) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:220:6: lv_metamodelDeclarations_11= ruleAbstractMetamodelDeclaration
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:199:6: lv_metamodelDeclarations_10= ruleAbstractMetamodelDeclaration
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele010ParserRuleCallAbstractMetamodelDeclaration(), currentNode);
- pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar398);
- lv_metamodelDeclarations_11=ruleAbstractMetamodelDeclaration();
+ pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar361);
+ lv_metamodelDeclarations_10=ruleAbstractMetamodelDeclaration();
_fsp--;
@@ -422,7 +381,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
try {
- add(current, "metamodelDeclarations", lv_metamodelDeclarations_11, "AbstractMetamodelDeclaration", currentNode);
+ add(current, "metamodelDeclarations", lv_metamodelDeclarations_10, "AbstractMetamodelDeclaration", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
@@ -433,34 +392,34 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop6;
+ break loop5;
}
} while (true);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:238:4: (lv_rules_12= ruleAbstractRule )+
- int cnt7=0;
- loop7:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:217:4: (lv_rules_11= ruleAbstractRule )+
+ int cnt6=0;
+ loop6:
do {
- int alt7=2;
- int LA7_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( (LA7_0==RULE_ID||(LA7_0>=22 && LA7_0<=23)||LA7_0==27) ) {
- alt7=1;
+ if ( (LA6_0==RULE_ID||(LA6_0>=21 && LA6_0<=22)||LA6_0==26) ) {
+ alt6=1;
}
- switch (alt7) {
+ switch (alt6) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:241:6: lv_rules_12= ruleAbstractRule
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:220:6: lv_rules_11= ruleAbstractRule
{
currentNode=createCompositeNode(grammarAccess.prGrammar().ele10ParserRuleCallAbstractRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractRule_in_ruleGrammar438);
- lv_rules_12=ruleAbstractRule();
+ pushFollow(FOLLOW_ruleAbstractRule_in_ruleGrammar401);
+ lv_rules_11=ruleAbstractRule();
_fsp--;
@@ -470,7 +429,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
try {
- add(current, "rules", lv_rules_12, "AbstractRule", currentNode);
+ add(current, "rules", lv_rules_11, "AbstractRule", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
@@ -481,12 +440,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- if ( cnt7 >= 1 ) break loop7;
+ if ( cnt6 >= 1 ) break loop6;
EarlyExitException eee =
- new EarlyExitException(7, input);
+ new EarlyExitException(6, input);
throw eee;
}
- cnt7++;
+ cnt6++;
} while (true);
@@ -512,7 +471,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleGrammarID
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:268:1: entryRuleGrammarID returns [String current=null] : iv_ruleGrammarID= ruleGrammarID EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:247:1: entryRuleGrammarID returns [String current=null] : iv_ruleGrammarID= ruleGrammarID EOF ;
public final String entryRuleGrammarID() throws RecognitionException {
String current = null;
@@ -520,16 +479,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:268:50: (iv_ruleGrammarID= ruleGrammarID EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:269:2: iv_ruleGrammarID= ruleGrammarID EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:247:50: (iv_ruleGrammarID= ruleGrammarID EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:248:2: iv_ruleGrammarID= ruleGrammarID EOF
{
currentNode = createCompositeNode(grammarAccess.prGrammarID().getRule(), currentNode);
- pushFollow(FOLLOW_ruleGrammarID_in_entryRuleGrammarID479);
+ pushFollow(FOLLOW_ruleGrammarID_in_entryRuleGrammarID442);
iv_ruleGrammarID=ruleGrammarID();
_fsp--;
current =iv_ruleGrammarID.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleGrammarID490);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGrammarID453);
}
@@ -547,7 +506,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGrammarID
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:276:1: ruleGrammarID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:255:1: ruleGrammarID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
public final AntlrDatatypeRuleToken ruleGrammarID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -558,43 +517,43 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:282:6: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:283:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:261:6: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:262:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:283:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:283:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:262:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:262:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
this_ID_0=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID530);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID493);
current.merge(this_ID_0);
createLeafNode(grammarAccess.prGrammarID().ele0LexerRuleCallID(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:290:1: (kw= '.' this_ID_2= RULE_ID )*
- loop8:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:269:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop7:
do {
- int alt8=2;
- int LA8_0 = input.LA(1);
+ int alt7=2;
+ int LA7_0 = input.LA(1);
- if ( (LA8_0==18) ) {
- alt8=1;
+ if ( (LA7_0==17) ) {
+ alt7=1;
}
- switch (alt8) {
+ switch (alt7) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:291:2: kw= '.' this_ID_2= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:270:2: kw= '.' this_ID_2= RULE_ID
{
kw=(Token)input.LT(1);
- match(input,18,FOLLOW_18_in_ruleGrammarID549);
+ match(input,17,FOLLOW_17_in_ruleGrammarID512);
current.merge(kw);
createLeafNode(grammarAccess.prGrammarID().ele10KeywordFullStop(), null);
this_ID_2=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID564);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID527);
current.merge(this_ID_2);
@@ -606,7 +565,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop8;
+ break loop7;
}
} while (true);
@@ -634,7 +593,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:313:1: entryRuleAbstractRule returns [EObject current=null] : iv_ruleAbstractRule= ruleAbstractRule EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:292:1: entryRuleAbstractRule returns [EObject current=null] : iv_ruleAbstractRule= ruleAbstractRule EOF ;
public final EObject entryRuleAbstractRule() throws RecognitionException {
EObject current = null;
@@ -642,16 +601,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:313:54: (iv_ruleAbstractRule= ruleAbstractRule EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:314:2: iv_ruleAbstractRule= ruleAbstractRule EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:292:54: (iv_ruleAbstractRule= ruleAbstractRule EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:293:2: iv_ruleAbstractRule= ruleAbstractRule EOF
{
currentNode = createCompositeNode(grammarAccess.prAbstractRule().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule611);
+ pushFollow(FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule574);
iv_ruleAbstractRule=ruleAbstractRule();
_fsp--;
current =iv_ruleAbstractRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractRule621);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractRule584);
}
@@ -669,7 +628,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:321:1: ruleAbstractRule returns [EObject current=null] : ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:300:1: ruleAbstractRule returns [EObject current=null] : ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule ) ;
public final EObject ruleAbstractRule() throws RecognitionException {
EObject current = null;
@@ -683,53 +642,53 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:326:6: ( ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:327:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:305:6: ( ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:306:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:327:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:306:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA10_0==RULE_ID||(LA10_0>=22 && LA10_0<=23)) ) {
- alt10=1;
+ if ( (LA9_0==RULE_ID||(LA9_0>=21 && LA9_0<=22)) ) {
+ alt9=1;
}
- else if ( (LA10_0==27) ) {
- alt10=2;
+ else if ( (LA9_0==26) ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("327:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )", 10, 0, input);
+ new NoViableAltException("306:1: ( (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule ) | this_TerminalRule_2= ruleTerminalRule )", 9, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt9) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:327:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:306:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:327:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )
- int alt9=2;
- int LA9_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:306:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )
+ int alt8=2;
+ int LA8_0 = input.LA(1);
- if ( ((LA9_0>=22 && LA9_0<=23)) ) {
- alt9=1;
+ if ( ((LA8_0>=21 && LA8_0<=22)) ) {
+ alt8=1;
}
- else if ( (LA9_0==RULE_ID) ) {
- alt9=2;
+ else if ( (LA8_0==RULE_ID) ) {
+ alt8=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("327:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )", 9, 0, input);
+ new NoViableAltException("306:2: (this_LexerRule_0= ruleLexerRule | this_ParserRule_1= ruleParserRule )", 8, 0, input);
throw nvae;
}
- switch (alt9) {
+ switch (alt8) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:328:5: this_LexerRule_0= ruleLexerRule
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:307:5: this_LexerRule_0= ruleLexerRule
{
currentNode=createCompositeNode(grammarAccess.prAbstractRule().ele00ParserRuleCallLexerRule(), currentNode);
- pushFollow(FOLLOW_ruleLexerRule_in_ruleAbstractRule669);
+ pushFollow(FOLLOW_ruleLexerRule_in_ruleAbstractRule632);
this_LexerRule_0=ruleLexerRule();
_fsp--;
@@ -741,12 +700,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:338:5: this_ParserRule_1= ruleParserRule
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:317:5: this_ParserRule_1= ruleParserRule
{
currentNode=createCompositeNode(grammarAccess.prAbstractRule().ele01ParserRuleCallParserRule(), currentNode);
- pushFollow(FOLLOW_ruleParserRule_in_ruleAbstractRule696);
+ pushFollow(FOLLOW_ruleParserRule_in_ruleAbstractRule659);
this_ParserRule_1=ruleParserRule();
_fsp--;
@@ -764,12 +723,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:348:5: this_TerminalRule_2= ruleTerminalRule
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:327:5: this_TerminalRule_2= ruleTerminalRule
{
currentNode=createCompositeNode(grammarAccess.prAbstractRule().ele1ParserRuleCallTerminalRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalRule_in_ruleAbstractRule724);
+ pushFollow(FOLLOW_ruleTerminalRule_in_ruleAbstractRule687);
this_TerminalRule_2=ruleTerminalRule();
_fsp--;
@@ -803,7 +762,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractMetamodelDeclaration
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:365:1: entryRuleAbstractMetamodelDeclaration returns [EObject current=null] : iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:344:1: entryRuleAbstractMetamodelDeclaration returns [EObject current=null] : iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF ;
public final EObject entryRuleAbstractMetamodelDeclaration() throws RecognitionException {
EObject current = null;
@@ -811,16 +770,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:365:70: (iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:366:2: iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:344:70: (iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:345:2: iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF
{
currentNode = createCompositeNode(grammarAccess.prAbstractMetamodelDeclaration().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration758);
+ pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration721);
iv_ruleAbstractMetamodelDeclaration=ruleAbstractMetamodelDeclaration();
_fsp--;
current =iv_ruleAbstractMetamodelDeclaration;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration768);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration731);
}
@@ -838,7 +797,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractMetamodelDeclaration
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:373:1: ruleAbstractMetamodelDeclaration returns [EObject current=null] : (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:352:1: ruleAbstractMetamodelDeclaration returns [EObject current=null] : (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel ) ;
public final EObject ruleAbstractMetamodelDeclaration() throws RecognitionException {
EObject current = null;
@@ -850,33 +809,33 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:378:6: ( (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:379:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:357:6: ( (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:358:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:379:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:358:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA11_0==19) ) {
- alt11=1;
+ if ( (LA10_0==18) ) {
+ alt10=1;
}
- else if ( (LA11_0==21) ) {
- alt11=2;
+ else if ( (LA10_0==20) ) {
+ alt10=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("379:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )", 11, 0, input);
+ new NoViableAltException("358:1: (this_GeneratedMetamodel_0= ruleGeneratedMetamodel | this_ReferencedMetamodel_1= ruleReferencedMetamodel )", 10, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt10) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:380:5: this_GeneratedMetamodel_0= ruleGeneratedMetamodel
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:359:5: this_GeneratedMetamodel_0= ruleGeneratedMetamodel
{
currentNode=createCompositeNode(grammarAccess.prAbstractMetamodelDeclaration().ele0ParserRuleCallGeneratedMetamodel(), currentNode);
- pushFollow(FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration815);
+ pushFollow(FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration778);
this_GeneratedMetamodel_0=ruleGeneratedMetamodel();
_fsp--;
@@ -888,12 +847,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:390:5: this_ReferencedMetamodel_1= ruleReferencedMetamodel
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:369:5: this_ReferencedMetamodel_1= ruleReferencedMetamodel
{
currentNode=createCompositeNode(grammarAccess.prAbstractMetamodelDeclaration().ele1ParserRuleCallReferencedMetamodel(), currentNode);
- pushFollow(FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration842);
+ pushFollow(FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration805);
this_ReferencedMetamodel_1=ruleReferencedMetamodel();
_fsp--;
@@ -927,7 +886,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleGeneratedMetamodel
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:407:1: entryRuleGeneratedMetamodel returns [EObject current=null] : iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:386:1: entryRuleGeneratedMetamodel returns [EObject current=null] : iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF ;
public final EObject entryRuleGeneratedMetamodel() throws RecognitionException {
EObject current = null;
@@ -935,16 +894,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:407:60: (iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:408:2: iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:386:60: (iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:387:2: iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF
{
currentNode = createCompositeNode(grammarAccess.prGeneratedMetamodel().getRule(), currentNode);
- pushFollow(FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel876);
+ pushFollow(FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel839);
iv_ruleGeneratedMetamodel=ruleGeneratedMetamodel();
_fsp--;
current =iv_ruleGeneratedMetamodel;
- match(input,EOF,FOLLOW_EOF_in_entryRuleGeneratedMetamodel886);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGeneratedMetamodel849);
}
@@ -962,7 +921,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGeneratedMetamodel
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:415:1: ruleGeneratedMetamodel returns [EObject current=null] : ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:394:1: ruleGeneratedMetamodel returns [EObject current=null] : ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? ) ;
public final EObject ruleGeneratedMetamodel() throws RecognitionException {
EObject current = null;
@@ -972,27 +931,27 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:420:6: ( ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:1: ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:399:6: ( ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:1: ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:1: ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:2: ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:1: ( ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:2: ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) ) ( 'as' (lv_alias_4= RULE_ID ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:2: ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:3: ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:2: ( ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:3: ( 'generate' (lv_name_1= RULE_ID ) ) ( RULE_STRING )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:3: ( 'generate' (lv_name_1= RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:421:4: 'generate' (lv_name_1= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:3: ( 'generate' (lv_name_1= RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:4: 'generate' (lv_name_1= RULE_ID )
{
- match(input,19,FOLLOW_19_in_ruleGeneratedMetamodel922);
+ match(input,18,FOLLOW_18_in_ruleGeneratedMetamodel885);
createLeafNode(grammarAccess.prGeneratedMetamodel().ele000KeywordGenerate(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:425:1: (lv_name_1= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:427:6: lv_name_1= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:404:1: (lv_name_1= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:406:6: lv_name_1= RULE_ID
{
lv_name_1=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel944);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel907);
createLeafNode(grammarAccess.prGeneratedMetamodel().ele0010LexerRuleCallID(), "name");
@@ -1014,8 +973,8 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:445:3: ( RULE_STRING )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:448:3: RULE_STRING
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:424:3: ( RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:427:3: RULE_STRING
{
if (current==null) {
@@ -1023,7 +982,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel975);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel938);
createLeafNode(grammarAccess.prGeneratedMetamodel().ele010CrossReferenceEStringEPackage(), "ePackage");
@@ -1033,26 +992,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:461:3: ( 'as' (lv_alias_4= RULE_ID ) )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:440:3: ( 'as' (lv_alias_4= RULE_ID ) )?
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA12_0==20) ) {
- alt12=1;
+ if ( (LA11_0==19) ) {
+ alt11=1;
}
- switch (alt12) {
+ switch (alt11) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:461:4: 'as' (lv_alias_4= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:440:4: 'as' (lv_alias_4= RULE_ID )
{
- match(input,20,FOLLOW_20_in_ruleGeneratedMetamodel989);
+ match(input,19,FOLLOW_19_in_ruleGeneratedMetamodel952);
createLeafNode(grammarAccess.prGeneratedMetamodel().ele10KeywordAs(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:465:1: (lv_alias_4= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:467:6: lv_alias_4= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:444:1: (lv_alias_4= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:446:6: lv_alias_4= RULE_ID
{
lv_alias_4=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel1011);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel974);
createLeafNode(grammarAccess.prGeneratedMetamodel().ele110LexerRuleCallID(), "alias");
@@ -1100,7 +1059,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleReferencedMetamodel
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:494:1: entryRuleReferencedMetamodel returns [EObject current=null] : iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:473:1: entryRuleReferencedMetamodel returns [EObject current=null] : iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF ;
public final EObject entryRuleReferencedMetamodel() throws RecognitionException {
EObject current = null;
@@ -1108,16 +1067,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:494:61: (iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:495:2: iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:473:61: (iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:474:2: iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF
{
currentNode = createCompositeNode(grammarAccess.prReferencedMetamodel().getRule(), currentNode);
- pushFollow(FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1056);
+ pushFollow(FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1019);
iv_ruleReferencedMetamodel=ruleReferencedMetamodel();
_fsp--;
current =iv_ruleReferencedMetamodel;
- match(input,EOF,FOLLOW_EOF_in_entryRuleReferencedMetamodel1066);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleReferencedMetamodel1029);
}
@@ -1135,7 +1094,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleReferencedMetamodel
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:502:1: ruleReferencedMetamodel returns [EObject current=null] : ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:481:1: ruleReferencedMetamodel returns [EObject current=null] : ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? ) ;
public final EObject ruleReferencedMetamodel() throws RecognitionException {
EObject current = null;
@@ -1144,21 +1103,21 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:507:6: ( ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:1: ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:486:6: ( ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:487:1: ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:1: ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:2: ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:487:1: ( ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:487:2: ( 'import' ( RULE_STRING ) ) ( 'as' (lv_alias_3= RULE_ID ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:2: ( 'import' ( RULE_STRING ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:3: 'import' ( RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:487:2: ( 'import' ( RULE_STRING ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:487:3: 'import' ( RULE_STRING )
{
- match(input,21,FOLLOW_21_in_ruleReferencedMetamodel1101);
+ match(input,20,FOLLOW_20_in_ruleReferencedMetamodel1064);
createLeafNode(grammarAccess.prReferencedMetamodel().ele00KeywordImport(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:512:1: ( RULE_STRING )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:515:3: RULE_STRING
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:491:1: ( RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:494:3: RULE_STRING
{
if (current==null) {
@@ -1166,7 +1125,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1123);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1086);
createLeafNode(grammarAccess.prReferencedMetamodel().ele010CrossReferenceEStringEPackage(), "ePackage");
@@ -1176,26 +1135,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:528:3: ( 'as' (lv_alias_3= RULE_ID ) )?
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:507:3: ( 'as' (lv_alias_3= RULE_ID ) )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA13_0==20) ) {
- alt13=1;
+ if ( (LA12_0==19) ) {
+ alt12=1;
}
- switch (alt13) {
+ switch (alt12) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:528:4: 'as' (lv_alias_3= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:507:4: 'as' (lv_alias_3= RULE_ID )
{
- match(input,20,FOLLOW_20_in_ruleReferencedMetamodel1137);
+ match(input,19,FOLLOW_19_in_ruleReferencedMetamodel1100);
createLeafNode(grammarAccess.prReferencedMetamodel().ele10KeywordAs(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:532:1: (lv_alias_3= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:534:6: lv_alias_3= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:511:1: (lv_alias_3= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:513:6: lv_alias_3= RULE_ID
{
lv_alias_3=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleReferencedMetamodel1159);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleReferencedMetamodel1122);
createLeafNode(grammarAccess.prReferencedMetamodel().ele110LexerRuleCallID(), "alias");
@@ -1243,7 +1202,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleLexerRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:561:1: entryRuleLexerRule returns [EObject current=null] : iv_ruleLexerRule= ruleLexerRule EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:540:1: entryRuleLexerRule returns [EObject current=null] : iv_ruleLexerRule= ruleLexerRule EOF ;
public final EObject entryRuleLexerRule() throws RecognitionException {
EObject current = null;
@@ -1251,16 +1210,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:561:51: (iv_ruleLexerRule= ruleLexerRule EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:2: iv_ruleLexerRule= ruleLexerRule EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:540:51: (iv_ruleLexerRule= ruleLexerRule EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:541:2: iv_ruleLexerRule= ruleLexerRule EOF
{
currentNode = createCompositeNode(grammarAccess.prLexerRule().getRule(), currentNode);
- pushFollow(FOLLOW_ruleLexerRule_in_entryRuleLexerRule1204);
+ pushFollow(FOLLOW_ruleLexerRule_in_entryRuleLexerRule1167);
iv_ruleLexerRule=ruleLexerRule();
_fsp--;
current =iv_ruleLexerRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLexerRule1214);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLexerRule1177);
}
@@ -1278,7 +1237,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleLexerRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:569:1: ruleLexerRule returns [EObject current=null] : ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:548:1: ruleLexerRule returns [EObject current=null] : ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' ) ;
public final EObject ruleLexerRule() throws RecognitionException {
EObject current = null;
@@ -1290,45 +1249,45 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:574:6: ( ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:553:6: ( ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) ) ';'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:3: ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:3: ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' ) (lv_body_6= RULE_STRING )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:3: ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:4: ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:3: ( ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:4: ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? ) ':'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:4: ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:5: ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:4: ( ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:5: ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) ) ( 'returns' (lv_type_4= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:5: ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:6: ( 'native' | 'lexer' ) (lv_name_2= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:5: ( ( 'native' | 'lexer' ) (lv_name_2= RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:6: ( 'native' | 'lexer' ) (lv_name_2= RULE_ID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:6: ( 'native' | 'lexer' )
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:6: ( 'native' | 'lexer' )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA14_0==22) ) {
- alt14=1;
+ if ( (LA13_0==21) ) {
+ alt13=1;
}
- else if ( (LA14_0==23) ) {
- alt14=2;
+ else if ( (LA13_0==22) ) {
+ alt13=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("575:6: ( 'native' | 'lexer' )", 14, 0, input);
+ new NoViableAltException("554:6: ( 'native' | 'lexer' )", 13, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt13) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:7: 'native'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:7: 'native'
{
- match(input,22,FOLLOW_22_in_ruleLexerRule1253);
+ match(input,21,FOLLOW_21_in_ruleLexerRule1216);
createLeafNode(grammarAccess.prLexerRule().ele000000KeywordNative(), null);
@@ -1336,9 +1295,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:580:6: 'lexer'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:559:6: 'lexer'
{
- match(input,23,FOLLOW_23_in_ruleLexerRule1268);
+ match(input,22,FOLLOW_22_in_ruleLexerRule1231);
createLeafNode(grammarAccess.prLexerRule().ele000001KeywordLexer(), null);
@@ -1348,11 +1307,11 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:584:2: (lv_name_2= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:586:6: lv_name_2= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:563:2: (lv_name_2= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:565:6: lv_name_2= RULE_ID
{
lv_name_2=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLexerRule1291);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLexerRule1254);
createLeafNode(grammarAccess.prLexerRule().ele000010LexerRuleCallID(), "name");
@@ -1374,28 +1333,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:604:3: ( 'returns' (lv_type_4= ruleTypeRef ) )?
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:583:3: ( 'returns' (lv_type_4= ruleTypeRef ) )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA15_0==24) ) {
- alt15=1;
+ if ( (LA14_0==23) ) {
+ alt14=1;
}
- switch (alt15) {
+ switch (alt14) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:604:4: 'returns' (lv_type_4= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:583:4: 'returns' (lv_type_4= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleLexerRule1310);
+ match(input,23,FOLLOW_23_in_ruleLexerRule1273);
createLeafNode(grammarAccess.prLexerRule().ele00010KeywordReturns(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:608:1: (lv_type_4= ruleTypeRef )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:611:6: lv_type_4= ruleTypeRef
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:587:1: (lv_type_4= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:590:6: lv_type_4= ruleTypeRef
{
currentNode=createCompositeNode(grammarAccess.prLexerRule().ele000110ParserRuleCallTypeRef(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleLexerRule1344);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleLexerRule1307);
lv_type_4=ruleTypeRef();
_fsp--;
@@ -1424,18 +1383,18 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleLexerRule1360);
+ match(input,24,FOLLOW_24_in_ruleLexerRule1323);
createLeafNode(grammarAccess.prLexerRule().ele001KeywordColon(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:633:2: (lv_body_6= RULE_STRING )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:635:6: lv_body_6= RULE_STRING
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:612:2: (lv_body_6= RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:614:6: lv_body_6= RULE_STRING
{
lv_body_6=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleLexerRule1383);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleLexerRule1346);
createLeafNode(grammarAccess.prLexerRule().ele010LexerRuleCallSTRING(), "body");
@@ -1457,7 +1416,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleLexerRule1401);
+ match(input,25,FOLLOW_25_in_ruleLexerRule1364);
createLeafNode(grammarAccess.prLexerRule().ele1KeywordSemicolon(), null);
@@ -1484,7 +1443,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParserRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:1: entryRuleParserRule returns [EObject current=null] : iv_ruleParserRule= ruleParserRule EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:645:1: entryRuleParserRule returns [EObject current=null] : iv_ruleParserRule= ruleParserRule EOF ;
public final EObject entryRuleParserRule() throws RecognitionException {
EObject current = null;
@@ -1492,16 +1451,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:52: (iv_ruleParserRule= ruleParserRule EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:667:2: iv_ruleParserRule= ruleParserRule EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:645:52: (iv_ruleParserRule= ruleParserRule EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:646:2: iv_ruleParserRule= ruleParserRule EOF
{
currentNode = createCompositeNode(grammarAccess.prParserRule().getRule(), currentNode);
- pushFollow(FOLLOW_ruleParserRule_in_entryRuleParserRule1436);
+ pushFollow(FOLLOW_ruleParserRule_in_entryRuleParserRule1399);
iv_ruleParserRule=ruleParserRule();
_fsp--;
current =iv_ruleParserRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParserRule1446);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParserRule1409);
}
@@ -1519,7 +1478,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParserRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:674:1: ruleParserRule returns [EObject current=null] : ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:653:1: ruleParserRule returns [EObject current=null] : ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' ) ;
public final EObject ruleParserRule() throws RecognitionException {
EObject current = null;
@@ -1533,29 +1492,29 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:679:6: ( ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:1: ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:658:6: ( ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:1: ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:1: ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:2: ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:1: ( ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:2: ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) ) ';'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:2: ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:3: ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:2: ( ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:3: ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' ) (lv_alternatives_10= ruleAlternatives )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:3: ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:4: ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:3: ( ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:4: ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? ) ':'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:4: ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:5: ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:4: ( ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:5: ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:5: ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:6: (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:5: ( (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:6: (lv_name_0= RULE_ID ) ( 'returns' (lv_type_2= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:680:6: (lv_name_0= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:682:6: lv_name_0= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:659:6: (lv_name_0= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:661:6: lv_name_0= RULE_ID
{
lv_name_0=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1497);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1460);
createLeafNode(grammarAccess.prParserRule().ele000000LexerRuleCallID(), "name");
@@ -1574,28 +1533,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:700:2: ( 'returns' (lv_type_2= ruleTypeRef ) )?
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:679:2: ( 'returns' (lv_type_2= ruleTypeRef ) )?
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA16_0==24) ) {
- alt16=1;
+ if ( (LA15_0==23) ) {
+ alt15=1;
}
- switch (alt16) {
+ switch (alt15) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:700:3: 'returns' (lv_type_2= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:679:3: 'returns' (lv_type_2= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleParserRule1515);
+ match(input,23,FOLLOW_23_in_ruleParserRule1478);
createLeafNode(grammarAccess.prParserRule().ele000010KeywordReturns(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:1: (lv_type_2= ruleTypeRef )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:707:6: lv_type_2= ruleTypeRef
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:683:1: (lv_type_2= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:686:6: lv_type_2= ruleTypeRef
{
currentNode=createCompositeNode(grammarAccess.prParserRule().ele0000110ParserRuleCallTypeRef(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleParserRule1549);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleParserRule1512);
lv_type_2=ruleTypeRef();
_fsp--;
@@ -1624,28 +1583,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:5: ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
- int alt19=2;
- int LA19_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:5: ( ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')' )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA19_0==14) ) {
- alt19=1;
+ if ( (LA18_0==13) ) {
+ alt18=1;
}
- switch (alt19) {
+ switch (alt18) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:6: ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:6: ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? ) ')'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:6: ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:7: ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:6: ( ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:7: ( (lv_definesHiddenTokens_3= 'hidden' ) '(' ) ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:7: ( (lv_definesHiddenTokens_3= 'hidden' ) '(' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:8: (lv_definesHiddenTokens_3= 'hidden' ) '('
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:7: ( (lv_definesHiddenTokens_3= 'hidden' ) '(' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:8: (lv_definesHiddenTokens_3= 'hidden' ) '('
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:725:8: (lv_definesHiddenTokens_3= 'hidden' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:727:6: lv_definesHiddenTokens_3= 'hidden'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:704:8: (lv_definesHiddenTokens_3= 'hidden' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:706:6: lv_definesHiddenTokens_3= 'hidden'
{
lv_definesHiddenTokens_3=(Token)input.LT(1);
- match(input,14,FOLLOW_14_in_ruleParserRule1580);
+ match(input,13,FOLLOW_13_in_ruleParserRule1543);
createLeafNode(grammarAccess.prParserRule().ele00010000KeywordHidden(), "definesHiddenTokens");
@@ -1664,26 +1623,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,15,FOLLOW_15_in_ruleParserRule1602);
+ match(input,14,FOLLOW_14_in_ruleParserRule1565);
createLeafNode(grammarAccess.prParserRule().ele0001001KeywordLeftParenthesis(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:750:2: ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
- int alt18=2;
- int LA18_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:729:2: ( ( RULE_ID ) ( ',' ( RULE_ID ) )* )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA18_0==RULE_ID) ) {
- alt18=1;
+ if ( (LA17_0==RULE_ID) ) {
+ alt17=1;
}
- switch (alt18) {
+ switch (alt17) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:750:3: ( RULE_ID ) ( ',' ( RULE_ID ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:729:3: ( RULE_ID ) ( ',' ( RULE_ID ) )*
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:750:3: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:753:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:729:3: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:732:3: RULE_ID
{
if (current==null) {
@@ -1691,34 +1650,34 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1626);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1589);
createLeafNode(grammarAccess.prParserRule().ele00010100CrossReferenceEStringAbstractRule(), "hiddenTokens");
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:766:2: ( ',' ( RULE_ID ) )*
- loop17:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:745:2: ( ',' ( RULE_ID ) )*
+ loop16:
do {
- int alt17=2;
- int LA17_0 = input.LA(1);
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA17_0==16) ) {
- alt17=1;
+ if ( (LA16_0==15) ) {
+ alt16=1;
}
- switch (alt17) {
+ switch (alt16) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:766:3: ',' ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:745:3: ',' ( RULE_ID )
{
- match(input,16,FOLLOW_16_in_ruleParserRule1639);
+ match(input,15,FOLLOW_15_in_ruleParserRule1602);
createLeafNode(grammarAccess.prParserRule().ele00010110KeywordComma(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:770:1: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:773:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:749:1: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:752:3: RULE_ID
{
if (current==null) {
@@ -1726,7 +1685,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1661);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1624);
createLeafNode(grammarAccess.prParserRule().ele000101110CrossReferenceEStringAbstractRule(), "hiddenTokens");
@@ -1738,7 +1697,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop17;
+ break loop16;
}
} while (true);
@@ -1751,7 +1710,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,17,FOLLOW_17_in_ruleParserRule1678);
+ match(input,16,FOLLOW_16_in_ruleParserRule1641);
createLeafNode(grammarAccess.prParserRule().ele00011KeywordRightParenthesis(), null);
@@ -1764,20 +1723,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleParserRule1690);
+ match(input,24,FOLLOW_24_in_ruleParserRule1653);
createLeafNode(grammarAccess.prParserRule().ele001KeywordColon(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:794:2: (lv_alternatives_10= ruleAlternatives )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:797:6: lv_alternatives_10= ruleAlternatives
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:773:2: (lv_alternatives_10= ruleAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:776:6: lv_alternatives_10= ruleAlternatives
{
currentNode=createCompositeNode(grammarAccess.prParserRule().ele010ParserRuleCallAlternatives(), currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_ruleParserRule1725);
+ pushFollow(FOLLOW_ruleAlternatives_in_ruleParserRule1688);
lv_alternatives_10=ruleAlternatives();
_fsp--;
@@ -1800,7 +1759,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleParserRule1739);
+ match(input,25,FOLLOW_25_in_ruleParserRule1702);
createLeafNode(grammarAccess.prParserRule().ele1KeywordSemicolon(), null);
@@ -1827,7 +1786,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:1: entryRuleTerminalRule returns [EObject current=null] : iv_ruleTerminalRule= ruleTerminalRule EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:807:1: entryRuleTerminalRule returns [EObject current=null] : iv_ruleTerminalRule= ruleTerminalRule EOF ;
public final EObject entryRuleTerminalRule() throws RecognitionException {
EObject current = null;
@@ -1835,16 +1794,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:54: (iv_ruleTerminalRule= ruleTerminalRule EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:829:2: iv_ruleTerminalRule= ruleTerminalRule EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:807:54: (iv_ruleTerminalRule= ruleTerminalRule EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:808:2: iv_ruleTerminalRule= ruleTerminalRule EOF
{
currentNode = createCompositeNode(grammarAccess.prTerminalRule().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1774);
+ pushFollow(FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1737);
iv_ruleTerminalRule=ruleTerminalRule();
_fsp--;
current =iv_ruleTerminalRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalRule1784);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalRule1747);
}
@@ -1862,7 +1821,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalRule
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:836:1: ruleTerminalRule returns [EObject current=null] : ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:815:1: ruleTerminalRule returns [EObject current=null] : ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' ) ;
public final EObject ruleTerminalRule() throws RecognitionException {
EObject current = null;
@@ -1876,29 +1835,29 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:841:6: ( ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:1: ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:820:6: ( ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:1: ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:1: ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:2: ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:1: ( ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:2: ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) ) ';'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:2: ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:3: ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:2: ( ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:3: ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' ) (lv_alternatives_5= ruleTerminalAlternatives )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:3: ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:4: ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:3: ( ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:4: ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? ) ':'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:4: ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:5: ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:4: ( ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:5: ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) ) ( 'returns' (lv_type_3= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:5: ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:6: (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:5: ( (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:6: (lv_terminal_0= 'terminal' ) (lv_name_1= RULE_ID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:6: (lv_terminal_0= 'terminal' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:844:6: lv_terminal_0= 'terminal'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:821:6: (lv_terminal_0= 'terminal' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:823:6: lv_terminal_0= 'terminal'
{
lv_terminal_0=(Token)input.LT(1);
- match(input,27,FOLLOW_27_in_ruleTerminalRule1834);
+ match(input,26,FOLLOW_26_in_ruleTerminalRule1797);
createLeafNode(grammarAccess.prTerminalRule().ele000000KeywordTerminal(), "terminal");
@@ -1917,11 +1876,11 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:863:2: (lv_name_1= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:865:6: lv_name_1= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:842:2: (lv_name_1= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:844:6: lv_name_1= RULE_ID
{
lv_name_1=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTerminalRule1869);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTerminalRule1832);
createLeafNode(grammarAccess.prTerminalRule().ele000010LexerRuleCallID(), "name");
@@ -1943,28 +1902,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:883:3: ( 'returns' (lv_type_3= ruleTypeRef ) )?
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:862:3: ( 'returns' (lv_type_3= ruleTypeRef ) )?
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA20_0==24) ) {
- alt20=1;
+ if ( (LA19_0==23) ) {
+ alt19=1;
}
- switch (alt20) {
+ switch (alt19) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:883:4: 'returns' (lv_type_3= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:862:4: 'returns' (lv_type_3= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleTerminalRule1888);
+ match(input,23,FOLLOW_23_in_ruleTerminalRule1851);
createLeafNode(grammarAccess.prTerminalRule().ele00010KeywordReturns(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:887:1: (lv_type_3= ruleTypeRef )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:890:6: lv_type_3= ruleTypeRef
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:866:1: (lv_type_3= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:869:6: lv_type_3= ruleTypeRef
{
currentNode=createCompositeNode(grammarAccess.prTerminalRule().ele000110ParserRuleCallTypeRef(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleTerminalRule1922);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleTerminalRule1885);
lv_type_3=ruleTypeRef();
_fsp--;
@@ -1993,20 +1952,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleTerminalRule1938);
+ match(input,24,FOLLOW_24_in_ruleTerminalRule1901);
createLeafNode(grammarAccess.prTerminalRule().ele001KeywordColon(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:912:2: (lv_alternatives_5= ruleTerminalAlternatives )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:915:6: lv_alternatives_5= ruleTerminalAlternatives
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:891:2: (lv_alternatives_5= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:894:6: lv_alternatives_5= ruleTerminalAlternatives
{
currentNode=createCompositeNode(grammarAccess.prTerminalRule().ele010ParserRuleCallTerminalAlternatives(), currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1973);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1936);
lv_alternatives_5=ruleTerminalAlternatives();
_fsp--;
@@ -2029,7 +1988,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleTerminalRule1987);
+ match(input,25,FOLLOW_25_in_ruleTerminalRule1950);
createLeafNode(grammarAccess.prTerminalRule().ele1KeywordSemicolon(), null);
@@ -2056,7 +2015,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTypeRef
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:946:1: entryRuleTypeRef returns [EObject current=null] : iv_ruleTypeRef= ruleTypeRef EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:925:1: entryRuleTypeRef returns [EObject current=null] : iv_ruleTypeRef= ruleTypeRef EOF ;
public final EObject entryRuleTypeRef() throws RecognitionException {
EObject current = null;
@@ -2064,16 +2023,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:946:49: (iv_ruleTypeRef= ruleTypeRef EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:947:2: iv_ruleTypeRef= ruleTypeRef EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:925:49: (iv_ruleTypeRef= ruleTypeRef EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:926:2: iv_ruleTypeRef= ruleTypeRef EOF
{
currentNode = createCompositeNode(grammarAccess.prTypeRef().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_entryRuleTypeRef2022);
+ pushFollow(FOLLOW_ruleTypeRef_in_entryRuleTypeRef1985);
iv_ruleTypeRef=ruleTypeRef();
_fsp--;
current =iv_ruleTypeRef;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRef2032);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRef1995);
}
@@ -2091,36 +2050,36 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTypeRef
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:954:1: ruleTypeRef returns [EObject current=null] : ( ( ( RULE_ID ) '::' )? ( RULE_ID ) ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:933:1: ruleTypeRef returns [EObject current=null] : ( ( ( RULE_ID ) '::' )? ( RULE_ID ) ) ;
public final EObject ruleTypeRef() throws RecognitionException {
EObject current = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:959:6: ( ( ( ( RULE_ID ) '::' )? ( RULE_ID ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:1: ( ( ( RULE_ID ) '::' )? ( RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:938:6: ( ( ( ( RULE_ID ) '::' )? ( RULE_ID ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:1: ( ( ( RULE_ID ) '::' )? ( RULE_ID ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:1: ( ( ( RULE_ID ) '::' )? ( RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:2: ( ( RULE_ID ) '::' )? ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:1: ( ( ( RULE_ID ) '::' )? ( RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:2: ( ( RULE_ID ) '::' )? ( RULE_ID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:2: ( ( RULE_ID ) '::' )?
- int alt21=2;
- int LA21_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:2: ( ( RULE_ID ) '::' )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA21_0==RULE_ID) ) {
- int LA21_1 = input.LA(2);
+ if ( (LA20_0==RULE_ID) ) {
+ int LA20_1 = input.LA(2);
- if ( (LA21_1==28) ) {
- alt21=1;
+ if ( (LA20_1==27) ) {
+ alt20=1;
}
}
- switch (alt21) {
+ switch (alt20) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:3: ( RULE_ID ) '::'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:3: ( RULE_ID ) '::'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:960:3: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:963:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:3: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:942:3: RULE_ID
{
if (current==null) {
@@ -2128,14 +2087,14 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2080);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2043);
createLeafNode(grammarAccess.prTypeRef().ele000CrossReferenceEStringAbstractMetamodelDeclaration(), "metamodel");
}
- match(input,28,FOLLOW_28_in_ruleTypeRef2092);
+ match(input,27,FOLLOW_27_in_ruleTypeRef2055);
createLeafNode(grammarAccess.prTypeRef().ele01KeywordColonColon(), null);
@@ -2145,8 +2104,8 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:980:3: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:983:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:959:3: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:962:3: RULE_ID
{
if (current==null) {
@@ -2154,7 +2113,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2116);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2079);
createLeafNode(grammarAccess.prTypeRef().ele10CrossReferenceEStringEClassifier(), "type");
@@ -2184,7 +2143,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAlternatives
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:1: entryRuleAlternatives returns [EObject current=null] : iv_ruleAlternatives= ruleAlternatives EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:984:1: entryRuleAlternatives returns [EObject current=null] : iv_ruleAlternatives= ruleAlternatives EOF ;
public final EObject entryRuleAlternatives() throws RecognitionException {
EObject current = null;
@@ -2192,16 +2151,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:54: (iv_ruleAlternatives= ruleAlternatives EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1006:2: iv_ruleAlternatives= ruleAlternatives EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:984:54: (iv_ruleAlternatives= ruleAlternatives EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:985:2: iv_ruleAlternatives= ruleAlternatives EOF
{
currentNode = createCompositeNode(grammarAccess.prAlternatives().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_entryRuleAlternatives2154);
+ pushFollow(FOLLOW_ruleAlternatives_in_entryRuleAlternatives2117);
iv_ruleAlternatives=ruleAlternatives();
_fsp--;
current =iv_ruleAlternatives;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAlternatives2164);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAlternatives2127);
}
@@ -2219,7 +2178,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAlternatives
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1013:1: ruleAlternatives returns [EObject current=null] : (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:992:1: ruleAlternatives returns [EObject current=null] : (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* ) ;
public final EObject ruleAlternatives() throws RecognitionException {
EObject current = null;
@@ -2231,16 +2190,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1018:6: ( (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1019:1: (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:997:6: ( (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:998:1: (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1019:1: (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1020:5: this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:998:1: (this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:999:5: this_Group_0= ruleGroup ( ( () '|' ) (lv_groups_3= ruleGroup ) )*
{
currentNode=createCompositeNode(grammarAccess.prAlternatives().ele0ParserRuleCallGroup(), currentNode);
- pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2211);
+ pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2174);
this_Group_0=ruleGroup();
_fsp--;
@@ -2248,26 +2207,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_Group_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:1: ( ( () '|' ) (lv_groups_3= ruleGroup ) )*
- loop22:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1007:1: ( ( () '|' ) (lv_groups_3= ruleGroup ) )*
+ loop21:
do {
- int alt22=2;
- int LA22_0 = input.LA(1);
+ int alt21=2;
+ int LA21_0 = input.LA(1);
- if ( (LA22_0==29) ) {
- alt22=1;
+ if ( (LA21_0==28) ) {
+ alt21=1;
}
- switch (alt22) {
+ switch (alt21) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:2: ( () '|' ) (lv_groups_3= ruleGroup )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1007:2: ( () '|' ) (lv_groups_3= ruleGroup )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:2: ( () '|' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:3: () '|'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1007:2: ( () '|' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1007:3: () '|'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:3: ()
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1029:5:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1007:3: ()
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1008:5:
{
temp=factory.create(grammarAccess.prAlternatives().ele100ActionAlternativesgroups().getTypeName().getType());
@@ -2287,20 +2246,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,29,FOLLOW_29_in_ruleAlternatives2230);
+ match(input,28,FOLLOW_28_in_ruleAlternatives2193);
createLeafNode(grammarAccess.prAlternatives().ele101KeywordVerticalLine(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1048:2: (lv_groups_3= ruleGroup )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1051:6: lv_groups_3= ruleGroup
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1027:2: (lv_groups_3= ruleGroup )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1030:6: lv_groups_3= ruleGroup
{
currentNode=createCompositeNode(grammarAccess.prAlternatives().ele110ParserRuleCallGroup(), currentNode);
- pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2265);
+ pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2228);
lv_groups_3=ruleGroup();
_fsp--;
@@ -2325,7 +2284,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop22;
+ break loop21;
}
} while (true);
@@ -2352,7 +2311,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalAlternatives
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1078:1: entryRuleTerminalAlternatives returns [EObject current=null] : iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1057:1: entryRuleTerminalAlternatives returns [EObject current=null] : iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF ;
public final EObject entryRuleTerminalAlternatives() throws RecognitionException {
EObject current = null;
@@ -2360,16 +2319,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1078:62: (iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1079:2: iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1057:62: (iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1058:2: iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF
{
currentNode = createCompositeNode(grammarAccess.prTerminalAlternatives().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2306);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2269);
iv_ruleTerminalAlternatives=ruleTerminalAlternatives();
_fsp--;
current =iv_ruleTerminalAlternatives;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalAlternatives2316);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalAlternatives2279);
}
@@ -2387,7 +2346,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalAlternatives
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1086:1: ruleTerminalAlternatives returns [EObject current=null] : (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1065:1: ruleTerminalAlternatives returns [EObject current=null] : (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* ) ;
public final EObject ruleTerminalAlternatives() throws RecognitionException {
EObject current = null;
@@ -2399,16 +2358,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1091:6: ( (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1092:1: (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1070:6: ( (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1071:1: (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1092:1: (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1093:5: this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1071:1: (this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1072:5: this_TerminalGroup_0= ruleTerminalGroup ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )*
{
currentNode=createCompositeNode(grammarAccess.prTerminalAlternatives().ele0ParserRuleCallTerminalGroup(), currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2363);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2326);
this_TerminalGroup_0=ruleTerminalGroup();
_fsp--;
@@ -2416,26 +2375,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalGroup_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:1: ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )*
- loop23:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1080:1: ( ( () '|' ) (lv_groups_3= ruleTerminalGroup ) )*
+ loop22:
do {
- int alt23=2;
- int LA23_0 = input.LA(1);
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA23_0==29) ) {
- alt23=1;
+ if ( (LA22_0==28) ) {
+ alt22=1;
}
- switch (alt23) {
+ switch (alt22) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:2: ( () '|' ) (lv_groups_3= ruleTerminalGroup )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1080:2: ( () '|' ) (lv_groups_3= ruleTerminalGroup )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:2: ( () '|' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:3: () '|'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1080:2: ( () '|' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1080:3: () '|'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:3: ()
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1102:5:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1080:3: ()
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:5:
{
temp=factory.create(grammarAccess.prTerminalAlternatives().ele100ActionAlternativesgroups().getTypeName().getType());
@@ -2455,20 +2414,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,29,FOLLOW_29_in_ruleTerminalAlternatives2382);
+ match(input,28,FOLLOW_28_in_ruleTerminalAlternatives2345);
createLeafNode(grammarAccess.prTerminalAlternatives().ele101KeywordVerticalLine(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1121:2: (lv_groups_3= ruleTerminalGroup )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1124:6: lv_groups_3= ruleTerminalGroup
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1100:2: (lv_groups_3= ruleTerminalGroup )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1103:6: lv_groups_3= ruleTerminalGroup
{
currentNode=createCompositeNode(grammarAccess.prTerminalAlternatives().ele110ParserRuleCallTerminalGroup(), currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2417);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2380);
lv_groups_3=ruleTerminalGroup();
_fsp--;
@@ -2493,7 +2452,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop23;
+ break loop22;
}
} while (true);
@@ -2520,7 +2479,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleGroup
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1151:1: entryRuleGroup returns [EObject current=null] : iv_ruleGroup= ruleGroup EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1130:1: entryRuleGroup returns [EObject current=null] : iv_ruleGroup= ruleGroup EOF ;
public final EObject entryRuleGroup() throws RecognitionException {
EObject current = null;
@@ -2528,16 +2487,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1151:47: (iv_ruleGroup= ruleGroup EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1152:2: iv_ruleGroup= ruleGroup EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1130:47: (iv_ruleGroup= ruleGroup EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1131:2: iv_ruleGroup= ruleGroup EOF
{
currentNode = createCompositeNode(grammarAccess.prGroup().getRule(), currentNode);
- pushFollow(FOLLOW_ruleGroup_in_entryRuleGroup2458);
+ pushFollow(FOLLOW_ruleGroup_in_entryRuleGroup2421);
iv_ruleGroup=ruleGroup();
_fsp--;
current =iv_ruleGroup;
- match(input,EOF,FOLLOW_EOF_in_entryRuleGroup2468);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGroup2431);
}
@@ -2555,7 +2514,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGroup
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1159:1: ruleGroup returns [EObject current=null] : (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1138:1: ruleGroup returns [EObject current=null] : (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* ) ;
public final EObject ruleGroup() throws RecognitionException {
EObject current = null;
@@ -2567,16 +2526,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1164:6: ( (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1165:1: (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1143:6: ( (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1144:1: (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1165:1: (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1166:5: this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1144:1: (this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1145:5: this_AbstractToken_0= ruleAbstractToken ( () (lv_abstractTokens_2= ruleAbstractToken ) )*
{
currentNode=createCompositeNode(grammarAccess.prGroup().ele0ParserRuleCallAbstractToken(), currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2515);
+ pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2478);
this_AbstractToken_0=ruleAbstractToken();
_fsp--;
@@ -2584,23 +2543,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_AbstractToken_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1174:1: ( () (lv_abstractTokens_2= ruleAbstractToken ) )*
- loop24:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:1: ( () (lv_abstractTokens_2= ruleAbstractToken ) )*
+ loop23:
do {
- int alt24=2;
- int LA24_0 = input.LA(1);
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( ((LA24_0>=RULE_ID && LA24_0<=RULE_STRING)||LA24_0==15||LA24_0==36||LA24_0==42) ) {
- alt24=1;
+ if ( ((LA23_0>=RULE_ID && LA23_0<=RULE_STRING)||LA23_0==14||LA23_0==35||LA23_0==41) ) {
+ alt23=1;
}
- switch (alt24) {
+ switch (alt23) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1174:2: () (lv_abstractTokens_2= ruleAbstractToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:2: () (lv_abstractTokens_2= ruleAbstractToken )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1174:2: ()
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1175:5:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:2: ()
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1154:5:
{
temp=factory.create(grammarAccess.prGroup().ele10ActionGroupabstractTokens().getTypeName().getType());
@@ -2620,13 +2579,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1190:2: (lv_abstractTokens_2= ruleAbstractToken )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1193:6: lv_abstractTokens_2= ruleAbstractToken
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1169:2: (lv_abstractTokens_2= ruleAbstractToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1172:6: lv_abstractTokens_2= ruleAbstractToken
{
currentNode=createCompositeNode(grammarAccess.prGroup().ele110ParserRuleCallAbstractToken(), currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2558);
+ pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2521);
lv_abstractTokens_2=ruleAbstractToken();
_fsp--;
@@ -2651,7 +2610,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop24;
+ break loop23;
}
} while (true);
@@ -2678,7 +2637,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalGroup
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1220:1: entryRuleTerminalGroup returns [EObject current=null] : iv_ruleTerminalGroup= ruleTerminalGroup EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1199:1: entryRuleTerminalGroup returns [EObject current=null] : iv_ruleTerminalGroup= ruleTerminalGroup EOF ;
public final EObject entryRuleTerminalGroup() throws RecognitionException {
EObject current = null;
@@ -2686,16 +2645,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1220:55: (iv_ruleTerminalGroup= ruleTerminalGroup EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1221:2: iv_ruleTerminalGroup= ruleTerminalGroup EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1199:55: (iv_ruleTerminalGroup= ruleTerminalGroup EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1200:2: iv_ruleTerminalGroup= ruleTerminalGroup EOF
{
currentNode = createCompositeNode(grammarAccess.prTerminalGroup().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2599);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2562);
iv_ruleTerminalGroup=ruleTerminalGroup();
_fsp--;
current =iv_ruleTerminalGroup;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalGroup2609);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalGroup2572);
}
@@ -2713,7 +2672,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalGroup
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1228:1: ruleTerminalGroup returns [EObject current=null] : (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1207:1: ruleTerminalGroup returns [EObject current=null] : (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* ) ;
public final EObject ruleTerminalGroup() throws RecognitionException {
EObject current = null;
@@ -2725,16 +2684,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1233:6: ( (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1234:1: (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1212:6: ( (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1213:1: (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1234:1: (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1235:5: this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )*
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1213:1: (this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )* )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1214:5: this_TerminalToken_0= ruleTerminalToken ( () (lv_abstractTokens_2= ruleTerminalToken ) )*
{
currentNode=createCompositeNode(grammarAccess.prTerminalGroup().ele0ParserRuleCallTerminalToken(), currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2656);
+ pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2619);
this_TerminalToken_0=ruleTerminalToken();
_fsp--;
@@ -2742,23 +2701,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalToken_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1243:1: ( () (lv_abstractTokens_2= ruleTerminalToken ) )*
- loop25:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1222:1: ( () (lv_abstractTokens_2= ruleTerminalToken ) )*
+ loop24:
do {
- int alt25=2;
- int LA25_0 = input.LA(1);
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( ((LA25_0>=RULE_ID && LA25_0<=RULE_STRING)||LA25_0==15||LA25_0==18||(LA25_0>=39 && LA25_0<=40)) ) {
- alt25=1;
+ if ( ((LA24_0>=RULE_ID && LA24_0<=RULE_STRING)||LA24_0==14||LA24_0==17||(LA24_0>=38 && LA24_0<=39)) ) {
+ alt24=1;
}
- switch (alt25) {
+ switch (alt24) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1243:2: () (lv_abstractTokens_2= ruleTerminalToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1222:2: () (lv_abstractTokens_2= ruleTerminalToken )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1243:2: ()
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1244:5:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1222:2: ()
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1223:5:
{
temp=factory.create(grammarAccess.prTerminalGroup().ele10ActionGroupabstractTokens().getTypeName().getType());
@@ -2778,13 +2737,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1259:2: (lv_abstractTokens_2= ruleTerminalToken )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1262:6: lv_abstractTokens_2= ruleTerminalToken
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1238:2: (lv_abstractTokens_2= ruleTerminalToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1241:6: lv_abstractTokens_2= ruleTerminalToken
{
currentNode=createCompositeNode(grammarAccess.prTerminalGroup().ele110ParserRuleCallTerminalToken(), currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2699);
+ pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2662);
lv_abstractTokens_2=ruleTerminalToken();
_fsp--;
@@ -2809,7 +2768,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop25;
+ break loop24;
}
} while (true);
@@ -2836,7 +2795,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1289:1: entryRuleAbstractToken returns [EObject current=null] : iv_ruleAbstractToken= ruleAbstractToken EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1268:1: entryRuleAbstractToken returns [EObject current=null] : iv_ruleAbstractToken= ruleAbstractToken EOF ;
public final EObject entryRuleAbstractToken() throws RecognitionException {
EObject current = null;
@@ -2844,16 +2803,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1289:55: (iv_ruleAbstractToken= ruleAbstractToken EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1290:2: iv_ruleAbstractToken= ruleAbstractToken EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1268:55: (iv_ruleAbstractToken= ruleAbstractToken EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1269:2: iv_ruleAbstractToken= ruleAbstractToken EOF
{
currentNode = createCompositeNode(grammarAccess.prAbstractToken().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2740);
+ pushFollow(FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2703);
iv_ruleAbstractToken=ruleAbstractToken();
_fsp--;
current =iv_ruleAbstractToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractToken2750);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractToken2713);
}
@@ -2871,7 +2830,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1297:1: ruleAbstractToken returns [EObject current=null] : ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:1: ruleAbstractToken returns [EObject current=null] : ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? ) ;
public final EObject ruleAbstractToken() throws RecognitionException {
EObject current = null;
@@ -2886,80 +2845,80 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1302:6: ( ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:1: ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1281:6: ( ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:1: ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:1: ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:1: ( ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal ) (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )
- int alt27=2;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )
+ int alt26=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
- int LA27_1 = input.LA(2);
+ int LA26_1 = input.LA(2);
- if ( ((LA27_1>=33 && LA27_1<=35)) ) {
- alt27=1;
+ if ( ((LA26_1>=32 && LA26_1<=34)) ) {
+ alt26=1;
}
- else if ( (LA27_1==EOF||(LA27_1>=RULE_ID && LA27_1<=RULE_STRING)||LA27_1==15||LA27_1==17||LA27_1==26||(LA27_1>=29 && LA27_1<=32)||LA27_1==36||LA27_1==42) ) {
- alt27=2;
+ else if ( (LA26_1==EOF||(LA26_1>=RULE_ID && LA26_1<=RULE_STRING)||LA26_1==14||LA26_1==16||LA26_1==25||(LA26_1>=28 && LA26_1<=31)||LA26_1==35||LA26_1==41) ) {
+ alt26=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1303:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )", 27, 1, input);
+ new NoViableAltException("1282:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )", 26, 1, input);
throw nvae;
}
}
break;
- case 36:
+ case 35:
{
- alt27=1;
+ alt26=1;
}
break;
case RULE_STRING:
- case 15:
- case 42:
+ case 14:
+ case 41:
{
- alt27=2;
+ alt26=2;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("1303:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )", 27, 0, input);
+ new NoViableAltException("1282:2: ( (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction ) | this_AbstractTerminal_2= ruleAbstractTerminal )", 26, 0, input);
throw nvae;
}
- switch (alt27) {
+ switch (alt26) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )
- int alt26=2;
- int LA26_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1282:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA26_0==RULE_ID) ) {
- alt26=1;
+ if ( (LA25_0==RULE_ID) ) {
+ alt25=1;
}
- else if ( (LA26_0==36) ) {
- alt26=2;
+ else if ( (LA25_0==35) ) {
+ alt25=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1303:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )", 26, 0, input);
+ new NoViableAltException("1282:3: (this_Assignment_0= ruleAssignment | this_Action_1= ruleAction )", 25, 0, input);
throw nvae;
}
- switch (alt26) {
+ switch (alt25) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1304:5: this_Assignment_0= ruleAssignment
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1283:5: this_Assignment_0= ruleAssignment
{
currentNode=createCompositeNode(grammarAccess.prAbstractToken().ele000ParserRuleCallAssignment(), currentNode);
- pushFollow(FOLLOW_ruleAssignment_in_ruleAbstractToken2799);
+ pushFollow(FOLLOW_ruleAssignment_in_ruleAbstractToken2762);
this_Assignment_0=ruleAssignment();
_fsp--;
@@ -2971,12 +2930,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1314:5: this_Action_1= ruleAction
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1293:5: this_Action_1= ruleAction
{
currentNode=createCompositeNode(grammarAccess.prAbstractToken().ele001ParserRuleCallAction(), currentNode);
- pushFollow(FOLLOW_ruleAction_in_ruleAbstractToken2826);
+ pushFollow(FOLLOW_ruleAction_in_ruleAbstractToken2789);
this_Action_1=ruleAction();
_fsp--;
@@ -2994,12 +2953,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1324:5: this_AbstractTerminal_2= ruleAbstractTerminal
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1303:5: this_AbstractTerminal_2= ruleAbstractTerminal
{
currentNode=createCompositeNode(grammarAccess.prAbstractToken().ele01ParserRuleCallAbstractTerminal(), currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2854);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2817);
this_AbstractTerminal_2=ruleAbstractTerminal();
_fsp--;
@@ -3013,58 +2972,58 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1332:2: (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )?
- int alt30=2;
- int LA30_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:2: (lv_cardinality_3= ( ( '?' | '*' ) | '+' ) )?
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( ((LA30_0>=30 && LA30_0<=32)) ) {
- alt30=1;
+ if ( ((LA29_0>=29 && LA29_0<=31)) ) {
+ alt29=1;
}
- switch (alt30) {
+ switch (alt29) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1334:6: lv_cardinality_3= ( ( '?' | '*' ) | '+' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1313:6: lv_cardinality_3= ( ( '?' | '*' ) | '+' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1334:23: ( ( '?' | '*' ) | '+' )
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1313:23: ( ( '?' | '*' ) | '+' )
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( ((LA29_0>=30 && LA29_0<=31)) ) {
- alt29=1;
+ if ( ((LA28_0>=29 && LA28_0<=30)) ) {
+ alt28=1;
}
- else if ( (LA29_0==32) ) {
- alt29=2;
+ else if ( (LA28_0==31) ) {
+ alt28=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1334:23: ( ( '?' | '*' ) | '+' )", 29, 0, input);
+ new NoViableAltException("1313:23: ( ( '?' | '*' ) | '+' )", 28, 0, input);
throw nvae;
}
- switch (alt29) {
+ switch (alt28) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1334:24: ( '?' | '*' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1313:24: ( '?' | '*' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1334:24: ( '?' | '*' )
- int alt28=2;
- int LA28_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1313:24: ( '?' | '*' )
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- if ( (LA28_0==30) ) {
- alt28=1;
+ if ( (LA27_0==29) ) {
+ alt27=1;
}
- else if ( (LA28_0==31) ) {
- alt28=2;
+ else if ( (LA27_0==30) ) {
+ alt27=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1334:24: ( '?' | '*' )", 28, 0, input);
+ new NoViableAltException("1313:24: ( '?' | '*' )", 27, 0, input);
throw nvae;
}
- switch (alt28) {
+ switch (alt27) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1334:25: '?'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1313:25: '?'
{
- match(input,30,FOLLOW_30_in_ruleAbstractToken2877);
+ match(input,29,FOLLOW_29_in_ruleAbstractToken2840);
createLeafNode(grammarAccess.prAbstractToken().ele1000KeywordQuestionMark(), "cardinality");
@@ -3072,9 +3031,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1340:6: '*'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1319:6: '*'
{
- match(input,31,FOLLOW_31_in_ruleAbstractToken2893);
+ match(input,30,FOLLOW_30_in_ruleAbstractToken2856);
createLeafNode(grammarAccess.prAbstractToken().ele1001KeywordAsterisk(), "cardinality");
@@ -3088,9 +3047,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1347:6: '+'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1326:6: '+'
{
- match(input,32,FOLLOW_32_in_ruleAbstractToken2911);
+ match(input,31,FOLLOW_31_in_ruleAbstractToken2874);
createLeafNode(grammarAccess.prAbstractToken().ele101KeywordPlusSign(), "cardinality");
@@ -3141,7 +3100,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1376:1: entryRuleTerminalToken returns [EObject current=null] : iv_ruleTerminalToken= ruleTerminalToken EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1355:1: entryRuleTerminalToken returns [EObject current=null] : iv_ruleTerminalToken= ruleTerminalToken EOF ;
public final EObject entryRuleTerminalToken() throws RecognitionException {
EObject current = null;
@@ -3149,16 +3108,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1376:55: (iv_ruleTerminalToken= ruleTerminalToken EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1377:2: iv_ruleTerminalToken= ruleTerminalToken EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1355:55: (iv_ruleTerminalToken= ruleTerminalToken EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1356:2: iv_ruleTerminalToken= ruleTerminalToken EOF
{
currentNode = createCompositeNode(grammarAccess.prTerminalToken().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2962);
+ pushFollow(FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2925);
iv_ruleTerminalToken=ruleTerminalToken();
_fsp--;
current =iv_ruleTerminalToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalToken2972);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalToken2935);
}
@@ -3176,7 +3135,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1384:1: ruleTerminalToken returns [EObject current=null] : (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1363:1: ruleTerminalToken returns [EObject current=null] : (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? ) ;
public final EObject ruleTerminalToken() throws RecognitionException {
EObject current = null;
@@ -3187,16 +3146,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1389:6: ( (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1390:1: (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:6: ( (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1369:1: (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1390:1: (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1391:5: this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1369:1: (this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1370:5: this_TerminalTokenElement_0= ruleTerminalTokenElement (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )?
{
currentNode=createCompositeNode(grammarAccess.prTerminalToken().ele0ParserRuleCallTerminalTokenElement(), currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3019);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken2982);
this_TerminalTokenElement_0=ruleTerminalTokenElement();
_fsp--;
@@ -3204,58 +3163,58 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalTokenElement_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1399:1: (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )?
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1378:1: (lv_cardinality_1= ( ( '?' | '*' ) | '+' ) )?
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( ((LA33_0>=30 && LA33_0<=32)) ) {
- alt33=1;
+ if ( ((LA32_0>=29 && LA32_0<=31)) ) {
+ alt32=1;
}
- switch (alt33) {
+ switch (alt32) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1401:6: lv_cardinality_1= ( ( '?' | '*' ) | '+' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1380:6: lv_cardinality_1= ( ( '?' | '*' ) | '+' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1401:23: ( ( '?' | '*' ) | '+' )
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1380:23: ( ( '?' | '*' ) | '+' )
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( ((LA32_0>=30 && LA32_0<=31)) ) {
- alt32=1;
+ if ( ((LA31_0>=29 && LA31_0<=30)) ) {
+ alt31=1;
}
- else if ( (LA32_0==32) ) {
- alt32=2;
+ else if ( (LA31_0==31) ) {
+ alt31=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1401:23: ( ( '?' | '*' ) | '+' )", 32, 0, input);
+ new NoViableAltException("1380:23: ( ( '?' | '*' ) | '+' )", 31, 0, input);
throw nvae;
}
- switch (alt32) {
+ switch (alt31) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1401:24: ( '?' | '*' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1380:24: ( '?' | '*' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1401:24: ( '?' | '*' )
- int alt31=2;
- int LA31_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1380:24: ( '?' | '*' )
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( (LA31_0==30) ) {
- alt31=1;
+ if ( (LA30_0==29) ) {
+ alt30=1;
}
- else if ( (LA31_0==31) ) {
- alt31=2;
+ else if ( (LA30_0==30) ) {
+ alt30=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1401:24: ( '?' | '*' )", 31, 0, input);
+ new NoViableAltException("1380:24: ( '?' | '*' )", 30, 0, input);
throw nvae;
}
- switch (alt31) {
+ switch (alt30) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1401:25: '?'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1380:25: '?'
{
- match(input,30,FOLLOW_30_in_ruleTerminalToken3041);
+ match(input,29,FOLLOW_29_in_ruleTerminalToken3004);
createLeafNode(grammarAccess.prTerminalToken().ele1000KeywordQuestionMark(), "cardinality");
@@ -3263,9 +3222,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1407:6: '*'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1386:6: '*'
{
- match(input,31,FOLLOW_31_in_ruleTerminalToken3057);
+ match(input,30,FOLLOW_30_in_ruleTerminalToken3020);
createLeafNode(grammarAccess.prTerminalToken().ele1001KeywordAsterisk(), "cardinality");
@@ -3279,9 +3238,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1414:6: '+'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1393:6: '+'
{
- match(input,32,FOLLOW_32_in_ruleTerminalToken3075);
+ match(input,31,FOLLOW_31_in_ruleTerminalToken3038);
createLeafNode(grammarAccess.prTerminalToken().ele101KeywordPlusSign(), "cardinality");
@@ -3332,7 +3291,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAssignment
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1443:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
public final EObject entryRuleAssignment() throws RecognitionException {
EObject current = null;
@@ -3340,16 +3299,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1443:52: (iv_ruleAssignment= ruleAssignment EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:2: iv_ruleAssignment= ruleAssignment EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:52: (iv_ruleAssignment= ruleAssignment EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1423:2: iv_ruleAssignment= ruleAssignment EOF
{
currentNode = createCompositeNode(grammarAccess.prAssignment().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment3126);
+ pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment3089);
iv_ruleAssignment=ruleAssignment();
_fsp--;
current =iv_ruleAssignment;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment3136);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment3099);
}
@@ -3367,7 +3326,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAssignment
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1451:1: ruleAssignment returns [EObject current=null] : ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1430:1: ruleAssignment returns [EObject current=null] : ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) ) ;
public final EObject ruleAssignment() throws RecognitionException {
EObject current = null;
@@ -3379,20 +3338,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1456:6: ( ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:1: ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1435:6: ( ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:1: ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:1: ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:2: ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:1: ( ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:2: ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal_2= ruleAbstractTerminal )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:2: ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:3: (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:2: ( (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:3: (lv_feature_0= RULE_ID ) (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1457:3: (lv_feature_0= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1459:6: lv_feature_0= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1436:3: (lv_feature_0= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1438:6: lv_feature_0= RULE_ID
{
lv_feature_0=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment3184);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment3147);
createLeafNode(grammarAccess.prAssignment().ele000LexerRuleCallID(), "feature");
@@ -3411,50 +3370,50 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1477:2: (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1479:6: lv_operator_1= ( ( '+=' | '=' ) | '?=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1456:2: (lv_operator_1= ( ( '+=' | '=' ) | '?=' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1458:6: lv_operator_1= ( ( '+=' | '=' ) | '?=' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1479:20: ( ( '+=' | '=' ) | '?=' )
- int alt35=2;
- int LA35_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1458:20: ( ( '+=' | '=' ) | '?=' )
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( ((LA35_0>=33 && LA35_0<=34)) ) {
- alt35=1;
+ if ( ((LA34_0>=32 && LA34_0<=33)) ) {
+ alt34=1;
}
- else if ( (LA35_0==35) ) {
- alt35=2;
+ else if ( (LA34_0==34) ) {
+ alt34=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1479:20: ( ( '+=' | '=' ) | '?=' )", 35, 0, input);
+ new NoViableAltException("1458:20: ( ( '+=' | '=' ) | '?=' )", 34, 0, input);
throw nvae;
}
- switch (alt35) {
+ switch (alt34) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1479:21: ( '+=' | '=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1458:21: ( '+=' | '=' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1479:21: ( '+=' | '=' )
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1458:21: ( '+=' | '=' )
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( (LA34_0==33) ) {
- alt34=1;
+ if ( (LA33_0==32) ) {
+ alt33=1;
}
- else if ( (LA34_0==34) ) {
- alt34=2;
+ else if ( (LA33_0==33) ) {
+ alt33=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1479:21: ( '+=' | '=' )", 34, 0, input);
+ new NoViableAltException("1458:21: ( '+=' | '=' )", 33, 0, input);
throw nvae;
}
- switch (alt34) {
+ switch (alt33) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1479:22: '+='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1458:22: '+='
{
- match(input,33,FOLLOW_33_in_ruleAssignment3215);
+ match(input,32,FOLLOW_32_in_ruleAssignment3178);
createLeafNode(grammarAccess.prAssignment().ele01000KeywordPlusSignEqualsSign(), "operator");
@@ -3462,9 +3421,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1485:6: '='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1464:6: '='
{
- match(input,34,FOLLOW_34_in_ruleAssignment3231);
+ match(input,33,FOLLOW_33_in_ruleAssignment3194);
createLeafNode(grammarAccess.prAssignment().ele01001KeywordEqualsSign(), "operator");
@@ -3478,9 +3437,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1492:6: '?='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1471:6: '?='
{
- match(input,35,FOLLOW_35_in_ruleAssignment3249);
+ match(input,34,FOLLOW_34_in_ruleAssignment3212);
createLeafNode(grammarAccess.prAssignment().ele0101KeywordQuestionMarkEqualsSign(), "operator");
@@ -3508,13 +3467,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1512:3: (lv_terminal_2= ruleAbstractTerminal )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:6: lv_terminal_2= ruleAbstractTerminal
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1491:3: (lv_terminal_2= ruleAbstractTerminal )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1494:6: lv_terminal_2= ruleAbstractTerminal
{
currentNode=createCompositeNode(grammarAccess.prAssignment().ele10ParserRuleCallAbstractTerminal(), currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAssignment3299);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAssignment3262);
lv_terminal_2=ruleAbstractTerminal();
_fsp--;
@@ -3557,7 +3516,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAction
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1542:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1521:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ;
public final EObject entryRuleAction() throws RecognitionException {
EObject current = null;
@@ -3565,16 +3524,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1542:48: (iv_ruleAction= ruleAction EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1543:2: iv_ruleAction= ruleAction EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1521:48: (iv_ruleAction= ruleAction EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1522:2: iv_ruleAction= ruleAction EOF
{
currentNode = createCompositeNode(grammarAccess.prAction().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAction_in_entryRuleAction3338);
+ pushFollow(FOLLOW_ruleAction_in_entryRuleAction3301);
iv_ruleAction=ruleAction();
_fsp--;
current =iv_ruleAction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAction3348);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAction3311);
}
@@ -3592,7 +3551,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAction
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1550:1: ruleAction returns [EObject current=null] : ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1529:1: ruleAction returns [EObject current=null] : ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' ) ;
public final EObject ruleAction() throws RecognitionException {
EObject current = null;
@@ -3604,50 +3563,50 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1555:6: ( ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1534:6: ( ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' ) '}'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) ) 'current'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) ) (lv_operator_6= ( '=' | '+=' ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' ) (lv_feature_5= RULE_ID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) ) '.'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:7: ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:7: ( '{' ( 'current' '=' )? ) (lv_typeName_3= ruleTypeRef )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:7: ( '{' ( 'current' '=' )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1556:8: '{' ( 'current' '=' )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:7: ( '{' ( 'current' '=' )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1535:8: '{' ( 'current' '=' )?
{
- match(input,36,FOLLOW_36_in_ruleAction3388);
+ match(input,35,FOLLOW_35_in_ruleAction3351);
createLeafNode(grammarAccess.prAction().ele0000000KeywordLeftCurlyBracket(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1560:1: ( 'current' '=' )?
- int alt36=2;
- int LA36_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1539:1: ( 'current' '=' )?
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( (LA36_0==37) ) {
- alt36=1;
+ if ( (LA35_0==36) ) {
+ alt35=1;
}
- switch (alt36) {
+ switch (alt35) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1560:2: 'current' '='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1539:2: 'current' '='
{
- match(input,37,FOLLOW_37_in_ruleAction3398);
+ match(input,36,FOLLOW_36_in_ruleAction3361);
createLeafNode(grammarAccess.prAction().ele00000010KeywordCurrent(), null);
- match(input,34,FOLLOW_34_in_ruleAction3407);
+ match(input,33,FOLLOW_33_in_ruleAction3370);
createLeafNode(grammarAccess.prAction().ele00000011KeywordEqualsSign(), null);
@@ -3660,13 +3619,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1568:4: (lv_typeName_3= ruleTypeRef )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1571:6: lv_typeName_3= ruleTypeRef
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1547:4: (lv_typeName_3= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1550:6: lv_typeName_3= ruleTypeRef
{
currentNode=createCompositeNode(grammarAccess.prAction().ele0000010ParserRuleCallTypeRef(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleAction3444);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleAction3407);
lv_typeName_3=ruleTypeRef();
_fsp--;
@@ -3689,18 +3648,18 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,18,FOLLOW_18_in_ruleAction3458);
+ match(input,17,FOLLOW_17_in_ruleAction3421);
createLeafNode(grammarAccess.prAction().ele00001KeywordFullStop(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1593:2: (lv_feature_5= RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1595:6: lv_feature_5= RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1572:2: (lv_feature_5= RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1574:6: lv_feature_5= RULE_ID
{
lv_feature_5=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAction3481);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAction3444);
createLeafNode(grammarAccess.prAction().ele00010LexerRuleCallID(), "feature");
@@ -3722,30 +3681,30 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1613:3: (lv_operator_6= ( '=' | '+=' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1615:6: lv_operator_6= ( '=' | '+=' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1592:3: (lv_operator_6= ( '=' | '+=' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1594:6: lv_operator_6= ( '=' | '+=' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1615:20: ( '=' | '+=' )
- int alt37=2;
- int LA37_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1594:20: ( '=' | '+=' )
+ int alt36=2;
+ int LA36_0 = input.LA(1);
- if ( (LA37_0==34) ) {
- alt37=1;
+ if ( (LA36_0==33) ) {
+ alt36=1;
}
- else if ( (LA37_0==33) ) {
- alt37=2;
+ else if ( (LA36_0==32) ) {
+ alt36=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1615:20: ( '=' | '+=' )", 37, 0, input);
+ new NoViableAltException("1594:20: ( '=' | '+=' )", 36, 0, input);
throw nvae;
}
- switch (alt37) {
+ switch (alt36) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1615:21: '='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1594:21: '='
{
- match(input,34,FOLLOW_34_in_ruleAction3512);
+ match(input,33,FOLLOW_33_in_ruleAction3475);
createLeafNode(grammarAccess.prAction().ele00100KeywordEqualsSign(), "operator");
@@ -3753,9 +3712,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1621:6: '+='
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1600:6: '+='
{
- match(input,33,FOLLOW_33_in_ruleAction3528);
+ match(input,32,FOLLOW_32_in_ruleAction3491);
createLeafNode(grammarAccess.prAction().ele00101KeywordPlusSignEqualsSign(), "operator");
@@ -3783,14 +3742,14 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,37,FOLLOW_37_in_ruleAction3553);
+ match(input,36,FOLLOW_36_in_ruleAction3516);
createLeafNode(grammarAccess.prAction().ele01KeywordCurrent(), null);
}
- match(input,38,FOLLOW_38_in_ruleAction3563);
+ match(input,37,FOLLOW_37_in_ruleAction3526);
createLeafNode(grammarAccess.prAction().ele1KeywordRightCurlyBracket(), null);
@@ -3817,7 +3776,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractTerminal
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1658:1: entryRuleAbstractTerminal returns [EObject current=null] : iv_ruleAbstractTerminal= ruleAbstractTerminal EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1637:1: entryRuleAbstractTerminal returns [EObject current=null] : iv_ruleAbstractTerminal= ruleAbstractTerminal EOF ;
public final EObject entryRuleAbstractTerminal() throws RecognitionException {
EObject current = null;
@@ -3825,16 +3784,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1658:58: (iv_ruleAbstractTerminal= ruleAbstractTerminal EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1659:2: iv_ruleAbstractTerminal= ruleAbstractTerminal EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1637:58: (iv_ruleAbstractTerminal= ruleAbstractTerminal EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1638:2: iv_ruleAbstractTerminal= ruleAbstractTerminal EOF
{
currentNode = createCompositeNode(grammarAccess.prAbstractTerminal().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3598);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3561);
iv_ruleAbstractTerminal=ruleAbstractTerminal();
_fsp--;
current =iv_ruleAbstractTerminal;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractTerminal3608);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractTerminal3571);
}
@@ -3852,7 +3811,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractTerminal
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1666:1: ruleAbstractTerminal returns [EObject current=null] : ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1645:1: ruleAbstractTerminal returns [EObject current=null] : ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference ) ;
public final EObject ruleAbstractTerminal() throws RecognitionException {
EObject current = null;
@@ -3868,73 +3827,73 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1671:6: ( ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1650:6: ( ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )
- int alt40=2;
- int LA40_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( ((LA40_0>=RULE_ID && LA40_0<=RULE_STRING)||LA40_0==15) ) {
- alt40=1;
+ if ( ((LA39_0>=RULE_ID && LA39_0<=RULE_STRING)||LA39_0==14) ) {
+ alt39=1;
}
- else if ( (LA40_0==42) ) {
- alt40=2;
+ else if ( (LA39_0==41) ) {
+ alt39=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1672:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )", 40, 0, input);
+ new NoViableAltException("1651:1: ( ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement ) | this_CrossReference_3= ruleCrossReference )", 39, 0, input);
throw nvae;
}
- switch (alt40) {
+ switch (alt39) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )
- int alt39=2;
- int LA39_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( ((LA39_0>=RULE_ID && LA39_0<=RULE_STRING)) ) {
- alt39=1;
+ if ( ((LA38_0>=RULE_ID && LA38_0<=RULE_STRING)) ) {
+ alt38=1;
}
- else if ( (LA39_0==15) ) {
- alt39=2;
+ else if ( (LA38_0==14) ) {
+ alt38=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1672:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )", 39, 0, input);
+ new NoViableAltException("1651:2: ( (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedElement_2= ruleParenthesizedElement )", 38, 0, input);
throw nvae;
}
- switch (alt39) {
+ switch (alt38) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )
- int alt38=2;
- int LA38_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1651:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- if ( (LA38_0==RULE_STRING) ) {
- alt38=1;
+ if ( (LA37_0==RULE_STRING) ) {
+ alt37=1;
}
- else if ( (LA38_0==RULE_ID) ) {
- alt38=2;
+ else if ( (LA37_0==RULE_ID) ) {
+ alt37=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1672:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )", 38, 0, input);
+ new NoViableAltException("1651:3: (this_Keyword_0= ruleKeyword | this_RuleCall_1= ruleRuleCall )", 37, 0, input);
throw nvae;
}
- switch (alt38) {
+ switch (alt37) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1673:5: this_Keyword_0= ruleKeyword
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1652:5: this_Keyword_0= ruleKeyword
{
currentNode=createCompositeNode(grammarAccess.prAbstractTerminal().ele000ParserRuleCallKeyword(), currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleAbstractTerminal3657);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleAbstractTerminal3620);
this_Keyword_0=ruleKeyword();
_fsp--;
@@ -3946,12 +3905,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1683:5: this_RuleCall_1= ruleRuleCall
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1662:5: this_RuleCall_1= ruleRuleCall
{
currentNode=createCompositeNode(grammarAccess.prAbstractTerminal().ele001ParserRuleCallRuleCall(), currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3684);
+ pushFollow(FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3647);
this_RuleCall_1=ruleRuleCall();
_fsp--;
@@ -3969,12 +3928,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1693:5: this_ParenthesizedElement_2= ruleParenthesizedElement
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:5: this_ParenthesizedElement_2= ruleParenthesizedElement
{
currentNode=createCompositeNode(grammarAccess.prAbstractTerminal().ele01ParserRuleCallParenthesizedElement(), currentNode);
- pushFollow(FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3712);
+ pushFollow(FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3675);
this_ParenthesizedElement_2=ruleParenthesizedElement();
_fsp--;
@@ -3992,12 +3951,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1703:5: this_CrossReference_3= ruleCrossReference
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1682:5: this_CrossReference_3= ruleCrossReference
{
currentNode=createCompositeNode(grammarAccess.prAbstractTerminal().ele1ParserRuleCallCrossReference(), currentNode);
- pushFollow(FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3740);
+ pushFollow(FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3703);
this_CrossReference_3=ruleCrossReference();
_fsp--;
@@ -4031,7 +3990,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalTokenElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1720:1: entryRuleTerminalTokenElement returns [EObject current=null] : iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1699:1: entryRuleTerminalTokenElement returns [EObject current=null] : iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF ;
public final EObject entryRuleTerminalTokenElement() throws RecognitionException {
EObject current = null;
@@ -4039,16 +3998,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1720:62: (iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1721:2: iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1699:62: (iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1700:2: iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF
{
currentNode = createCompositeNode(grammarAccess.prTerminalTokenElement().getRule(), currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3774);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3737);
iv_ruleTerminalTokenElement=ruleTerminalTokenElement();
_fsp--;
current =iv_ruleTerminalTokenElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalTokenElement3784);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalTokenElement3747);
}
@@ -4066,7 +4025,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalTokenElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1728:1: ruleTerminalTokenElement returns [EObject current=null] : ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1707:1: ruleTerminalTokenElement returns [EObject current=null] : ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard ) ;
public final EObject ruleTerminalTokenElement() throws RecognitionException {
EObject current = null;
@@ -4084,93 +4043,93 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1733:6: ( ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1712:6: ( ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )
- int alt44=2;
- int LA44_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )
+ int alt43=2;
+ int LA43_0 = input.LA(1);
- if ( ((LA44_0>=RULE_ID && LA44_0<=RULE_STRING)||LA44_0==15||(LA44_0>=39 && LA44_0<=40)) ) {
- alt44=1;
+ if ( ((LA43_0>=RULE_ID && LA43_0<=RULE_STRING)||LA43_0==14||(LA43_0>=38 && LA43_0<=39)) ) {
+ alt43=1;
}
- else if ( (LA44_0==18) ) {
- alt44=2;
+ else if ( (LA43_0==17) ) {
+ alt43=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1734:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )", 44, 0, input);
+ new NoViableAltException("1713:1: ( ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken ) | this_Wildcard_4= ruleWildcard )", 43, 0, input);
throw nvae;
}
- switch (alt44) {
+ switch (alt43) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )
- int alt43=2;
- int LA43_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- if ( ((LA43_0>=RULE_ID && LA43_0<=RULE_STRING)||LA43_0==15) ) {
- alt43=1;
+ if ( ((LA42_0>=RULE_ID && LA42_0<=RULE_STRING)||LA42_0==14) ) {
+ alt42=1;
}
- else if ( ((LA43_0>=39 && LA43_0<=40)) ) {
- alt43=2;
+ else if ( ((LA42_0>=38 && LA42_0<=39)) ) {
+ alt42=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1734:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )", 43, 0, input);
+ new NoViableAltException("1713:2: ( ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken_3= ruleAbstractNegatedToken )", 42, 0, input);
throw nvae;
}
- switch (alt43) {
+ switch (alt42) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )
- int alt42=2;
- int LA42_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( ((LA42_0>=RULE_ID && LA42_0<=RULE_STRING)) ) {
- alt42=1;
+ if ( ((LA41_0>=RULE_ID && LA41_0<=RULE_STRING)) ) {
+ alt41=1;
}
- else if ( (LA42_0==15) ) {
- alt42=2;
+ else if ( (LA41_0==14) ) {
+ alt41=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1734:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )", 42, 0, input);
+ new NoViableAltException("1713:3: ( (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall ) | this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement )", 41, 0, input);
throw nvae;
}
- switch (alt42) {
+ switch (alt41) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )
- int alt41=2;
- int LA41_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1713:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA41_0==RULE_STRING) ) {
- alt41=1;
+ if ( (LA40_0==RULE_STRING) ) {
+ alt40=1;
}
- else if ( (LA41_0==RULE_ID) ) {
- alt41=2;
+ else if ( (LA40_0==RULE_ID) ) {
+ alt40=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1734:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )", 41, 0, input);
+ new NoViableAltException("1713:4: (this_CharacterRange_0= ruleCharacterRange | this_RuleCall_1= ruleRuleCall )", 40, 0, input);
throw nvae;
}
- switch (alt41) {
+ switch (alt40) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1735:5: this_CharacterRange_0= ruleCharacterRange
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1714:5: this_CharacterRange_0= ruleCharacterRange
{
currentNode=createCompositeNode(grammarAccess.prTerminalTokenElement().ele0000ParserRuleCallCharacterRange(), currentNode);
- pushFollow(FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3834);
+ pushFollow(FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3797);
this_CharacterRange_0=ruleCharacterRange();
_fsp--;
@@ -4182,12 +4141,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1745:5: this_RuleCall_1= ruleRuleCall
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1724:5: this_RuleCall_1= ruleRuleCall
{
currentNode=createCompositeNode(grammarAccess.prTerminalTokenElement().ele0001ParserRuleCallRuleCall(), currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3861);
+ pushFollow(FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3824);
this_RuleCall_1=ruleRuleCall();
_fsp--;
@@ -4205,12 +4164,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1755:5: this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1734:5: this_ParenthesizedTerminalElement_2= ruleParenthesizedTerminalElement
{
currentNode=createCompositeNode(grammarAccess.prTerminalTokenElement().ele001ParserRuleCallParenthesizedTerminalElement(), currentNode);
- pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3889);
+ pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3852);
this_ParenthesizedTerminalElement_2=ruleParenthesizedTerminalElement();
_fsp--;
@@ -4228,12 +4187,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1765:5: this_AbstractNegatedToken_3= ruleAbstractNegatedToken
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1744:5: this_AbstractNegatedToken_3= ruleAbstractNegatedToken
{
currentNode=createCompositeNode(grammarAccess.prTerminalTokenElement().ele01ParserRuleCallAbstractNegatedToken(), currentNode);
- pushFollow(FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3917);
+ pushFollow(FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3880);
this_AbstractNegatedToken_3=ruleAbstractNegatedToken();
_fsp--;
@@ -4251,12 +4210,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1775:5: this_Wildcard_4= ruleWildcard
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1754:5: this_Wildcard_4= ruleWildcard
{
currentNode=createCompositeNode(grammarAccess.prTerminalTokenElement().ele1ParserRuleCallWildcard(), currentNode);
- pushFollow(FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3945);
+ pushFollow(FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3908);
this_Wildcard_4=ruleWildcard();
_fsp--;
@@ -4290,7 +4249,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractNegatedToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1792:1: entryRuleAbstractNegatedToken returns [EObject current=null] : iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1771:1: entryRuleAbstractNegatedToken returns [EObject current=null] : iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF ;
public final EObject entryRuleAbstractNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4298,16 +4257,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1792:62: (iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1793:2: iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1771:62: (iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1772:2: iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF
{
currentNode = createCompositeNode(grammarAccess.prAbstractNegatedToken().getRule(), currentNode);
- pushFollow(FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3979);
+ pushFollow(FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3942);
iv_ruleAbstractNegatedToken=ruleAbstractNegatedToken();
_fsp--;
current =iv_ruleAbstractNegatedToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractNegatedToken3989);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractNegatedToken3952);
}
@@ -4325,7 +4284,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractNegatedToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1800:1: ruleAbstractNegatedToken returns [EObject current=null] : (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1779:1: ruleAbstractNegatedToken returns [EObject current=null] : (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken ) ;
public final EObject ruleAbstractNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4337,33 +4296,33 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1805:6: ( (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1806:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1784:6: ( (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1785:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1806:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )
- int alt45=2;
- int LA45_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1785:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( (LA45_0==39) ) {
- alt45=1;
+ if ( (LA44_0==38) ) {
+ alt44=1;
}
- else if ( (LA45_0==40) ) {
- alt45=2;
+ else if ( (LA44_0==39) ) {
+ alt44=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1806:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )", 45, 0, input);
+ new NoViableAltException("1785:1: (this_NegatedToken_0= ruleNegatedToken | this_UpToToken_1= ruleUpToToken )", 44, 0, input);
throw nvae;
}
- switch (alt45) {
+ switch (alt44) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1807:5: this_NegatedToken_0= ruleNegatedToken
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1786:5: this_NegatedToken_0= ruleNegatedToken
{
currentNode=createCompositeNode(grammarAccess.prAbstractNegatedToken().ele0ParserRuleCallNegatedToken(), currentNode);
- pushFollow(FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4036);
+ pushFollow(FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken3999);
this_NegatedToken_0=ruleNegatedToken();
_fsp--;
@@ -4375,12 +4334,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1817:5: this_UpToToken_1= ruleUpToToken
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1796:5: this_UpToToken_1= ruleUpToToken
{
currentNode=createCompositeNode(grammarAccess.prAbstractNegatedToken().ele1ParserRuleCallUpToToken(), currentNode);
- pushFollow(FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4063);
+ pushFollow(FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4026);
this_UpToToken_1=ruleUpToToken();
_fsp--;
@@ -4414,7 +4373,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleNegatedToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1834:1: entryRuleNegatedToken returns [EObject current=null] : iv_ruleNegatedToken= ruleNegatedToken EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1813:1: entryRuleNegatedToken returns [EObject current=null] : iv_ruleNegatedToken= ruleNegatedToken EOF ;
public final EObject entryRuleNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4422,16 +4381,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1834:54: (iv_ruleNegatedToken= ruleNegatedToken EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1835:2: iv_ruleNegatedToken= ruleNegatedToken EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1813:54: (iv_ruleNegatedToken= ruleNegatedToken EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1814:2: iv_ruleNegatedToken= ruleNegatedToken EOF
{
currentNode = createCompositeNode(grammarAccess.prNegatedToken().getRule(), currentNode);
- pushFollow(FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4097);
+ pushFollow(FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4060);
iv_ruleNegatedToken=ruleNegatedToken();
_fsp--;
current =iv_ruleNegatedToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNegatedToken4107);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNegatedToken4070);
}
@@ -4449,7 +4408,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleNegatedToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1842:1: ruleNegatedToken returns [EObject current=null] : ( '!' (lv_terminal_1= ruleTerminalTokenElement ) ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1821:1: ruleNegatedToken returns [EObject current=null] : ( '!' (lv_terminal_1= ruleTerminalTokenElement ) ) ;
public final EObject ruleNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4459,23 +4418,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1847:6: ( ( '!' (lv_terminal_1= ruleTerminalTokenElement ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1848:1: ( '!' (lv_terminal_1= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1826:6: ( ( '!' (lv_terminal_1= ruleTerminalTokenElement ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1827:1: ( '!' (lv_terminal_1= ruleTerminalTokenElement ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1848:1: ( '!' (lv_terminal_1= ruleTerminalTokenElement ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1848:2: '!' (lv_terminal_1= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1827:1: ( '!' (lv_terminal_1= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1827:2: '!' (lv_terminal_1= ruleTerminalTokenElement )
{
- match(input,39,FOLLOW_39_in_ruleNegatedToken4141);
+ match(input,38,FOLLOW_38_in_ruleNegatedToken4104);
createLeafNode(grammarAccess.prNegatedToken().ele0KeywordExclamationMark(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1852:1: (lv_terminal_1= ruleTerminalTokenElement )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1855:6: lv_terminal_1= ruleTerminalTokenElement
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1831:1: (lv_terminal_1= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1834:6: lv_terminal_1= ruleTerminalTokenElement
{
currentNode=createCompositeNode(grammarAccess.prNegatedToken().ele10ParserRuleCallTerminalTokenElement(), currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4175);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4138);
lv_terminal_1=ruleTerminalTokenElement();
_fsp--;
@@ -4518,7 +4477,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleUpToToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1882:1: entryRuleUpToToken returns [EObject current=null] : iv_ruleUpToToken= ruleUpToToken EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1861:1: entryRuleUpToToken returns [EObject current=null] : iv_ruleUpToToken= ruleUpToToken EOF ;
public final EObject entryRuleUpToToken() throws RecognitionException {
EObject current = null;
@@ -4526,16 +4485,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1882:51: (iv_ruleUpToToken= ruleUpToToken EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1883:2: iv_ruleUpToToken= ruleUpToToken EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1861:51: (iv_ruleUpToToken= ruleUpToToken EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1862:2: iv_ruleUpToToken= ruleUpToToken EOF
{
currentNode = createCompositeNode(grammarAccess.prUpToToken().getRule(), currentNode);
- pushFollow(FOLLOW_ruleUpToToken_in_entryRuleUpToToken4214);
+ pushFollow(FOLLOW_ruleUpToToken_in_entryRuleUpToToken4177);
iv_ruleUpToToken=ruleUpToToken();
_fsp--;
current =iv_ruleUpToToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleUpToToken4224);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleUpToToken4187);
}
@@ -4553,7 +4512,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleUpToToken
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1890:1: ruleUpToToken returns [EObject current=null] : ( '->' (lv_terminal_1= ruleTerminalTokenElement ) ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1869:1: ruleUpToToken returns [EObject current=null] : ( '->' (lv_terminal_1= ruleTerminalTokenElement ) ) ;
public final EObject ruleUpToToken() throws RecognitionException {
EObject current = null;
@@ -4563,23 +4522,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1895:6: ( ( '->' (lv_terminal_1= ruleTerminalTokenElement ) ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1896:1: ( '->' (lv_terminal_1= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1874:6: ( ( '->' (lv_terminal_1= ruleTerminalTokenElement ) ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1875:1: ( '->' (lv_terminal_1= ruleTerminalTokenElement ) )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1896:1: ( '->' (lv_terminal_1= ruleTerminalTokenElement ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1896:2: '->' (lv_terminal_1= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1875:1: ( '->' (lv_terminal_1= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1875:2: '->' (lv_terminal_1= ruleTerminalTokenElement )
{
- match(input,40,FOLLOW_40_in_ruleUpToToken4258);
+ match(input,39,FOLLOW_39_in_ruleUpToToken4221);
createLeafNode(grammarAccess.prUpToToken().ele0KeywordHyphenMinusGreaterThanSign(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1900:1: (lv_terminal_1= ruleTerminalTokenElement )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1903:6: lv_terminal_1= ruleTerminalTokenElement
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1879:1: (lv_terminal_1= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1882:6: lv_terminal_1= ruleTerminalTokenElement
{
currentNode=createCompositeNode(grammarAccess.prUpToToken().ele10ParserRuleCallTerminalTokenElement(), currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4292);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4255);
lv_terminal_1=ruleTerminalTokenElement();
_fsp--;
@@ -4622,7 +4581,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleWildcard
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1930:1: entryRuleWildcard returns [EObject current=null] : iv_ruleWildcard= ruleWildcard EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1909:1: entryRuleWildcard returns [EObject current=null] : iv_ruleWildcard= ruleWildcard EOF ;
public final EObject entryRuleWildcard() throws RecognitionException {
EObject current = null;
@@ -4630,16 +4589,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1930:50: (iv_ruleWildcard= ruleWildcard EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1931:2: iv_ruleWildcard= ruleWildcard EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1909:50: (iv_ruleWildcard= ruleWildcard EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1910:2: iv_ruleWildcard= ruleWildcard EOF
{
currentNode = createCompositeNode(grammarAccess.prWildcard().getRule(), currentNode);
- pushFollow(FOLLOW_ruleWildcard_in_entryRuleWildcard4331);
+ pushFollow(FOLLOW_ruleWildcard_in_entryRuleWildcard4294);
iv_ruleWildcard=ruleWildcard();
_fsp--;
current =iv_ruleWildcard;
- match(input,EOF,FOLLOW_EOF_in_entryRuleWildcard4341);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleWildcard4304);
}
@@ -4657,7 +4616,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleWildcard
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1938:1: ruleWildcard returns [EObject current=null] : (lv_isWildcard_0= '.' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1917:1: ruleWildcard returns [EObject current=null] : (lv_isWildcard_0= '.' ) ;
public final EObject ruleWildcard() throws RecognitionException {
EObject current = null;
@@ -4666,14 +4625,14 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1943:6: ( (lv_isWildcard_0= '.' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1944:1: (lv_isWildcard_0= '.' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1922:6: ( (lv_isWildcard_0= '.' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1923:1: (lv_isWildcard_0= '.' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1944:1: (lv_isWildcard_0= '.' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1946:6: lv_isWildcard_0= '.'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1923:1: (lv_isWildcard_0= '.' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1925:6: lv_isWildcard_0= '.'
{
lv_isWildcard_0=(Token)input.LT(1);
- match(input,18,FOLLOW_18_in_ruleWildcard4386);
+ match(input,17,FOLLOW_17_in_ruleWildcard4349);
createLeafNode(grammarAccess.prWildcard().ele0KeywordFullStop(), "isWildcard");
@@ -4712,7 +4671,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleCharacterRange
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1974:1: entryRuleCharacterRange returns [EObject current=null] : iv_ruleCharacterRange= ruleCharacterRange EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1953:1: entryRuleCharacterRange returns [EObject current=null] : iv_ruleCharacterRange= ruleCharacterRange EOF ;
public final EObject entryRuleCharacterRange() throws RecognitionException {
EObject current = null;
@@ -4720,16 +4679,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1974:56: (iv_ruleCharacterRange= ruleCharacterRange EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1975:2: iv_ruleCharacterRange= ruleCharacterRange EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1953:56: (iv_ruleCharacterRange= ruleCharacterRange EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1954:2: iv_ruleCharacterRange= ruleCharacterRange EOF
{
currentNode = createCompositeNode(grammarAccess.prCharacterRange().getRule(), currentNode);
- pushFollow(FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4433);
+ pushFollow(FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4396);
iv_ruleCharacterRange=ruleCharacterRange();
_fsp--;
current =iv_ruleCharacterRange;
- match(input,EOF,FOLLOW_EOF_in_entryRuleCharacterRange4443);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleCharacterRange4406);
}
@@ -4747,7 +4706,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleCharacterRange
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1982:1: ruleCharacterRange returns [EObject current=null] : (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1961:1: ruleCharacterRange returns [EObject current=null] : (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? ) ;
public final EObject ruleCharacterRange() throws RecognitionException {
EObject current = null;
@@ -4759,16 +4718,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1987:6: ( (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1988:1: (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1966:6: ( (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1967:1: (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1988:1: (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1989:5: this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1967:1: (this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1968:5: this_Keyword_0= ruleKeyword ( ( () '..' ) (lv_right_3= ruleKeyword ) )?
{
currentNode=createCompositeNode(grammarAccess.prCharacterRange().ele0ParserRuleCallKeyword(), currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4490);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4453);
this_Keyword_0=ruleKeyword();
_fsp--;
@@ -4776,22 +4735,22 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_Keyword_0;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1997:1: ( ( () '..' ) (lv_right_3= ruleKeyword ) )?
- int alt46=2;
- int LA46_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1976:1: ( ( () '..' ) (lv_right_3= ruleKeyword ) )?
+ int alt45=2;
+ int LA45_0 = input.LA(1);
- if ( (LA46_0==41) ) {
- alt46=1;
+ if ( (LA45_0==40) ) {
+ alt45=1;
}
- switch (alt46) {
+ switch (alt45) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1997:2: ( () '..' ) (lv_right_3= ruleKeyword )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1976:2: ( () '..' ) (lv_right_3= ruleKeyword )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1997:2: ( () '..' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1997:3: () '..'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1976:2: ( () '..' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1976:3: () '..'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1997:3: ()
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1998:5:
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1976:3: ()
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1977:5:
{
temp=factory.create(grammarAccess.prCharacterRange().ele100ActionCharacterRangeleft().getTypeName().getType());
@@ -4811,20 +4770,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,41,FOLLOW_41_in_ruleCharacterRange4509);
+ match(input,40,FOLLOW_40_in_ruleCharacterRange4472);
createLeafNode(grammarAccess.prCharacterRange().ele101KeywordFullStopFullStop(), null);
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2017:2: (lv_right_3= ruleKeyword )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2020:6: lv_right_3= ruleKeyword
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1996:2: (lv_right_3= ruleKeyword )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1999:6: lv_right_3= ruleKeyword
{
currentNode=createCompositeNode(grammarAccess.prCharacterRange().ele110ParserRuleCallKeyword(), currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4544);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4507);
lv_right_3=ruleKeyword();
_fsp--;
@@ -4873,7 +4832,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleCrossReference
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2047:1: entryRuleCrossReference returns [EObject current=null] : iv_ruleCrossReference= ruleCrossReference EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2026:1: entryRuleCrossReference returns [EObject current=null] : iv_ruleCrossReference= ruleCrossReference EOF ;
public final EObject entryRuleCrossReference() throws RecognitionException {
EObject current = null;
@@ -4881,16 +4840,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2047:56: (iv_ruleCrossReference= ruleCrossReference EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2048:2: iv_ruleCrossReference= ruleCrossReference EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2026:56: (iv_ruleCrossReference= ruleCrossReference EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2027:2: iv_ruleCrossReference= ruleCrossReference EOF
{
currentNode = createCompositeNode(grammarAccess.prCrossReference().getRule(), currentNode);
- pushFollow(FOLLOW_ruleCrossReference_in_entryRuleCrossReference4585);
+ pushFollow(FOLLOW_ruleCrossReference_in_entryRuleCrossReference4548);
iv_ruleCrossReference=ruleCrossReference();
_fsp--;
current =iv_ruleCrossReference;
- match(input,EOF,FOLLOW_EOF_in_entryRuleCrossReference4595);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleCrossReference4558);
}
@@ -4908,7 +4867,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleCrossReference
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2055:1: ruleCrossReference returns [EObject current=null] : ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2034:1: ruleCrossReference returns [EObject current=null] : ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' ) ;
public final EObject ruleCrossReference() throws RecognitionException {
EObject current = null;
@@ -4918,29 +4877,29 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2060:6: ( ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:1: ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2039:6: ( ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:1: ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:1: ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:2: ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:1: ( ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:2: ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? ) ']'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:2: ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:3: ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )?
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:2: ( ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )? )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:3: ( '[' (lv_type_1= ruleTypeRef ) ) ( '|' ( RULE_ID ) )?
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:3: ( '[' (lv_type_1= ruleTypeRef ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:4: '[' (lv_type_1= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:3: ( '[' (lv_type_1= ruleTypeRef ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:4: '[' (lv_type_1= ruleTypeRef )
{
- match(input,42,FOLLOW_42_in_ruleCrossReference4631);
+ match(input,41,FOLLOW_41_in_ruleCrossReference4594);
createLeafNode(grammarAccess.prCrossReference().ele000KeywordLeftSquareBracket(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2065:1: (lv_type_1= ruleTypeRef )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2068:6: lv_type_1= ruleTypeRef
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2044:1: (lv_type_1= ruleTypeRef )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2047:6: lv_type_1= ruleTypeRef
{
currentNode=createCompositeNode(grammarAccess.prCrossReference().ele0010ParserRuleCallTypeRef(), currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleCrossReference4665);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleCrossReference4628);
lv_type_1=ruleTypeRef();
_fsp--;
@@ -4963,23 +4922,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2086:3: ( '|' ( RULE_ID ) )?
- int alt47=2;
- int LA47_0 = input.LA(1);
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2065:3: ( '|' ( RULE_ID ) )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA47_0==29) ) {
- alt47=1;
+ if ( (LA46_0==28) ) {
+ alt46=1;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2086:4: '|' ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2065:4: '|' ( RULE_ID )
{
- match(input,29,FOLLOW_29_in_ruleCrossReference4680);
+ match(input,28,FOLLOW_28_in_ruleCrossReference4643);
createLeafNode(grammarAccess.prCrossReference().ele010KeywordVerticalLine(), null);
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2090:1: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2093:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2069:1: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2072:3: RULE_ID
{
if (current==null) {
@@ -4987,7 +4946,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCrossReference4702);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCrossReference4665);
createLeafNode(grammarAccess.prCrossReference().ele0110CrossReferenceEStringAbstractRule(), "rule");
@@ -5003,7 +4962,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,43,FOLLOW_43_in_ruleCrossReference4717);
+ match(input,42,FOLLOW_42_in_ruleCrossReference4680);
createLeafNode(grammarAccess.prCrossReference().ele1KeywordRightSquareBracket(), null);
@@ -5030,7 +4989,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParenthesizedElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2119:1: entryRuleParenthesizedElement returns [EObject current=null] : iv_ruleParenthesizedElement= ruleParenthesizedElement EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2098:1: entryRuleParenthesizedElement returns [EObject current=null] : iv_ruleParenthesizedElement= ruleParenthesizedElement EOF ;
public final EObject entryRuleParenthesizedElement() throws RecognitionException {
EObject current = null;
@@ -5038,16 +4997,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2119:62: (iv_ruleParenthesizedElement= ruleParenthesizedElement EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2120:2: iv_ruleParenthesizedElement= ruleParenthesizedElement EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2098:62: (iv_ruleParenthesizedElement= ruleParenthesizedElement EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2099:2: iv_ruleParenthesizedElement= ruleParenthesizedElement EOF
{
currentNode = createCompositeNode(grammarAccess.prParenthesizedElement().getRule(), currentNode);
- pushFollow(FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4752);
+ pushFollow(FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4715);
iv_ruleParenthesizedElement=ruleParenthesizedElement();
_fsp--;
current =iv_ruleParenthesizedElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedElement4762);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedElement4725);
}
@@ -5065,7 +5024,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParenthesizedElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2127:1: ruleParenthesizedElement returns [EObject current=null] : ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2106:1: ruleParenthesizedElement returns [EObject current=null] : ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' ) ;
public final EObject ruleParenthesizedElement() throws RecognitionException {
EObject current = null;
@@ -5075,23 +5034,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2132:6: ( ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2133:1: ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2111:6: ( ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:1: ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2133:1: ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2133:2: ( '(' this_Alternatives_1= ruleAlternatives ) ')'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:1: ( ( '(' this_Alternatives_1= ruleAlternatives ) ')' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:2: ( '(' this_Alternatives_1= ruleAlternatives ) ')'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2133:2: ( '(' this_Alternatives_1= ruleAlternatives )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2133:3: '(' this_Alternatives_1= ruleAlternatives
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:2: ( '(' this_Alternatives_1= ruleAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:3: '(' this_Alternatives_1= ruleAlternatives
{
- match(input,15,FOLLOW_15_in_ruleParenthesizedElement4797);
+ match(input,14,FOLLOW_14_in_ruleParenthesizedElement4760);
createLeafNode(grammarAccess.prParenthesizedElement().ele00KeywordLeftParenthesis(), null);
currentNode=createCompositeNode(grammarAccess.prParenthesizedElement().ele01ParserRuleCallAlternatives(), currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4819);
+ pushFollow(FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4782);
this_Alternatives_1=ruleAlternatives();
_fsp--;
@@ -5102,7 +5061,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,17,FOLLOW_17_in_ruleParenthesizedElement4828);
+ match(input,16,FOLLOW_16_in_ruleParenthesizedElement4791);
createLeafNode(grammarAccess.prParenthesizedElement().ele1KeywordRightParenthesis(), null);
@@ -5129,7 +5088,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParenthesizedTerminalElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2159:1: entryRuleParenthesizedTerminalElement returns [EObject current=null] : iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2138:1: entryRuleParenthesizedTerminalElement returns [EObject current=null] : iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF ;
public final EObject entryRuleParenthesizedTerminalElement() throws RecognitionException {
EObject current = null;
@@ -5137,16 +5096,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2159:70: (iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2160:2: iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2138:70: (iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2139:2: iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF
{
currentNode = createCompositeNode(grammarAccess.prParenthesizedTerminalElement().getRule(), currentNode);
- pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4863);
+ pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4826);
iv_ruleParenthesizedTerminalElement=ruleParenthesizedTerminalElement();
_fsp--;
current =iv_ruleParenthesizedTerminalElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4873);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4836);
}
@@ -5164,7 +5123,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParenthesizedTerminalElement
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2167:1: ruleParenthesizedTerminalElement returns [EObject current=null] : ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2146:1: ruleParenthesizedTerminalElement returns [EObject current=null] : ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' ) ;
public final EObject ruleParenthesizedTerminalElement() throws RecognitionException {
EObject current = null;
@@ -5174,23 +5133,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2172:6: ( ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2173:1: ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2151:6: ( ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:1: ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2173:1: ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2173:2: ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')'
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:1: ( ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')' )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:2: ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives ) ')'
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2173:2: ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2173:3: '(' this_TerminalAlternatives_1= ruleTerminalAlternatives
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:2: ( '(' this_TerminalAlternatives_1= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:3: '(' this_TerminalAlternatives_1= ruleTerminalAlternatives
{
- match(input,15,FOLLOW_15_in_ruleParenthesizedTerminalElement4908);
+ match(input,14,FOLLOW_14_in_ruleParenthesizedTerminalElement4871);
createLeafNode(grammarAccess.prParenthesizedTerminalElement().ele00KeywordLeftParenthesis(), null);
currentNode=createCompositeNode(grammarAccess.prParenthesizedTerminalElement().ele01ParserRuleCallTerminalAlternatives(), currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4930);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4893);
this_TerminalAlternatives_1=ruleTerminalAlternatives();
_fsp--;
@@ -5201,7 +5160,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,17,FOLLOW_17_in_ruleParenthesizedTerminalElement4939);
+ match(input,16,FOLLOW_16_in_ruleParenthesizedTerminalElement4902);
createLeafNode(grammarAccess.prParenthesizedTerminalElement().ele1KeywordRightParenthesis(), null);
@@ -5228,7 +5187,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleKeyword
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2199:1: entryRuleKeyword returns [EObject current=null] : iv_ruleKeyword= ruleKeyword EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2178:1: entryRuleKeyword returns [EObject current=null] : iv_ruleKeyword= ruleKeyword EOF ;
public final EObject entryRuleKeyword() throws RecognitionException {
EObject current = null;
@@ -5236,16 +5195,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2199:49: (iv_ruleKeyword= ruleKeyword EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2200:2: iv_ruleKeyword= ruleKeyword EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2178:49: (iv_ruleKeyword= ruleKeyword EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2179:2: iv_ruleKeyword= ruleKeyword EOF
{
currentNode = createCompositeNode(grammarAccess.prKeyword().getRule(), currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_entryRuleKeyword4974);
+ pushFollow(FOLLOW_ruleKeyword_in_entryRuleKeyword4937);
iv_ruleKeyword=ruleKeyword();
_fsp--;
current =iv_ruleKeyword;
- match(input,EOF,FOLLOW_EOF_in_entryRuleKeyword4984);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleKeyword4947);
}
@@ -5263,7 +5222,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleKeyword
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2207:1: ruleKeyword returns [EObject current=null] : (lv_value_0= RULE_STRING ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2186:1: ruleKeyword returns [EObject current=null] : (lv_value_0= RULE_STRING ) ;
public final EObject ruleKeyword() throws RecognitionException {
EObject current = null;
@@ -5272,14 +5231,14 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2212:6: ( (lv_value_0= RULE_STRING ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2213:1: (lv_value_0= RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2191:6: ( (lv_value_0= RULE_STRING ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2192:1: (lv_value_0= RULE_STRING )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2213:1: (lv_value_0= RULE_STRING )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2215:6: lv_value_0= RULE_STRING
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2192:1: (lv_value_0= RULE_STRING )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2194:6: lv_value_0= RULE_STRING
{
lv_value_0=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleKeyword5030);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleKeyword4993);
createLeafNode(grammarAccess.prKeyword().ele0LexerRuleCallSTRING(), "value");
@@ -5318,7 +5277,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleRuleCall
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2242:1: entryRuleRuleCall returns [EObject current=null] : iv_ruleRuleCall= ruleRuleCall EOF ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2221:1: entryRuleRuleCall returns [EObject current=null] : iv_ruleRuleCall= ruleRuleCall EOF ;
public final EObject entryRuleRuleCall() throws RecognitionException {
EObject current = null;
@@ -5326,16 +5285,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2242:50: (iv_ruleRuleCall= ruleRuleCall EOF )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2243:2: iv_ruleRuleCall= ruleRuleCall EOF
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2221:50: (iv_ruleRuleCall= ruleRuleCall EOF )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2222:2: iv_ruleRuleCall= ruleRuleCall EOF
{
currentNode = createCompositeNode(grammarAccess.prRuleCall().getRule(), currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_entryRuleRuleCall5072);
+ pushFollow(FOLLOW_ruleRuleCall_in_entryRuleRuleCall5035);
iv_ruleRuleCall=ruleRuleCall();
_fsp--;
current =iv_ruleRuleCall;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRuleCall5082);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRuleCall5045);
}
@@ -5353,18 +5312,18 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleRuleCall
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2250:1: ruleRuleCall returns [EObject current=null] : ( RULE_ID ) ;
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2229:1: ruleRuleCall returns [EObject current=null] : ( RULE_ID ) ;
public final EObject ruleRuleCall() throws RecognitionException {
EObject current = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2255:6: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2256:1: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2234:6: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2235:1: ( RULE_ID )
{
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2256:1: ( RULE_ID )
- // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2259:3: RULE_ID
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2235:1: ( RULE_ID )
+ // ../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2238:3: RULE_ID
{
if (current==null) {
@@ -5372,7 +5331,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuleCall5128);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuleCall5091);
createLeafNode(grammarAccess.prRuleCall().ele0CrossReferenceEStringAbstractRule(), "rule");
@@ -5402,190 +5361,189 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
public static final BitSet FOLLOW_ruleGrammar_in_entryRuleGrammar72 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleGrammar82 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_ruleGrammar133 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_ruleGrammar156 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar191 = new BitSet(new long[]{0x0000000008E86010L});
- public static final BitSet FOLLOW_13_in_ruleGrammar206 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar233 = new BitSet(new long[]{0x0000000008E84010L});
- public static final BitSet FOLLOW_14_in_ruleGrammar263 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_15_in_ruleGrammar285 = new BitSet(new long[]{0x0000000000020010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar309 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_16_in_ruleGrammar322 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar344 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_17_in_ruleGrammar361 = new BitSet(new long[]{0x0000000008E80010L});
- public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar398 = new BitSet(new long[]{0x0000000008E80010L});
- public static final BitSet FOLLOW_ruleAbstractRule_in_ruleGrammar438 = new BitSet(new long[]{0x0000000008C00012L});
- public static final BitSet FOLLOW_ruleGrammarID_in_entryRuleGrammarID479 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGrammarID490 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID530 = new BitSet(new long[]{0x0000000000040002L});
- public static final BitSet FOLLOW_18_in_ruleGrammarID549 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID564 = new BitSet(new long[]{0x0000000000040002L});
- public static final BitSet FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule611 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractRule621 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLexerRule_in_ruleAbstractRule669 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParserRule_in_ruleAbstractRule696 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalRule_in_ruleAbstractRule724 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration758 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration768 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration815 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration842 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel876 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGeneratedMetamodel886 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_19_in_ruleGeneratedMetamodel922 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel944 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel975 = new BitSet(new long[]{0x0000000000100002L});
- public static final BitSet FOLLOW_20_in_ruleGeneratedMetamodel989 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel1011 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1056 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleReferencedMetamodel1066 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_ruleReferencedMetamodel1101 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1123 = new BitSet(new long[]{0x0000000000100002L});
- public static final BitSet FOLLOW_20_in_ruleReferencedMetamodel1137 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleReferencedMetamodel1159 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLexerRule_in_entryRuleLexerRule1204 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLexerRule1214 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_ruleLexerRule1253 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_23_in_ruleLexerRule1268 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleLexerRule1291 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_ruleLexerRule1310 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleLexerRule1344 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleLexerRule1360 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleLexerRule1383 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleLexerRule1401 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParserRule_in_entryRuleParserRule1436 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParserRule1446 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1497 = new BitSet(new long[]{0x0000000003004000L});
- public static final BitSet FOLLOW_24_in_ruleParserRule1515 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleParserRule1549 = new BitSet(new long[]{0x0000000002004000L});
- public static final BitSet FOLLOW_14_in_ruleParserRule1580 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_15_in_ruleParserRule1602 = new BitSet(new long[]{0x0000000000020010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1626 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_16_in_ruleParserRule1639 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1661 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_17_in_ruleParserRule1678 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleParserRule1690 = new BitSet(new long[]{0x0000041000008030L});
- public static final BitSet FOLLOW_ruleAlternatives_in_ruleParserRule1725 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleParserRule1739 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1774 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalRule1784 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_ruleTerminalRule1834 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTerminalRule1869 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_ruleTerminalRule1888 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleTerminalRule1922 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleTerminalRule1938 = new BitSet(new long[]{0x0000018000048030L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1973 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleTerminalRule1987 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTypeRef_in_entryRuleTypeRef2022 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTypeRef2032 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2080 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_ruleTypeRef2092 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2116 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAlternatives_in_entryRuleAlternatives2154 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAlternatives2164 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2211 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_ruleAlternatives2230 = new BitSet(new long[]{0x0000041000008030L});
- public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2265 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2306 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalAlternatives2316 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2363 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_ruleTerminalAlternatives2382 = new BitSet(new long[]{0x0000018000048030L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2417 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_ruleGroup_in_entryRuleGroup2458 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGroup2468 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2515 = new BitSet(new long[]{0x0000041000008032L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2558 = new BitSet(new long[]{0x0000041000008032L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2599 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalGroup2609 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2656 = new BitSet(new long[]{0x0000018000048032L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2699 = new BitSet(new long[]{0x0000018000048032L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2740 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractToken2750 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAssignment_in_ruleAbstractToken2799 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_ruleAction_in_ruleAbstractToken2826 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2854 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_30_in_ruleAbstractToken2877 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_31_in_ruleAbstractToken2893 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleAbstractToken2911 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2962 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalToken2972 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3019 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_30_in_ruleTerminalToken3041 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_31_in_ruleTerminalToken3057 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleTerminalToken3075 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment3126 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAssignment3136 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment3184 = new BitSet(new long[]{0x0000000E00000000L});
- public static final BitSet FOLLOW_33_in_ruleAssignment3215 = new BitSet(new long[]{0x0000040000008030L});
- public static final BitSet FOLLOW_34_in_ruleAssignment3231 = new BitSet(new long[]{0x0000040000008030L});
- public static final BitSet FOLLOW_35_in_ruleAssignment3249 = new BitSet(new long[]{0x0000040000008030L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAssignment3299 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAction_in_entryRuleAction3338 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAction3348 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_36_in_ruleAction3388 = new BitSet(new long[]{0x0000002000000010L});
- public static final BitSet FOLLOW_37_in_ruleAction3398 = new BitSet(new long[]{0x0000000400000000L});
- public static final BitSet FOLLOW_34_in_ruleAction3407 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleAction3444 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleAction3458 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAction3481 = new BitSet(new long[]{0x0000000600000000L});
- public static final BitSet FOLLOW_34_in_ruleAction3512 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_33_in_ruleAction3528 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_37_in_ruleAction3553 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_ruleAction3563 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3598 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractTerminal3608 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleAbstractTerminal3657 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3684 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3712 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3740 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3774 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalTokenElement3784 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3834 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3861 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3889 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3917 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3945 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3979 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractNegatedToken3989 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4036 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4063 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4097 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNegatedToken4107 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_39_in_ruleNegatedToken4141 = new BitSet(new long[]{0x0000018000048030L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4175 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUpToToken_in_entryRuleUpToToken4214 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleUpToToken4224 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_40_in_ruleUpToToken4258 = new BitSet(new long[]{0x0000018000048030L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4292 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWildcard_in_entryRuleWildcard4331 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleWildcard4341 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_18_in_ruleWildcard4386 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4433 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleCharacterRange4443 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4490 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_ruleCharacterRange4509 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4544 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCrossReference_in_entryRuleCrossReference4585 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleCrossReference4595 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_42_in_ruleCrossReference4631 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleCrossReference4665 = new BitSet(new long[]{0x0000080020000000L});
- public static final BitSet FOLLOW_29_in_ruleCrossReference4680 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleCrossReference4702 = new BitSet(new long[]{0x0000080000000000L});
- public static final BitSet FOLLOW_43_in_ruleCrossReference4717 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4752 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedElement4762 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleParenthesizedElement4797 = new BitSet(new long[]{0x0000041000008030L});
- public static final BitSet FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4819 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleParenthesizedElement4828 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4863 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4873 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleParenthesizedTerminalElement4908 = new BitSet(new long[]{0x0000018000048030L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4930 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleParenthesizedTerminalElement4939 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_entryRuleKeyword4974 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleKeyword4984 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleKeyword5030 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_entryRuleRuleCall5072 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRuleCall5082 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRuleCall5128 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_ruleGrammar120 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar154 = new BitSet(new long[]{0x0000000004743010L});
+ public static final BitSet FOLLOW_12_in_ruleGrammar169 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar196 = new BitSet(new long[]{0x0000000004742010L});
+ public static final BitSet FOLLOW_13_in_ruleGrammar226 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleGrammar248 = new BitSet(new long[]{0x0000000000010010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar272 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_15_in_ruleGrammar285 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar307 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_16_in_ruleGrammar324 = new BitSet(new long[]{0x0000000004740010L});
+ public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar361 = new BitSet(new long[]{0x0000000004740010L});
+ public static final BitSet FOLLOW_ruleAbstractRule_in_ruleGrammar401 = new BitSet(new long[]{0x0000000004600012L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_entryRuleGrammarID442 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGrammarID453 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID493 = new BitSet(new long[]{0x0000000000020002L});
+ public static final BitSet FOLLOW_17_in_ruleGrammarID512 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID527 = new BitSet(new long[]{0x0000000000020002L});
+ public static final BitSet FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule574 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractRule584 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLexerRule_in_ruleAbstractRule632 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParserRule_in_ruleAbstractRule659 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalRule_in_ruleAbstractRule687 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration721 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration731 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration778 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration805 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel839 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGeneratedMetamodel849 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_18_in_ruleGeneratedMetamodel885 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel907 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel938 = new BitSet(new long[]{0x0000000000080002L});
+ public static final BitSet FOLLOW_19_in_ruleGeneratedMetamodel952 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel974 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1019 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleReferencedMetamodel1029 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_20_in_ruleReferencedMetamodel1064 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1086 = new BitSet(new long[]{0x0000000000080002L});
+ public static final BitSet FOLLOW_19_in_ruleReferencedMetamodel1100 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleReferencedMetamodel1122 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLexerRule_in_entryRuleLexerRule1167 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLexerRule1177 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_21_in_ruleLexerRule1216 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_22_in_ruleLexerRule1231 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleLexerRule1254 = new BitSet(new long[]{0x0000000001800000L});
+ public static final BitSet FOLLOW_23_in_ruleLexerRule1273 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleLexerRule1307 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_24_in_ruleLexerRule1323 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleLexerRule1346 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleLexerRule1364 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParserRule_in_entryRuleParserRule1399 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParserRule1409 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1460 = new BitSet(new long[]{0x0000000001802000L});
+ public static final BitSet FOLLOW_23_in_ruleParserRule1478 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleParserRule1512 = new BitSet(new long[]{0x0000000001002000L});
+ public static final BitSet FOLLOW_13_in_ruleParserRule1543 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleParserRule1565 = new BitSet(new long[]{0x0000000000010010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1589 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_15_in_ruleParserRule1602 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1624 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_16_in_ruleParserRule1641 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_24_in_ruleParserRule1653 = new BitSet(new long[]{0x0000020800004030L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_ruleParserRule1688 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleParserRule1702 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1737 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalRule1747 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_26_in_ruleTerminalRule1797 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTerminalRule1832 = new BitSet(new long[]{0x0000000001800000L});
+ public static final BitSet FOLLOW_23_in_ruleTerminalRule1851 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleTerminalRule1885 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_24_in_ruleTerminalRule1901 = new BitSet(new long[]{0x000000C000024030L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1936 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleTerminalRule1950 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_entryRuleTypeRef1985 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTypeRef1995 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2043 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_ruleTypeRef2055 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2079 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_entryRuleAlternatives2117 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAlternatives2127 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2174 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_ruleAlternatives2193 = new BitSet(new long[]{0x0000020800004030L});
+ public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2228 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2269 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalAlternatives2279 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2326 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_ruleTerminalAlternatives2345 = new BitSet(new long[]{0x000000C000024030L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2380 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_ruleGroup_in_entryRuleGroup2421 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGroup2431 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2478 = new BitSet(new long[]{0x0000020800004032L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2521 = new BitSet(new long[]{0x0000020800004032L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2562 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalGroup2572 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2619 = new BitSet(new long[]{0x000000C000024032L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2662 = new BitSet(new long[]{0x000000C000024032L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2703 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractToken2713 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAssignment_in_ruleAbstractToken2762 = new BitSet(new long[]{0x00000000E0000002L});
+ public static final BitSet FOLLOW_ruleAction_in_ruleAbstractToken2789 = new BitSet(new long[]{0x00000000E0000002L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2817 = new BitSet(new long[]{0x00000000E0000002L});
+ public static final BitSet FOLLOW_29_in_ruleAbstractToken2840 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_30_in_ruleAbstractToken2856 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_31_in_ruleAbstractToken2874 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2925 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalToken2935 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken2982 = new BitSet(new long[]{0x00000000E0000002L});
+ public static final BitSet FOLLOW_29_in_ruleTerminalToken3004 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_30_in_ruleTerminalToken3020 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_31_in_ruleTerminalToken3038 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment3089 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAssignment3099 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment3147 = new BitSet(new long[]{0x0000000700000000L});
+ public static final BitSet FOLLOW_32_in_ruleAssignment3178 = new BitSet(new long[]{0x0000020000004030L});
+ public static final BitSet FOLLOW_33_in_ruleAssignment3194 = new BitSet(new long[]{0x0000020000004030L});
+ public static final BitSet FOLLOW_34_in_ruleAssignment3212 = new BitSet(new long[]{0x0000020000004030L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAssignment3262 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAction_in_entryRuleAction3301 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAction3311 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_ruleAction3351 = new BitSet(new long[]{0x0000001000000010L});
+ public static final BitSet FOLLOW_36_in_ruleAction3361 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_33_in_ruleAction3370 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleAction3407 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_17_in_ruleAction3421 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAction3444 = new BitSet(new long[]{0x0000000300000000L});
+ public static final BitSet FOLLOW_33_in_ruleAction3475 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_32_in_ruleAction3491 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_36_in_ruleAction3516 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleAction3526 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3561 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractTerminal3571 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleAbstractTerminal3620 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3647 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3675 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3703 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3737 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalTokenElement3747 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3797 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3824 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3852 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3880 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3908 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3942 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractNegatedToken3952 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken3999 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4026 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4060 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNegatedToken4070 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_38_in_ruleNegatedToken4104 = new BitSet(new long[]{0x000000C000024030L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4138 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleUpToToken_in_entryRuleUpToToken4177 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleUpToToken4187 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_39_in_ruleUpToToken4221 = new BitSet(new long[]{0x000000C000024030L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4255 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWildcard_in_entryRuleWildcard4294 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleWildcard4304 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_17_in_ruleWildcard4349 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4396 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleCharacterRange4406 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4453 = new BitSet(new long[]{0x0000010000000002L});
+ public static final BitSet FOLLOW_40_in_ruleCharacterRange4472 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4507 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCrossReference_in_entryRuleCrossReference4548 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleCrossReference4558 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleCrossReference4594 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleCrossReference4628 = new BitSet(new long[]{0x0000040010000000L});
+ public static final BitSet FOLLOW_28_in_ruleCrossReference4643 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleCrossReference4665 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_ruleCrossReference4680 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4715 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedElement4725 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_14_in_ruleParenthesizedElement4760 = new BitSet(new long[]{0x0000020800004030L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4782 = new BitSet(new long[]{0x0000000000010000L});
+ public static final BitSet FOLLOW_16_in_ruleParenthesizedElement4791 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4826 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4836 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_14_in_ruleParenthesizedTerminalElement4871 = new BitSet(new long[]{0x000000C000024030L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4893 = new BitSet(new long[]{0x0000000000010000L});
+ public static final BitSet FOLLOW_16_in_ruleParenthesizedTerminalElement4902 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_entryRuleKeyword4937 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleKeyword4947 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleKeyword4993 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_entryRuleRuleCall5035 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRuleCall5045 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRuleCall5091 = new BitSet(new long[]{0x0000000000000002L});
} \ No newline at end of file
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
index 02cb855..f5bd65a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
@@ -7,62 +7,61 @@ package org.eclipse.xtext.parser.antlr.internal;
import org.eclipse.xtext.parser.antlr.Lexer;
}
-T11 : 'abstract' ;
-T12 : 'grammar' ;
-T13 : 'extends' ;
-T14 : 'hidden' ;
-T15 : '(' ;
-T16 : ',' ;
-T17 : ')' ;
-T18 : '.' ;
-T19 : 'generate' ;
-T20 : 'as' ;
-T21 : 'import' ;
-T22 : 'native' ;
-T23 : 'lexer' ;
-T24 : 'returns' ;
-T25 : ':' ;
-T26 : ';' ;
-T27 : 'terminal' ;
-T28 : '::' ;
-T29 : '|' ;
-T30 : '?' ;
-T31 : '*' ;
-T32 : '+' ;
-T33 : '+=' ;
-T34 : '=' ;
-T35 : '?=' ;
-T36 : '{' ;
-T37 : 'current' ;
-T38 : '}' ;
-T39 : '!' ;
-T40 : '->' ;
-T41 : '..' ;
-T42 : '[' ;
-T43 : ']' ;
+T11 : 'grammar' ;
+T12 : 'extends' ;
+T13 : 'hidden' ;
+T14 : '(' ;
+T15 : ',' ;
+T16 : ')' ;
+T17 : '.' ;
+T18 : 'generate' ;
+T19 : 'as' ;
+T20 : 'import' ;
+T21 : 'native' ;
+T22 : 'lexer' ;
+T23 : 'returns' ;
+T24 : ':' ;
+T25 : ';' ;
+T26 : 'terminal' ;
+T27 : '::' ;
+T28 : '|' ;
+T29 : '?' ;
+T30 : '*' ;
+T31 : '+' ;
+T32 : '+=' ;
+T33 : '=' ;
+T34 : '?=' ;
+T35 : '{' ;
+T36 : 'current' ;
+T37 : '}' ;
+T38 : '!' ;
+T39 : '->' ;
+T40 : '..' ;
+T41 : '[' ;
+T42 : ']' ;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2340
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2319
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2342
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2321
RULE_INT : ('0'..'9')+;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2344
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2323
RULE_STRING :
'"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' |
'\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\''
;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2349
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2328
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/';
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2351
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2330
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')?;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2353
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2332
RULE_WS : (' '|'\t'|'\r'|'\n')+;
-// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2355
+// $ANTLR src "../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2334
RULE_ANY_OTHER : .;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeModule.java
index 79bd7b7..fb6c156 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractDatatypeRulesTestLanguageRuntimeModule extends Def
return org.eclipse.xtext.parser.datatyperules.parser.packrat.DatatypeRulesTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.parser.datatyperules.parseTreeConstruction.DatatypeRulesTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parser.datatyperules.parser.antlr.internal.InternalDatatypeRulesTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractDatatypeRulesTestLanguageRuntimeModule extends Def
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.parser.datatyperules.parseTreeConstruction.DatatypeRulesTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguage.xmi
index 530f265..67fd578 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguage.xmi
@@ -114,7 +114,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguageStandaloneSetup.java
index e64aa15..428eb5f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/DatatypeRulesTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.parser.datatyperules;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class DatatypeRulesTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class DatatypeRulesTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2008/tmf/xtext/DatatypeRulesTest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2008/tmf/xtext/DatatypeRulesTest", org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage.DatatypeRulesTestLanguagePackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("datatyperulestestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/AbstractEpatchTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/AbstractEpatchTestLanguageRuntimeModule.java
index bed34ee..0820d94 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/AbstractEpatchTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/AbstractEpatchTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractEpatchTestLanguageRuntimeModule extends DefaultRun
return org.eclipse.xtext.parser.epatch.parser.packrat.EpatchTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.parser.epatch.parseTreeConstruction.EpatchTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parser.epatch.parser.antlr.internal.InternalEpatchTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractEpatchTestLanguageRuntimeModule extends DefaultRun
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.parser.epatch.parseTreeConstruction.EpatchTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.xmi
index 17803c5..b148c71 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.xmi
@@ -771,7 +771,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguageStandaloneSetup.java
index c3d78da..d480ea2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.parser.epatch;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class EpatchTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class EpatchTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2008/tmf/xtext/EpatchTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2008/tmf/xtext/EpatchTestLanguage", org.eclipse.xtext.parser.epatch.epatchTestLanguage.EpatchTestLanguagePackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("epatchtestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/AbstractKeywordsTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/AbstractKeywordsTestLanguageRuntimeModule.java
index 1554c44..1cd817d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/AbstractKeywordsTestLanguageRuntimeModule.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/AbstractKeywordsTestLanguageRuntimeModule.java
@@ -30,6 +30,10 @@ public abstract class AbstractKeywordsTestLanguageRuntimeModule extends DefaultR
return org.eclipse.xtext.parser.keywords.parser.packrat.KeywordsTestLanguagePackratParser.class;
}
+ public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
+ return org.eclipse.xtext.parser.keywords.parseTreeConstruction.KeywordsTestLanguageParsetreeConstructor.class;
+ }
+
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parser.keywords.parser.antlr.internal.InternalKeywordsTestLanguageLexer.class;
}
@@ -49,8 +53,4 @@ public abstract class AbstractKeywordsTestLanguageRuntimeModule extends DefaultR
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
-
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.xtext.parser.keywords.parseTreeConstruction.KeywordsTestLanguageParsetreeConstructor.class;
- }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi
index 3510fd3..3b6fc70 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguage.xmi
@@ -28,7 +28,7 @@
</alternatives>
</rules>
</xtext:Grammar>
- <xtext:Grammar abstract="true" name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
+ <xtext:Grammar name="org.eclipse.xtext.builtin.XtextBuiltin" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
<metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
<ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
</metamodelDeclarations>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java
index 71becf0..a6e41f8 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageStandaloneSetup.java
@@ -1,6 +1,4 @@
-/*
-*/
package org.eclipse.xtext.parser.keywords;
import org.eclipse.emf.ecore.EPackage;
@@ -24,6 +22,7 @@ public class KeywordsTestLanguageStandaloneSetup implements ISetup {
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.builtin.XtextBuiltinStandaloneSetup.doSetup();
+
Injector injector = createInjector();
register(injector);
return injector;
@@ -37,13 +36,11 @@ public class KeywordsTestLanguageStandaloneSetup implements ISetup {
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/KeywordsTestLanguage")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/KeywordsTestLanguage", org.eclipse.xtext.parser.keywords.keywordsTestLanguage.KeywordsTestLanguagePackage.eINSTANCE);
}
-
+ //TODO registration of EValidators should be added here, too
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("keywordstestlanguage", resourceFactory);
- //TODO registration of EValidators should be added here, too
-
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
index 2550b30..28324a7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
@@ -13,19 +13,19 @@ public final class XtextGrammarTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- public static final ISequenceMatcher crossReference$28$Delimiter = new SetBasedKeywordMatcher(
- "abstract", "grammar", "extends", "hidden", "generate", "as", "import", "native", "lexer", "returns", "terminal", "current");
+ public static final ISequenceMatcher crossReference$25$Delimiter = new SetBasedKeywordMatcher(
+ "grammar", "extends", "hidden", "generate", "as", "import", "native", "lexer", "returns", "terminal", "current");
+
+ public static final ICharacterClass keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
// TODO: remove hardcoded character class from template
- public static final ICharacterClass keyword$11$Delimiter = ICharacterClass.Factory.join(
+ public static final ICharacterClass keyword$9$Delimiter = ICharacterClass.Factory.join(
ICharacterClass.Factory.createRange('a', 'z'),
ICharacterClass.Factory.createRange('A', 'Z'),
ICharacterClass.Factory.create('_'),
ICharacterClass.Factory.createRange('0', '9')
);
- public static final ICharacterClass keyword$25$Delimiter = ICharacterClass.Factory.nullClass();
-
- public static final ISequenceMatcher crossReference$68$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ public static final ISequenceMatcher crossReference$65$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
index fb76f9a..0ad3675 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
@@ -320,87 +320,86 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
getRuleCallConsumer().setIdConsumer(getIdConsumer());
- getGrammarConsumer().setCrossReference$25$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getGrammarConsumer().setCrossReference$30$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getGrammarConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGrammarConsumer().setKeyword$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGrammarConsumer().setKeyword$13$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGrammarConsumer().setKeyword$21$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGrammarConsumer().setKeyword$22$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getGrammarConsumer().setKeyword$28$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getGrammarConsumer().setKeyword$32$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getGrammarIdConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getGrammarIdConsumer().setRuleCall$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getGrammarIdConsumer().setRuleCall$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getGeneratedMetamodelConsumer().setCrossReference$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
- getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGeneratedMetamodelConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$13$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getReferencedMetamodelConsumer().setCrossReference$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
- getReferencedMetamodelConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getReferencedMetamodelConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getReferencedMetamodelConsumer().setRuleCall$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getLexerRuleConsumer().setKeyword$15$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getLexerRuleConsumer().setKeyword$18$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getLexerRuleConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getLexerRuleConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getLexerRuleConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getLexerRuleConsumer().setRuleCall$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
- getLexerRuleConsumer().setRuleCall$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getParserRuleConsumer().setCrossReference$20$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getParserRuleConsumer().setCrossReference$25$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getParserRuleConsumer().setKeyword$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getParserRuleConsumer().setKeyword$16$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getParserRuleConsumer().setKeyword$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParserRuleConsumer().setKeyword$23$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParserRuleConsumer().setKeyword$27$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParserRuleConsumer().setKeyword$28$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParserRuleConsumer().setKeyword$31$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParserRuleConsumer().setRuleCall$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getTerminalRuleConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getTerminalRuleConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getTerminalRuleConsumer().setKeyword$14$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalRuleConsumer().setKeyword$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalRuleConsumer().setRuleCall$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getTypeRefConsumer().setCrossReference$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getTypeRefConsumer().setCrossReference$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getTypeRefConsumer().setKeyword$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAlternativesConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalAlternativesConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAbstractTokenConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAbstractTokenConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAbstractTokenConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalTokenConsumer().setKeyword$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalTokenConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getTerminalTokenConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAssignmentConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAssignmentConsumer().setKeyword$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAssignmentConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getAssignmentConsumer().setRuleCall$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getActionConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getActionConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setKeyword$14$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setKeyword$19$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setKeyword$20$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setKeyword$21$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getActionConsumer().setKeyword$22$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getActionConsumer().setRuleCall$16$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getNegatedTokenConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getUpToTokenConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getWildcardConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getCharacterRangeConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getCrossReferenceConsumer().setCrossReference$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
- getCrossReferenceConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getCrossReferenceConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getCrossReferenceConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParenthesizedElementConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParenthesizedElementConsumer().setKeyword$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParenthesizedTerminalElementConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getParenthesizedTerminalElementConsumer().setKeyword$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
- getKeywordConsumer().setRuleCall$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
- getRuleCallConsumer().setCrossReference$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGrammarConsumer().setCrossReference$22$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getGrammarConsumer().setCrossReference$27$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getGrammarConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getGrammarConsumer().setKeyword$18$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getGrammarConsumer().setKeyword$19$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getGrammarConsumer().setKeyword$25$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getGrammarConsumer().setKeyword$29$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getGrammarConsumer().setKeyword$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getGrammarIdConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getGrammarIdConsumer().setRuleCall$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getGrammarIdConsumer().setRuleCall$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getGeneratedMetamodelConsumer().setCrossReference$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$65$Delimiter);
+ getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getGeneratedMetamodelConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$13$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getReferencedMetamodelConsumer().setCrossReference$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$65$Delimiter);
+ getReferencedMetamodelConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getReferencedMetamodelConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getReferencedMetamodelConsumer().setRuleCall$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getLexerRuleConsumer().setKeyword$18$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getLexerRuleConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getLexerRuleConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getLexerRuleConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getLexerRuleConsumer().setKeyword$15$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getLexerRuleConsumer().setRuleCall$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$65$Delimiter);
+ getLexerRuleConsumer().setRuleCall$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getParserRuleConsumer().setCrossReference$20$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getParserRuleConsumer().setCrossReference$25$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getParserRuleConsumer().setKeyword$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getParserRuleConsumer().setKeyword$16$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getParserRuleConsumer().setKeyword$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParserRuleConsumer().setKeyword$23$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParserRuleConsumer().setKeyword$27$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParserRuleConsumer().setKeyword$28$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParserRuleConsumer().setKeyword$31$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParserRuleConsumer().setRuleCall$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getTerminalRuleConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getTerminalRuleConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getTerminalRuleConsumer().setKeyword$14$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalRuleConsumer().setKeyword$17$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalRuleConsumer().setRuleCall$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getTypeRefConsumer().setCrossReference$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getTypeRefConsumer().setCrossReference$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getTypeRefConsumer().setKeyword$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAlternativesConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalAlternativesConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAbstractTokenConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAbstractTokenConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAbstractTokenConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalTokenConsumer().setKeyword$6$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalTokenConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getTerminalTokenConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAssignmentConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAssignmentConsumer().setKeyword$9$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAssignmentConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getAssignmentConsumer().setRuleCall$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getActionConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setKeyword$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getActionConsumer().setKeyword$11$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setKeyword$14$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setKeyword$19$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setKeyword$20$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setKeyword$21$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$9$Delimiter);
+ getActionConsumer().setKeyword$22$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getActionConsumer().setRuleCall$16$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getNegatedTokenConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getUpToTokenConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getWildcardConsumer().setKeyword$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getCharacterRangeConsumer().setKeyword$7$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getCrossReferenceConsumer().setCrossReference$10$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
+ getCrossReferenceConsumer().setKeyword$4$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getCrossReferenceConsumer().setKeyword$8$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getCrossReferenceConsumer().setKeyword$12$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParenthesizedElementConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParenthesizedElementConsumer().setKeyword$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParenthesizedTerminalElementConsumer().setKeyword$3$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getParenthesizedTerminalElementConsumer().setKeyword$5$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.keyword$22$Delimiter);
+ getKeywordConsumer().setRuleCall$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$65$Delimiter);
+ getRuleCallConsumer().setCrossReference$2$Delimiter(org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguageDelimiters.crossReference$25$Delimiter);
}
// TODO collect superGrammars transitive
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
index 3332823..30cb00b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
@@ -36,73 +36,67 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
private IElementConsumer group$1$Consumer;
- private IElementConsumer assignment$7$Consumer;
-
- private IElementConsumer keyword$8$Consumer;
-
- private IElementConsumer keyword$9$Consumer;
-
- private IElementConsumer assignment$10$Consumer;
+ private IElementConsumer keyword$6$Consumer;
- private IElementConsumer ruleCall$11$Consumer;
+ private IElementConsumer assignment$7$Consumer;
- private IElementConsumer group$12$Consumer;
+ private IElementConsumer ruleCall$8$Consumer;
- private IElementConsumer keyword$13$Consumer;
+ private IElementConsumer group$9$Consumer;
- private IElementConsumer assignment$14$Consumer;
+ private IElementConsumer keyword$10$Consumer;
- private IElementConsumer crossReference$15$Consumer;
+ private IElementConsumer assignment$11$Consumer;
- private IElementConsumer group$17$Consumer;
+ private IElementConsumer crossReference$12$Consumer;
- private IElementConsumer assignment$20$Consumer;
+ private IElementConsumer group$14$Consumer;
- private IElementConsumer keyword$21$Consumer;
+ private IElementConsumer assignment$17$Consumer;
- private IElementConsumer keyword$22$Consumer;
+ private IElementConsumer keyword$18$Consumer;
- private IElementConsumer group$23$Consumer;
+ private IElementConsumer keyword$19$Consumer;
- private IElementConsumer assignment$24$Consumer;
+ private IElementConsumer group$20$Consumer;
- private IElementConsumer crossReference$25$Consumer;
+ private IElementConsumer assignment$21$Consumer;
- private IElementConsumer group$27$Consumer;
+ private IElementConsumer crossReference$22$Consumer;
- private IElementConsumer keyword$28$Consumer;
+ private IElementConsumer group$24$Consumer;
- private IElementConsumer assignment$29$Consumer;
+ private IElementConsumer keyword$25$Consumer;
- private IElementConsumer crossReference$30$Consumer;
+ private IElementConsumer assignment$26$Consumer;
- private IElementConsumer keyword$32$Consumer;
+ private IElementConsumer crossReference$27$Consumer;
- private IElementConsumer assignment$33$Consumer;
+ private IElementConsumer keyword$29$Consumer;
- private IElementConsumer ruleCall$34$Consumer;
+ private IElementConsumer assignment$30$Consumer;
- private IElementConsumer assignment$35$Consumer;
+ private IElementConsumer ruleCall$31$Consumer;
- private IElementConsumer ruleCall$36$Consumer;
+ private IElementConsumer assignment$32$Consumer;
- private ISequenceMatcher crossReference$25$Delimiter;
+ private IElementConsumer ruleCall$33$Consumer;
- private ISequenceMatcher crossReference$30$Delimiter;
+ private ISequenceMatcher crossReference$22$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
+ private ISequenceMatcher crossReference$27$Delimiter;
- private ICharacterClass keyword$9$Delimiter;
+ private ICharacterClass keyword$10$Delimiter;
- private ICharacterClass keyword$13$Delimiter;
+ private ICharacterClass keyword$18$Delimiter;
- private ICharacterClass keyword$21$Delimiter;
+ private ICharacterClass keyword$19$Delimiter;
- private ICharacterClass keyword$22$Delimiter;
+ private ICharacterClass keyword$25$Delimiter;
- private ICharacterClass keyword$28$Delimiter;
+ private ICharacterClass keyword$29$Delimiter;
- private ICharacterClass keyword$32$Delimiter;
+ private ICharacterClass keyword$6$Delimiter;
protected class Group$1$Consumer extends GroupConsumer {
@@ -112,67 +106,42 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
@Override
protected void doGetConsumers(ConsumerAcceptor acceptor) {
+ acceptor.accept(keyword$6$Consumer);
acceptor.accept(assignment$7$Consumer);
- acceptor.accept(keyword$9$Consumer);
- acceptor.accept(assignment$10$Consumer);
- acceptor.accept(group$12$Consumer);
- acceptor.accept(group$17$Consumer);
- acceptor.accept(assignment$33$Consumer);
- acceptor.accept(assignment$35$Consumer);
- }
- }
-
- protected class Assignment$7$Consumer extends OptionalAssignmentConsumer {
-
- protected Assignment$7$Consumer(final Assignment assignment) {
- super(assignment);
- }
-
- @Override
- protected IElementConsumer getConsumer() {
- return keyword$8$Consumer;
+ acceptor.accept(group$9$Consumer);
+ acceptor.accept(group$14$Consumer);
+ acceptor.accept(assignment$30$Consumer);
+ acceptor.accept(assignment$32$Consumer);
}
}
- protected class Keyword$8$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$6$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$8$Consumer(final Keyword keyword) {
+ protected Keyword$6$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), "abstract", false, true, getKeyword$8$Delimiter(), optional);
+ return consumeKeyword(getElement(), null, false, false, getKeyword$6$Delimiter(), optional);
}
}
- protected class Keyword$9$Consumer extends ElementConsumer<Keyword> {
+ protected class Assignment$7$Consumer extends AssignmentConsumer {
- protected Keyword$9$Consumer(final Keyword keyword) {
- super(keyword);
- }
-
- @Override
- protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), null, false, false, getKeyword$9$Delimiter(), optional);
- }
- }
-
- protected class Assignment$10$Consumer extends AssignmentConsumer {
-
- protected Assignment$10$Consumer(final Assignment assignment) {
+ protected Assignment$7$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return ruleCall$11$Consumer;
+ return ruleCall$8$Consumer;
}
}
- protected class RuleCall$11$Consumer extends ElementConsumer<RuleCall> {
+ protected class RuleCall$8$Consumer extends ElementConsumer<RuleCall> {
- protected RuleCall$11$Consumer(final RuleCall ruleCall) {
+ protected RuleCall$8$Consumer(final RuleCall ruleCall) {
super(ruleCall);
}
@@ -182,46 +151,46 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
}
- protected class Group$12$Consumer extends OptionalGroupConsumer {
+ protected class Group$9$Consumer extends OptionalGroupConsumer {
- protected Group$12$Consumer(final Group group) {
+ protected Group$9$Consumer(final Group group) {
super(group);
}
@Override
protected void doGetConsumers(ConsumerAcceptor acceptor) {
- acceptor.accept(keyword$13$Consumer);
- acceptor.accept(assignment$14$Consumer);
+ acceptor.accept(keyword$10$Consumer);
+ acceptor.accept(assignment$11$Consumer);
}
}
- protected class Keyword$13$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$10$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$13$Consumer(final Keyword keyword) {
+ protected Keyword$10$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), null, false, false, getKeyword$13$Delimiter(), optional);
+ return consumeKeyword(getElement(), null, false, false, getKeyword$10$Delimiter(), optional);
}
}
- protected class Assignment$14$Consumer extends AssignmentConsumer {
+ protected class Assignment$11$Consumer extends AssignmentConsumer {
- protected Assignment$14$Consumer(final Assignment assignment) {
+ protected Assignment$11$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return crossReference$15$Consumer;
+ return crossReference$12$Consumer;
}
}
- protected class CrossReference$15$Consumer extends ElementConsumer<CrossReference> {
+ protected class CrossReference$12$Consumer extends ElementConsumer<CrossReference> {
- protected CrossReference$15$Consumer(final CrossReference crossReference) {
+ protected CrossReference$12$Consumer(final CrossReference crossReference) {
super(crossReference);
}
@@ -231,170 +200,170 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
}
- protected class Group$17$Consumer extends OptionalGroupConsumer {
+ protected class Group$14$Consumer extends OptionalGroupConsumer {
- protected Group$17$Consumer(final Group group) {
+ protected Group$14$Consumer(final Group group) {
super(group);
}
@Override
protected void doGetConsumers(ConsumerAcceptor acceptor) {
- acceptor.accept(assignment$20$Consumer);
- acceptor.accept(keyword$22$Consumer);
- acceptor.accept(group$23$Consumer);
- acceptor.accept(keyword$32$Consumer);
+ acceptor.accept(assignment$17$Consumer);
+ acceptor.accept(keyword$19$Consumer);
+ acceptor.accept(group$20$Consumer);
+ acceptor.accept(keyword$29$Consumer);
}
}
- protected class Assignment$20$Consumer extends AssignmentConsumer {
+ protected class Assignment$17$Consumer extends AssignmentConsumer {
- protected Assignment$20$Consumer(final Assignment assignment) {
+ protected Assignment$17$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return keyword$21$Consumer;
+ return keyword$18$Consumer;
}
}
- protected class Keyword$21$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$18$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$21$Consumer(final Keyword keyword) {
+ protected Keyword$18$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), "definesHiddenTokens", false, true, getKeyword$21$Delimiter(), optional);
+ return consumeKeyword(getElement(), "definesHiddenTokens", false, true, getKeyword$18$Delimiter(), optional);
}
}
- protected class Keyword$22$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$19$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$22$Consumer(final Keyword keyword) {
+ protected Keyword$19$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), null, false, false, getKeyword$22$Delimiter(), optional);
+ return consumeKeyword(getElement(), null, false, false, getKeyword$19$Delimiter(), optional);
}
}
- protected class Group$23$Consumer extends OptionalGroupConsumer {
+ protected class Group$20$Consumer extends OptionalGroupConsumer {
- protected Group$23$Consumer(final Group group) {
+ protected Group$20$Consumer(final Group group) {
super(group);
}
@Override
protected void doGetConsumers(ConsumerAcceptor acceptor) {
- acceptor.accept(assignment$24$Consumer);
- acceptor.accept(group$27$Consumer);
+ acceptor.accept(assignment$21$Consumer);
+ acceptor.accept(group$24$Consumer);
}
}
- protected class Assignment$24$Consumer extends AssignmentConsumer {
+ protected class Assignment$21$Consumer extends AssignmentConsumer {
- protected Assignment$24$Consumer(final Assignment assignment) {
+ protected Assignment$21$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return crossReference$25$Consumer;
+ return crossReference$22$Consumer;
}
}
- protected class CrossReference$25$Consumer extends ElementConsumer<CrossReference> {
+ protected class CrossReference$22$Consumer extends ElementConsumer<CrossReference> {
- protected CrossReference$25$Consumer(final CrossReference crossReference) {
+ protected CrossReference$22$Consumer(final CrossReference crossReference) {
super(crossReference);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeTerminal(idConsumer, "hiddenTokens", true, false, getElement(), getCrossReference$25$Delimiter(), optional);
+ return consumeTerminal(idConsumer, "hiddenTokens", true, false, getElement(), getCrossReference$22$Delimiter(), optional);
}
}
- protected class Group$27$Consumer extends LoopGroupConsumer {
+ protected class Group$24$Consumer extends LoopGroupConsumer {
- protected Group$27$Consumer(final Group group) {
+ protected Group$24$Consumer(final Group group) {
super(group);
}
@Override
protected void doGetConsumers(ConsumerAcceptor acceptor) {
- acceptor.accept(keyword$28$Consumer);
- acceptor.accept(assignment$29$Consumer);
+ acceptor.accept(keyword$25$Consumer);
+ acceptor.accept(assignment$26$Consumer);
}
}
- protected class Keyword$28$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$25$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$28$Consumer(final Keyword keyword) {
+ protected Keyword$25$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), null, false, false, getKeyword$28$Delimiter(), optional);
+ return consumeKeyword(getElement(), null, false, false, getKeyword$25$Delimiter(), optional);
}
}
- protected class Assignment$29$Consumer extends AssignmentConsumer {
+ protected class Assignment$26$Consumer extends AssignmentConsumer {
- protected Assignment$29$Consumer(final Assignment assignment) {
+ protected Assignment$26$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return crossReference$30$Consumer;
+ return crossReference$27$Consumer;
}
}
- protected class CrossReference$30$Consumer extends ElementConsumer<CrossReference> {
+ protected class CrossReference$27$Consumer extends ElementConsumer<CrossReference> {
- protected CrossReference$30$Consumer(final CrossReference crossReference) {
+ protected CrossReference$27$Consumer(final CrossReference crossReference) {
super(crossReference);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeTerminal(idConsumer, "hiddenTokens", true, false, getElement(), getCrossReference$30$Delimiter(), optional);
+ return consumeTerminal(idConsumer, "hiddenTokens", true, false, getElement(), getCrossReference$27$Delimiter(), optional);
}
}
- protected class Keyword$32$Consumer extends ElementConsumer<Keyword> {
+ protected class Keyword$29$Consumer extends ElementConsumer<Keyword> {
- protected Keyword$32$Consumer(final Keyword keyword) {
+ protected Keyword$29$Consumer(final Keyword keyword) {
super(keyword);
}
@Override
protected int doConsume(boolean optional) throws Exception {
- return consumeKeyword(getElement(), null, false, false, getKeyword$32$Delimiter(), optional);
+ return consumeKeyword(getElement(), null, false, false, getKeyword$29$Delimiter(), optional);
}
}
- protected class Assignment$33$Consumer extends LoopAssignmentConsumer {
+ protected class Assignment$30$Consumer extends LoopAssignmentConsumer {
- protected Assignment$33$Consumer(final Assignment assignment) {
+ protected Assignment$30$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return ruleCall$34$Consumer;
+ return ruleCall$31$Consumer;
}
}
- protected class RuleCall$34$Consumer extends ElementConsumer<RuleCall> {
+ protected class RuleCall$31$Consumer extends ElementConsumer<RuleCall> {
- protected RuleCall$34$Consumer(final RuleCall ruleCall) {
+ protected RuleCall$31$Consumer(final RuleCall ruleCall) {
super(ruleCall);
}
@@ -404,21 +373,21 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
}
- protected class Assignment$35$Consumer extends MandatoryLoopAssignmentConsumer {
+ protected class Assignment$32$Consumer extends MandatoryLoopAssignmentConsumer {
- protected Assignment$35$Consumer(final Assignment assignment) {
+ protected Assignment$32$Consumer(final Assignment assignment) {
super(assignment);
}
@Override
protected IElementConsumer getConsumer() {
- return ruleCall$36$Consumer;
+ return ruleCall$33$Consumer;
}
}
- protected class RuleCall$36$Consumer extends ElementConsumer<RuleCall> {
+ protected class RuleCall$33$Consumer extends ElementConsumer<RuleCall> {
- protected RuleCall$36$Consumer(final RuleCall ruleCall) {
+ protected RuleCall$33$Consumer(final RuleCall ruleCall) {
super(ruleCall);
}
@@ -430,15 +399,14 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
public XtextGrammarTestLanguageGrammarConsumer(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
super(configuration, hiddenTokens);
- crossReference$25$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- crossReference$30$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$21$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$28$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$32$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$22$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ crossReference$27$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$25$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$29$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
}
@Override
@@ -454,31 +422,29 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
this.rule = rule;
group$1$Consumer = new Group$1$Consumer(rule.eleGroup());
- assignment$7$Consumer = new Assignment$7$Consumer(rule.ele000000AssignmentAbstract());
- keyword$8$Consumer = new Keyword$8$Consumer(rule.ele0000000KeywordAbstract());
- keyword$9$Consumer = new Keyword$9$Consumer(rule.ele000001KeywordGrammar());
- assignment$10$Consumer = new Assignment$10$Consumer(rule.ele00001AssignmentName());
- ruleCall$11$Consumer = new RuleCall$11$Consumer(rule.ele000010ParserRuleCallGrammarID());
- group$12$Consumer = new Group$12$Consumer(rule.ele0001Group());
- keyword$13$Consumer = new Keyword$13$Consumer(rule.ele00010KeywordExtends());
- assignment$14$Consumer = new Assignment$14$Consumer(rule.ele00011AssignmentSuperGrammar());
- crossReference$15$Consumer = new CrossReference$15$Consumer(rule.ele000110CrossReferenceEStringGrammar());
- group$17$Consumer = new Group$17$Consumer(rule.ele001Group());
- assignment$20$Consumer = new Assignment$20$Consumer(rule.ele001000AssignmentDefinesHiddenTokens());
- keyword$21$Consumer = new Keyword$21$Consumer(rule.ele0010000KeywordHidden());
- keyword$22$Consumer = new Keyword$22$Consumer(rule.ele001001KeywordLeftParenthesis());
- group$23$Consumer = new Group$23$Consumer(rule.ele00101Group());
- assignment$24$Consumer = new Assignment$24$Consumer(rule.ele001010AssignmentHiddenTokens());
- crossReference$25$Consumer = new CrossReference$25$Consumer(rule.ele0010100CrossReferenceEStringAbstractRule());
- group$27$Consumer = new Group$27$Consumer(rule.ele001011Group());
- keyword$28$Consumer = new Keyword$28$Consumer(rule.ele0010110KeywordComma());
- assignment$29$Consumer = new Assignment$29$Consumer(rule.ele0010111AssignmentHiddenTokens());
- crossReference$30$Consumer = new CrossReference$30$Consumer(rule.ele00101110CrossReferenceEStringAbstractRule());
- keyword$32$Consumer = new Keyword$32$Consumer(rule.ele0011KeywordRightParenthesis());
- assignment$33$Consumer = new Assignment$33$Consumer(rule.ele01AssignmentMetamodelDeclarations());
- ruleCall$34$Consumer = new RuleCall$34$Consumer(rule.ele010ParserRuleCallAbstractMetamodelDeclaration());
- assignment$35$Consumer = new Assignment$35$Consumer(rule.ele1AssignmentRules());
- ruleCall$36$Consumer = new RuleCall$36$Consumer(rule.ele10ParserRuleCallAbstractRule());
+ keyword$6$Consumer = new Keyword$6$Consumer(rule.ele00000KeywordGrammar());
+ assignment$7$Consumer = new Assignment$7$Consumer(rule.ele00001AssignmentName());
+ ruleCall$8$Consumer = new RuleCall$8$Consumer(rule.ele000010ParserRuleCallGrammarID());
+ group$9$Consumer = new Group$9$Consumer(rule.ele0001Group());
+ keyword$10$Consumer = new Keyword$10$Consumer(rule.ele00010KeywordExtends());
+ assignment$11$Consumer = new Assignment$11$Consumer(rule.ele00011AssignmentSuperGrammar());
+ crossReference$12$Consumer = new CrossReference$12$Consumer(rule.ele000110CrossReferenceEStringGrammar());
+ group$14$Consumer = new Group$14$Consumer(rule.ele001Group());
+ assignment$17$Consumer = new Assignment$17$Consumer(rule.ele001000AssignmentDefinesHiddenTokens());
+ keyword$18$Consumer = new Keyword$18$Consumer(rule.ele0010000KeywordHidden());
+ keyword$19$Consumer = new Keyword$19$Consumer(rule.ele001001KeywordLeftParenthesis());
+ group$20$Consumer = new Group$20$Consumer(rule.ele00101Group());
+ assignment$21$Consumer = new Assignment$21$Consumer(rule.ele001010AssignmentHiddenTokens());
+ crossReference$22$Consumer = new CrossReference$22$Consumer(rule.ele0010100CrossReferenceEStringAbstractRule());
+ group$24$Consumer = new Group$24$Consumer(rule.ele001011Group());
+ keyword$25$Consumer = new Keyword$25$Consumer(rule.ele0010110KeywordComma());
+ assignment$26$Consumer = new Assignment$26$Consumer(rule.ele0010111AssignmentHiddenTokens());
+ crossReference$27$Consumer = new CrossReference$27$Consumer(rule.ele00101110CrossReferenceEStringAbstractRule());
+ keyword$29$Consumer = new Keyword$29$Consumer(rule.ele0011KeywordRightParenthesis());
+ assignment$30$Consumer = new Assignment$30$Consumer(rule.ele01AssignmentMetamodelDeclarations());
+ ruleCall$31$Consumer = new RuleCall$31$Consumer(rule.ele010ParserRuleCallAbstractMetamodelDeclaration());
+ assignment$32$Consumer = new Assignment$32$Consumer(rule.ele1AssignmentRules());
+ ruleCall$33$Consumer = new RuleCall$33$Consumer(rule.ele10ParserRuleCallAbstractRule());
}
@Override
@@ -507,76 +473,68 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
this.idConsumer = idConsumer;
}
- public ISequenceMatcher getCrossReference$25$Delimiter() {
- return crossReference$25$Delimiter;
- }
-
- public void setCrossReference$25$Delimiter(ISequenceMatcher matcher) {
- crossReference$25$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ISequenceMatcher getCrossReference$30$Delimiter() {
- return crossReference$30$Delimiter;
+ public ISequenceMatcher getCrossReference$22$Delimiter() {
+ return crossReference$22$Delimiter;
}
- public void setCrossReference$30$Delimiter(ISequenceMatcher matcher) {
- crossReference$30$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setCrossReference$22$Delimiter(ISequenceMatcher matcher) {
+ crossReference$22$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
+ public ISequenceMatcher getCrossReference$27$Delimiter() {
+ return crossReference$27$Delimiter;
}
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$27$Delimiter(ISequenceMatcher matcher) {
+ crossReference$27$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$9$Delimiter() {
- return keyword$9$Delimiter;
+ public ICharacterClass getKeyword$10$Delimiter() {
+ return keyword$10$Delimiter;
}
- public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
- keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
+ keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$13$Delimiter() {
- return keyword$13$Delimiter;
+ public ICharacterClass getKeyword$18$Delimiter() {
+ return keyword$18$Delimiter;
}
- public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
- keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$18$Delimiter(ICharacterClass characterClass) {
+ keyword$18$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$21$Delimiter() {
- return keyword$21$Delimiter;
+ public ICharacterClass getKeyword$19$Delimiter() {
+ return keyword$19$Delimiter;
}
- public void setKeyword$21$Delimiter(ICharacterClass characterClass) {
- keyword$21$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$19$Delimiter(ICharacterClass characterClass) {
+ keyword$19$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$22$Delimiter() {
- return keyword$22$Delimiter;
+ public ICharacterClass getKeyword$25$Delimiter() {
+ return keyword$25$Delimiter;
}
- public void setKeyword$22$Delimiter(ICharacterClass characterClass) {
- keyword$22$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$25$Delimiter(ICharacterClass characterClass) {
+ keyword$25$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$28$Delimiter() {
- return keyword$28$Delimiter;
+ public ICharacterClass getKeyword$29$Delimiter() {
+ return keyword$29$Delimiter;
}
- public void setKeyword$28$Delimiter(ICharacterClass characterClass) {
- keyword$28$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$29$Delimiter(ICharacterClass characterClass) {
+ keyword$29$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$32$Delimiter() {
- return keyword$32$Delimiter;
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
}
- public void setKeyword$32$Delimiter(ICharacterClass characterClass) {
- keyword$32$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
index 14be1cd..7f1aae4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
@@ -60,8 +60,6 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
private IElementConsumer keyword$18$Consumer;
- private ICharacterClass keyword$15$Delimiter;
-
private ICharacterClass keyword$18$Delimiter;
private ICharacterClass keyword$7$Delimiter;
@@ -70,6 +68,8 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
private ICharacterClass keyword$12$Delimiter;
+ private ICharacterClass keyword$15$Delimiter;
+
private ISequenceMatcher ruleCall$17$Delimiter;
private ISequenceMatcher ruleCall$10$Delimiter;
@@ -251,11 +251,11 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
public XtextGrammarTestLanguageLexerRuleConsumer(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
super(configuration, hiddenTokens);
- keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -310,14 +310,6 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
this.typeRefConsumer = typeRefConsumer;
}
- public ICharacterClass getKeyword$15$Delimiter() {
- return keyword$15$Delimiter;
- }
-
- public void setKeyword$15$Delimiter(ICharacterClass characterClass) {
- keyword$15$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$18$Delimiter() {
return keyword$18$Delimiter;
}
@@ -350,6 +342,14 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$15$Delimiter() {
+ return keyword$15$Delimiter;
+ }
+
+ public void setKeyword$15$Delimiter(ICharacterClass characterClass) {
+ keyword$15$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ISequenceMatcher getRuleCall$17$Delimiter() {
return ruleCall$17$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/AbstractHiddenTerminalsTestLanguageRuntimeModule.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/AbstractHiddenTerminalsTestLan