aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-01-13 04:20:12 (EST)
committersefftinge2009-01-13 04:20:12 (EST)
commit5cd94f53aeb55c3b3eda76591d43066aa00bb03c (patch)
treef8703ac63918c618b1e2f64423ef43a741d81c6d
parent32a0e7f2ce427473714405cb46dc2e1bd7e9ddac (diff)
downloadorg.eclipse.xtext-5cd94f53aeb55c3b3eda76591d43066aa00bb03c.zip
org.eclipse.xtext-5cd94f53aeb55c3b3eda76591d43066aa00bb03c.tar.gz
org.eclipse.xtext-5cd94f53aeb55c3b3eda76591d43066aa00bb03c.tar.bz2
PackratParserGen - first draft
* several refactorings to make parser more pluggable - remove some dependencies to antlr runtime
-rw-r--r--devtools/org.eclipse.xtext.reference/META-INF/MANIFEST.MF6
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeConfig.java13
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/ReferenceGrammar.xmi4
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarAntlrTokenFileProvider.java (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarAntlrTokenFileProvider.java)4
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarParser.java (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarParser.java)8
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g)14
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens)0
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarLexer.java (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarLexer.java)192
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarParser.java (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarParser.java)354
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar__.g (renamed from devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar__.g)16
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarPackratParser.java22
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarParserConfiguration.java206
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarCustomTypeParserRuleConsumer.java79
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarErwachsenerConsumer.java140
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFamilieConsumer.java222
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFarbeConsumer.java61
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarKindConsumer.java140
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarPersonConsumer.java75
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielplatzConsumer.java241
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielzeugConsumer.java140
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java8
-rw-r--r--devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/services/ReferenceGrammarGrammarAccess.java16
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/META-INF/MANIFEST.MF1
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeConfig.java13
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/FowlerDsl.xmi3
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslAntlrTokenFileProvider.java (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslAntlrTokenFileProvider.java)4
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslParser.java (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslParser.java)8
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g)14
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens)0
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslLexer.java (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslLexer.java)150
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslParser.java (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslParser.java)212
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl__.g (renamed from examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl__.g)16
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslPackratParser.java22
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslParserConfiguration.java164
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslCommandConsumer.java83
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslEventConsumer.java101
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStateConsumer.java189
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStatemachineConsumer.java175
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslTransitionConsumer.java100
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java6
-rw-r--r--examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/services/FowlerDslGrammarAccess.java12
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/service/utils/XtextServiceFactory.java7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/META-INF/MANIFEST.MF6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageLexer.java)114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageParser.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage__.g35
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageLexer.java)114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageParser.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage__.g35
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage__.g35
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage__.g35
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguageParserConfiguration.java138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageParserConfiguration.java138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageImportConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageMainConsumer.java82
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageTypeConsumer.java117
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageImportConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageMainConsumer.java82
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageTypeConsumer.java117
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/ImportUriTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/LangATestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/services/ImportUriTestLanguageGrammarAccess.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/services/LangATestLanguageGrammarAccess.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/AbstractDummyTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/DummyTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/DummyTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/DummyTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/DummyTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/internal/InternalDummyTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/internal/InternalDummyTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/internal/InternalDummyTestLanguageLexer.java)114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/internal/InternalDummyTestLanguageParser.java)72
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/internal/InternalDummyTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java126
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractAbstractTestLanguageRuntimeConfig.java5
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractConcreteTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/ConcreteTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/ConcreteTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/ConcreteTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/ConcreteTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/internal/InternalConcreteTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/internal/InternalConcreteTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/internal/InternalConcreteTestLanguageLexer.java)120
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/internal/InternalConcreteTestLanguageParser.java)68
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/internal/InternalConcreteTestLanguage__.g)18
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/AbstractTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/AbstractTestLanguageParserConfiguration.java124
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java129
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/AbstractTestLanguageInheritedParserRuleConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java120
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMetamodelRefTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/AbstractMultiGenMMTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/MetamodelRefTestLanguage.xmi1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/MetamodelRefTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/MetamodelRefTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/MetamodelRefTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/MetamodelRefTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/MultiGenMMTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/MultiGenMMTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/MultiGenMMTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/MultiGenMMTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMetamodelRefTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMetamodelRefTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMetamodelRefTestLanguageLexer.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMetamodelRefTestLanguageParser.java)60
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMetamodelRefTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMultiGenMMTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMultiGenMMTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMultiGenMMTestLanguageLexer.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMultiGenMMTestLanguageParser.java)56
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/internal/InternalMultiGenMMTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/MetamodelRefTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/MetamodelRefTestLanguageParserConfiguration.java138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/MultiGenMMTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/MultiGenMMTestLanguageParserConfiguration.java126
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/consumers/MetamodelRefTestLanguageFooConsumer.java86
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/consumers/MetamodelRefTestLanguageMyRuleConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/consumers/MetamodelRefTestLanguageNameRefConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/consumers/MultiGenMMTestLanguageFooConsumer.java86
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/packrat/consumers/MultiGenMMTestLanguageNameRefConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MetamodelRefTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/services/MetamodelRefTestLanguageGrammarAccess.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/XtextGrammarTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/XtextGrammarTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/XtextGrammarTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/XtextGrammarTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/internal/InternalXtextGrammarTestLanguage.g)26
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/internal/InternalXtextGrammarTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/internal/InternalXtextGrammarTestLanguageLexer.java)260
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/internal/InternalXtextGrammarTestLanguageParser.java)710
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/internal/InternalXtextGrammarTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/AbstractDatatypeRulesTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/DatatypeRulesTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/DatatypeRulesTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/DatatypeRulesTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/DatatypeRulesTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/internal/InternalDatatypeRulesTestLanguage.g)24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/internal/InternalDatatypeRulesTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/internal/InternalDatatypeRulesTestLanguageLexer.java)150
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/internal/InternalDatatypeRulesTestLanguageParser.java)234
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/internal/InternalDatatypeRulesTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java186
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageCompositeModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageDotsConsumer.java80
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java90
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java205
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageNestedModelIdConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java109
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java335
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractMetamodelDeclarationConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractRuleConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTerminalConsumer.java109
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java115
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java212
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAlternativesConsumer.java108
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java142
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java252
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGroupConsumer.java91
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageKeywordConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java194
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParenthesizedElementConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java165
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java121
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageRuleCallConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java98
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/AbstractFormatterTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/FormatterTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/FormatterTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/FormatterTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/FormatterTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/internal/InternalFormatterTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/internal/InternalFormatterTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/internal/InternalFormatterTestLanguageLexer.java)132
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/internal/InternalFormatterTestLanguageParser.java)124
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/internal/InternalFormatterTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java151
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageLineConsumer.java100
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageRootConsumer.java93
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java130
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestLinewrapConsumer.java76
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/AbstractComplexReconstrTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/AbstractSimpleReconstrTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/ComplexReconstrTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/ComplexReconstrTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/ComplexReconstrTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/ComplexReconstrTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/SimpleReconstrTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/SimpleReconstrTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/SimpleReconstrTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/SimpleReconstrTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalComplexReconstrTestLanguage.g)26
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalComplexReconstrTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalComplexReconstrTestLanguageLexer.java)152
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalComplexReconstrTestLanguageParser.java)260
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalComplexReconstrTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalSimpleReconstrTestLanguage.g)20
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalSimpleReconstrTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalSimpleReconstrTestLanguageLexer.java)170
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalSimpleReconstrTestLanguageParser.java)322
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/internal/InternalSimpleReconstrTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java292
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java215
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageAtomConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageOpConsumer.java154
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java110
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageRootConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTermConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyA1Consumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java180
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java122
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java166
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java189
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java188
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java139
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyG1Consumer.java130
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyG2Consumer.java78
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyGConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageAtomConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java97
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageOpConsumer.java91
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java110
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java83
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java115
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java160
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java119
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java117
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/AbstractTransientValuesTestRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/TransientValuesTestAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/TransientValuesTestAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/TransientValuesTestParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/TransientValuesTestParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/internal/InternalTransientValuesTest.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/internal/InternalTransientValuesTest.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/internal/InternalTransientValuesTestLexer.java)126
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/internal/InternalTransientValuesTestParser.java)124
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/internal/InternalTransientValuesTest__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestPackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java151
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestRootConsumer.java110
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestListConsumer.java76
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java112
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java100
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/AbstractMultiValueFeatureTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/MultiValueFeatureTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/MultiValueFeatureTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/MultiValueFeatureTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/MultiValueFeatureTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/internal/InternalMultiValueFeatureTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/internal/InternalMultiValueFeatureTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/internal/InternalMultiValueFeatureTestLanguageLexer.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/internal/InternalMultiValueFeatureTestLanguageParser.java)32
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/internal/InternalMultiValueFeatureTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/packrat/MultiValueFeatureTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/packrat/MultiValueFeatureTestLanguageParserConfiguration.java113
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/packrat/consumers/MultiValueFeatureTestLanguageStartConsumer.java61
-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/AbstractActionTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractContentAssistTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractFowlerDslTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractLexerTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractLookaheadTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractOptionalEmptyTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractPartialParserTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractReferenceGrammarTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractSimpleExpressionsTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/AbstractTreeTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ContentAssistTestLanguage.xmi1
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/FowlerDslTestLanguage.xmi3
-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/ReferenceGrammarTestLanguage.xmi4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ActionTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ActionTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ActionTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ActionTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ContentAssistTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ContentAssistTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ContentAssistTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ContentAssistTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/FowlerDslTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/FowlerDslTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/FowlerDslTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/FowlerDslTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/LexerTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/LexerTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/LexerTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/LexerTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/LookaheadTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/LookaheadTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/LookaheadTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/LookaheadTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/OptionalEmptyTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/OptionalEmptyTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/OptionalEmptyTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/OptionalEmptyTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/PartialParserTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/PartialParserTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/PartialParserTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/PartialParserTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ReferenceGrammarTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ReferenceGrammarTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/ReferenceGrammarTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/ReferenceGrammarTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/SimpleExpressionsTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/SimpleExpressionsTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/SimpleExpressionsTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/SimpleExpressionsTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/TestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/TestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/TestLanguageParser.java (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/TestLanguageParser.java)10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/TreeTestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/TreeTestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/TreeTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/TreeTestLanguageParser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalActionTestLanguage.g)26
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalActionTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalActionTestLanguageLexer.java)98
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalActionTestLanguageParser.java)96
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalActionTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalContentAssistTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalContentAssistTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalContentAssistTestLanguageLexer.java)138
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalContentAssistTestLanguageParser.java)150
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalContentAssistTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalFowlerDslTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalFowlerDslTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalFowlerDslTestLanguageLexer.java)150
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalFowlerDslTestLanguageParser.java)212
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalFowlerDslTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLexerTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLexerTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLexerTestLanguageLexer.java)86
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLexerTestLanguageParser.java)56
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLexerTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLookaheadTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLookaheadTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLookaheadTestLanguageLexer.java)132
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLookaheadTestLanguageParser.java)200
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalLookaheadTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalOptionalEmptyTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalOptionalEmptyTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalOptionalEmptyTestLanguageLexer.java)102
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalOptionalEmptyTestLanguageParser.java)52
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalOptionalEmptyTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalPartialParserTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalPartialParserTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalPartialParserTestLanguageLexer.java)174
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalPartialParserTestLanguageParser.java)334
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalPartialParserTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalReferenceGrammarTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalReferenceGrammarTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalReferenceGrammarTestLanguageLexer.java)186
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalReferenceGrammarTestLanguageParser.java)320
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalReferenceGrammarTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalSimpleExpressionsTestLanguage.g)32
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalSimpleExpressionsTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalSimpleExpressionsTestLanguageLexer.java)134
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalSimpleExpressionsTestLanguageParser.java)206
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalSimpleExpressionsTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTestLanguage.g)20
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTestLanguageLexer.java)116
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTestLanguageParser.java)132
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTreeTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTreeTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTreeTestLanguageLexer.java)120
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTreeTestLanguageParser.java)80
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/internal/InternalTreeTestLanguage__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ActionTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ActionTestLanguageParserConfiguration.java137
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java164
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java164
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java128
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java181
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java125
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java227
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java193
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/SimpleExpressionsTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/SimpleExpressionsTestLanguageParserConfiguration.java174
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java162
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java127
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ActionTestLanguageElementConsumer.java93
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ActionTestLanguageItemConsumer.java76
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ActionTestLanguageModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageAbstractRuleCallConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageAbstractRuleConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java139
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java140
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageStartConsumer.java95
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageCommandConsumer.java83
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageEventConsumer.java101
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java189
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java175
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageTransitionConsumer.java100
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java89
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageAltsConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageEntryConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java73
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java121
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java87
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java117
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java69
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java112
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java130
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java149
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java157
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContentConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java154
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageNamedConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageNestedConsumer.java112
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java171
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java140
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java222
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java85
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java140
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguagePersonConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java221
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java140
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageAdditionConsumer.java114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageAtomConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageMultiplicationConsumer.java114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageParensConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageSequenceConsumer.java91
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/SimpleExpressionsTestLanguageTermConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageAbstractRuleConsumer.java75
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java97
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageEntryRuleConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageReducibleRuleConsumer.java108
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageTerminalRuleConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageModelConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java181
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ContentAssistTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/PartialParserTestLanguageParseTreeConstructor.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/services/ContentAssistTestLanguageGrammarAccess.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/services/FowlerDslTestLanguageGrammarAccess.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/services/PartialParserTestLanguageGrammarAccess.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/services/ReferenceGrammarTestLanguageGrammarAccess.java16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/AbstractBug250313RuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/Bug250313AntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/Bug250313AntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/Bug250313Parser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/Bug250313Parser.java)8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/internal/InternalBug250313.g)14
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.tokens (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/internal/InternalBug250313.tokens)0
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/internal/InternalBug250313Lexer.java)108
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/internal/InternalBug250313Parser.java)48
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313__.g (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/internal/InternalBug250313__.g)16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313PackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java89
-rwxr-xr-xtests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/GenerateAllTestGrammars.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/AbstractTestLanguageIDConsumer.java60
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/AbstractTestLanguageREALConsumer.java55
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/lexer/LexerErrorTest.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/lexer/LexerSLComment.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/PackratParserTest.java95
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/datatyperules/TestValueConverter.java9
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/packrat/PackratParserGenUtilTest.java207
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/packrat/PerformanceTest.java117
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageSTRINGConsumer.java43
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/HandwrittenParser.java29
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/HandwrittenParserConfiguration.java192
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/AbstractMetamodelDeclarationConsumer.java72
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/AbstractRuleConsumer.java64
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/GeneratedMetamodelConsumer.java81
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/GrammarConsumer.java142
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/LexerRuleConsumer.java101
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/ParserRuleConsumer.java47
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/ReferencedMetamodelConsumer.java86
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/handwritten/consumers/TypeRefConsumer.java76
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/parser/packrat/XtextPackratParserTest.java89
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/AbstractTestLanguageRuntimeConfig.java13
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/TestLanguageAntlrTokenFileProvider.java (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/TestLanguageAntlrTokenFileProvider.java)4
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/TestLanguageParser.java (renamed from tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/TestLanguageParser.java)10
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/internal/InternalTestLanguage.g (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/internal/InternalTestLanguage.g)14
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/internal/InternalTestLanguage.tokens (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/internal/InternalTestLanguage.tokens)0
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/internal/InternalTestLanguageLexer.java (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/internal/InternalTestLanguageLexer.java)102
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/internal/InternalTestLanguageParser.java (renamed from tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/internal/InternalTestLanguageParser.java)52
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/antlr/internal/InternalTestLanguage__.g33
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/internal/InternalTestLanguage__.g33
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/packrat/TestLanguagePackratParser.java22
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/packrat/TestLanguageParserConfiguration.java125
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/packrat/consumers/TestLanguageFileConsumer.java61
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parser/packrat/consumers/TestLanguageStuffConsumer.java79
-rw-r--r--tests/org.eclipse.xtext.ui.core.tests/src-gen/org/eclipse/xtext/ui/core/parsetree/reconstr/TestLanguageParseTreeConstructor.java20
488 files changed, 27886 insertions, 5124 deletions
diff --git a/devtools/org.eclipse.xtext.reference/META-INF/MANIFEST.MF b/devtools/org.eclipse.xtext.reference/META-INF/MANIFEST.MF
index 8206e2a..3380910 100644
--- a/devtools/org.eclipse.xtext.reference/META-INF/MANIFEST.MF
+++ b/devtools/org.eclipse.xtext.reference/META-INF/MANIFEST.MF
@@ -7,10 +7,8 @@ Bundle-Version: 0.7.0.qualifier
Eclipse-RegisterBuddy: org.eclipse.xtext.log4j
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.xtext.reference,
- ReferenceModel,
- org.eclipse.xtext.reference.parser,
- org.eclipse.xtext.reference.parser.internal,
+Export-Package: ReferenceModel,
+ org.eclipse.xtext.reference,
org.eclipse.xtext.reference.parsetree.reconstr,
org.eclipse.xtext.reference.services
Require-Bundle: org.eclipse.xtext.log4j;bundle-version="1.2.15",
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeConfig.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeConfig.java
index de21bdb..2c2a9c0 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeConfig.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/AbstractReferenceGrammarRuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractReferenceGrammarRuntimeConfig extends AbstractServ
return org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.xtext.reference.parser.packrat.ReferenceGrammarPackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.xtext.reference.parser.ReferenceGrammarParser.class;
+ return org.eclipse.xtext.reference.parser.antlr.ReferenceGrammarParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.xtext.reference.parser.ReferenceGrammarAntlrTokenFileProvider.class;
+ return org.eclipse.xtext.reference.parser.antlr.ReferenceGrammarAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractReferenceGrammarRuntimeConfig extends AbstractServ
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.xtext.reference.parser.internal.InternalReferenceGrammarLexer.class;
+ return org.eclipse.xtext.reference.parser.antlr.internal.InternalReferenceGrammarLexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractReferenceGrammarRuntimeConfig extends AbstractServ
return scope(org.eclipse.xtext.reference.IReferenceGrammar.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
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 40de98a..aa9efdd 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
@@ -180,6 +180,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/reference/ReferenceGrammar#//Erwachsener"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
@@ -188,6 +189,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/reference/ReferenceGrammar#//Erwachsener"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
@@ -196,6 +198,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/reference/ReferenceGrammar#//Kind"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
@@ -206,6 +209,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/reference/ReferenceGrammar#//Kind"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarAntlrTokenFileProvider.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarAntlrTokenFileProvider.java
index b94364d..9a20104 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarAntlrTokenFileProvider.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarAntlrTokenFileProvider.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.reference.parser;
+package org.eclipse.xtext.reference.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
@@ -10,6 +10,6 @@ public class ReferenceGrammarAntlrTokenFileProvider implements IAntlrTokenFilePr
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = ReferenceGrammarAntlrTokenFileProvider.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens");
}
}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarParser.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarParser.java
index 771f7cc..33dc1d6 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/ReferenceGrammarParser.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/ReferenceGrammarParser.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.reference.parser;
+package org.eclipse.xtext.reference.parser.antlr;
import org.antlr.runtime.ANTLRInputStream;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
@@ -11,10 +11,10 @@ import org.eclipse.xtext.parser.ParseException;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.service.Inject;
-import org.eclipse.xtext.reference.parser.internal.InternalReferenceGrammarLexer;
-import org.eclipse.xtext.reference.parser.internal.InternalReferenceGrammarParser;
+import org.eclipse.xtext.reference.parser.antlr.internal.InternalReferenceGrammarLexer;
+import org.eclipse.xtext.reference.parser.antlr.internal.InternalReferenceGrammarParser;
-public class ReferenceGrammarParser extends org.eclipse.xtext.parser.AbstractParser {
+public class ReferenceGrammarParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
protected AntlrTokenDefProvider antlrTokenDefProvider;
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g
index 4683a57..42e7e2d 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g
@@ -4,11 +4,11 @@ Generated with Xtext
grammar InternalReferenceGrammar;
options {
- superClass=AbstractAntlrParser;
+ superClass=AbstractInternalAntlrParser;
}
@lexer::header {
-package org.eclipse.xtext.reference.parser.internal;
+package org.eclipse.xtext.reference.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
-package org.eclipse.xtext.reference.parser.internal;
+package org.eclipse.xtext.reference.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -25,10 +25,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
}
@@ -43,7 +43,7 @@ import org.eclipse.xtext.parser.antlr.ValueConverterException;
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalReferenceGrammarParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens");
}
@Override
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens
index 5ee8a58..5ee8a58 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarLexer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarLexer.java
index 0f0e15f..1692650 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarLexer.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarLexer.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g 2009-01-12 18:36:32
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g 2009-01-13 09:50:00
-package org.eclipse.xtext.reference.parser.internal;
+package org.eclipse.xtext.reference.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -42,14 +42,14 @@ public class InternalReferenceGrammarLexer extends Lexer {
public InternalReferenceGrammarLexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g"; }
// $ANTLR start T11
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:10:5: ( 'spielplatz' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:10:7: 'spielplatz'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:10:5: ( 'spielplatz' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:10:7: 'spielplatz'
{
match("spielplatz");
@@ -67,8 +67,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:11:5: ( '{' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:11:7: '{'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:11:5: ( '{' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:11:7: '{'
{
match('{');
@@ -85,8 +85,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:12:5: ( '}' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:12:7: '}'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:12:5: ( '}' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:12:7: '}'
{
match('}');
@@ -103,8 +103,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT14() throws RecognitionException {
try {
int _type = T14;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:13:5: ( 'kind' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:13:7: 'kind'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:13:5: ( 'kind' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:13:7: 'kind'
{
match("kind");
@@ -122,8 +122,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT15() throws RecognitionException {
try {
int _type = T15;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:14:5: ( '(' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:14:7: '('
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:14:5: ( '(' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:14:7: '('
{
match('(');
@@ -140,8 +140,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT16() throws RecognitionException {
try {
int _type = T16;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:15:5: ( ')' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:15:7: ')'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:15:5: ( ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:15:7: ')'
{
match(')');
@@ -158,8 +158,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT17() throws RecognitionException {
try {
int _type = T17;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:16:5: ( 'erwachsener' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:16:7: 'erwachsener'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:16:5: ( 'erwachsener' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:16:7: 'erwachsener'
{
match("erwachsener");
@@ -177,8 +177,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT18() throws RecognitionException {
try {
int _type = T18;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:17:5: ( 'spielzeug' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:17:7: 'spielzeug'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:17:5: ( 'spielzeug' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:17:7: 'spielzeug'
{
match("spielzeug");
@@ -196,8 +196,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT19() throws RecognitionException {
try {
int _type = T19;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:18:5: ( 'familie' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:18:7: 'familie'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:18:5: ( 'familie' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:18:7: 'familie'
{
match("familie");
@@ -215,8 +215,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT20() throws RecognitionException {
try {
int _type = T20;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:19:5: ( 'keyword' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:19:7: 'keyword'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:19:5: ( 'keyword' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:19:7: 'keyword'
{
match("keyword");
@@ -234,8 +234,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT21() throws RecognitionException {
try {
int _type = T21;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:20:5: ( ',' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:20:7: ','
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:20:5: ( ',' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:20:7: ','
{
match(',');
@@ -252,8 +252,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT22() throws RecognitionException {
try {
int _type = T22;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:21:5: ( 'ROT' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:21:7: 'ROT'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:21:5: ( 'ROT' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:21:7: 'ROT'
{
match("ROT");
@@ -271,8 +271,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT23() throws RecognitionException {
try {
int _type = T23;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:22:5: ( 'BLAU' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:22:7: 'BLAU'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:22:5: ( 'BLAU' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:22:7: 'BLAU'
{
match("BLAU");
@@ -290,8 +290,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT24() throws RecognitionException {
try {
int _type = T24;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:23:5: ( 'GELB' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:23:7: 'GELB'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:23:5: ( 'GELB' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:23:7: 'GELB'
{
match("GELB");
@@ -309,8 +309,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT25() throws RecognitionException {
try {
int _type = T25;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:24:5: ( 'GRÜN' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:24:7: 'GRÜN'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:24:5: ( 'GRÜN' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:24:7: 'GRÜN'
{
match("GRÜN");
@@ -328,8 +328,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mT26() throws RecognitionException {
try {
int _type = T26;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:25:5: ( 'type' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:25:7: 'type'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:25:5: ( 'type' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:25:7: 'type'
{
match("type");
@@ -347,10 +347,10 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:676:11: ( '^' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:676:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -359,7 +359,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:676:12: '^'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:676:12: '^'
{
match('^');
@@ -378,7 +378,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:676:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:676:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -391,7 +391,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -426,10 +426,10 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:678:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:678:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:678:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:678:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:678:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:678:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -443,7 +443,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:678:13: '0' .. '9'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:678:13: '0' .. '9'
{
matchRange('0','9');
@@ -473,7 +473,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -491,10 +491,10 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -510,7 +510,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:21: '\\\\' ( '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' ) {
@@ -527,7 +527,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -553,10 +553,10 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -572,7 +572,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:108: '\\\\' ( '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' ) {
@@ -589,7 +589,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:680:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:680:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -627,12 +627,12 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:682:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:682:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:682:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:682:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:682:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:682:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -657,7 +657,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:682:52: .
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:682:52: .
{
matchAny();
@@ -686,12 +686,12 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -704,7 +704,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684: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();
@@ -725,7 +725,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -734,9 +734,9 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -745,7 +745,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:684:39: '\\r'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:684:39: '\\r'
{
match('\r');
@@ -776,10 +776,10 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -793,7 +793,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -833,8 +833,8 @@ public class InternalReferenceGrammarLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:688:16: ( . )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:688:18: .
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:688:16: ( . )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:688:18: .
{
matchAny();
@@ -848,7 +848,7 @@ public class InternalReferenceGrammarLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt12=23;
int LA12_0 = input.LA(1);
@@ -1323,161 +1323,161 @@ public class InternalReferenceGrammarLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:10: T11
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:10: T11
{
mT11();
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:14: T12
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:14: T12
{
mT12();
}
break;
case 3 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:18: T13
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:18: T13
{
mT13();
}
break;
case 4 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:22: T14
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:22: T14
{
mT14();
}
break;
case 5 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:26: T15
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:26: T15
{
mT15();
}
break;
case 6 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:30: T16
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:30: T16
{
mT16();
}
break;
case 7 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:34: T17
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:34: T17
{
mT17();
}
break;
case 8 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:38: T18
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:38: T18
{
mT18();
}
break;
case 9 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:42: T19
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:42: T19
{
mT19();
}
break;
case 10 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:46: T20
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:46: T20
{
mT20();
}
break;
case 11 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:50: T21
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:50: T21
{
mT21();
}
break;
case 12 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:54: T22
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:54: T22
{
mT22();
}
break;
case 13 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:58: T23
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:58: T23
{
mT23();
}
break;
case 14 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:62: T24
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:62: T24
{
mT24();
}
break;
case 15 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:66: T25
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:66: T25
{
mT25();
}
break;
case 16 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:70: T26
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:70: T26
{
mT26();
}
break;
case 17 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:74: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:74: RULE_ID
{
mRULE_ID();
}
break;
case 18 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:82: RULE_INT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:82: RULE_INT
{
mRULE_INT();
}
break;
case 19 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:91: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:91: RULE_STRING
{
mRULE_STRING();
}
break;
case 20 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:103: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:103: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 21 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:119: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:119: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 22 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:135: RULE_WS
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:135: RULE_WS
{
mRULE_WS();
}
break;
case 23 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:1:143: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:1:143: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarParser.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarParser.java
index c7a9900..dfa4474 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammarParser.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammarParser.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g 2009-01-12 18:36:32
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g 2009-01-13 09:50:00
-package org.eclipse.xtext.reference.parser.internal;
+package org.eclipse.xtext.reference.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -9,10 +9,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
@@ -21,7 +21,7 @@ import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-public class InternalReferenceGrammarParser extends AbstractAntlrParser {
+public class InternalReferenceGrammarParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'spielplatz'", "'{'", "'}'", "'kind'", "'('", "')'", "'erwachsener'", "'spielzeug'", "'familie'", "'keyword'", "','", "'ROT'", "'BLAU'", "'GELB'", "'GRÜN'", "'type'"
};
@@ -40,7 +40,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g"; }
@@ -53,7 +53,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalReferenceGrammarParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.tokens");
}
@Override
@@ -64,7 +64,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleSpielplatz
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:66:1: entryRuleSpielplatz returns [EObject current=null] : iv_ruleSpielplatz= ruleSpielplatz EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:66:1: entryRuleSpielplatz returns [EObject current=null] : iv_ruleSpielplatz= ruleSpielplatz EOF ;
public final EObject entryRuleSpielplatz() throws RecognitionException {
EObject current = null;
@@ -72,8 +72,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:66:52: (iv_ruleSpielplatz= ruleSpielplatz EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:67:2: iv_ruleSpielplatz= ruleSpielplatz EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:66:52: (iv_ruleSpielplatz= ruleSpielplatz EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:67:2: iv_ruleSpielplatz= ruleSpielplatz EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleSpielplatz_in_entryRuleSpielplatz71);
@@ -99,7 +99,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleSpielplatz
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:74:1: ruleSpielplatz returns [EObject current=null] : ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )? ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:74:1: ruleSpielplatz returns [EObject current=null] : ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )? ;
public final EObject ruleSpielplatz() throws RecognitionException {
EObject current = null;
@@ -118,10 +118,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:76:33: ( ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )? )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:1: ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:76:33: ( ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )? )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:1: ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )?
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:1: ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:1: ( ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}' )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -130,26 +130,26 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:2: ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:2: ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* ) '}'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:2: ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:3: ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:2: ( ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )* )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:3: ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' ) ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )*
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:3: ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:4: ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:3: ( ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:4: ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? ) '{'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:4: ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:5: ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:4: ( ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )? )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:5: ( 'spielplatz' (lv_groesse= RULE_INT ) ) (lv_beschreibung= RULE_STRING )?
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:5: ( 'spielplatz' (lv_groesse= RULE_INT ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:77:6: 'spielplatz' (lv_groesse= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:5: ( 'spielplatz' (lv_groesse= RULE_INT ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:77:6: 'spielplatz' (lv_groesse= RULE_INT )
{
match(input,11,FOLLOW_11_in_ruleSpielplatz119);
createLeafNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:81:1: (lv_groesse= RULE_INT )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:83:6: lv_groesse= RULE_INT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:81:1: (lv_groesse= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:83:6: lv_groesse= RULE_INT
{
lv_groesse=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSpielplatz140);
@@ -174,7 +174,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:101:3: (lv_beschreibung= RULE_STRING )?
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:101:3: (lv_beschreibung= RULE_STRING )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -183,7 +183,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:103:6: lv_beschreibung= RULE_STRING
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:103:6: lv_beschreibung= RULE_STRING
{
lv_beschreibung=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSpielplatz173);
@@ -218,7 +218,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:2: ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:2: ( ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) ) | (lv_types= ruleCustomTypeParserRule ) )*
loop5:
do {
int alt5=3;
@@ -234,9 +234,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:3: ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:3: ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:3: ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:3: ( ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) ) | (lv_familie= ruleFamilie ) )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -254,9 +254,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:4: ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:4: ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:4: ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:4: ( ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) ) | (lv_spielzeuge= ruleSpielzeug ) )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -274,9 +274,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:5: ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:5: ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:5: ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:5: ( (lv_kinder= ruleKind ) | (lv_erzieher= ruleErwachsener ) )
int alt2=2;
int LA2_0 = input.LA(1);
@@ -294,10 +294,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:6: (lv_kinder= ruleKind )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:6: (lv_kinder= ruleKind )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:125:6: (lv_kinder= ruleKind )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:128:6: lv_kinder= ruleKind
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:125:6: (lv_kinder= ruleKind )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:128:6: lv_kinder= ruleKind
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@groups.0/@groups.0/@groups.0/@groups.0/@terminal" /* xtext::RuleCall */, currentNode);
@@ -326,10 +326,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:147:6: (lv_erzieher= ruleErwachsener )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:147:6: (lv_erzieher= ruleErwachsener )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:147:6: (lv_erzieher= ruleErwachsener )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:150:6: lv_erzieher= ruleErwachsener
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:147:6: (lv_erzieher= ruleErwachsener )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:150:6: lv_erzieher= ruleErwachsener
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@groups.0/@groups.0/@groups.0/@groups.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -364,10 +364,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:169:6: (lv_spielzeuge= ruleSpielzeug )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:169:6: (lv_spielzeuge= ruleSpielzeug )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:169:6: (lv_spielzeuge= ruleSpielzeug )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:172:6: lv_spielzeuge= ruleSpielzeug
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:169:6: (lv_spielzeuge= ruleSpielzeug )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:172:6: lv_spielzeuge= ruleSpielzeug
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@groups.0/@groups.0/@groups.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -402,10 +402,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:191:6: (lv_familie= ruleFamilie )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:191:6: (lv_familie= ruleFamilie )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:191:6: (lv_familie= ruleFamilie )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:194:6: lv_familie= ruleFamilie
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:191:6: (lv_familie= ruleFamilie )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:194:6: lv_familie= ruleFamilie
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@groups.0/@groups.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -440,10 +440,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:213:6: (lv_types= ruleCustomTypeParserRule )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:213:6: (lv_types= ruleCustomTypeParserRule )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:213:6: (lv_types= ruleCustomTypeParserRule )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:216:6: lv_types= ruleCustomTypeParserRule
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:213:6: (lv_types= ruleCustomTypeParserRule )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:216:6: lv_types= ruleCustomTypeParserRule
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@groups.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -508,7 +508,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleKind
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:247:1: entryRuleKind returns [EObject current=null] : iv_ruleKind= ruleKind EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:247:1: entryRuleKind returns [EObject current=null] : iv_ruleKind= ruleKind EOF ;
public final EObject entryRuleKind() throws RecognitionException {
EObject current = null;
@@ -516,8 +516,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:247:46: (iv_ruleKind= ruleKind EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:248:2: iv_ruleKind= ruleKind EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:247:46: (iv_ruleKind= ruleKind EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:248:2: iv_ruleKind= ruleKind EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleKind_in_entryRuleKind465);
@@ -543,7 +543,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleKind
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:255:1: ruleKind returns [EObject current=null] : ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:255:1: ruleKind returns [EObject current=null] : ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) ;
public final EObject ruleKind() throws RecognitionException {
EObject current = null;
@@ -552,20 +552,20 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:257:33: ( ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:1: ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:257:33: ( ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:1: ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:1: ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:2: ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:1: ( ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:2: ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:2: ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:3: ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:2: ( ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:3: ( ( 'kind' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:3: ( ( 'kind' '(' ) (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:4: ( 'kind' '(' ) (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:3: ( ( 'kind' '(' ) (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:4: ( 'kind' '(' ) (lv_name= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:4: ( 'kind' '(' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:258:5: 'kind' '('
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:4: ( 'kind' '(' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:258:5: 'kind' '('
{
match(input,14,FOLLOW_14_in_ruleKind512);
@@ -578,8 +578,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:266:2: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:268:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:266:2: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:268:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKind543);
@@ -604,8 +604,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:286:3: (lv_age= RULE_INT )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:288:6: lv_age= RULE_INT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:286:3: (lv_age= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:288:6: lv_age= RULE_INT
{
lv_age=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleKind576);
@@ -655,7 +655,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleErwachsener
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:317:1: entryRuleErwachsener returns [EObject current=null] : iv_ruleErwachsener= ruleErwachsener EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:317:1: entryRuleErwachsener returns [EObject current=null] : iv_ruleErwachsener= ruleErwachsener EOF ;
public final EObject entryRuleErwachsener() throws RecognitionException {
EObject current = null;
@@ -663,8 +663,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:317:53: (iv_ruleErwachsener= ruleErwachsener EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:318:2: iv_ruleErwachsener= ruleErwachsener EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:317:53: (iv_ruleErwachsener= ruleErwachsener EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:318:2: iv_ruleErwachsener= ruleErwachsener EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.3" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleErwachsener_in_entryRuleErwachsener630);
@@ -690,7 +690,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleErwachsener
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:325:1: ruleErwachsener returns [EObject current=null] : ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:325:1: ruleErwachsener returns [EObject current=null] : ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) ;
public final EObject ruleErwachsener() throws RecognitionException {
EObject current = null;
@@ -699,20 +699,20 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:327:33: ( ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:1: ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:327:33: ( ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:1: ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:1: ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:2: ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:1: ( ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:2: ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) ) ')'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:2: ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:3: ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:2: ( ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:3: ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) ) (lv_age= RULE_INT )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:3: ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:4: ( 'erwachsener' '(' ) (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:3: ( ( 'erwachsener' '(' ) (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:4: ( 'erwachsener' '(' ) (lv_name= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:4: ( 'erwachsener' '(' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:328:5: 'erwachsener' '('
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:4: ( 'erwachsener' '(' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:328:5: 'erwachsener' '('
{
match(input,17,FOLLOW_17_in_ruleErwachsener677);
@@ -725,8 +725,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:336:2: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:338:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:336:2: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:338:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleErwachsener708);
@@ -751,8 +751,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:356:3: (lv_age= RULE_INT )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:358:6: lv_age= RULE_INT
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:356:3: (lv_age= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:358:6: lv_age= RULE_INT
{
lv_age=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleErwachsener741);
@@ -802,7 +802,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleSpielzeug
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:387:1: entryRuleSpielzeug returns [EObject current=null] : iv_ruleSpielzeug= ruleSpielzeug EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:387:1: entryRuleSpielzeug returns [EObject current=null] : iv_ruleSpielzeug= ruleSpielzeug EOF ;
public final EObject entryRuleSpielzeug() throws RecognitionException {
EObject current = null;
@@ -810,8 +810,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:387:51: (iv_ruleSpielzeug= ruleSpielzeug EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:388:2: iv_ruleSpielzeug= ruleSpielzeug EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:387:51: (iv_ruleSpielzeug= ruleSpielzeug EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:388:2: iv_ruleSpielzeug= ruleSpielzeug EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.4" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleSpielzeug_in_entryRuleSpielzeug795);
@@ -837,7 +837,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleSpielzeug
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:395:1: ruleSpielzeug returns [EObject current=null] : ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:395:1: ruleSpielzeug returns [EObject current=null] : ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' ) ;
public final EObject ruleSpielzeug() throws RecognitionException {
EObject current = null;
@@ -847,20 +847,20 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:397:33: ( ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:1: ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:397:33: ( ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:1: ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:1: ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:2: ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:1: ( ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:2: ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) ) ')'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:2: ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:3: ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:2: ( ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:3: ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) ) (lv_farbe= ruleFarbe )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:3: ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:4: ( 'spielzeug' '(' ) (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:3: ( ( 'spielzeug' '(' ) (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:4: ( 'spielzeug' '(' ) (lv_name= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:4: ( 'spielzeug' '(' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:398:5: 'spielzeug' '('
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:4: ( 'spielzeug' '(' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:398:5: 'spielzeug' '('
{
match(input,18,FOLLOW_18_in_ruleSpielzeug842);
@@ -873,8 +873,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:406:2: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:408:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:406:2: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:408:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpielzeug873);
@@ -899,8 +899,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:426:3: (lv_farbe= ruleFarbe )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:429:6: lv_farbe= ruleFarbe
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:426:3: (lv_farbe= ruleFarbe )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:429:6: lv_farbe= ruleFarbe
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -953,7 +953,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleFamilie
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:458:1: entryRuleFamilie returns [EObject current=null] : iv_ruleFamilie= ruleFamilie EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:458:1: entryRuleFamilie returns [EObject current=null] : iv_ruleFamilie= ruleFamilie EOF ;
public final EObject entryRuleFamilie() throws RecognitionException {
EObject current = null;
@@ -961,8 +961,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:458:49: (iv_ruleFamilie= ruleFamilie EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:459:2: iv_ruleFamilie= ruleFamilie EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:458:49: (iv_ruleFamilie= ruleFamilie EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:459:2: iv_ruleFamilie= ruleFamilie EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.5" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleFamilie_in_entryRuleFamilie966);
@@ -988,7 +988,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleFamilie
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:466:1: ruleFamilie returns [EObject current=null] : ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:466:1: ruleFamilie returns [EObject current=null] : ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' ) ;
public final EObject ruleFamilie() throws RecognitionException {
EObject current = null;
@@ -996,29 +996,29 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:468:33: ( ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:1: ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:468:33: ( ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:1: ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:1: ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:2: ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:1: ( ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:2: ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* ) ')'
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:2: ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:3: ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:2: ( ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )* )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:3: ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ',' ( ( RULE_ID ) ) )*
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:3: ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:4: ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:3: ( ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:4: ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:4: ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:5: ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:4: ( ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:5: ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:5: ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:6: ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:5: ( ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:6: ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:6: ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:7: ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:6: ( ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:7: ( 'familie' '(' ) (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:7: ( 'familie' '(' )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:469:8: 'familie' '('
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:7: ( 'familie' '(' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:469:8: 'familie' '('
{
match(input,19,FOLLOW_19_in_ruleFamilie1016);
@@ -1031,10 +1031,10 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:477:2: (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:479:6: lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:477:2: (lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:479:6: lv_name= ( ( 'keyword' | RULE_STRING ) | RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:479:14: ( ( 'keyword' | RULE_STRING ) | RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:479:14: ( ( 'keyword' | RULE_STRING ) | RULE_ID )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1052,9 +1052,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:479:15: ( 'keyword' | RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:479:15: ( 'keyword' | RULE_STRING )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:479:15: ( 'keyword' | RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:479:15: ( 'keyword' | RULE_STRING )
int alt7=2;
int LA7_0 = input.LA(1);
@@ -1072,7 +1072,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:479:16: 'keyword'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:479:16: 'keyword'
{
match(input,20,FOLLOW_20_in_ruleFamilie1049);
@@ -1082,7 +1082,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:484:6: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:484:6: RULE_STRING
{
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleFamilie1064);
@@ -1098,7 +1098,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:489:6: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:489:6: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFamilie1079);
@@ -1128,8 +1128,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:507:3: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:510:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:507:3: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:510:3: ( RULE_ID )
{
if (current==null) {
@@ -1137,8 +1137,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:516:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:517:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:516:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:517:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFamilie1116);
@@ -1153,8 +1153,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:522:3: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:525:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:522:3: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:525:3: ( RULE_ID )
{
if (current==null) {
@@ -1162,8 +1162,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:531:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:532:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:531:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:532:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFamilie1145);
@@ -1178,8 +1178,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:537:3: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:540:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:537:3: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:540:3: ( RULE_ID )
{
if (current==null) {
@@ -1187,8 +1187,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:546:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:547:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:546:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:547:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFamilie1174);
@@ -1203,7 +1203,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:552:3: ( ',' ( ( RULE_ID ) ) )*
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:552:3: ( ',' ( ( RULE_ID ) ) )*
loop9:
do {
int alt9=2;
@@ -1216,14 +1216,14 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:552:4: ',' ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:552:4: ',' ( ( RULE_ID ) )
{
match(input,21,FOLLOW_21_in_ruleFamilie1189);
createLeafNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:556:1: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:559:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:556:1: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:559:3: ( RULE_ID )
{
if (current==null) {
@@ -1231,8 +1231,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:565:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:566:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:565:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:566:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFamilie1213);
@@ -1281,7 +1281,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleFarbe
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:582:1: entryRuleFarbe returns [EObject current=null] : iv_ruleFarbe= ruleFarbe EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:582:1: entryRuleFarbe returns [EObject current=null] : iv_ruleFarbe= ruleFarbe EOF ;
public final EObject entryRuleFarbe() throws RecognitionException {
EObject current = null;
@@ -1289,8 +1289,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:582:47: (iv_ruleFarbe= ruleFarbe EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:583:2: iv_ruleFarbe= ruleFarbe EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:582:47: (iv_ruleFarbe= ruleFarbe EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:583:2: iv_ruleFarbe= ruleFarbe EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.6" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleFarbe_in_entryRuleFarbe1262);
@@ -1316,7 +1316,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleFarbe
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:590:1: ruleFarbe returns [EObject current=null] : (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:590:1: ruleFarbe returns [EObject current=null] : (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) ) ;
public final EObject ruleFarbe() throws RecognitionException {
EObject current = null;
@@ -1324,13 +1324,13 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:592:33: ( (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:593:1: (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:592:33: ( (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:593:1: (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:593:1: (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:6: lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:593:1: (lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:6: lv_wert= ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:14: ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:14: ( ( ( 'ROT' | 'BLAU' ) | 'GELB' ) | 'GRÜN' )
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1348,9 +1348,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:15: ( ( 'ROT' | 'BLAU' ) | 'GELB' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:15: ( ( 'ROT' | 'BLAU' ) | 'GELB' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:15: ( ( 'ROT' | 'BLAU' ) | 'GELB' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:15: ( ( 'ROT' | 'BLAU' ) | 'GELB' )
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1368,9 +1368,9 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:16: ( 'ROT' | 'BLAU' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:16: ( 'ROT' | 'BLAU' )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:16: ( 'ROT' | 'BLAU' )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:16: ( 'ROT' | 'BLAU' )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1388,7 +1388,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:595:17: 'ROT'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:595:17: 'ROT'
{
match(input,22,FOLLOW_22_in_ruleFarbe1320);
@@ -1398,7 +1398,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:600:6: 'BLAU'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:600:6: 'BLAU'
{
match(input,23,FOLLOW_23_in_ruleFarbe1335);
@@ -1414,7 +1414,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:605:6: 'GELB'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:605:6: 'GELB'
{
match(input,24,FOLLOW_24_in_ruleFarbe1351);
@@ -1430,7 +1430,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:610:6: 'GRÜN'
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:610:6: 'GRÜN'
{
match(input,25,FOLLOW_25_in_ruleFarbe1367);
@@ -1475,7 +1475,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start entryRuleCustomTypeParserRule
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:635:1: entryRuleCustomTypeParserRule returns [EObject current=null] : iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:635:1: entryRuleCustomTypeParserRule returns [EObject current=null] : iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF ;
public final EObject entryRuleCustomTypeParserRule() throws RecognitionException {
EObject current = null;
@@ -1483,8 +1483,8 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:635:62: (iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:636:2: iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:635:62: (iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:636:2: iv_ruleCustomTypeParserRule= ruleCustomTypeParserRule EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.7" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleCustomTypeParserRule_in_entryRuleCustomTypeParserRule1412);
@@ -1510,7 +1510,7 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
// $ANTLR start ruleCustomTypeParserRule
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:643:1: ruleCustomTypeParserRule returns [EObject current=null] : ( 'type' (lv_name= RULE_ID ) ) ;
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:643:1: ruleCustomTypeParserRule returns [EObject current=null] : ( 'type' (lv_name= RULE_ID ) ) ;
public final EObject ruleCustomTypeParserRule() throws RecognitionException {
EObject current = null;
@@ -1518,18 +1518,18 @@ public class InternalReferenceGrammarParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:645:33: ( ( 'type' (lv_name= RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:646:1: ( 'type' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:645:33: ( ( 'type' (lv_name= RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:646:1: ( 'type' (lv_name= RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:646:1: ( 'type' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:646:2: 'type' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:646:1: ( 'type' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:646:2: 'type' (lv_name= RULE_ID )
{
match(input,26,FOLLOW_26_in_ruleCustomTypeParserRule1456);
createLeafNode("classpath:/org/eclipse/xtext/reference/ReferenceGrammar.xmi#//@rules.7/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:650:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g:652:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:650:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g:652:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCustomTypeParserRule1477);
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar__.g b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar__.g
index c37af4a..67d6b42 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar__.g
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar__.g
@@ -1,6 +1,6 @@
lexer grammar InternalReferenceGrammar;
@header {
-package org.eclipse.xtext.reference.parser.internal;
+package org.eclipse.xtext.reference.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -24,25 +24,25 @@ T24 : 'GELB' ;
T25 : 'GRÜN' ;
T26 : 'type' ;
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 676
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 676
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 678
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 678
RULE_INT : ('0'..'9')+;
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 680
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 680
RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 682
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 682
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 684
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 684
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 686
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 686
RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/internal/InternalReferenceGrammar.g" 688
+// $ANTLR src "./src-gen/org/eclipse/xtext/reference/parser/antlr/internal/InternalReferenceGrammar.g" 688
RULE_ANY_OTHER : .;
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarPackratParser.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarPackratParser.java
new file mode 100644
index 0000000..3120b64
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarPackratParser.java
@@ -0,0 +1,22 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+public class ReferenceGrammarPackratParser extends AbstractPackratParser {
+
+ @Override
+ protected ReferenceGrammarParserConfiguration createParserConfiguration(ICharSequenceWithOffset input,
+ IMarkerFactory markerFactory, IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler,
+ IConsumerUtility consumerUtil) {
+ return new ReferenceGrammarParserConfiguration(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarParserConfiguration.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarParserConfiguration.java
new file mode 100644
index 0000000..3f9ff24
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/ReferenceGrammarParserConfiguration.java
@@ -0,0 +1,206 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
+
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarSpielplatzConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarPersonConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarKindConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarErwachsenerConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarSpielzeugConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarFamilieConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarFarbeConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarCustomTypeParserRuleConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinML_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSL_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinWSConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinANY_OTHERConsumer;
+
+public class ReferenceGrammarParserConfiguration extends AbstractParserConfiguration {
+
+ private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
+
+ private ReferenceGrammarSpielplatzConsumer spielplatzConsumer;
+ private ReferenceGrammarPersonConsumer personConsumer;
+ private ReferenceGrammarKindConsumer kindConsumer;
+ private ReferenceGrammarErwachsenerConsumer erwachsenerConsumer;
+ private ReferenceGrammarSpielzeugConsumer spielzeugConsumer;
+ private ReferenceGrammarFamilieConsumer familieConsumer;
+ private ReferenceGrammarFarbeConsumer farbeConsumer;
+ private ReferenceGrammarCustomTypeParserRuleConsumer customTypeParserRuleConsumer;
+
+ public ReferenceGrammarParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ this.xtextBuiltinConfiguration = new XtextBuiltinParserConfiguration(
+ input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+ public ReferenceGrammarSpielplatzConsumer getRootConsumer() {
+ return spielplatzConsumer;
+ }
+
+ public void createNonTerminalConsumers() {
+ getXtextBuiltinConfiguration().createNonTerminalConsumers();
+ spielplatzConsumer = new ReferenceGrammarSpielplatzConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(),
+ new ITerminalConsumer[]{ getWsConsumer(), getMlCommentConsumer(), getSlCommentConsumer() }
+ );
+ personConsumer = new ReferenceGrammarPersonConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ kindConsumer = new ReferenceGrammarKindConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ erwachsenerConsumer = new ReferenceGrammarErwachsenerConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ spielzeugConsumer = new ReferenceGrammarSpielzeugConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ familieConsumer = new ReferenceGrammarFamilieConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ farbeConsumer = new ReferenceGrammarFarbeConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ customTypeParserRuleConsumer = new ReferenceGrammarCustomTypeParserRuleConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ }
+
+ public void createTerminalConsumers() {
+ getXtextBuiltinConfiguration().createTerminalConsumers();
+ }
+
+ public void configureConsumers() {
+ getSpielplatzConsumer().setErwachsenerConsumer(getErwachsenerConsumer());
+ getSpielplatzConsumer().setSpielzeugConsumer(getSpielzeugConsumer());
+ getSpielplatzConsumer().setIntConsumer(getIntConsumer());
+ getSpielplatzConsumer().setStringConsumer(getStringConsumer());
+ getSpielplatzConsumer().setFamilieConsumer(getFamilieConsumer());
+ getSpielplatzConsumer().setKindConsumer(getKindConsumer());
+ getSpielplatzConsumer().setCustomTypeParserRuleConsumer(getCustomTypeParserRuleConsumer());
+
+ getPersonConsumer().setErwachsenerConsumer(getErwachsenerConsumer());
+ getPersonConsumer().setKindConsumer(getKindConsumer());
+
+ getKindConsumer().setIdConsumer(getIdConsumer());
+ getKindConsumer().setIntConsumer(getIntConsumer());
+
+ getErwachsenerConsumer().setIdConsumer(getIdConsumer());
+ getErwachsenerConsumer().setIntConsumer(getIntConsumer());
+
+ getSpielzeugConsumer().setIdConsumer(getIdConsumer());
+ getSpielzeugConsumer().setFarbeConsumer(getFarbeConsumer());
+
+ getFamilieConsumer().setIdConsumer(getIdConsumer());
+ getFamilieConsumer().setStringConsumer(getStringConsumer());
+
+ getCustomTypeParserRuleConsumer().setIdConsumer(getIdConsumer());
+
+ getIdConsumer().initFields(this);
+ getIntConsumer().initFields(this);
+ getStringConsumer().initFields(this);
+ getMlCommentConsumer().initFields(this);
+ getSlCommentConsumer().initFields(this);
+ getWsConsumer().initFields(this);
+ getAnyOtherConsumer().initFields(this);
+ }
+
+ // TODO collect superGrammars transitive
+ public XtextBuiltinParserConfiguration getXtextBuiltinConfiguration() {
+ return xtextBuiltinConfiguration;
+ }
+
+ public ReferenceGrammarSpielplatzConsumer getSpielplatzConsumer() {
+ return spielplatzConsumer;
+ }
+
+
+ public ReferenceGrammarPersonConsumer getPersonConsumer() {
+ return personConsumer;
+ }
+
+
+ public ReferenceGrammarKindConsumer getKindConsumer() {
+ return kindConsumer;
+ }
+
+
+ public ReferenceGrammarErwachsenerConsumer getErwachsenerConsumer() {
+ return erwachsenerConsumer;
+ }
+
+
+ public ReferenceGrammarSpielzeugConsumer getSpielzeugConsumer() {
+ return spielzeugConsumer;
+ }
+
+
+ public ReferenceGrammarFamilieConsumer getFamilieConsumer() {
+ return familieConsumer;
+ }
+
+
+ public ReferenceGrammarFarbeConsumer getFarbeConsumer() {
+ return farbeConsumer;
+ }
+
+
+ public ReferenceGrammarCustomTypeParserRuleConsumer getCustomTypeParserRuleConsumer() {
+ return customTypeParserRuleConsumer;
+ }
+
+
+ public XtextBuiltinIDConsumer getIdConsumer() {
+ return getXtextBuiltinConfiguration().getIdConsumer();
+ }
+
+
+ public XtextBuiltinINTConsumer getIntConsumer() {
+ return getXtextBuiltinConfiguration().getIntConsumer();
+ }
+
+
+ public XtextBuiltinSTRINGConsumer getStringConsumer() {
+ return getXtextBuiltinConfiguration().getStringConsumer();
+ }
+
+
+ public XtextBuiltinML_COMMENTConsumer getMlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getMlCommentConsumer();
+ }
+
+
+ public XtextBuiltinSL_COMMENTConsumer getSlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getSlCommentConsumer();
+ }
+
+
+ public XtextBuiltinWSConsumer getWsConsumer() {
+ return getXtextBuiltinConfiguration().getWsConsumer();
+ }
+
+
+ public XtextBuiltinANY_OTHERConsumer getAnyOtherConsumer() {
+ return getXtextBuiltinConfiguration().getAnyOtherConsumer();
+ }
+
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarCustomTypeParserRuleConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarCustomTypeParserRuleConsumer.java
new file mode 100644
index 0000000..b074cc1
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarCustomTypeParserRuleConsumer.java
@@ -0,0 +1,79 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.CustomTypeParserRuleElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class ReferenceGrammarCustomTypeParserRuleConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public ReferenceGrammarCustomTypeParserRuleConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ KEYWORD$2SUCCESS: {
+ if (!consumeKeyword(getRule().ele0KeywordType(), null, false, false))
+ break KEYWORD$2SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$3SUCCESS: {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele10LexerRuleCallID()))
+ break ASSIGNMENT$3FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$3SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public CustomTypeParserRuleElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prCustomTypeParserRule();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "CustomType";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarErwachsenerConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarErwachsenerConsumer.java
new file mode 100644
index 0000000..58be746
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarErwachsenerConsumer.java
@@ -0,0 +1,140 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.ErwachsenerElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+
+public final class ReferenceGrammarErwachsenerConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private XtextBuiltinINTConsumer intConsumer;
+
+ public ReferenceGrammarErwachsenerConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000KeywordErwachsener(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele0001KeywordLeftParenthesis(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele0010LexerRuleCallID()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeTerminal(intConsumer, "age", false, false, getRule().ele010LexerRuleCallINT()))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightParenthesis(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ErwachsenerElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prErwachsener();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Erwachsener";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setIntConsumer(XtextBuiltinINTConsumer intConsumer) {
+ this.intConsumer = intConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFamilieConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFamilieConsumer.java
new file mode 100644
index 0000000..a1c3222
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFamilieConsumer.java
@@ -0,0 +1,222 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.FamilieElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class ReferenceGrammarFamilieConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public ReferenceGrammarFamilieConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ GROUP$5SUCCESS: {
+ IMarker mGROUP$5 = mark();
+ GROUP$5FAILURE: {
+ GROUP$6SUCCESS: {
+ IMarker mGROUP$6 = mark();
+ GROUP$6FAILURE: {
+ GROUP$7SUCCESS: {
+ IMarker mGROUP$7 = mark();
+ GROUP$7FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000000KeywordFamilie(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ GROUP$7FAILURE: {
+ KEYWORD$9SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000001KeywordLeftParenthesis(), null, false, false))
+ break KEYWORD$9SUCCESS;
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ break GROUP$6FAILURE;
+ }
+ mGROUP$6.rollback();
+ break GROUP$6SUCCESS;
+ }
+ GROUP$6FAILURE: {
+ ASSIGNMENT$10SUCCESS: {
+ ASSIGNMENT$10FAILURE: {
+ if (consumeKeyword(getRule().ele000001000KeywordKeyword(), "name", false, false))
+ break ASSIGNMENT$10FAILURE;
+ if (consumeTerminal(stringConsumer, "name", false, false, getRule().ele000001001LexerRuleCallSTRING()))
+ break ASSIGNMENT$10FAILURE;
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele00000101LexerRuleCallID()))
+ break ASSIGNMENT$10FAILURE;
+ mGROUP$6.rollback();
+ break ASSIGNMENT$10SUCCESS;
+ }
+ break GROUP$6FAILURE;
+ }
+ mGROUP$6.rollback();
+ break GROUP$6SUCCESS;
+ }
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ GROUP$5FAILURE: {
+ ASSIGNMENT$16SUCCESS: {
+ ASSIGNMENT$16FAILURE: {
+ if (consumeTerminal(idConsumer, null, false, false, getRule().ele000010CrossReferenceEStringErwachsener()))
+ break ASSIGNMENT$16FAILURE;
+ mGROUP$5.rollback();
+ break ASSIGNMENT$16SUCCESS;
+ }
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ ASSIGNMENT$19SUCCESS: {
+ ASSIGNMENT$19FAILURE: {
+ if (consumeTerminal(idConsumer, null, false, false, getRule().ele00010CrossReferenceEStringErwachsener()))
+ break ASSIGNMENT$19FAILURE;
+ mGROUP$4.rollback();
+ break ASSIGNMENT$19SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$22SUCCESS: {
+ ASSIGNMENT$22FAILURE: {
+ if (consumeTerminal(idConsumer, null, true, false, getRule().ele0010CrossReferenceEStringKind()))
+ break ASSIGNMENT$22FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$22SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ GROUP$25SUCCESS: while(true) {
+ IMarker mGROUP$25 = mark();
+ GROUP$25FAILURE: {
+ KEYWORD$26SUCCESS: {
+ if (!consumeKeyword(getRule().ele010KeywordComma(), null, false, false))
+ break KEYWORD$26SUCCESS;
+ break GROUP$25FAILURE;
+ }
+ mGROUP$25.rollback();
+ break GROUP$25SUCCESS;
+ }
+ GROUP$25FAILURE: {
+ ASSIGNMENT$27SUCCESS: {
+ ASSIGNMENT$27FAILURE: {
+ if (consumeTerminal(idConsumer, null, true, false, getRule().ele0110CrossReferenceEStringKind()))
+ break ASSIGNMENT$27FAILURE;
+ mGROUP$25.rollback();
+ break ASSIGNMENT$27SUCCESS;
+ }
+ break GROUP$25FAILURE;
+ }
+ mGROUP$25.rollback();
+ break GROUP$25SUCCESS;
+ }
+ continue GROUP$25SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$30SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightParenthesis(), null, false, false))
+ break KEYWORD$30SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public FamilieElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prFamilie();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Familie";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFarbeConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFarbeConsumer.java
new file mode 100644
index 0000000..7603e99
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarFarbeConsumer.java
@@ -0,0 +1,61 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.FarbeElements;
+
+
+public final class ReferenceGrammarFarbeConsumer extends NonTerminalConsumer {
+
+
+ public ReferenceGrammarFarbeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ASSIGNMENT$1SUCCESS: {
+ ASSIGNMENT$1FAILURE: {
+ if (consumeKeyword(getRule().ele0000KeywordROT(), "wert", false, false))
+ break ASSIGNMENT$1FAILURE;
+ if (consumeKeyword(getRule().ele0001KeywordBLAU(), "wert", false, false))
+ break ASSIGNMENT$1FAILURE;
+ if (consumeKeyword(getRule().ele001KeywordGELB(), "wert", false, false))
+ break ASSIGNMENT$1FAILURE;
+ if (consumeKeyword(getRule().ele01KeywordGRÜN(), "wert", false, false))
+ break ASSIGNMENT$1FAILURE;
+ break ASSIGNMENT$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public FarbeElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prFarbe();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Farbe";
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarKindConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarKindConsumer.java
new file mode 100644
index 0000000..ed15305
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarKindConsumer.java
@@ -0,0 +1,140 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.KindElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+
+public final class ReferenceGrammarKindConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private XtextBuiltinINTConsumer intConsumer;
+
+ public ReferenceGrammarKindConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000KeywordKind(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele0001KeywordLeftParenthesis(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele0010LexerRuleCallID()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeTerminal(intConsumer, "age", false, false, getRule().ele010LexerRuleCallINT()))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightParenthesis(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public KindElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prKind();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Kind";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setIntConsumer(XtextBuiltinINTConsumer intConsumer) {
+ this.intConsumer = intConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarPersonConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarPersonConsumer.java
new file mode 100644
index 0000000..b514b73
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarPersonConsumer.java
@@ -0,0 +1,75 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.PersonElements;
+
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarErwachsenerConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarKindConsumer;
+
+public final class ReferenceGrammarPersonConsumer extends NonTerminalConsumer {
+
+ private ReferenceGrammarErwachsenerConsumer erwachsenerConsumer;
+ private ReferenceGrammarKindConsumer kindConsumer;
+
+ public ReferenceGrammarPersonConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ALTERNATIVES$1SUCCESS: {
+ ALTERNATIVES$1FAILURE: {
+ RULECALL$2SUCCESS: {
+ if (!consumeNonTerminal(kindConsumer, null, false, false, getRule().ele0ParserRuleCallKind()))
+ break RULECALL$2SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ RULECALL$3SUCCESS: {
+ if (!consumeNonTerminal(erwachsenerConsumer, null, false, false, getRule().ele1ParserRuleCallErwachsener()))
+ break RULECALL$3SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ break ALTERNATIVES$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public PersonElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prPerson();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Person";
+ }
+
+ public void setErwachsenerConsumer(ReferenceGrammarErwachsenerConsumer erwachsenerConsumer) {
+ this.erwachsenerConsumer = erwachsenerConsumer;
+ }
+
+ public void setKindConsumer(ReferenceGrammarKindConsumer kindConsumer) {
+ this.kindConsumer = kindConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielplatzConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielplatzConsumer.java
new file mode 100644
index 0000000..6dcdc7e
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielplatzConsumer.java
@@ -0,0 +1,241 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.SpielplatzElements;
+
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarErwachsenerConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarSpielzeugConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarFamilieConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarKindConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarCustomTypeParserRuleConsumer;
+
+public final class ReferenceGrammarSpielplatzConsumer extends NonTerminalConsumer {
+
+ private ReferenceGrammarErwachsenerConsumer erwachsenerConsumer;
+ private ReferenceGrammarSpielzeugConsumer spielzeugConsumer;
+ private XtextBuiltinINTConsumer intConsumer;
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+ private ReferenceGrammarFamilieConsumer familieConsumer;
+ private ReferenceGrammarKindConsumer kindConsumer;
+ private ReferenceGrammarCustomTypeParserRuleConsumer customTypeParserRuleConsumer;
+
+ public ReferenceGrammarSpielplatzConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ GROUP$5SUCCESS: {
+ IMarker mGROUP$5 = mark();
+ GROUP$5FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele00000KeywordSpielplatz(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ GROUP$5FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(intConsumer, "groesse", false, false, getRule().ele000010LexerRuleCallINT()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$5.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeTerminal(stringConsumer, "beschreibung", false, false, getRule().ele00010LexerRuleCallSTRING()))
+ break ASSIGNMENT$9FAILURE;
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele001KeywordLeftCurlyBracket(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ALTERNATIVES$12SUCCESS: while(true) {
+ ALTERNATIVES$12FAILURE: {
+ ALTERNATIVES$13SUCCESS: {
+ ALTERNATIVES$13FAILURE: {
+ ALTERNATIVES$14SUCCESS: {
+ ALTERNATIVES$14FAILURE: {
+ ALTERNATIVES$15SUCCESS: {
+ ALTERNATIVES$15FAILURE: {
+ ASSIGNMENT$16SUCCESS: {
+ ASSIGNMENT$16FAILURE: {
+ if (consumeNonTerminal(kindConsumer, "kinder", true, false , getRule().ele0100000ParserRuleCallKind()))
+ break ASSIGNMENT$16FAILURE;
+ break ASSIGNMENT$16SUCCESS;
+ }
+ break ALTERNATIVES$15FAILURE;
+ }
+ ASSIGNMENT$18SUCCESS: {
+ ASSIGNMENT$18FAILURE: {
+ if (consumeNonTerminal(erwachsenerConsumer, "erzieher", true, false , getRule().ele0100010ParserRuleCallErwachsener()))
+ break ASSIGNMENT$18FAILURE;
+ break ASSIGNMENT$18SUCCESS;
+ }
+ break ALTERNATIVES$15FAILURE;
+ }
+ break ALTERNATIVES$15SUCCESS;
+ }
+ break ALTERNATIVES$14FAILURE;
+ }
+ ASSIGNMENT$20SUCCESS: {
+ ASSIGNMENT$20FAILURE: {
+ if (consumeNonTerminal(spielzeugConsumer, "spielzeuge", true, false , getRule().ele010010ParserRuleCallSpielzeug()))
+ break ASSIGNMENT$20FAILURE;
+ break ASSIGNMENT$20SUCCESS;
+ }
+ break ALTERNATIVES$14FAILURE;
+ }
+ break ALTERNATIVES$14SUCCESS;
+ }
+ break ALTERNATIVES$13FAILURE;
+ }
+ ASSIGNMENT$22SUCCESS: {
+ ASSIGNMENT$22FAILURE: {
+ if (consumeNonTerminal(familieConsumer, "familie", true, false , getRule().ele01010ParserRuleCallFamilie()))
+ break ASSIGNMENT$22FAILURE;
+ break ASSIGNMENT$22SUCCESS;
+ }
+ break ALTERNATIVES$13FAILURE;
+ }
+ break ALTERNATIVES$13SUCCESS;
+ }
+ break ALTERNATIVES$12FAILURE;
+ }
+ ASSIGNMENT$24SUCCESS: {
+ ASSIGNMENT$24FAILURE: {
+ if (consumeNonTerminal(customTypeParserRuleConsumer, "types", true, false , getRule().ele0110ParserRuleCallCustomTypeParserRule()))
+ break ASSIGNMENT$24FAILURE;
+ break ASSIGNMENT$24SUCCESS;
+ }
+ break ALTERNATIVES$12FAILURE;
+ }
+ break ALTERNATIVES$12SUCCESS;
+ }
+ continue ALTERNATIVES$12SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$26SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightCurlyBracket(), null, false, false))
+ break KEYWORD$26SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return true;
+ }
+
+ public SpielplatzElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prSpielplatz();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Spielplatz";
+ }
+
+ public void setErwachsenerConsumer(ReferenceGrammarErwachsenerConsumer erwachsenerConsumer) {
+ this.erwachsenerConsumer = erwachsenerConsumer;
+ }
+
+ public void setSpielzeugConsumer(ReferenceGrammarSpielzeugConsumer spielzeugConsumer) {
+ this.spielzeugConsumer = spielzeugConsumer;
+ }
+
+ public void setIntConsumer(XtextBuiltinINTConsumer intConsumer) {
+ this.intConsumer = intConsumer;
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+ public void setFamilieConsumer(ReferenceGrammarFamilieConsumer familieConsumer) {
+ this.familieConsumer = familieConsumer;
+ }
+
+ public void setKindConsumer(ReferenceGrammarKindConsumer kindConsumer) {
+ this.kindConsumer = kindConsumer;
+ }
+
+ public void setCustomTypeParserRuleConsumer(ReferenceGrammarCustomTypeParserRuleConsumer customTypeParserRuleConsumer) {
+ this.customTypeParserRuleConsumer = customTypeParserRuleConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielzeugConsumer.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielzeugConsumer.java
new file mode 100644
index 0000000..46370a7
--- /dev/null
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parser/packrat/consumers/ReferenceGrammarSpielzeugConsumer.java
@@ -0,0 +1,140 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.reference.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess;
+import org.eclipse.xtext.reference.services.ReferenceGrammarGrammarAccess.SpielzeugElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.reference.parser.packrat.consumers.ReferenceGrammarFarbeConsumer;
+
+public final class ReferenceGrammarSpielzeugConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private ReferenceGrammarFarbeConsumer farbeConsumer;
+
+ public ReferenceGrammarSpielzeugConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000KeywordSpielzeug(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele0001KeywordLeftParenthesis(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele0010LexerRuleCallID()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeNonTerminal(farbeConsumer, "farbe", false, false , getRule().ele010ParserRuleCallFarbe()))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightParenthesis(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public SpielzeugElements getRule() {
+ return ReferenceGrammarGrammarAccess.INSTANCE.prSpielzeug();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Spielzeug";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setFarbeConsumer(ReferenceGrammarFarbeConsumer farbeConsumer) {
+ this.farbeConsumer = farbeConsumer;
+ }
+
+
+}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java
index 2d753c5..a2f2c5b 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java
@@ -1490,7 +1490,7 @@ protected class Familie_0_0_0_0_1_Assignment_mutter extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Erwachsener")) {
type = AssignmentType.CR;
- element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele000010CrossReferenceErwachsener();
+ element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele000010CrossReferenceEStringErwachsener();
return new Solution(obj);
}
}
@@ -1517,7 +1517,7 @@ protected class Familie_0_0_0_1_Assignment_vater extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Erwachsener")) {
type = AssignmentType.CR;
- element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele00010CrossReferenceErwachsener();
+ element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele00010CrossReferenceEStringErwachsener();
return new Solution(obj);
}
}
@@ -1544,7 +1544,7 @@ protected class Familie_0_0_1_Assignment_kinder extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Kind")) {
type = AssignmentType.CR;
- element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele0010CrossReferenceKind();
+ element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele0010CrossReferenceEStringKind();
return new Solution(obj);
}
}
@@ -1611,7 +1611,7 @@ protected class Familie_0_1_1_Assignment_kinder extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Kind")) {
type = AssignmentType.CR;
- element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele0110CrossReferenceKind();
+ element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele0110CrossReferenceEStringKind();
return new Solution(obj);
}
}
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/services/ReferenceGrammarGrammarAccess.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/services/ReferenceGrammarGrammarAccess.java
index 25eed6b..53a0c5c 100644
--- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/services/ReferenceGrammarGrammarAccess.java
+++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/services/ReferenceGrammarGrammarAccess.java
@@ -311,15 +311,15 @@ public class ReferenceGrammarGrammarAccess extends BaseEPackageAccess implements
private final RuleCall c000001001LexerRuleCallSTRING = (RuleCall)c00000100Alternatives.eContents().get(1);
private final RuleCall c00000101LexerRuleCallID = (RuleCall)c0000010Alternatives.eContents().get(1);
private final Assignment c00001AssignmentMutter = (Assignment)c0000Group.eContents().get(1);
- private final CrossReference c000010CrossReferenceErwachsener = (CrossReference)c00001AssignmentMutter.eContents().get(0);
+ private final CrossReference c000010CrossReferenceEStringErwachsener = (CrossReference)c00001AssignmentMutter.eContents().get(0);
private final Assignment c0001AssignmentVater = (Assignment)c000Group.eContents().get(1);
- private final CrossReference c00010CrossReferenceErwachsener = (CrossReference)c0001AssignmentVater.eContents().get(0);
+ private final CrossReference c00010CrossReferenceEStringErwachsener = (CrossReference)c0001AssignmentVater.eContents().get(0);
private final Assignment c001AssignmentKinder = (Assignment)c00Group.eContents().get(1);
- private final CrossReference c0010CrossReferenceKind = (CrossReference)c001AssignmentKinder.eContents().get(0);
+ private final CrossReference c0010CrossReferenceEStringKind = (CrossReference)c001AssignmentKinder.eContents().get(0);
private final Group c01Group = (Group)c0Group.eContents().get(1);
private final Keyword c010KeywordComma = (Keyword)c01Group.eContents().get(0);
private final Assignment c011AssignmentKinder = (Assignment)c01Group.eContents().get(1);
- private final CrossReference c0110CrossReferenceKind = (CrossReference)c011AssignmentKinder.eContents().get(0);
+ private final CrossReference c0110CrossReferenceEStringKind = (CrossReference)c011AssignmentKinder.eContents().get(0);
private final Keyword c1KeywordRightParenthesis = (Keyword)cGroup.eContents().get(1);
// Familie : 'familie' '(' name = ( 'keyword' | STRING | ID ) mutter = [ Erwachsener ] vater = [ Erwachsener ] kinder += [ Kind ] ( ',' kinder += [ Kind ] ) * ')' ;
@@ -374,19 +374,19 @@ public class ReferenceGrammarGrammarAccess extends BaseEPackageAccess implements
public Assignment ele00001AssignmentMutter() { return c00001AssignmentMutter; }
// [ Erwachsener ]
- public CrossReference ele000010CrossReferenceErwachsener() { return c000010CrossReferenceErwachsener; }
+ public CrossReference ele000010CrossReferenceEStringErwachsener() { return c000010CrossReferenceEStringErwachsener; }
// vater = [ Erwachsener ]
public Assignment ele0001AssignmentVater() { return c0001AssignmentVater; }
// [ Erwachsener ]
- public CrossReference ele00010CrossReferenceErwachsener() { return c00010CrossReferenceErwachsener; }
+ public CrossReference ele00010CrossReferenceEStringErwachsener() { return c00010CrossReferenceEStringErwachsener; }
// kinder += [ Kind ]
public Assignment ele001AssignmentKinder() { return c001AssignmentKinder; }
// [ Kind ]
- public CrossReference ele0010CrossReferenceKind() { return c0010CrossReferenceKind; }
+ public CrossReference ele0010CrossReferenceEStringKind() { return c0010CrossReferenceEStringKind; }
// ( ',' kinder += [ Kind ] ) *
public Group ele01Group() { return c01Group; }
@@ -398,7 +398,7 @@ public class ReferenceGrammarGrammarAccess extends BaseEPackageAccess implements
public Assignment ele011AssignmentKinder() { return c011AssignmentKinder; }
// [ Kind ]
- public CrossReference ele0110CrossReferenceKind() { return c0110CrossReferenceKind; }
+ public CrossReference ele0110CrossReferenceEStringKind() { return c0110CrossReferenceEStringKind; }
// ')'
public Keyword ele1KeywordRightParenthesis() { return c1KeywordRightParenthesis; }
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/META-INF/MANIFEST.MF b/examples/org.eclipse.xtext.example.fowlerdsl/META-INF/MANIFEST.MF
index e569a82..94831f9 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/META-INF/MANIFEST.MF
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/META-INF/MANIFEST.MF
@@ -11,7 +11,6 @@ Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.generator,
org.eclipse.xtext.log4j;bundle-version="1.2.15"
Export-Package: org.eclipse.xtext.example,
- org.eclipse.xtext.example.parser;uses:="org.eclipse.xtext.parser,org.eclipse.xtext.parser.antlr,org.antlr.runtime",
org.eclipse.xtext.example.parsetree.reconstr;
uses:="org.eclipse.xtext.parsetree.reconstr,
org.eclipse.xtext,
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeConfig.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeConfig.java
index 6df7084..b9ba979 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeConfig.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/AbstractFowlerDslRuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractFowlerDslRuntimeConfig extends AbstractServiceRegi
return org.eclipse.xtext.example.services.FowlerDslGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.xtext.example.parser.packrat.FowlerDslPackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.xtext.example.parser.FowlerDslParser.class;
+ return org.eclipse.xtext.example.parser.antlr.FowlerDslParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.xtext.example.parser.FowlerDslAntlrTokenFileProvider.class;
+ return org.eclipse.xtext.example.parser.antlr.FowlerDslAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractFowlerDslRuntimeConfig extends AbstractServiceRegi
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.xtext.example.parser.internal.InternalFowlerDslLexer.class;
+ return org.eclipse.xtext.example.parser.antlr.internal.InternalFowlerDslLexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractFowlerDslRuntimeConfig extends AbstractServiceRegi
return scope(org.eclipse.xtext.example.IFowlerDsl.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
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 dd17281..9ea2889 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
@@ -103,6 +103,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://example.xtext.org/FowlerDsl#//Command"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
@@ -127,6 +128,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://example.xtext.org/FowlerDsl#//Event"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value="=>"/>
@@ -136,6 +138,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://example.xtext.org/FowlerDsl#//State"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</alternatives>
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslAntlrTokenFileProvider.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslAntlrTokenFileProvider.java
index cbedd76..7e8c1ab 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslAntlrTokenFileProvider.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslAntlrTokenFileProvider.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.example.parser;
+package org.eclipse.xtext.example.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
@@ -10,6 +10,6 @@ public class FowlerDslAntlrTokenFileProvider implements IAntlrTokenFileProvider
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = FowlerDslAntlrTokenFileProvider.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens");
}
}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslParser.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslParser.java
index 5f17525..7b906ef 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/FowlerDslParser.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/FowlerDslParser.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.example.parser;
+package org.eclipse.xtext.example.parser.antlr;
import org.antlr.runtime.ANTLRInputStream;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
@@ -11,10 +11,10 @@ import org.eclipse.xtext.parser.ParseException;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.service.Inject;
-import org.eclipse.xtext.example.parser.internal.InternalFowlerDslLexer;
-import org.eclipse.xtext.example.parser.internal.InternalFowlerDslParser;
+import org.eclipse.xtext.example.parser.antlr.internal.InternalFowlerDslLexer;
+import org.eclipse.xtext.example.parser.antlr.internal.InternalFowlerDslParser;
-public class FowlerDslParser extends org.eclipse.xtext.parser.AbstractParser {
+public class FowlerDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
protected AntlrTokenDefProvider antlrTokenDefProvider;
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g
index 2ce5019..6177368 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g
@@ -4,11 +4,11 @@ Generated with Xtext
grammar InternalFowlerDsl;
options {
- superClass=AbstractAntlrParser;
+ superClass=AbstractInternalAntlrParser;
}
@lexer::header {
-package org.eclipse.xtext.example.parser.internal;
+package org.eclipse.xtext.example.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
-package org.eclipse.xtext.example.parser.internal;
+package org.eclipse.xtext.example.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -25,10 +25,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
}
@@ -43,7 +43,7 @@ import org.eclipse.xtext.parser.antlr.ValueConverterException;
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalFowlerDslParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens");
}
@Override
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens
index 96a5666..96a5666 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslLexer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslLexer.java
index 0feb5fc..d85ef14 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslLexer.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslLexer.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g 2009-01-12 18:37:36
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g 2009-01-13 09:49:41
-package org.eclipse.xtext.example.parser.internal;
+package org.eclipse.xtext.example.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -35,14 +35,14 @@ public class InternalFowlerDslLexer extends Lexer {
public InternalFowlerDslLexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g"; }
// $ANTLR start T11
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:10:5: ( 'events' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:10:7: 'events'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:10:5: ( 'events' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:10:7: 'events'
{
match("events");
@@ -60,8 +60,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:11:5: ( 'end' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:11:7: 'end'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:11:5: ( 'end' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:11:7: 'end'
{
match("end");
@@ -79,8 +79,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:12:5: ( 'commands' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:12:7: 'commands'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:12:5: ( 'commands' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:12:7: 'commands'
{
match("commands");
@@ -98,8 +98,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT14() throws RecognitionException {
try {
int _type = T14;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:13:5: ( 'resetting' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:13:7: 'resetting'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:13:5: ( 'resetting' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:13:7: 'resetting'
{
match("resetting");
@@ -117,8 +117,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT15() throws RecognitionException {
try {
int _type = T15;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:14:5: ( 'state' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:14:7: 'state'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:14:5: ( 'state' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:14:7: 'state'
{
match("state");
@@ -136,8 +136,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT16() throws RecognitionException {
try {
int _type = T16;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:15:5: ( 'actions' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:15:7: 'actions'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:15:5: ( 'actions' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:15:7: 'actions'
{
match("actions");
@@ -155,8 +155,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT17() throws RecognitionException {
try {
int _type = T17;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:16:5: ( '{' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:16:7: '{'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:16:5: ( '{' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:16:7: '{'
{
match('{');
@@ -173,8 +173,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT18() throws RecognitionException {
try {
int _type = T18;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:17:5: ( '}' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:17:7: '}'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:17:5: ( '}' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:17:7: '}'
{
match('}');
@@ -191,8 +191,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mT19() throws RecognitionException {
try {
int _type = T19;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:18:5: ( '=>' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:18:7: '=>'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:18:5: ( '=>' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:18:7: '=>'
{
match("=>");
@@ -210,10 +210,10 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:444:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:444:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:444:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:444:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:444:11: ( '^' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:444:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -222,7 +222,7 @@ public class InternalFowlerDslLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:444:12: '^'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:444:12: '^'
{
match('^');
@@ -241,7 +241,7 @@ public class InternalFowlerDslLexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:444:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:444:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -254,7 +254,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -289,10 +289,10 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:446:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:446:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:446:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:446:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:446:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:446:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -306,7 +306,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:446:13: '0' .. '9'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:446:13: '0' .. '9'
{
matchRange('0','9');
@@ -336,7 +336,7 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -354,10 +354,10 @@ public class InternalFowlerDslLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -373,7 +373,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:21: '\\\\' ( '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' ) {
@@ -390,7 +390,7 @@ public class InternalFowlerDslLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -416,10 +416,10 @@ public class InternalFowlerDslLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -435,7 +435,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:108: '\\\\' ( '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' ) {
@@ -452,7 +452,7 @@ public class InternalFowlerDslLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:448:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:448:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -490,12 +490,12 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:450:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:450:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:450:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:450:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:450:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:450:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -520,7 +520,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:450:52: .
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:450:52: .
{
matchAny();
@@ -549,12 +549,12 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -567,7 +567,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452: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();
@@ -588,7 +588,7 @@ public class InternalFowlerDslLexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -597,9 +597,9 @@ public class InternalFowlerDslLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -608,7 +608,7 @@ public class InternalFowlerDslLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:452:39: '\\r'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:452:39: '\\r'
{
match('\r');
@@ -639,10 +639,10 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:454:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:454:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:454:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:454:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:454:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:454:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -656,7 +656,7 @@ public class InternalFowlerDslLexer extends Lexer {
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -696,8 +696,8 @@ public class InternalFowlerDslLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:456:16: ( . )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:456:18: .
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:456:16: ( . )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:456:18: .
{
matchAny();
@@ -711,7 +711,7 @@ public class InternalFowlerDslLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt12=16;
int LA12_0 = input.LA(1);
@@ -1037,112 +1037,112 @@ public class InternalFowlerDslLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:10: T11
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:10: T11
{
mT11();
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:14: T12
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:14: T12
{
mT12();
}
break;
case 3 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:18: T13
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:18: T13
{
mT13();
}
break;
case 4 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:22: T14
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:22: T14
{
mT14();
}
break;
case 5 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:26: T15
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:26: T15
{
mT15();
}
break;
case 6 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:30: T16
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:30: T16
{
mT16();
}
break;
case 7 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:34: T17
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:34: T17
{
mT17();
}
break;
case 8 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:38: T18
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:38: T18
{
mT18();
}
break;
case 9 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:42: T19
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:42: T19
{
mT19();
}
break;
case 10 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:46: RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:46: RULE_ID
{
mRULE_ID();
}
break;
case 11 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:54: RULE_INT
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:54: RULE_INT
{
mRULE_INT();
}
break;
case 12 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:63: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:63: RULE_STRING
{
mRULE_STRING();
}
break;
case 13 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:75: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:75: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 14 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:91: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:91: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 15 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:107: RULE_WS
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:107: RULE_WS
{
mRULE_WS();
}
break;
case 16 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:1:115: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:1:115: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslParser.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslParser.java
index b1bd0c4..39e13d4 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDslParser.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDslParser.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g 2009-01-12 18:37:35
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g 2009-01-13 09:49:41
-package org.eclipse.xtext.example.parser.internal;
+package org.eclipse.xtext.example.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -9,10 +9,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
@@ -21,7 +21,7 @@ import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-public class InternalFowlerDslParser extends AbstractAntlrParser {
+public class InternalFowlerDslParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'events'", "'end'", "'commands'", "'resetting'", "'state'", "'actions'", "'{'", "'}'", "'=>'"
};
@@ -40,7 +40,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g"; }
@@ -53,7 +53,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalFowlerDslParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.tokens");
}
@Override
@@ -64,7 +64,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start entryRuleStatemachine
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:66:1: entryRuleStatemachine returns [EObject current=null] : iv_ruleStatemachine= ruleStatemachine EOF ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:66:1: entryRuleStatemachine returns [EObject current=null] : iv_ruleStatemachine= ruleStatemachine EOF ;
public final EObject entryRuleStatemachine() throws RecognitionException {
EObject current = null;
@@ -72,8 +72,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:66:54: (iv_ruleStatemachine= ruleStatemachine EOF )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:67:2: iv_ruleStatemachine= ruleStatemachine EOF
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:66:54: (iv_ruleStatemachine= ruleStatemachine EOF )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:67:2: iv_ruleStatemachine= ruleStatemachine EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleStatemachine_in_entryRuleStatemachine71);
@@ -99,7 +99,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start ruleStatemachine
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:74:1: ruleStatemachine returns [EObject current=null] : ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* ) ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:74:1: ruleStatemachine returns [EObject current=null] : ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* ) ;
public final EObject ruleStatemachine() throws RecognitionException {
EObject current = null;
@@ -112,32 +112,32 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:76:33: ( ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:1: ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:76:33: ( ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:1: ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:1: ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:2: ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:1: ( ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:2: ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' ) (lv_states= ruleState )*
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:2: ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:3: ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:2: ( ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:3: ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* ) 'end'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:3: ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:4: ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:3: ( ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:4: ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' ) (lv_commands= ruleCommand )*
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:4: ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:5: ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:4: ( ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:5: ( ( 'events' (lv_events= ruleEvent )* ) 'end' ) 'commands'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:5: ( ( 'events' (lv_events= ruleEvent )* ) 'end' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:6: ( 'events' (lv_events= ruleEvent )* ) 'end'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:5: ( ( 'events' (lv_events= ruleEvent )* ) 'end' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:6: ( 'events' (lv_events= ruleEvent )* ) 'end'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:6: ( 'events' (lv_events= ruleEvent )* )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:77:7: 'events' (lv_events= ruleEvent )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:6: ( 'events' (lv_events= ruleEvent )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:77:7: 'events' (lv_events= ruleEvent )*
{
match(input,11,FOLLOW_11_in_ruleStatemachine120);
createLeafNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:81:1: (lv_events= ruleEvent )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:81:1: (lv_events= ruleEvent )*
loop1:
do {
int alt1=2;
@@ -150,7 +150,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:84:6: lv_events= ruleEvent
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:84:6: lv_events= ruleEvent
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -198,7 +198,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:110:2: (lv_commands= ruleCommand )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:110:2: (lv_commands= ruleCommand )*
loop2:
do {
int alt2=2;
@@ -211,7 +211,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:113:6: lv_commands= ruleCommand
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:113:6: lv_commands= ruleCommand
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -252,7 +252,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:135:2: (lv_states= ruleState )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:135:2: (lv_states= ruleState )*
loop3:
do {
int alt3=2;
@@ -265,7 +265,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:138:6: lv_states= ruleState
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:138:6: lv_states= ruleState
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -317,7 +317,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start entryRuleEvent
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:163:1: entryRuleEvent returns [EObject current=null] : iv_ruleEvent= ruleEvent EOF ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:163:1: entryRuleEvent returns [EObject current=null] : iv_ruleEvent= ruleEvent EOF ;
public final EObject entryRuleEvent() throws RecognitionException {
EObject current = null;
@@ -325,8 +325,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:163:47: (iv_ruleEvent= ruleEvent EOF )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:164:2: iv_ruleEvent= ruleEvent EOF
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:163:47: (iv_ruleEvent= ruleEvent EOF )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:164:2: iv_ruleEvent= ruleEvent EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.1" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleEvent_in_entryRuleEvent302);
@@ -352,7 +352,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start ruleEvent
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:171:1: ruleEvent returns [EObject current=null] : ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) ) ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:171:1: ruleEvent returns [EObject current=null] : ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) ) ;
public final EObject ruleEvent() throws RecognitionException {
EObject current = null;
@@ -362,16 +362,16 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:173:33: ( ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:1: ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:173:33: ( ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:1: ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:1: ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:2: ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:1: ( ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:2: ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) ) (lv_code= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:2: ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:3: (lv_resetting= 'resetting' )? (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:2: ( (lv_resetting= 'resetting' )? (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:3: (lv_resetting= 'resetting' )? (lv_name= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:174:3: (lv_resetting= 'resetting' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:174:3: (lv_resetting= 'resetting' )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -380,7 +380,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:176:6: lv_resetting= 'resetting'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:176:6: lv_resetting= 'resetting'
{
lv_resetting=(Token)input.LT(1);
match(input,14,FOLLOW_14_in_ruleEvent359);
@@ -405,8 +405,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:194:3: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:196:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:194:3: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:196:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEvent393);
@@ -431,8 +431,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:214:3: (lv_code= RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:216:6: lv_code= RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:214:3: (lv_code= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:216:6: lv_code= RULE_ID
{
lv_code=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEvent426);
@@ -475,7 +475,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start entryRuleCommand
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:241:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:241:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
public final EObject entryRuleCommand() throws RecognitionException {
EObject current = null;
@@ -483,8 +483,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:241:49: (iv_ruleCommand= ruleCommand EOF )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:242:2: iv_ruleCommand= ruleCommand EOF
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:241:49: (iv_ruleCommand= ruleCommand EOF )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:242:2: iv_ruleCommand= ruleCommand EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleCommand_in_entryRuleCommand470);
@@ -510,7 +510,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start ruleCommand
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:249:1: ruleCommand returns [EObject current=null] : ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) ) ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:249:1: ruleCommand returns [EObject current=null] : ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) ) ;
public final EObject ruleCommand() throws RecognitionException {
EObject current = null;
@@ -519,14 +519,14 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:251:33: ( ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:252:1: ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:251:33: ( ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:252:1: ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:252:1: ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:252:2: (lv_name= RULE_ID ) (lv_code= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:252:1: ( (lv_name= RULE_ID ) (lv_code= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:252:2: (lv_name= RULE_ID ) (lv_code= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:252:2: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:254:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:252:2: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:254:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCommand526);
@@ -548,8 +548,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:272:2: (lv_code= RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:274:6: lv_code= RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:272:2: (lv_code= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:274:6: lv_code= RULE_ID
{
lv_code=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCommand558);
@@ -592,7 +592,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start entryRuleState
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:299:1: entryRuleState returns [EObject current=null] : iv_ruleState= ruleState EOF ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:299:1: entryRuleState returns [EObject current=null] : iv_ruleState= ruleState EOF ;
public final EObject entryRuleState() throws RecognitionException {
EObject current = null;
@@ -600,8 +600,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:299:47: (iv_ruleState= ruleState EOF )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:300:2: iv_ruleState= ruleState EOF
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:299:47: (iv_ruleState= ruleState EOF )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:300:2: iv_ruleState= ruleState EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.3" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleState_in_entryRuleState602);
@@ -627,7 +627,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start ruleState
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:307:1: ruleState returns [EObject current=null] : ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' ) ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:307:1: ruleState returns [EObject current=null] : ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' ) ;
public final EObject ruleState() throws RecognitionException {
EObject current = null;
@@ -637,27 +637,27 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:309:33: ( ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:1: ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:309:33: ( ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:1: ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:1: ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:2: ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:1: ( ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:2: ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* ) 'end'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:2: ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:3: ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:2: ( ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )* )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:3: ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? ) (lv_transitions= ruleTransition )*
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:3: ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:4: ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:3: ( ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )? )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:4: ( 'state' (lv_name= RULE_ID ) ) ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )?
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:4: ( 'state' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:310:5: 'state' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:4: ( 'state' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:310:5: 'state' (lv_name= RULE_ID )
{
match(input,15,FOLLOW_15_in_ruleState649);
createLeafNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:314:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:316:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:314:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:316:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleState670);
@@ -682,7 +682,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:3: ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )?
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:3: ( ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}' )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -691,13 +691,13 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:4: ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:4: ( ( 'actions' '{' ) ( ( RULE_ID ) )+ ) '}'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:4: ( ( 'actions' '{' ) ( ( RULE_ID ) )+ )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:5: ( 'actions' '{' ) ( ( RULE_ID ) )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:4: ( ( 'actions' '{' ) ( ( RULE_ID ) )+ )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:5: ( 'actions' '{' ) ( ( RULE_ID ) )+
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:5: ( 'actions' '{' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:334:6: 'actions' '{'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:5: ( 'actions' '{' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:334:6: 'actions' '{'
{
match(input,16,FOLLOW_16_in_ruleState694);
@@ -710,7 +710,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:342:2: ( ( RULE_ID ) )+
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:342:2: ( ( RULE_ID ) )+
int cnt5=0;
loop5:
do {
@@ -724,7 +724,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:345:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:345:3: ( RULE_ID )
{
if (current==null) {
@@ -732,8 +732,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:351:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:352:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:351:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:352:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleState728);
@@ -771,7 +771,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:361:4: (lv_transitions= ruleTransition )*
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:361:4: (lv_transitions= ruleTransition )*
loop7:
do {
int alt7=2;
@@ -784,7 +784,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:364:6: lv_transitions= ruleTransition
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:364:6: lv_transitions= ruleTransition
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -843,7 +843,7 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start entryRuleTransition
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:393:1: entryRuleTransition returns [EObject current=null] : iv_ruleTransition= ruleTransition EOF ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:393:1: entryRuleTransition returns [EObject current=null] : iv_ruleTransition= ruleTransition EOF ;
public final EObject entryRuleTransition() throws RecognitionException {
EObject current = null;
@@ -851,8 +851,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:393:52: (iv_ruleTransition= ruleTransition EOF )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:394:2: iv_ruleTransition= ruleTransition EOF
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:393:52: (iv_ruleTransition= ruleTransition EOF )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:394:2: iv_ruleTransition= ruleTransition EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/example/FowlerDsl.xmi#//@rules.4" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleTransition_in_entryRuleTransition828);
@@ -878,23 +878,23 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
// $ANTLR start ruleTransition
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:401:1: ruleTransition returns [EObject current=null] : ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) ) ;
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:401:1: ruleTransition returns [EObject current=null] : ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) ) ;
public final EObject ruleTransition() throws RecognitionException {
EObject current = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:403:33: ( ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:1: ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:403:33: ( ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:1: ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:1: ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:2: ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:1: ( ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:2: ( ( ( RULE_ID ) ) '=>' ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:2: ( ( ( RULE_ID ) ) '=>' )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:3: ( ( RULE_ID ) ) '=>'
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:2: ( ( ( RULE_ID ) ) '=>' )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:3: ( ( RULE_ID ) ) '=>'
{
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:404:3: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:407:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:404:3: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:407:3: ( RULE_ID )
{
if (current==null) {
@@ -902,8 +902,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:413:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:414:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:413:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:414:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTransition888);
@@ -922,8 +922,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:423:2: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:426:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:423:2: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:426:3: ( RULE_ID )
{
if (current==null) {
@@ -931,8 +931,8 @@ public class InternalFowlerDslParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:432:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g:433:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:432:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g:433:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTransition926);
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl__.g b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl__.g
index 805879e..9094fe6 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl__.g
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl__.g
@@ -1,6 +1,6 @@
lexer grammar InternalFowlerDsl;
@header {
-package org.eclipse.xtext.example.parser.internal;
+package org.eclipse.xtext.example.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -17,25 +17,25 @@ T17 : '{' ;
T18 : '}' ;
T19 : '=>' ;
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 444
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 444
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 446
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 446
RULE_INT : ('0'..'9')+;
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 448
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 448
RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 450
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 450
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 452
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 452
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 454
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 454
RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/internal/InternalFowlerDsl.g" 456
+// $ANTLR src "./src-gen/org/eclipse/xtext/example/parser/antlr/internal/InternalFowlerDsl.g" 456
RULE_ANY_OTHER : .;
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslPackratParser.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslPackratParser.java
new file mode 100644
index 0000000..b20830a
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslPackratParser.java
@@ -0,0 +1,22 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+public class FowlerDslPackratParser extends AbstractPackratParser {
+
+ @Override
+ protected FowlerDslParserConfiguration createParserConfiguration(ICharSequenceWithOffset input,
+ IMarkerFactory markerFactory, IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler,
+ IConsumerUtility consumerUtil) {
+ return new FowlerDslParserConfiguration(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslParserConfiguration.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslParserConfiguration.java
new file mode 100644
index 0000000..01284d4
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/FowlerDslParserConfiguration.java
@@ -0,0 +1,164 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
+
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslStatemachineConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslEventConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslCommandConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslStateConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslTransitionConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinML_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSL_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinWSConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinANY_OTHERConsumer;
+
+public class FowlerDslParserConfiguration extends AbstractParserConfiguration {
+
+ private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
+
+ private FowlerDslStatemachineConsumer statemachineConsumer;
+ private FowlerDslEventConsumer eventConsumer;
+ private FowlerDslCommandConsumer commandConsumer;
+ private FowlerDslStateConsumer stateConsumer;
+ private FowlerDslTransitionConsumer transitionConsumer;
+
+ public FowlerDslParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ this.xtextBuiltinConfiguration = new XtextBuiltinParserConfiguration(
+ input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+ public FowlerDslStatemachineConsumer getRootConsumer() {
+ return statemachineConsumer;
+ }
+
+ public void createNonTerminalConsumers() {
+ getXtextBuiltinConfiguration().createNonTerminalConsumers();
+ statemachineConsumer = new FowlerDslStatemachineConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(),
+ new ITerminalConsumer[]{ getWsConsumer(), getMlCommentConsumer(), getSlCommentConsumer() }
+ );
+ eventConsumer = new FowlerDslEventConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ commandConsumer = new FowlerDslCommandConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ stateConsumer = new FowlerDslStateConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ transitionConsumer = new FowlerDslTransitionConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ }
+
+ public void createTerminalConsumers() {
+ getXtextBuiltinConfiguration().createTerminalConsumers();
+ }
+
+ public void configureConsumers() {
+ getStatemachineConsumer().setStateConsumer(getStateConsumer());
+ getStatemachineConsumer().setEventConsumer(getEventConsumer());
+ getStatemachineConsumer().setCommandConsumer(getCommandConsumer());
+
+ getEventConsumer().setIdConsumer(getIdConsumer());
+
+ getCommandConsumer().setIdConsumer(getIdConsumer());
+
+ getStateConsumer().setIdConsumer(getIdConsumer());
+ getStateConsumer().setTransitionConsumer(getTransitionConsumer());
+
+ getTransitionConsumer().setIdConsumer(getIdConsumer());
+
+ getIdConsumer().initFields(this);
+ getIntConsumer().initFields(this);
+ getStringConsumer().initFields(this);
+ getMlCommentConsumer().initFields(this);
+ getSlCommentConsumer().initFields(this);
+ getWsConsumer().initFields(this);
+ getAnyOtherConsumer().initFields(this);
+ }
+
+ // TODO collect superGrammars transitive
+ public XtextBuiltinParserConfiguration getXtextBuiltinConfiguration() {
+ return xtextBuiltinConfiguration;
+ }
+
+ public FowlerDslStatemachineConsumer getStatemachineConsumer() {
+ return statemachineConsumer;
+ }
+
+
+ public FowlerDslEventConsumer getEventConsumer() {
+ return eventConsumer;
+ }
+
+
+ public FowlerDslCommandConsumer getCommandConsumer() {
+ return commandConsumer;
+ }
+
+
+ public FowlerDslStateConsumer getStateConsumer() {
+ return stateConsumer;
+ }
+
+
+ public FowlerDslTransitionConsumer getTransitionConsumer() {
+ return transitionConsumer;
+ }
+
+
+ public XtextBuiltinIDConsumer getIdConsumer() {
+ return getXtextBuiltinConfiguration().getIdConsumer();
+ }
+
+
+ public XtextBuiltinINTConsumer getIntConsumer() {
+ return getXtextBuiltinConfiguration().getIntConsumer();
+ }
+
+
+ public XtextBuiltinSTRINGConsumer getStringConsumer() {
+ return getXtextBuiltinConfiguration().getStringConsumer();
+ }
+
+
+ public XtextBuiltinML_COMMENTConsumer getMlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getMlCommentConsumer();
+ }
+
+
+ public XtextBuiltinSL_COMMENTConsumer getSlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getSlCommentConsumer();
+ }
+
+
+ public XtextBuiltinWSConsumer getWsConsumer() {
+ return getXtextBuiltinConfiguration().getWsConsumer();
+ }
+
+
+ public XtextBuiltinANY_OTHERConsumer getAnyOtherConsumer() {
+ return getXtextBuiltinConfiguration().getAnyOtherConsumer();
+ }
+
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslCommandConsumer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslCommandConsumer.java
new file mode 100644
index 0000000..5265625
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslCommandConsumer.java
@@ -0,0 +1,83 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess.CommandElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class FowlerDslCommandConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public FowlerDslCommandConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ ASSIGNMENT$2SUCCESS: {
+ ASSIGNMENT$2FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele00LexerRuleCallID()))
+ break ASSIGNMENT$2FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$4SUCCESS: {
+ ASSIGNMENT$4FAILURE: {
+ if (consumeTerminal(idConsumer, "code", false, false, getRule().ele10LexerRuleCallID()))
+ break ASSIGNMENT$4FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$4SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public CommandElements getRule() {
+ return FowlerDslGrammarAccess.INSTANCE.prCommand();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Command";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslEventConsumer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslEventConsumer.java
new file mode 100644
index 0000000..6eb4084
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslEventConsumer.java
@@ -0,0 +1,101 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess.EventElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class FowlerDslEventConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public FowlerDslEventConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ ASSIGNMENT$3SUCCESS: {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeKeyword(getRule().ele000KeywordResetting(), "resetting", false, true))
+ break ASSIGNMENT$3FAILURE;
+ break ASSIGNMENT$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele010LexerRuleCallID()))
+ break ASSIGNMENT$5FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, "code", false, false, getRule().ele10LexerRuleCallID()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public EventElements getRule() {
+ return FowlerDslGrammarAccess.INSTANCE.prEvent();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Event";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStateConsumer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStateConsumer.java
new file mode 100644
index 0000000..435ec0a
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStateConsumer.java
@@ -0,0 +1,189 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess.StateElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslTransitionConsumer;
+
+public final class FowlerDslStateConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private FowlerDslTransitionConsumer transitionConsumer;
+
+ public FowlerDslStateConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000KeywordState(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ ASSIGNMENT$6SUCCESS: {
+ ASSIGNMENT$6FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele00010LexerRuleCallID()))
+ break ASSIGNMENT$6FAILURE;
+ mGROUP$4.rollback();
+ break ASSIGNMENT$6SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ GROUP$8SUCCESS: {
+ IMarker mGROUP$8 = mark();
+ GROUP$8FAILURE: {
+ GROUP$9SUCCESS: {
+ IMarker mGROUP$9 = mark();
+ GROUP$9FAILURE: {
+ GROUP$10SUCCESS: {
+ IMarker mGROUP$10 = mark();
+ GROUP$10FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele001000KeywordActions(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$10FAILURE;
+ }
+ mGROUP$10.rollback();
+ break GROUP$10SUCCESS;
+ }
+ GROUP$10FAILURE: {
+ KEYWORD$12SUCCESS: {
+ if (!consumeKeyword(getRule().ele001001KeywordLeftCurlyBracket(), null, false, false))
+ break KEYWORD$12SUCCESS;
+ break GROUP$10FAILURE;
+ }
+ mGROUP$10.rollback();
+ break GROUP$10SUCCESS;
+ }
+ break GROUP$9FAILURE;
+ }
+ mGROUP$9.rollback();
+ break GROUP$9SUCCESS;
+ }
+ GROUP$9FAILURE: {
+ ASSIGNMENT$13SUCCESS: {
+ ASSIGNMENT$13FAILURE: {
+ if (!consumeTerminal(idConsumer, null, true, false, getRule().ele001010CrossReferenceEStringCommand()))
+ break ASSIGNMENT$13SUCCESS;
+ while(consumeTerminal(idConsumer, null, true, false, getRule().ele001010CrossReferenceEStringCommand()));
+ }
+ break GROUP$9FAILURE;
+ }
+ mGROUP$9.rollback();
+ break GROUP$9SUCCESS;
+ }
+ break GROUP$8FAILURE;
+ }
+ mGROUP$8.rollback();
+ break GROUP$8SUCCESS;
+ }
+ GROUP$8FAILURE: {
+ KEYWORD$16SUCCESS: {
+ if (!consumeKeyword(getRule().ele0011KeywordRightCurlyBracket(), null, false, false))
+ break KEYWORD$16SUCCESS;
+ break GROUP$8FAILURE;
+ }
+ mGROUP$8.rollback();
+ break GROUP$8SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$17SUCCESS: while(true) {
+ ASSIGNMENT$17FAILURE: {
+ if (consumeNonTerminal(transitionConsumer, "transitions", true, false , getRule().ele010ParserRuleCallTransition()))
+ break ASSIGNMENT$17FAILURE;
+ break ASSIGNMENT$17SUCCESS;
+ }
+ continue ASSIGNMENT$17SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$19SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordEnd(), null, false, false))
+ break KEYWORD$19SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public StateElements getRule() {
+ return FowlerDslGrammarAccess.INSTANCE.prState();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "State";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setTransitionConsumer(FowlerDslTransitionConsumer transitionConsumer) {
+ this.transitionConsumer = transitionConsumer;
+ }
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStatemachineConsumer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStatemachineConsumer.java
new file mode 100644
index 0000000..c705957
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslStatemachineConsumer.java
@@ -0,0 +1,175 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess.StatemachineElements;
+
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslStateConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslEventConsumer;
+import org.eclipse.xtext.example.parser.packrat.consumers.FowlerDslCommandConsumer;
+
+public final class FowlerDslStatemachineConsumer extends NonTerminalConsumer {
+
+ private FowlerDslStateConsumer stateConsumer;
+ private FowlerDslEventConsumer eventConsumer;
+ private FowlerDslCommandConsumer commandConsumer;
+
+ public FowlerDslStatemachineConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ GROUP$5SUCCESS: {
+ IMarker mGROUP$5 = mark();
+ GROUP$5FAILURE: {
+ GROUP$6SUCCESS: {
+ IMarker mGROUP$6 = mark();
+ GROUP$6FAILURE: {
+ KEYWORD$7SUCCESS: {
+ if (!consumeKeyword(getRule().ele000000KeywordEvents(), null, false, false))
+ break KEYWORD$7SUCCESS;
+ break GROUP$6FAILURE;
+ }
+ mGROUP$6.rollback();
+ break GROUP$6SUCCESS;
+ }
+ GROUP$6FAILURE: {
+ ASSIGNMENT$8SUCCESS: while(true) {
+ ASSIGNMENT$8FAILURE: {
+ if (consumeNonTerminal(eventConsumer, "events", true, false , getRule().ele0000010ParserRuleCallEvent()))
+ break ASSIGNMENT$8FAILURE;
+ break ASSIGNMENT$8SUCCESS;
+ }
+ continue ASSIGNMENT$8SUCCESS;
+ }
+ }
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ GROUP$5FAILURE: {
+ KEYWORD$10SUCCESS: {
+ if (!consumeKeyword(getRule().ele00001KeywordEnd(), null, false, false))
+ break KEYWORD$10SUCCESS;
+ break GROUP$5FAILURE;
+ }
+ mGROUP$5.rollback();
+ break GROUP$5SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele0001KeywordCommands(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$12SUCCESS: while(true) {
+ ASSIGNMENT$12FAILURE: {
+ if (consumeNonTerminal(commandConsumer, "commands", true, false , getRule().ele0010ParserRuleCallCommand()))
+ break ASSIGNMENT$12FAILURE;
+ break ASSIGNMENT$12SUCCESS;
+ }
+ continue ASSIGNMENT$12SUCCESS;
+ }
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ KEYWORD$14SUCCESS: {
+ if (!consumeKeyword(getRule().ele01KeywordEnd(), null, false, false))
+ break KEYWORD$14SUCCESS;
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$15SUCCESS: while(true) {
+ ASSIGNMENT$15FAILURE: {
+ if (consumeNonTerminal(stateConsumer, "states", true, false , getRule().ele10ParserRuleCallState()))
+ break ASSIGNMENT$15FAILURE;
+ break ASSIGNMENT$15SUCCESS;
+ }
+ continue ASSIGNMENT$15SUCCESS;
+ }
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public StatemachineElements getRule() {
+ return FowlerDslGrammarAccess.INSTANCE.prStatemachine();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Statemachine";
+ }
+
+ public void setStateConsumer(FowlerDslStateConsumer stateConsumer) {
+ this.stateConsumer = stateConsumer;
+ }
+
+ public void setEventConsumer(FowlerDslEventConsumer eventConsumer) {
+ this.eventConsumer = eventConsumer;
+ }
+
+ public void setCommandConsumer(FowlerDslCommandConsumer commandConsumer) {
+ this.commandConsumer = commandConsumer;
+ }
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslTransitionConsumer.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslTransitionConsumer.java
new file mode 100644
index 0000000..294dc11
--- /dev/null
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parser/packrat/consumers/FowlerDslTransitionConsumer.java
@@ -0,0 +1,100 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.example.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess;
+import org.eclipse.xtext.example.services.FowlerDslGrammarAccess.TransitionElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class FowlerDslTransitionConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public FowlerDslTransitionConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ ASSIGNMENT$3SUCCESS: {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeTerminal(idConsumer, null, false, false, getRule().ele000CrossReferenceEStringEvent()))
+ break ASSIGNMENT$3FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele01KeywordEqualsSignGreaterThanSign(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, null, false, false, getRule().ele10CrossReferenceEStringState()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public TransitionElements getRule() {
+ return FowlerDslGrammarAccess.INSTANCE.prTransition();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Transition";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java
index 99292b8..a67ac2a 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java
@@ -856,7 +856,7 @@ protected class State_0_0_1_0_1_Assignment_actions extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Command")) {
type = AssignmentType.CR;
- element = FowlerDslGrammarAccess.INSTANCE.prState().ele001010CrossReferenceCommand();
+ element = FowlerDslGrammarAccess.INSTANCE.prState().ele001010CrossReferenceEStringCommand();
return new Solution(obj);
}
}
@@ -1008,7 +1008,7 @@ protected class Transition_0_0_Assignment_event extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Event")) {
type = AssignmentType.CR;
- element = FowlerDslGrammarAccess.INSTANCE.prTransition().ele000CrossReferenceEvent();
+ element = FowlerDslGrammarAccess.INSTANCE.prTransition().ele000CrossReferenceEStringEvent();
return new Solution(obj);
}
}
@@ -1047,7 +1047,7 @@ protected class Transition_1_Assignment_state extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("State")) {
type = AssignmentType.CR;
- element = FowlerDslGrammarAccess.INSTANCE.prTransition().ele10CrossReferenceState();
+ element = FowlerDslGrammarAccess.INSTANCE.prTransition().ele10CrossReferenceEStringState();
return new Solution(obj);
}
}
diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/services/FowlerDslGrammarAccess.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/services/FowlerDslGrammarAccess.java
index e900f6a..8892f28 100644
--- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/services/FowlerDslGrammarAccess.java
+++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/services/FowlerDslGrammarAccess.java
@@ -162,7 +162,7 @@ public class FowlerDslGrammarAccess extends BaseEPackageAccess implements IGramm
private final Keyword c001000KeywordActions = (Keyword)c00100Group.eContents().get(0);
private final Keyword c001001KeywordLeftCurlyBracket = (Keyword)c00100Group.eContents().get(1);
private final Assignment c00101AssignmentActions = (Assignment)c0010Group.eContents().get(1);
- private final CrossReference c001010CrossReferenceCommand = (CrossReference)c00101AssignmentActions.eContents().get(0);
+ private final CrossReference c001010CrossReferenceEStringCommand = (CrossReference)c00101AssignmentActions.eContents().get(0);
private final Keyword c0011KeywordRightCurlyBracket = (Keyword)c001Group.eContents().get(1);
private final Assignment c01AssignmentTransitions = (Assignment)c0Group.eContents().get(1);
private final RuleCall c010ParserRuleCallTransition = (RuleCall)c01AssignmentTransitions.eContents().get(0);
@@ -211,7 +211,7 @@ public class FowlerDslGrammarAccess extends BaseEPackageAccess implements IGramm
public Assignment ele00101AssignmentActions() { return c00101AssignmentActions; }
// [ Command ]
- public CrossReference ele001010CrossReferenceCommand() { return c001010CrossReferenceCommand; }
+ public CrossReference ele001010CrossReferenceEStringCommand() { return c001010CrossReferenceEStringCommand; }
// '}'
public Keyword ele0011KeywordRightCurlyBracket() { return c0011KeywordRightCurlyBracket; }
@@ -231,10 +231,10 @@ public class FowlerDslGrammarAccess extends BaseEPackageAccess implements IGramm
private final Group cGroup = (Group)rule.eContents().get(1);
private final Group c0Group = (Group)cGroup.eContents().get(0);
private final Assignment c00AssignmentEvent = (Assignment)c0Group.eContents().get(0);
- private final CrossReference c000CrossReferenceEvent = (CrossReference)c00AssignmentEvent.eContents().get(0);
+ private final CrossReference c000CrossReferenceEStringEvent = (CrossReference)c00AssignmentEvent.eContents().get(0);
private final Keyword c01KeywordEqualsSignGreaterThanSign = (Keyword)c0Group.eContents().get(1);
private final Assignment c1AssignmentState = (Assignment)cGroup.eContents().get(1);
- private final CrossReference c10CrossReferenceState = (CrossReference)c1AssignmentState.eContents().get(0);
+ private final CrossReference c10CrossReferenceEStringState = (CrossReference)c1AssignmentState.eContents().get(0);
// Transition : event = [ Event ] '=>' state = [ State ] ;
public ParserRule getRule() { return rule; }
@@ -249,7 +249,7 @@ public class FowlerDslGrammarAccess extends BaseEPackageAccess implements IGramm
public Assignment ele00AssignmentEvent() { return c00AssignmentEvent; }
// [ Event ]
- public CrossReference ele000CrossReferenceEvent() { return c000CrossReferenceEvent; }
+ public CrossReference ele000CrossReferenceEStringEvent() { return c000CrossReferenceEStringEvent; }
// '=>'
public Keyword ele01KeywordEqualsSignGreaterThanSign() { return c01KeywordEqualsSignGreaterThanSign; }
@@ -258,7 +258,7 @@ public class FowlerDslGrammarAccess extends BaseEPackageAccess implements IGramm
public Assignment ele1AssignmentState() { return c1AssignmentState; }
// [ State ]
- public CrossReference ele10CrossReferenceState() { return c10CrossReferenceState; }
+ public CrossReference ele10CrossReferenceEStringState() { return c10CrossReferenceEStringState; }
}
public final static FowlerDslGrammarAccess INSTANCE = new FowlerDslGrammarAccess();
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/service/utils/XtextServiceFactory.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/service/utils/XtextServiceFactory.java
index 2f89419..780f94b 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/service/utils/XtextServiceFactory.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/service/utils/XtextServiceFactory.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
package org.eclipse.xtext.ui.core.service.utils;
import org.apache.log4j.Logger;
diff --git a/tests/org.eclipse.xtext.generator.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.xtext.generator.tests/META-INF/MANIFEST.MF
index 97e1731..a3afa27 100644
--- a/tests/org.eclipse.xtext.generator.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.xtext.generator.tests/META-INF/MANIFEST.MF
@@ -19,8 +19,8 @@ Require-Bundle: org.eclipse.xtext,
Export-Package: org.eclipse.xtext,
org.eclipse.xtext.crossrefs,
org.eclipse.xtext.testlanguages,
- org.eclipse.xtext.testlanguages.parser,
- org.eclipse.xtext.testlanguages.parser.internal,
+ org.eclipse.xtext.testlanguages.parser.antlr.internal,
org.eclipse.xtext.testlanguages.parsetree.reconstr,
org.eclipse.xtext.testlanguages.services,
- org.eclipse.xtext.tests
+ org.eclipse.xtext.tests,
+ org.eclipse.xtext.xtext.parser.handwritten
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeConfig.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeConfig.java
index 2da43f2..cafd681 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeConfig.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/AbstractXtextGrammarTestLanguageRuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractXtextGrammarTestLanguageRuntimeConfig extends Abst
return org.eclipse.xtext.services.XtextGrammarTestLanguageGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.xtext.parser.packrat.XtextGrammarTestLanguagePackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.xtext.parser.XtextGrammarTestLanguageParser.class;
+ return org.eclipse.xtext.parser.antlr.XtextGrammarTestLanguageParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.xtext.parser.XtextGrammarTestLanguageAntlrTokenFileProvider.class;
+ return org.eclipse.xtext.parser.antlr.XtextGrammarTestLanguageAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractXtextGrammarTestLanguageRuntimeConfig extends Abst
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.xtext.parser.internal.InternalXtextGrammarTestLanguageLexer.class;
+ return org.eclipse.xtext.parser.antlr.internal.InternalXtextGrammarTestLanguageLexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractXtextGrammarTestLanguageRuntimeConfig extends Abst
return scope(org.eclipse.xtext.IXtextGrammarTestLanguage.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
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 cb6b2aa..ff7dd73 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
@@ -216,6 +216,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractMetamodelDeclaration"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value="::"/>
@@ -225,6 +226,7 @@
<type metamodel="//@metamodelDeclarations.1">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EClassifier"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</alternatives>
@@ -392,6 +394,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractRule"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</abstractTokens>
@@ -430,6 +433,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractRule"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</alternatives>
</rules>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeConfig.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeConfig.java
index a664faf..feed193 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeConfig.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractImportUriTestLanguageRuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractImportUriTestLanguageRuntimeConfig extends Abstrac
return org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.xtext.crossrefs.parser.packrat.ImportUriTestLanguagePackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.xtext.crossrefs.parser.ImportUriTestLanguageParser.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.ImportUriTestLanguageParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.xtext.crossrefs.parser.ImportUriTestLanguageAntlrTokenFileProvider.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.ImportUriTestLanguageAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractImportUriTestLanguageRuntimeConfig extends Abstrac
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.xtext.crossrefs.parser.internal.InternalImportUriTestLanguageLexer.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalImportUriTestLanguageLexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractImportUriTestLanguageRuntimeConfig extends Abstrac
return scope(org.eclipse.xtext.crossrefs.IImportUriTestLanguage.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeConfig.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeConfig.java
index 72ce481..1988e5c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeConfig.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/AbstractLangATestLanguageRuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractLangATestLanguageRuntimeConfig extends AbstractSer
return org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.xtext.crossrefs.parser.packrat.LangATestLanguagePackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.xtext.crossrefs.parser.LangATestLanguageParser.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.LangATestLanguageParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.xtext.crossrefs.parser.LangATestLanguageAntlrTokenFileProvider.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.LangATestLanguageAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractLangATestLanguageRuntimeConfig extends AbstractSer
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.xtext.crossrefs.parser.internal.InternalLangATestLanguageLexer.class;
+ return org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalLangATestLanguageLexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractLangATestLanguageRuntimeConfig extends AbstractSer
return scope(org.eclipse.xtext.crossrefs.ILangATestLanguage.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
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 48bb495..fcdcbb4 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
@@ -55,6 +55,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/importUriTestLanguage#//Type"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</alternatives>
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 fdb3bc3..de77ca3 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
@@ -55,6 +55,7 @@
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://eclipse.org/xtext/langATestLanguage#//Type"/>
</type>
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
</terminal>
</abstractTokens>
</alternatives>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageAntlrTokenFileProvider.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageAntlrTokenFileProvider.java
index 301683b..c6737d9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageAntlrTokenFileProvider.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageAntlrTokenFileProvider.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.crossrefs.parser;
+package org.eclipse.xtext.crossrefs.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
@@ -10,6 +10,6 @@ public class ImportUriTestLanguageAntlrTokenFileProvider implements IAntlrTokenF
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = ImportUriTestLanguageAntlrTokenFileProvider.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens");
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageParser.java
index e4c8a59..f7aa731 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/ImportUriTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/ImportUriTestLanguageParser.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.crossrefs.parser;
+package org.eclipse.xtext.crossrefs.parser.antlr;
import org.antlr.runtime.ANTLRInputStream;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
@@ -11,10 +11,10 @@ import org.eclipse.xtext.parser.ParseException;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.service.Inject;
-import org.eclipse.xtext.crossrefs.parser.internal.InternalImportUriTestLanguageLexer;
-import org.eclipse.xtext.crossrefs.parser.internal.InternalImportUriTestLanguageParser;
+import org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalImportUriTestLanguageLexer;
+import org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalImportUriTestLanguageParser;
-public class ImportUriTestLanguageParser extends org.eclipse.xtext.parser.AbstractParser {
+public class ImportUriTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
protected AntlrTokenDefProvider antlrTokenDefProvider;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageAntlrTokenFileProvider.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageAntlrTokenFileProvider.java
index e38b954..ee6d163 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageAntlrTokenFileProvider.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageAntlrTokenFileProvider.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.crossrefs.parser;
+package org.eclipse.xtext.crossrefs.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
@@ -10,6 +10,6 @@ public class LangATestLanguageAntlrTokenFileProvider implements IAntlrTokenFileP
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = LangATestLanguageAntlrTokenFileProvider.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens");
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageParser.java
index 844e3ac..f8952cd 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/LangATestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/LangATestLanguageParser.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.xtext.crossrefs.parser;
+package org.eclipse.xtext.crossrefs.parser.antlr;
import org.antlr.runtime.ANTLRInputStream;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
@@ -11,10 +11,10 @@ import org.eclipse.xtext.parser.ParseException;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.service.Inject;
-import org.eclipse.xtext.crossrefs.parser.internal.InternalLangATestLanguageLexer;
-import org.eclipse.xtext.crossrefs.parser.internal.InternalLangATestLanguageParser;
+import org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalLangATestLanguageLexer;
+import org.eclipse.xtext.crossrefs.parser.antlr.internal.InternalLangATestLanguageParser;
-public class LangATestLanguageParser extends org.eclipse.xtext.parser.AbstractParser {
+public class LangATestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
protected AntlrTokenDefProvider antlrTokenDefProvider;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g
index 5dcecb0..b593162 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g
@@ -4,11 +4,11 @@ Generated with Xtext
grammar InternalImportUriTestLanguage;
options {
- superClass=AbstractAntlrParser;
+ superClass=AbstractInternalAntlrParser;
}
@lexer::header {
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -25,10 +25,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
}
@@ -43,7 +43,7 @@ import org.eclipse.xtext.parser.antlr.ValueConverterException;
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalImportUriTestLanguageParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens");
}
@Override
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens
index f594397..f594397 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java
index beab96b..8d4c9e3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g 2009-01-12 18:22:35
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-13 09:48:35
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -29,14 +29,14 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public InternalImportUriTestLanguageLexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g"; }
// $ANTLR start T11
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:10:5: ( 'import' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:10:7: 'import'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:10:5: ( 'import' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:10:7: 'import'
{
match("import");
@@ -54,8 +54,8 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:11:5: ( 'type' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:11:7: 'type'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:11:5: ( 'type' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:11:7: 'type'
{
match("type");
@@ -73,8 +73,8 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:12:5: ( 'extends' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:12:7: 'extends'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:12:5: ( 'extends' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:12:7: 'extends'
{
match("extends");
@@ -92,10 +92,10 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:228:11: ( '^' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:228:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -104,7 +104,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:228:12: '^'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:228:12: '^'
{
match('^');
@@ -123,7 +123,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:228:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:228:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -136,7 +136,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -171,10 +171,10 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:230:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:230:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:230:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:230:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:230:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:230:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -188,7 +188,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:230:13: '0' .. '9'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:230:13: '0' .. '9'
{
matchRange('0','9');
@@ -218,7 +218,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -236,10 +236,10 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -255,7 +255,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:21: '\\\\' ( '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' ) {
@@ -272,7 +272,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -298,10 +298,10 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -317,7 +317,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:108: '\\\\' ( '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' ) {
@@ -334,7 +334,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:232:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:232:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -372,12 +372,12 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:234:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:234:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:234:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:234:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -402,7 +402,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:234:52: .
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:234:52: .
{
matchAny();
@@ -431,12 +431,12 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -449,7 +449,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236: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();
@@ -470,7 +470,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -479,9 +479,9 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -490,7 +490,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:236:39: '\\r'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:236:39: '\\r'
{
match('\r');
@@ -521,10 +521,10 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:238:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:238:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -538,7 +538,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -578,8 +578,8 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:240:16: ( . )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:240:18: .
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:240:16: ( . )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:240:18: .
{
matchAny();
@@ -593,7 +593,7 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt12=10;
int LA12_0 = input.LA(1);
@@ -771,70 +771,70 @@ public class InternalImportUriTestLanguageLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:10: T11
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:10: T11
{
mT11();
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:14: T12
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:14: T12
{
mT12();
}
break;
case 3 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:18: T13
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:18: T13
{
mT13();
}
break;
case 4 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:22: RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:22: RULE_ID
{
mRULE_ID();
}
break;
case 5 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:30: RULE_INT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:30: RULE_INT
{
mRULE_INT();
}
break;
case 6 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:39: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:39: RULE_STRING
{
mRULE_STRING();
}
break;
case 7 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:51: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:51: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 8 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:67: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:67: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 9 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:83: RULE_WS
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:83: RULE_WS
{
mRULE_WS();
}
break;
case 10 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:1:91: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:1:91: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java
index 2fc9c79..9f07ddb 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g 2009-01-12 18:22:34
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-13 09:48:35
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -9,10 +9,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
@@ -21,7 +21,7 @@ import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
+public class InternalImportUriTestLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'type'", "'extends'"
};
@@ -40,7 +40,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g"; }
@@ -53,7 +53,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalImportUriTestLanguageParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.tokens");
}
@Override
@@ -64,7 +64,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleMain
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:66:1: entryRuleMain returns [EObject current=null] : iv_ruleMain= ruleMain EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:66:1: entryRuleMain returns [EObject current=null] : iv_ruleMain= ruleMain EOF ;
public final EObject entryRuleMain() throws RecognitionException {
EObject current = null;
@@ -72,8 +72,8 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:66:46: (iv_ruleMain= ruleMain EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:67:2: iv_ruleMain= ruleMain EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:66:46: (iv_ruleMain= ruleMain EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:67:2: iv_ruleMain= ruleMain EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleMain_in_entryRuleMain71);
@@ -99,7 +99,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleMain
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:74:1: ruleMain returns [EObject current=null] : ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:74:1: ruleMain returns [EObject current=null] : ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) ;
public final EObject ruleMain() throws RecognitionException {
EObject current = null;
@@ -110,13 +110,13 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:76:33: ( ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:76:33: ( ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:77:2: (lv_imports= ruleImport )* (lv_types= ruleType )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:77:2: (lv_imports= ruleImport )* (lv_types= ruleType )*
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:77:2: (lv_imports= ruleImport )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:77:2: (lv_imports= ruleImport )*
loop1:
do {
int alt1=2;
@@ -129,7 +129,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:80:6: lv_imports= ruleImport
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:80:6: lv_imports= ruleImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@terminal" /* xtext::RuleCall */, currentNode);
@@ -160,7 +160,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:98:3: (lv_types= ruleType )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:98:3: (lv_types= ruleType )*
loop2:
do {
int alt2=2;
@@ -173,7 +173,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:101:6: lv_types= ruleType
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:101:6: lv_types= ruleType
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -225,7 +225,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleImport
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:126:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:126:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -233,8 +233,8 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:126:48: (iv_ruleImport= ruleImport EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:127:2: iv_ruleImport= ruleImport EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:126:48: (iv_ruleImport= ruleImport EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:127:2: iv_ruleImport= ruleImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.1" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleImport_in_entryRuleImport217);
@@ -260,7 +260,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleImport
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:134:1: ruleImport returns [EObject current=null] : ( 'import' (lv_importURI= RULE_STRING ) ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:134:1: ruleImport returns [EObject current=null] : ( 'import' (lv_importURI= RULE_STRING ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
@@ -268,18 +268,18 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:136:33: ( ( 'import' (lv_importURI= RULE_STRING ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:137:1: ( 'import' (lv_importURI= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:136:33: ( ( 'import' (lv_importURI= RULE_STRING ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:137:1: ( 'import' (lv_importURI= RULE_STRING ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:137:1: ( 'import' (lv_importURI= RULE_STRING ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:137:2: 'import' (lv_importURI= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:137:1: ( 'import' (lv_importURI= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:137:2: 'import' (lv_importURI= RULE_STRING )
{
match(input,11,FOLLOW_11_in_ruleImport261);
createLeafNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.1/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:141:1: (lv_importURI= RULE_STRING )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:143:6: lv_importURI= RULE_STRING
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:141:1: (lv_importURI= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:143:6: lv_importURI= RULE_STRING
{
lv_importURI=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport282);
@@ -322,7 +322,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleType
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:168:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:168:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
public final EObject entryRuleType() throws RecognitionException {
EObject current = null;
@@ -330,8 +330,8 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:168:46: (iv_ruleType= ruleType EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:169:2: iv_ruleType= ruleType EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:168:46: (iv_ruleType= ruleType EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:169:2: iv_ruleType= ruleType EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleType_in_entryRuleType326);
@@ -357,7 +357,7 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleType
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:176:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:176:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
public final EObject ruleType() throws RecognitionException {
EObject current = null;
@@ -365,24 +365,24 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:178:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:178:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:179:4: 'type' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:179:4: 'type' (lv_name= RULE_ID )
{
match(input,12,FOLLOW_12_in_ruleType372);
createLeafNode("classpath:/org/eclipse/xtext/crossrefs/ImportUriTestLanguage.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:183:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:185:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:183:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:185:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType393);
@@ -414,8 +414,8 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:207:2: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:210:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:207:2: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:210:3: ( RULE_ID )
{
if (current==null) {
@@ -423,8 +423,8 @@ public class InternalImportUriTestLanguageParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:216:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g:217:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:216:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g:217:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType439);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage__.g
new file mode 100644
index 0000000..1c26150
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage__.g
@@ -0,0 +1,35 @@
+lexer grammar InternalImportUriTestLanguage;
+@header {
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+}
+
+T11 : 'import' ;
+T12 : 'type' ;
+T13 : 'extends' ;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 228
+RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 230
+RULE_INT : ('0'..'9')+;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 232
+RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 234
+RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 236
+RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 238
+RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g" 240
+RULE_ANY_OTHER : .;
+
+
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g
index 33846c1..a137818 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g
@@ -4,11 +4,11 @@ Generated with Xtext
grammar InternalLangATestLanguage;
options {
- superClass=AbstractAntlrParser;
+ superClass=AbstractInternalAntlrParser;
}
@lexer::header {
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -25,10 +25,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
}
@@ -43,7 +43,7 @@ import org.eclipse.xtext.parser.antlr.ValueConverterException;
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalLangATestLanguageParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens");
}
@Override
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens
index f594397..f594397 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java
index 0abd56e..a985aed 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g 2009-01-12 18:22:19
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-13 09:48:20
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
@@ -29,14 +29,14 @@ public class InternalLangATestLanguageLexer extends Lexer {
public InternalLangATestLanguageLexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g"; }
// $ANTLR start T11
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:10:5: ( 'import' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:10:7: 'import'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:10:5: ( 'import' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:10:7: 'import'
{
match("import");
@@ -54,8 +54,8 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:11:5: ( 'type' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:11:7: 'type'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:11:5: ( 'type' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:11:7: 'type'
{
match("type");
@@ -73,8 +73,8 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:12:5: ( 'extends' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:12:7: 'extends'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:12:5: ( 'extends' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:12:7: 'extends'
{
match("extends");
@@ -92,10 +92,10 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:228:11: ( '^' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:228:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -104,7 +104,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:228:12: '^'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:228:12: '^'
{
match('^');
@@ -123,7 +123,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:228:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:228:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -136,7 +136,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -171,10 +171,10 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:230:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:230:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:230:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:230:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:230:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:230:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -188,7 +188,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:230:13: '0' .. '9'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:230:13: '0' .. '9'
{
matchRange('0','9');
@@ -218,7 +218,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -236,10 +236,10 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -255,7 +255,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:21: '\\\\' ( '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' ) {
@@ -272,7 +272,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -298,10 +298,10 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -317,7 +317,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:108: '\\\\' ( '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' ) {
@@ -334,7 +334,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:232:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:232:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -372,12 +372,12 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:234:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:234:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:234:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:234:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -402,7 +402,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:234:52: .
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:234:52: .
{
matchAny();
@@ -431,12 +431,12 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -449,7 +449,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236: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();
@@ -470,7 +470,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -479,9 +479,9 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -490,7 +490,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:236:39: '\\r'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:236:39: '\\r'
{
match('\r');
@@ -521,10 +521,10 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:238:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:238:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:238:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -538,7 +538,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -578,8 +578,8 @@ public class InternalLangATestLanguageLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:240:16: ( . )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:240:18: .
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:240:16: ( . )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:240:18: .
{
matchAny();
@@ -593,7 +593,7 @@ public class InternalLangATestLanguageLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt12=10;
int LA12_0 = input.LA(1);
@@ -771,70 +771,70 @@ public class InternalLangATestLanguageLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:10: T11
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:10: T11
{
mT11();
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:14: T12
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:14: T12
{
mT12();
}
break;
case 3 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:18: T13
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:18: T13
{
mT13();
}
break;
case 4 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:22: RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:22: RULE_ID
{
mRULE_ID();
}
break;
case 5 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:30: RULE_INT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:30: RULE_INT
{
mRULE_INT();
}
break;
case 6 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:39: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:39: RULE_STRING
{
mRULE_STRING();
}
break;
case 7 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:51: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:51: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 8 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:67: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:67: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 9 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:83: RULE_WS
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:83: RULE_WS
{
mRULE_WS();
}
break;
case 10 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:1:91: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:1:91: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java
index e89a6d8..5a7ab75 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g 2009-01-12 18:22:19
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-13 09:48:20
-package org.eclipse.xtext.crossrefs.parser.internal;
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -9,10 +9,10 @@ import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
@@ -21,7 +21,7 @@ import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-public class InternalLangATestLanguageParser extends AbstractAntlrParser {
+public class InternalLangATestLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'type'", "'extends'"
};
@@ -40,7 +40,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g"; }
@@ -53,7 +53,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalLangATestLanguageParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.tokens");
}
@Override
@@ -64,7 +64,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleMain
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:66:1: entryRuleMain returns [EObject current=null] : iv_ruleMain= ruleMain EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:66:1: entryRuleMain returns [EObject current=null] : iv_ruleMain= ruleMain EOF ;
public final EObject entryRuleMain() throws RecognitionException {
EObject current = null;
@@ -72,8 +72,8 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:66:46: (iv_ruleMain= ruleMain EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:67:2: iv_ruleMain= ruleMain EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:66:46: (iv_ruleMain= ruleMain EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:67:2: iv_ruleMain= ruleMain EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleMain_in_entryRuleMain71);
@@ -99,7 +99,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleMain
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:74:1: ruleMain returns [EObject current=null] : ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:74:1: ruleMain returns [EObject current=null] : ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) ;
public final EObject ruleMain() throws RecognitionException {
EObject current = null;
@@ -110,13 +110,13 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:76:33: ( ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:76:33: ( ( (lv_imports= ruleImport )* (lv_types= ruleType )* ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:77:2: (lv_imports= ruleImport )* (lv_types= ruleType )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:77:1: ( (lv_imports= ruleImport )* (lv_types= ruleType )* )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:77:2: (lv_imports= ruleImport )* (lv_types= ruleType )*
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:77:2: (lv_imports= ruleImport )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:77:2: (lv_imports= ruleImport )*
loop1:
do {
int alt1=2;
@@ -129,7 +129,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:80:6: lv_imports= ruleImport
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:80:6: lv_imports= ruleImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@terminal" /* xtext::RuleCall */, currentNode);
@@ -160,7 +160,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:98:3: (lv_types= ruleType )*
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:98:3: (lv_types= ruleType )*
loop2:
do {
int alt2=2;
@@ -173,7 +173,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:101:6: lv_types= ruleType
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:101:6: lv_types= ruleType
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -225,7 +225,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleImport
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:126:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:126:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -233,8 +233,8 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:126:48: (iv_ruleImport= ruleImport EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:127:2: iv_ruleImport= ruleImport EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:126:48: (iv_ruleImport= ruleImport EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:127:2: iv_ruleImport= ruleImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.1" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleImport_in_entryRuleImport217);
@@ -260,7 +260,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleImport
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:134:1: ruleImport returns [EObject current=null] : ( 'import' (lv_uri= RULE_STRING ) ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:134:1: ruleImport returns [EObject current=null] : ( 'import' (lv_uri= RULE_STRING ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
@@ -268,18 +268,18 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:136:33: ( ( 'import' (lv_uri= RULE_STRING ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:137:1: ( 'import' (lv_uri= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:136:33: ( ( 'import' (lv_uri= RULE_STRING ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:137:1: ( 'import' (lv_uri= RULE_STRING ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:137:1: ( 'import' (lv_uri= RULE_STRING ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:137:2: 'import' (lv_uri= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:137:1: ( 'import' (lv_uri= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:137:2: 'import' (lv_uri= RULE_STRING )
{
match(input,11,FOLLOW_11_in_ruleImport261);
createLeafNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.1/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:141:1: (lv_uri= RULE_STRING )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:143:6: lv_uri= RULE_STRING
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:141:1: (lv_uri= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:143:6: lv_uri= RULE_STRING
{
lv_uri=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport282);
@@ -322,7 +322,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start entryRuleType
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:168:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:168:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
public final EObject entryRuleType() throws RecognitionException {
EObject current = null;
@@ -330,8 +330,8 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:168:46: (iv_ruleType= ruleType EOF )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:169:2: iv_ruleType= ruleType EOF
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:168:46: (iv_ruleType= ruleType EOF )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:169:2: iv_ruleType= ruleType EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleType_in_entryRuleType326);
@@ -357,7 +357,7 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
// $ANTLR start ruleType
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:176:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:176:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
public final EObject ruleType() throws RecognitionException {
EObject current = null;
@@ -365,24 +365,24 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:178:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:178:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
{
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:179:4: 'type' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:3: ( 'type' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:179:4: 'type' (lv_name= RULE_ID )
{
match(input,12,FOLLOW_12_in_ruleType372);
createLeafNode("classpath:/org/eclipse/xtext/crossrefs/LangATestLanguage.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:183:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:185:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:183:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:185:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType393);
@@ -414,8 +414,8 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:207:2: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:210:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:207:2: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:210:3: ( RULE_ID )
{
if (current==null) {
@@ -423,8 +423,8 @@ public class InternalLangATestLanguageParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:216:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g:217:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:216:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g:217:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType439);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage__.g
new file mode 100644
index 0000000..8d44924
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage__.g
@@ -0,0 +1,35 @@
+lexer grammar InternalLangATestLanguage;
+@header {
+package org.eclipse.xtext.crossrefs.parser.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+}
+
+T11 : 'import' ;
+T12 : 'type' ;
+T13 : 'extends' ;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 228
+RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 230
+RULE_INT : ('0'..'9')+;
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 232
+RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 234
+RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 236
+RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 238
+RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
+
+// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g" 240
+RULE_ANY_OTHER : .;
+
+
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage__.g
deleted file mode 100644
index 82d944a..0000000
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage__.g
+++ /dev/null
@@ -1,35 +0,0 @@
-lexer grammar InternalImportUriTestLanguage;
-@header {
-package org.eclipse.xtext.crossrefs.parser.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-}
-
-T11 : 'import' ;
-T12 : 'type' ;
-T13 : 'extends' ;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 228
-RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 230
-RULE_INT : ('0'..'9')+;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 232
-RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 234
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 236
-RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 238
-RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalImportUriTestLanguage.g" 240
-RULE_ANY_OTHER : .;
-
-
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage__.g
deleted file mode 100644
index eba7aa5..0000000
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage__.g
+++ /dev/null
@@ -1,35 +0,0 @@
-lexer grammar InternalLangATestLanguage;
-@header {
-package org.eclipse.xtext.crossrefs.parser.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-}
-
-T11 : 'import' ;
-T12 : 'type' ;
-T13 : 'extends' ;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 228
-RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 230
-RULE_INT : ('0'..'9')+;
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 232
-RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 234
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 236
-RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 238
-RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-
-// $ANTLR src "./src-gen/org/eclipse/xtext/crossrefs/parser/internal/InternalLangATestLanguage.g" 240
-RULE_ANY_OTHER : .;
-
-
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguagePackratParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguagePackratParser.java
new file mode 100644
index 0000000..6860edf
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguagePackratParser.java
@@ -0,0 +1,22 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+public class ImportUriTestLanguagePackratParser extends AbstractPackratParser {
+
+ @Override
+ protected ImportUriTestLanguageParserConfiguration createParserConfiguration(ICharSequenceWithOffset input,
+ IMarkerFactory markerFactory, IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler,
+ IConsumerUtility consumerUtil) {
+ return new ImportUriTestLanguageParserConfiguration(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguageParserConfiguration.java
new file mode 100644
index 0000000..2dc7b9d
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguageParserConfiguration.java
@@ -0,0 +1,138 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
+
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.ImportUriTestLanguageMainConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.ImportUriTestLanguageImportConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.ImportUriTestLanguageTypeConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinML_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSL_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinWSConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinANY_OTHERConsumer;
+
+public class ImportUriTestLanguageParserConfiguration extends AbstractParserConfiguration {
+
+ private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
+
+ private ImportUriTestLanguageMainConsumer mainConsumer;
+ private ImportUriTestLanguageImportConsumer importConsumer;
+ private ImportUriTestLanguageTypeConsumer typeConsumer;
+
+ public ImportUriTestLanguageParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ this.xtextBuiltinConfiguration = new XtextBuiltinParserConfiguration(
+ input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+ public ImportUriTestLanguageMainConsumer getRootConsumer() {
+ return mainConsumer;
+ }
+
+ public void createNonTerminalConsumers() {
+ getXtextBuiltinConfiguration().createNonTerminalConsumers();
+ mainConsumer = new ImportUriTestLanguageMainConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(),
+ new ITerminalConsumer[]{ getWsConsumer(), getMlCommentConsumer(), getSlCommentConsumer() }
+ );
+ importConsumer = new ImportUriTestLanguageImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ typeConsumer = new ImportUriTestLanguageTypeConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ }
+
+ public void createTerminalConsumers() {
+ getXtextBuiltinConfiguration().createTerminalConsumers();
+ }
+
+ public void configureConsumers() {
+ getMainConsumer().setTypeConsumer(getTypeConsumer());
+ getMainConsumer().setImportConsumer(getImportConsumer());
+
+ getImportConsumer().setStringConsumer(getStringConsumer());
+
+ getTypeConsumer().setIdConsumer(getIdConsumer());
+
+ getIdConsumer().initFields(this);
+ getIntConsumer().initFields(this);
+ getStringConsumer().initFields(this);
+ getMlCommentConsumer().initFields(this);
+ getSlCommentConsumer().initFields(this);
+ getWsConsumer().initFields(this);
+ getAnyOtherConsumer().initFields(this);
+ }
+
+ // TODO collect superGrammars transitive
+ public XtextBuiltinParserConfiguration getXtextBuiltinConfiguration() {
+ return xtextBuiltinConfiguration;
+ }
+
+ public ImportUriTestLanguageMainConsumer getMainConsumer() {
+ return mainConsumer;
+ }
+
+
+ public ImportUriTestLanguageImportConsumer getImportConsumer() {
+ return importConsumer;
+ }
+
+
+ public ImportUriTestLanguageTypeConsumer getTypeConsumer() {
+ return typeConsumer;
+ }
+
+
+ public XtextBuiltinIDConsumer getIdConsumer() {
+ return getXtextBuiltinConfiguration().getIdConsumer();
+ }
+
+
+ public XtextBuiltinINTConsumer getIntConsumer() {
+ return getXtextBuiltinConfiguration().getIntConsumer();
+ }
+
+
+ public XtextBuiltinSTRINGConsumer getStringConsumer() {
+ return getXtextBuiltinConfiguration().getStringConsumer();
+ }
+
+
+ public XtextBuiltinML_COMMENTConsumer getMlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getMlCommentConsumer();
+ }
+
+
+ public XtextBuiltinSL_COMMENTConsumer getSlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getSlCommentConsumer();
+ }
+
+
+ public XtextBuiltinWSConsumer getWsConsumer() {
+ return getXtextBuiltinConfiguration().getWsConsumer();
+ }
+
+
+ public XtextBuiltinANY_OTHERConsumer getAnyOtherConsumer() {
+ return getXtextBuiltinConfiguration().getAnyOtherConsumer();
+ }
+
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguagePackratParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguagePackratParser.java
new file mode 100644
index 0000000..e4dea87
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguagePackratParser.java
@@ -0,0 +1,22 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+public class LangATestLanguagePackratParser extends AbstractPackratParser {
+
+ @Override
+ protected LangATestLanguageParserConfiguration createParserConfiguration(ICharSequenceWithOffset input,
+ IMarkerFactory markerFactory, IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler,
+ IConsumerUtility consumerUtil) {
+ return new LangATestLanguageParserConfiguration(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageParserConfiguration.java
new file mode 100644
index 0000000..beb9dd2
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageParserConfiguration.java
@@ -0,0 +1,138 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
+
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.LangATestLanguageMainConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.LangATestLanguageImportConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.LangATestLanguageTypeConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinML_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSL_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinWSConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinANY_OTHERConsumer;
+
+public class LangATestLanguageParserConfiguration extends AbstractParserConfiguration {
+
+ private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
+
+ private LangATestLanguageMainConsumer mainConsumer;
+ private LangATestLanguageImportConsumer importConsumer;
+ private LangATestLanguageTypeConsumer typeConsumer;
+
+ public LangATestLanguageParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ this.xtextBuiltinConfiguration = new XtextBuiltinParserConfiguration(
+ input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+ public LangATestLanguageMainConsumer getRootConsumer() {
+ return mainConsumer;
+ }
+
+ public void createNonTerminalConsumers() {
+ getXtextBuiltinConfiguration().createNonTerminalConsumers();
+ mainConsumer = new LangATestLanguageMainConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(),
+ new ITerminalConsumer[]{ getWsConsumer(), getMlCommentConsumer(), getSlCommentConsumer() }
+ );
+ importConsumer = new LangATestLanguageImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ typeConsumer = new LangATestLanguageTypeConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ }
+
+ public void createTerminalConsumers() {
+ getXtextBuiltinConfiguration().createTerminalConsumers();
+ }
+
+ public void configureConsumers() {
+ getMainConsumer().setTypeConsumer(getTypeConsumer());
+ getMainConsumer().setImportConsumer(getImportConsumer());
+
+ getImportConsumer().setStringConsumer(getStringConsumer());
+
+ getTypeConsumer().setIdConsumer(getIdConsumer());
+
+ getIdConsumer().initFields(this);
+ getIntConsumer().initFields(this);
+ getStringConsumer().initFields(this);
+ getMlCommentConsumer().initFields(this);
+ getSlCommentConsumer().initFields(this);
+ getWsConsumer().initFields(this);
+ getAnyOtherConsumer().initFields(this);
+ }
+
+ // TODO collect superGrammars transitive
+ public XtextBuiltinParserConfiguration getXtextBuiltinConfiguration() {
+ return xtextBuiltinConfiguration;
+ }
+
+ public LangATestLanguageMainConsumer getMainConsumer() {
+ return mainConsumer;
+ }
+
+
+ public LangATestLanguageImportConsumer getImportConsumer() {
+ return importConsumer;
+ }
+
+
+ public LangATestLanguageTypeConsumer getTypeConsumer() {
+ return typeConsumer;
+ }
+
+
+ public XtextBuiltinIDConsumer getIdConsumer() {
+ return getXtextBuiltinConfiguration().getIdConsumer();
+ }
+
+
+ public XtextBuiltinINTConsumer getIntConsumer() {
+ return getXtextBuiltinConfiguration().getIntConsumer();
+ }
+
+
+ public XtextBuiltinSTRINGConsumer getStringConsumer() {
+ return getXtextBuiltinConfiguration().getStringConsumer();
+ }
+
+
+ public XtextBuiltinML_COMMENTConsumer getMlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getMlCommentConsumer();
+ }
+
+
+ public XtextBuiltinSL_COMMENTConsumer getSlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getSlCommentConsumer();
+ }
+
+
+ public XtextBuiltinWSConsumer getWsConsumer() {
+ return getXtextBuiltinConfiguration().getWsConsumer();
+ }
+
+
+ public XtextBuiltinANY_OTHERConsumer getAnyOtherConsumer() {
+ return getXtextBuiltinConfiguration().getAnyOtherConsumer();
+ }
+
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageImportConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageImportConsumer.java
new file mode 100644
index 0000000..64374fc
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageImportConsumer.java
@@ -0,0 +1,79 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess.ImportElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class ImportUriTestLanguageImportConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public ImportUriTestLanguageImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ KEYWORD$2SUCCESS: {
+ if (!consumeKeyword(getRule().ele0KeywordImport(), null, false, false))
+ break KEYWORD$2SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$3SUCCESS: {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeTerminal(stringConsumer, "importURI", false, false, getRule().ele10LexerRuleCallSTRING()))
+ break ASSIGNMENT$3FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$3SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ImportElements getRule() {
+ return ImportUriTestLanguageGrammarAccess.INSTANCE.prImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Import";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageMainConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageMainConsumer.java
new file mode 100644
index 0000000..fee31b1
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageMainConsumer.java
@@ -0,0 +1,82 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess.MainElements;
+
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.ImportUriTestLanguageTypeConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.ImportUriTestLanguageImportConsumer;
+
+public final class ImportUriTestLanguageMainConsumer extends NonTerminalConsumer {
+
+ private ImportUriTestLanguageTypeConsumer typeConsumer;
+ private ImportUriTestLanguageImportConsumer importConsumer;
+
+ public ImportUriTestLanguageMainConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ ASSIGNMENT$2SUCCESS: while(true) {
+ ASSIGNMENT$2FAILURE: {
+ if (consumeNonTerminal(importConsumer, "imports", true, false , getRule().ele00ParserRuleCallImport()))
+ break ASSIGNMENT$2FAILURE;
+ break ASSIGNMENT$2SUCCESS;
+ }
+ continue ASSIGNMENT$2SUCCESS;
+ }
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$4SUCCESS: while(true) {
+ ASSIGNMENT$4FAILURE: {
+ if (consumeNonTerminal(typeConsumer, "types", true, false , getRule().ele10ParserRuleCallType()))
+ break ASSIGNMENT$4FAILURE;
+ break ASSIGNMENT$4SUCCESS;
+ }
+ continue ASSIGNMENT$4SUCCESS;
+ }
+ }
+ }
+ return true;
+ }
+
+ public MainElements getRule() {
+ return ImportUriTestLanguageGrammarAccess.INSTANCE.prMain();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Main";
+ }
+
+ public void setTypeConsumer(ImportUriTestLanguageTypeConsumer typeConsumer) {
+ this.typeConsumer = typeConsumer;
+ }
+
+ public void setImportConsumer(ImportUriTestLanguageImportConsumer importConsumer) {
+ this.importConsumer = importConsumer;
+ }
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageTypeConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageTypeConsumer.java
new file mode 100644
index 0000000..955491e
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageTypeConsumer.java
@@ -0,0 +1,117 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.ImportUriTestLanguageGrammarAccess.TypeElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class ImportUriTestLanguageTypeConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public ImportUriTestLanguageTypeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ KEYWORD$4SUCCESS: {
+ if (!consumeKeyword(getRule().ele000KeywordType(), null, false, false))
+ break KEYWORD$4SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele0010LexerRuleCallID()))
+ break ASSIGNMENT$5FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ KEYWORD$7SUCCESS: {
+ if (!consumeKeyword(getRule().ele01KeywordExtends(), null, false, false))
+ break KEYWORD$7SUCCESS;
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$8SUCCESS: {
+ ASSIGNMENT$8FAILURE: {
+ if (consumeTerminal(idConsumer, null, false, false, getRule().ele10CrossReferenceEStringType()))
+ break ASSIGNMENT$8FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$8SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public TypeElements getRule() {
+ return ImportUriTestLanguageGrammarAccess.INSTANCE.prType();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Type";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageImportConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageImportConsumer.java
new file mode 100644
index 0000000..d297783
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageImportConsumer.java
@@ -0,0 +1,79 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess.ImportElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class LangATestLanguageImportConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public LangATestLanguageImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ KEYWORD$2SUCCESS: {
+ if (!consumeKeyword(getRule().ele0KeywordImport(), null, false, false))
+ break KEYWORD$2SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$3SUCCESS: {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeTerminal(stringConsumer, "uri", false, false, getRule().ele10LexerRuleCallSTRING()))
+ break ASSIGNMENT$3FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$3SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ImportElements getRule() {
+ return LangATestLanguageGrammarAccess.INSTANCE.prImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Import";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageMainConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageMainConsumer.java
new file mode 100644
index 0000000..82bc466
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageMainConsumer.java
@@ -0,0 +1,82 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess.MainElements;
+
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.LangATestLanguageTypeConsumer;
+import org.eclipse.xtext.crossrefs.parser.packrat.consumers.LangATestLanguageImportConsumer;
+
+public final class LangATestLanguageMainConsumer extends NonTerminalConsumer {
+
+ private LangATestLanguageTypeConsumer typeConsumer;
+ private LangATestLanguageImportConsumer importConsumer;
+
+ public LangATestLanguageMainConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ ASSIGNMENT$2SUCCESS: while(true) {
+ ASSIGNMENT$2FAILURE: {
+ if (consumeNonTerminal(importConsumer, "imports", true, false , getRule().ele00ParserRuleCallImport()))
+ break ASSIGNMENT$2FAILURE;
+ break ASSIGNMENT$2SUCCESS;
+ }
+ continue ASSIGNMENT$2SUCCESS;
+ }
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$4SUCCESS: while(true) {
+ ASSIGNMENT$4FAILURE: {
+ if (consumeNonTerminal(typeConsumer, "types", true, false , getRule().ele10ParserRuleCallType()))
+ break ASSIGNMENT$4FAILURE;
+ break ASSIGNMENT$4SUCCESS;
+ }
+ continue ASSIGNMENT$4SUCCESS;
+ }
+ }
+ }
+ return true;
+ }
+
+ public MainElements getRule() {
+ return LangATestLanguageGrammarAccess.INSTANCE.prMain();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Main";
+ }
+
+ public void setTypeConsumer(LangATestLanguageTypeConsumer typeConsumer) {
+ this.typeConsumer = typeConsumer;
+ }
+
+ public void setImportConsumer(LangATestLanguageImportConsumer importConsumer) {
+ this.importConsumer = importConsumer;
+ }
+
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageTypeConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageTypeConsumer.java
new file mode 100644
index 0000000..c9b2dca
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageTypeConsumer.java
@@ -0,0 +1,117 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.crossrefs.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess;
+import org.eclipse.xtext.crossrefs.services.LangATestLanguageGrammarAccess.TypeElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class LangATestLanguageTypeConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;