summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeysholdt2009-01-19 05:44:41 (EST)
committer sefftinge2009-01-19 05:44:41 (EST)
commit94e440ac5c222b00d60f08f67243bb7afa36f014 (patch)
tree470256e0f5a4d4c8cc26063c13af59b670e5a9a9
parent26815935c52c4a79c7827dfea9a5151c1f46fa7d (diff)
downloadorg.eclipse.xtext-94e440ac5c222b00d60f08f67243bb7afa36f014.zip
org.eclipse.xtext-94e440ac5c222b00d60f08f67243bb7afa36f014.tar.gz
org.eclipse.xtext-94e440ac5c222b00d60f08f67243bb7afa36f014.tar.bz2
added support for boolean assignemnt to the serializer
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/ImportUriTestLanguageParserConfiguration.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageDelimiters.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageParserConfiguration.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/ImportUriTestLanguageTypeConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageImportConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/consumers/LangATestLanguageTypeConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageDelimiters.java10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageDelimiters.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java56
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java90
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java68
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi38
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java20
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g92
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens15
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java430
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java866
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g17
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageDelimiters.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java32
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageDelimiters.java10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java62
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageBooleanConsumer.java145
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java36
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java284
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java101
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/simplerewritetest.ecore8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageDelimiters.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java32
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageDelimiters.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageDelimiters.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java36
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java46
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java58
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java114
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java34
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java24
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java56
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LookaheadTestLanguageParseTreeConstructor.java16
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313Delimiters.java8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java44
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java2
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTest.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xtext5
161 files changed, 2851 insertions, 1880 deletions
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java
index e4b603e..4796f29 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-14 17:06:14
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-19 11:41:30
package org.eclipse.xtext.crossrefs.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java
index 2793fb8..2cb493a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-14 17:06:14
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalImportUriTestLanguage.g 2009-01-19 11:41:30
package org.eclipse.xtext.crossrefs.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java
index d7e3454..a31b22b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-14 17:05:58
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-19 11:41:10
package org.eclipse.xtext.crossrefs.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java
index 1a7c657..6a9ad18 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-14 17:05:57
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/crossrefs/parser/antlr/internal/InternalLangATestLanguage.g 2009-01-19 11:41:10
package org.eclipse.xtext.crossrefs.parser.antlr.internal;
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
index e3457d2..8fd62f9 100644
--- 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
@@ -72,10 +72,10 @@ public class ImportUriTestLanguageParserConfiguration extends AbstractParserConf
getImportConsumer().setRuleCall$4$Delimiter(ImportUriTestLanguageDelimiters.ruleCall$13$Delimiter);
getImportConsumer().setKeyword$2$Delimiter(ImportUriTestLanguageDelimiters.keyword$11$Delimiter);
- getTypeConsumer().setKeyword$7$Delimiter(ImportUriTestLanguageDelimiters.keyword$11$Delimiter);
- getTypeConsumer().setCrossReference$9$Delimiter(ImportUriTestLanguageDelimiters.ruleCall$21$Delimiter);
- getTypeConsumer().setKeyword$4$Delimiter(ImportUriTestLanguageDelimiters.keyword$11$Delimiter);
getTypeConsumer().setRuleCall$6$Delimiter(ImportUriTestLanguageDelimiters.ruleCall$21$Delimiter);
+ getTypeConsumer().setKeyword$4$Delimiter(ImportUriTestLanguageDelimiters.keyword$11$Delimiter);
+ getTypeConsumer().setCrossReference$9$Delimiter(ImportUriTestLanguageDelimiters.ruleCall$21$Delimiter);
+ getTypeConsumer().setKeyword$7$Delimiter(ImportUriTestLanguageDelimiters.keyword$11$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageDelimiters.java
index e148030..9c279a0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parser/packrat/LangATestLanguageDelimiters.java
@@ -14,11 +14,11 @@ public final class LangATestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
+ public static ISequenceMatcher ruleCall$13$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+
// TODO do not use IDConsumer internals
public static ICharacterClass keyword$11$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
- public static ISequenceMatcher ruleCall$13$Delimiter = ISequenceMatcher.Factory.nullMatcher();
-
public static ISequenceMatcher ruleCall$21$Delimiter = new SetBasedKeywordMatcher(
"import", "type", "extends");
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
index 1790ab2..56e894e 100644
--- 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
@@ -70,12 +70,12 @@ public class LangATestLanguageParserConfiguration extends AbstractParserConfigur
getTypeConsumer().setIdConsumer(getIdConsumer());
- getImportConsumer().setKeyword$2$Delimiter(LangATestLanguageDelimiters.keyword$11$Delimiter);
getImportConsumer().setRuleCall$4$Delimiter(LangATestLanguageDelimiters.ruleCall$13$Delimiter);
- getTypeConsumer().setKeyword$4$Delimiter(LangATestLanguageDelimiters.keyword$11$Delimiter);
+ getImportConsumer().setKeyword$2$Delimiter(LangATestLanguageDelimiters.keyword$11$Delimiter);
getTypeConsumer().setKeyword$7$Delimiter(LangATestLanguageDelimiters.keyword$11$Delimiter);
- getTypeConsumer().setRuleCall$6$Delimiter(LangATestLanguageDelimiters.ruleCall$21$Delimiter);
getTypeConsumer().setCrossReference$9$Delimiter(LangATestLanguageDelimiters.ruleCall$21$Delimiter);
+ getTypeConsumer().setRuleCall$6$Delimiter(LangATestLanguageDelimiters.ruleCall$21$Delimiter);
+ getTypeConsumer().setKeyword$4$Delimiter(LangATestLanguageDelimiters.keyword$11$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
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
index 15801ab..59ca97e 100644
--- 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
@@ -25,22 +25,22 @@ public final class ImportUriTestLanguageTypeConsumer extends NonTerminalConsumer
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$7$Delimiter;
-
- private ISequenceMatcher crossReference$9$Delimiter;
+ private ISequenceMatcher ruleCall$6$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ISequenceMatcher ruleCall$6$Delimiter;
+ private ISequenceMatcher crossReference$9$Delimiter;
+
+ private ICharacterClass keyword$7$Delimiter;
public ImportUriTestLanguageTypeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- crossReference$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -105,20 +105,12 @@ public final class ImportUriTestLanguageTypeConsumer extends NonTerminalConsumer
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ISequenceMatcher getCrossReference$9$Delimiter() {
- return crossReference$9$Delimiter;
+ public ISequenceMatcher getRuleCall$6$Delimiter() {
+ return ruleCall$6$Delimiter;
}
- public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
- crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$4$Delimiter() {
@@ -129,12 +121,20 @@ public final class ImportUriTestLanguageTypeConsumer extends NonTerminalConsumer
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$6$Delimiter() {
- return ruleCall$6$Delimiter;
+ public ISequenceMatcher getCrossReference$9$Delimiter() {
+ return crossReference$9$Delimiter;
}
- public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
- ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
+ crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
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
index 86d5c1c..a1a2972 100644
--- 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
@@ -25,16 +25,16 @@ public final class LangATestLanguageImportConsumer extends NonTerminalConsumer {
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ICharacterClass keyword$2$Delimiter;
-
private ISequenceMatcher ruleCall$4$Delimiter;
+ private ICharacterClass keyword$2$Delimiter;
+
public LangATestLanguageImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -81,14 +81,6 @@ public final class LangATestLanguageImportConsumer extends NonTerminalConsumer {
this.stringConsumer = stringConsumer;
}
- public ICharacterClass getKeyword$2$Delimiter() {
- return keyword$2$Delimiter;
- }
-
- public void setKeyword$2$Delimiter(ICharacterClass characterClass) {
- keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$4$Delimiter() {
return ruleCall$4$Delimiter;
}
@@ -97,4 +89,12 @@ public final class LangATestLanguageImportConsumer extends NonTerminalConsumer {
ruleCall$4$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$2$Delimiter() {
+ return keyword$2$Delimiter;
+ }
+
+ public void setKeyword$2$Delimiter(ICharacterClass characterClass) {
+ keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
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
index 46895c7..28388c7 100644
--- 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
@@ -25,22 +25,22 @@ public final class LangATestLanguageTypeConsumer extends NonTerminalConsumer {
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$4$Delimiter;
-
private ICharacterClass keyword$7$Delimiter;
+ private ISequenceMatcher crossReference$9$Delimiter;
+
private ISequenceMatcher ruleCall$6$Delimiter;
- private ISequenceMatcher crossReference$9$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
public LangATestLanguageTypeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
crossReference$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -105,14 +105,6 @@ public final class LangATestLanguageTypeConsumer extends NonTerminalConsumer {
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
- }
-
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$7$Delimiter() {
return keyword$7$Delimiter;
}
@@ -121,6 +113,14 @@ public final class LangATestLanguageTypeConsumer extends NonTerminalConsumer {
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getCrossReference$9$Delimiter() {
+ return crossReference$9$Delimiter;
+ }
+
+ public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
+ crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ISequenceMatcher getRuleCall$6$Delimiter() {
return ruleCall$6$Delimiter;
}
@@ -129,12 +129,12 @@ public final class LangATestLanguageTypeConsumer extends NonTerminalConsumer {
ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getCrossReference$9$Delimiter() {
- return crossReference$9$Delimiter;
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
}
- public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
- crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java
index e462f7a..612c6ae 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.g 2009-01-14 17:06:04
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.g 2009-01-19 11:41:17
package org.eclipse.xtext.dummy.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java
index e06d0a6..cb7bf14 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.g 2009-01-14 17:06:04
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/dummy/parser/antlr/internal/InternalDummyTestLanguage.g 2009-01-19 11:41:17
package org.eclipse.xtext.dummy.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageDelimiters.java
index fed1df5..d7e6783 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageDelimiters.java
@@ -14,14 +14,14 @@ public final class DummyTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- public static ICharacterClass keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
-
- // TODO do not use IDConsumer internals
- public static ICharacterClass keyword$12$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
-
public static ISequenceMatcher ruleCall$15$Delimiter = new SetBasedKeywordMatcher(
"optional", "element");
+ // TODO do not use IDConsumer internals
+ public static ICharacterClass keyword$12$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+
+ public static ICharacterClass keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
+
public static ISequenceMatcher ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java
index d1ebd28..b07e0b7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/DummyTestLanguageParserConfiguration.java
@@ -63,11 +63,11 @@ public class DummyTestLanguageParserConfiguration extends AbstractParserConfigur
getElementConsumer().setIdConsumer(getIdConsumer());
getElementConsumer().setStringConsumer(getStringConsumer());
- getElementConsumer().setKeyword$7$Delimiter(DummyTestLanguageDelimiters.keyword$12$Delimiter);
- getElementConsumer().setKeyword$12$Delimiter(DummyTestLanguageDelimiters.keyword$18$Delimiter);
- getElementConsumer().setKeyword$6$Delimiter(DummyTestLanguageDelimiters.keyword$12$Delimiter);
getElementConsumer().setRuleCall$9$Delimiter(DummyTestLanguageDelimiters.ruleCall$15$Delimiter);
+ getElementConsumer().setKeyword$6$Delimiter(DummyTestLanguageDelimiters.keyword$12$Delimiter);
+ getElementConsumer().setKeyword$12$Delimiter(DummyTestLanguageDelimiters.keyword$18$Delimiter);
getElementConsumer().setRuleCall$11$Delimiter(DummyTestLanguageDelimiters.ruleCall$17$Delimiter);
+ getElementConsumer().setKeyword$7$Delimiter(DummyTestLanguageDelimiters.keyword$12$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java
index e9ac5a0..a1515c3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parser/packrat/consumers/DummyTestLanguageElementConsumer.java
@@ -27,25 +27,25 @@ public final class DummyTestLanguageElementConsumer extends NonTerminalConsumer
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ICharacterClass keyword$7$Delimiter;
-
- private ICharacterClass keyword$12$Delimiter;
+ private ISequenceMatcher ruleCall$9$Delimiter;
private ICharacterClass keyword$6$Delimiter;
- private ISequenceMatcher ruleCall$9$Delimiter;
+ private ICharacterClass keyword$12$Delimiter;
private ISequenceMatcher ruleCall$11$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
+
public DummyTestLanguageElementConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -134,20 +134,12 @@ public final class DummyTestLanguageElementConsumer extends NonTerminalConsumer
this.stringConsumer = stringConsumer;
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ICharacterClass getKeyword$12$Delimiter() {
- return keyword$12$Delimiter;
+ public ISequenceMatcher getRuleCall$9$Delimiter() {
+ return ruleCall$9$Delimiter;
}
- public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
- keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$9$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$6$Delimiter() {
@@ -158,12 +150,12 @@ public final class DummyTestLanguageElementConsumer extends NonTerminalConsumer
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$9$Delimiter() {
- return ruleCall$9$Delimiter;
+ public ICharacterClass getKeyword$12$Delimiter() {
+ return keyword$12$Delimiter;
}
- public void setRuleCall$9$Delimiter(ISequenceMatcher matcher) {
- ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
+ keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$11$Delimiter() {
@@ -174,4 +166,12 @@ public final class DummyTestLanguageElementConsumer extends NonTerminalConsumer
ruleCall$11$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java
index 8400396..f920df7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java
@@ -198,11 +198,13 @@ protected class Element_0_0_0_0_Assignment_optional extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("optional",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("optional");
- if("optional".equals(value)) { // xtext::Keyword
+
+ if(Boolean.TRUE.equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = DummyTestLanguageGrammarAccess.INSTANCE.prElement().ele00000KeywordOptional();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java
index b4c4741..8c9e77d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.g 2009-01-14 17:05:59
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.g 2009-01-19 11:41:12
package org.eclipse.xtext.grammarinheritance.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java
index 69ebed5..57564db 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.g 2009-01-14 17:05:59
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/grammarinheritance/parser/antlr/internal/InternalConcreteTestLanguage.g 2009-01-19 11:41:11
package org.eclipse.xtext.grammarinheritance.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageDelimiters.java
index cde79eb..bc9c61f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageDelimiters.java
@@ -14,13 +14,13 @@ public final class ConcreteTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
+ public static ICharacterClass keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
+
// TODO do not use IDConsumer internals
public static ICharacterClass keyword$6$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
public static ISequenceMatcher ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- public static ICharacterClass keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
-
public static ISequenceMatcher ruleCall$7$Delimiter = new SetBasedKeywordMatcher(
"model");
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java
index d9fda38..4f93f7f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/ConcreteTestLanguageParserConfiguration.java
@@ -60,9 +60,9 @@ public class ConcreteTestLanguageParserConfiguration extends AbstractParserConfi
getInheritedParserRuleConsumer().setIdConsumer(getIdConsumer());
+ getConcreteParserRuleConsumer().setKeyword$7$Delimiter(ConcreteTestLanguageDelimiters.keyword$9$Delimiter);
getConcreteParserRuleConsumer().setKeyword$4$Delimiter(ConcreteTestLanguageDelimiters.keyword$6$Delimiter);
getConcreteParserRuleConsumer().setRuleCall$6$Delimiter(ConcreteTestLanguageDelimiters.ruleCall$8$Delimiter);
- getConcreteParserRuleConsumer().setKeyword$7$Delimiter(ConcreteTestLanguageDelimiters.keyword$9$Delimiter);
getInheritedParserRuleConsumer().setRuleCall$4$Delimiter(ConcreteTestLanguageDelimiters.ruleCall$7$Delimiter);
getInheritedParserRuleConsumer().setKeyword$2$Delimiter(ConcreteTestLanguageDelimiters.keyword$6$Delimiter);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java
index fee93b4..e8617d6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parser/packrat/consumers/ConcreteTestLanguageConcreteParserRuleConsumer.java
@@ -27,19 +27,19 @@ public final class ConcreteTestLanguageConcreteParserRuleConsumer extends NonTer
private AbstractTestLanguageInheritedParserRuleConsumer inheritedParserRuleConsumer;
private AbstractTestLanguageREALConsumer realConsumer;
+ private ICharacterClass keyword$7$Delimiter;
+
private ICharacterClass keyword$4$Delimiter;
private ISequenceMatcher ruleCall$6$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
-
public ConcreteTestLanguageConcreteParserRuleConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -113,6 +113,14 @@ public final class ConcreteTestLanguageConcreteParserRuleConsumer extends NonTer
this.realConsumer = realConsumer;
}
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
@@ -129,12 +137,4 @@ public final class ConcreteTestLanguageConcreteParserRuleConsumer extends NonTer
ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java
index 8e540b2..5e56225 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.g 2009-01-14 17:06:03
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.g 2009-01-19 11:41:16
package org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java
index 118fad9..58e4558 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.g 2009-01-14 17:06:03
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMetamodelRefTestLanguage.g 2009-01-19 11:41:16
package org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java
index 28cc1e6..62d3fc0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.g 2009-01-14 17:06:03
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.g 2009-01-19 11:41:16
package org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java
index fdc6b52..b7e6dfc 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.g 2009-01-14 17:06:03
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/metamodelreferencing/tests/parser/antlr/internal/InternalMultiGenMMTestLanguage.g 2009-01-19 11:41:16
package org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
index 732707b..b81c533 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g 2009-01-14 17:06:02
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g 2009-01-19 11:41:15
package org.eclipse.xtext.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
index 31bee85..e398916 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g 2009-01-14 17:06:01
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g 2009-01-19 11:41:14
package org.eclipse.xtext.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java
index 46324d1..a366b06 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.g 2009-01-14 17:06:17
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.g 2009-01-19 11:41:34
package org.eclipse.xtext.parser.datatyperules.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java
index 87d9b64..b54cbb2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.g 2009-01-14 17:06:17
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parser/datatyperules/parser/antlr/internal/InternalDatatypeRulesTestLanguage.g 2009-01-19 11:41:34
package org.eclipse.xtext.parser.datatyperules.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java
index 2b764e8..516c904 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/DatatypeRulesTestLanguageParserConfiguration.java
@@ -98,21 +98,21 @@ public class DatatypeRulesTestLanguageParserConfiguration extends AbstractParser
getVectorConsumer().setIntConsumer(getIntConsumer());
- getModelConsumer().setKeyword$12$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
- getModelConsumer().setKeyword$19$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
getModelConsumer().setKeyword$16$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
getModelConsumer().setKeyword$8$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
+ getModelConsumer().setKeyword$12$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
+ getModelConsumer().setKeyword$19$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
+ getModelIdConsumer().setRuleCall$5$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getModelIdConsumer().setRuleCall$3$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getModelIdConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
- getModelIdConsumer().setRuleCall$5$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getNestedModelIdConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
+ getFractionConsumer().setRuleCall$2$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getFractionConsumer().setRuleCall$5$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getFractionConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
- getFractionConsumer().setRuleCall$2$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
- getVectorConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
- getVectorConsumer().setRuleCall$6$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getVectorConsumer().setRuleCall$5$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
+ getVectorConsumer().setRuleCall$6$Delimiter(DatatypeRulesTestLanguageDelimiters.ruleCall$31$Delimiter);
getVectorConsumer().setKeyword$7$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
+ getVectorConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
getDotsConsumer().setKeyword$5$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
getDotsConsumer().setKeyword$4$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
getDotsConsumer().setKeyword$3$Delimiter(DatatypeRulesTestLanguageDelimiters.keyword$15$Delimiter);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java
index df2910d..4d3ffb2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageFractionConsumer.java
@@ -25,19 +25,19 @@ public final class DatatypeRulesTestLanguageFractionConsumer extends NonTerminal
private XtextBuiltinINTConsumer intConsumer;
+ private ISequenceMatcher ruleCall$2$Delimiter;
+
private ISequenceMatcher ruleCall$5$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ISequenceMatcher ruleCall$2$Delimiter;
-
public DatatypeRulesTestLanguageFractionConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ ruleCall$2$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$2$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -104,6 +104,14 @@ public final class DatatypeRulesTestLanguageFractionConsumer extends NonTerminal
this.intConsumer = intConsumer;
}
+ public ISequenceMatcher getRuleCall$2$Delimiter() {
+ return ruleCall$2$Delimiter;
+ }
+
+ public void setRuleCall$2$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$2$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ISequenceMatcher getRuleCall$5$Delimiter() {
return ruleCall$5$Delimiter;
}
@@ -120,12 +128,4 @@ public final class DatatypeRulesTestLanguageFractionConsumer extends NonTerminal
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$2$Delimiter() {
- return ruleCall$2$Delimiter;
- }
-
- public void setRuleCall$2$Delimiter(ISequenceMatcher matcher) {
- ruleCall$2$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java
index 783c616..51fa36e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelConsumer.java
@@ -31,22 +31,22 @@ public final class DatatypeRulesTestLanguageModelConsumer extends NonTerminalCon
private DatatypeRulesTestLanguageNestedModelIdConsumer nestedModelIdConsumer;
private DatatypeRulesTestLanguageVectorConsumer vectorConsumer;
- private ICharacterClass keyword$12$Delimiter;
-
- private ICharacterClass keyword$19$Delimiter;
-
private ICharacterClass keyword$16$Delimiter;
private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$12$Delimiter;
+
+ private ICharacterClass keyword$19$Delimiter;
+
public DatatypeRulesTestLanguageModelConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -201,22 +201,6 @@ public final class DatatypeRulesTestLanguageModelConsumer extends NonTerminalCon
this.vectorConsumer = vectorConsumer;
}
- public ICharacterClass getKeyword$12$Delimiter() {
- return keyword$12$Delimiter;
- }
-
- public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
- keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ICharacterClass getKeyword$19$Delimiter() {
- return keyword$19$Delimiter;
- }
-
- public void setKeyword$19$Delimiter(ICharacterClass characterClass) {
- keyword$19$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$16$Delimiter() {
return keyword$16$Delimiter;
}
@@ -233,4 +217,20 @@ public final class DatatypeRulesTestLanguageModelConsumer extends NonTerminalCon
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$12$Delimiter() {
+ return keyword$12$Delimiter;
+ }
+
+ public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
+ keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$19$Delimiter() {
+ return keyword$19$Delimiter;
+ }
+
+ public void setKeyword$19$Delimiter(ICharacterClass characterClass) {
+ keyword$19$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java
index 3d0e72b..d3feebb 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageModelIdConsumer.java
@@ -25,19 +25,19 @@ public final class DatatypeRulesTestLanguageModelIdConsumer extends NonTerminalC
private XtextBuiltinIDConsumer idConsumer;
+ private ISequenceMatcher ruleCall$5$Delimiter;
+
private ISequenceMatcher ruleCall$3$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ISequenceMatcher ruleCall$5$Delimiter;
-
public DatatypeRulesTestLanguageModelIdConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$3$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -90,6 +90,14 @@ public final class DatatypeRulesTestLanguageModelIdConsumer extends NonTerminalC
this.idConsumer = idConsumer;
}
+ public ISequenceMatcher getRuleCall$5$Delimiter() {
+ return ruleCall$5$Delimiter;
+ }
+
+ public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ISequenceMatcher getRuleCall$3$Delimiter() {
return ruleCall$3$Delimiter;
}
@@ -106,12 +114,4 @@ public final class DatatypeRulesTestLanguageModelIdConsumer extends NonTerminalC
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$5$Delimiter() {
- return ruleCall$5$Delimiter;
- }
-
- public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
- ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java
index 5b0cf12..231e3e0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parser/packrat/consumers/DatatypeRulesTestLanguageVectorConsumer.java
@@ -25,22 +25,22 @@ public final class DatatypeRulesTestLanguageVectorConsumer extends NonTerminalCo
private XtextBuiltinINTConsumer intConsumer;
- private ICharacterClass keyword$4$Delimiter;
+ private ISequenceMatcher ruleCall$5$Delimiter;
private ISequenceMatcher ruleCall$6$Delimiter;
- private ISequenceMatcher ruleCall$5$Delimiter;
-
private ICharacterClass keyword$7$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
+
public DatatypeRulesTestLanguageVectorConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -101,12 +101,12 @@ public final class DatatypeRulesTestLanguageVectorConsumer extends NonTerminalCo
this.intConsumer = intConsumer;
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
+ public ISequenceMatcher getRuleCall$5$Delimiter() {
+ return ruleCall$5$Delimiter;
}
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$6$Delimiter() {
@@ -117,14 +117,6 @@ public final class DatatypeRulesTestLanguageVectorConsumer extends NonTerminalCo
ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$5$Delimiter() {
- return ruleCall$5$Delimiter;
- }
-
- public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
- ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$7$Delimiter() {
return keyword$7$Delimiter;
}
@@ -133,4 +125,12 @@ public final class DatatypeRulesTestLanguageVectorConsumer extends NonTerminalCo
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
+ }
+
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
index 73a963e..8acaf6b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java
@@ -14,14 +14,14 @@ public final class XtextGrammarTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
+ public static ICharacterClass keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
+
// TODO do not use IDConsumer internals
public static ICharacterClass keyword$11$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
public static ISequenceMatcher ruleCall$14$Delimiter = new SetBasedKeywordMatcher(
"abstract language", "language", "extends", "generate", "as", "import", "native", "lexer", "returns", "current");
- public static ICharacterClass keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
-
public static ISequenceMatcher ruleCall$51$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
index 4e06979..637932c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java
@@ -192,59 +192,59 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
getRuleCallConsumer().setIdConsumer(getIdConsumer());
- getGrammarConsumer().setRuleCall$15$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getGrammarConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getGrammarConsumer().setRuleCall$24$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getGrammarConsumer().setKeyword$13$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getGrammarConsumer().setKeyword$18$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setRuleCall$20$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getGrammarConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setRuleCall$24$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getGrammarConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getGrammarConsumer().setKeyword$18$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setRuleCall$15$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getGrammarConsumer().setRuleCall$11$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getGrammarConsumer().setRuleCall$20$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getGrammarConsumer().setKeyword$13$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$8$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$12$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
getGeneratedMetamodelConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
getGeneratedMetamodelConsumer().setRuleCall$6$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getReferencedMetamodelConsumer().setRuleCall$5$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
- getReferencedMetamodelConsumer().setRuleCall$9$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$12$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$8$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
getReferencedMetamodelConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getReferencedMetamodelConsumer().setRuleCall$9$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getReferencedMetamodelConsumer().setRuleCall$5$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
getReferencedMetamodelConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getLexerRuleConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getLexerRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
getLexerRuleConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getLexerRuleConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getLexerRuleConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
getLexerRuleConsumer().setKeyword$18$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getLexerRuleConsumer().setKeyword$15$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getLexerRuleConsumer().setRuleCall$17$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
- getLexerRuleConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getParserRuleConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getLexerRuleConsumer().setKeyword$15$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getLexerRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
getParserRuleConsumer().setRuleCall$6$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getParserRuleConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getParserRuleConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getParserRuleConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getParserRuleConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getTypeRefConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getTypeRefConsumer().setCrossReference$4$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getTypeRefConsumer().setCrossReference$8$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getTypeRefConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getAlternativesConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getAbstractTokenConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getAbstractTokenConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getAbstractTokenConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getAbstractTokenConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getAssignmentConsumer().setRuleCall$4$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
- getAssignmentConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getAssignmentConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getAssignmentConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getActionConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getActionConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getActionConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getActionConsumer().setKeyword$19$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getAssignmentConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getAssignmentConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getActionConsumer().setKeyword$20$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getActionConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getActionConsumer().setKeyword$19$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getActionConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getActionConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getActionConsumer().setRuleCall$16$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getActionConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getActionConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getActionConsumer().setKeyword$21$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
- getActionConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getCrossReferenceConsumer().setCrossReference$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getActionConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getCrossReferenceConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getCrossReferenceConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getCrossReferenceConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
- getCrossReferenceConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
+ getCrossReferenceConsumer().setCrossReference$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$14$Delimiter);
getParenthesizedElementConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getParenthesizedElementConsumer().setKeyword$5$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$16$Delimiter);
getKeywordConsumer().setRuleCall$2$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$51$Delimiter);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java
index dae36ef..ddd0b08 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAbstractTokenConsumer.java
@@ -31,17 +31,17 @@ public final class XtextGrammarTestLanguageAbstractTokenConsumer extends NonTerm
private ICharacterClass keyword$10$Delimiter;
- private ICharacterClass keyword$11$Delimiter;
-
private ICharacterClass keyword$12$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
+
public XtextGrammarTestLanguageAbstractTokenConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -131,14 +131,6 @@ public final class XtextGrammarTestLanguageAbstractTokenConsumer extends NonTerm
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
- }
-
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$12$Delimiter() {
return keyword$12$Delimiter;
}
@@ -147,4 +139,12 @@ public final class XtextGrammarTestLanguageAbstractTokenConsumer extends NonTerm
keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
+ }
+
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java
index b130b95..292e4cc 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageActionConsumer.java
@@ -27,37 +27,37 @@ public final class XtextGrammarTestLanguageActionConsumer extends NonTerminalCon
private XtextBuiltinIDConsumer idConsumer;
private XtextGrammarTestLanguageTypeRefConsumer typeRefConsumer;
- private ICharacterClass keyword$8$Delimiter;
-
- private ICharacterClass keyword$22$Delimiter;
-
- private ICharacterClass keyword$14$Delimiter;
+ private ICharacterClass keyword$20$Delimiter;
private ICharacterClass keyword$19$Delimiter;
- private ICharacterClass keyword$20$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$10$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
private ISequenceMatcher ruleCall$16$Delimiter;
+ private ICharacterClass keyword$14$Delimiter;
+
+ private ICharacterClass keyword$22$Delimiter;
+
private ICharacterClass keyword$21$Delimiter;
- private ICharacterClass keyword$11$Delimiter;
+ private ICharacterClass keyword$10$Delimiter;
public XtextGrammarTestLanguageActionConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
keyword$20$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$16$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
keyword$21$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -184,28 +184,12 @@ public final class XtextGrammarTestLanguageActionConsumer extends NonTerminalCon
this.typeRefConsumer = typeRefConsumer;
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
- }
-
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ICharacterClass getKeyword$22$Delimiter() {
- return keyword$22$Delimiter;
- }
-
- public void setKeyword$22$Delimiter(ICharacterClass characterClass) {
- keyword$22$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ICharacterClass getKeyword$14$Delimiter() {
- return keyword$14$Delimiter;
+ public ICharacterClass getKeyword$20$Delimiter() {
+ return keyword$20$Delimiter;
}
- public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
- keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$20$Delimiter(ICharacterClass characterClass) {
+ keyword$20$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$19$Delimiter() {
@@ -216,20 +200,20 @@ public final class XtextGrammarTestLanguageActionConsumer extends NonTerminalCon
keyword$19$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$20$Delimiter() {
- return keyword$20$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setKeyword$20$Delimiter(ICharacterClass characterClass) {
- keyword$20$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$10$Delimiter() {
- return keyword$10$Delimiter;
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
}
- public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
- keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$16$Delimiter() {
@@ -240,6 +224,22 @@ public final class XtextGrammarTestLanguageActionConsumer extends NonTerminalCon
ruleCall$16$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$14$Delimiter() {
+ return keyword$14$Delimiter;
+ }
+
+ public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
+ keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$22$Delimiter() {
+ return keyword$22$Delimiter;
+ }
+
+ public void setKeyword$22$Delimiter(ICharacterClass characterClass) {
+ keyword$22$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$21$Delimiter() {
return keyword$21$Delimiter;
}
@@ -248,12 +248,12 @@ public final class XtextGrammarTestLanguageActionConsumer extends NonTerminalCon
keyword$21$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
+ public ICharacterClass getKeyword$10$Delimiter() {
+ return keyword$10$Delimiter;
}
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
+ keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java
index 325fb90..89e50e7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageAssignmentConsumer.java
@@ -29,20 +29,20 @@ public final class XtextGrammarTestLanguageAssignmentConsumer extends NonTermina
private ISequenceMatcher ruleCall$4$Delimiter;
- private ICharacterClass keyword$9$Delimiter;
+ private ICharacterClass keyword$10$Delimiter;
private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$10$Delimiter;
+ private ICharacterClass keyword$9$Delimiter;
public XtextGrammarTestLanguageAssignmentConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
ruleCall$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -117,12 +117,12 @@ public final class XtextGrammarTestLanguageAssignmentConsumer extends NonTermina
ruleCall$4$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$9$Delimiter() {
- return keyword$9$Delimiter;
+ public ICharacterClass getKeyword$10$Delimiter() {
+ return keyword$10$Delimiter;
}
- public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
- keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
+ keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$8$Delimiter() {
@@ -133,12 +133,12 @@ public final class XtextGrammarTestLanguageAssignmentConsumer extends NonTermina
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$10$Delimiter() {
- return keyword$10$Delimiter;
+ public ICharacterClass getKeyword$9$Delimiter() {
+ return keyword$9$Delimiter;
}
- public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
- keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
+ keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java
index 93be1f2..f239f63 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageCrossReferenceConsumer.java
@@ -27,22 +27,22 @@ public final class XtextGrammarTestLanguageCrossReferenceConsumer extends NonTer
private XtextBuiltinIDConsumer idConsumer;
private XtextGrammarTestLanguageTypeRefConsumer typeRefConsumer;
- private ISequenceMatcher crossReference$10$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
private ICharacterClass keyword$8$Delimiter;
private ICharacterClass keyword$12$Delimiter;
- private ICharacterClass keyword$4$Delimiter;
+ private ISequenceMatcher crossReference$10$Delimiter;
public XtextGrammarTestLanguageCrossReferenceConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- crossReference$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -133,12 +133,12 @@ public final class XtextGrammarTestLanguageCrossReferenceConsumer extends NonTer
this.typeRefConsumer = typeRefConsumer;
}
- public ISequenceMatcher getCrossReference$10$Delimiter() {
- return crossReference$10$Delimiter;
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
}
- public void setCrossReference$10$Delimiter(ISequenceMatcher matcher) {
- crossReference$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$8$Delimiter() {
@@ -157,12 +157,12 @@ public final class XtextGrammarTestLanguageCrossReferenceConsumer extends NonTer
keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
+ public ISequenceMatcher getCrossReference$10$Delimiter() {
+ return crossReference$10$Delimiter;
}
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$10$Delimiter(ISequenceMatcher matcher) {
+ crossReference$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java
index c7b0c4a..acd7490 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGeneratedMetamodelConsumer.java
@@ -27,25 +27,25 @@ public final class XtextGrammarTestLanguageGeneratedMetamodelConsumer extends No
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$8$Delimiter;
-
- private ISequenceMatcher ruleCall$12$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
private ICharacterClass keyword$10$Delimiter;
private ISequenceMatcher ruleCall$6$Delimiter;
- private ICharacterClass keyword$4$Delimiter;
+ private ISequenceMatcher ruleCall$12$Delimiter;
+
+ private ISequenceMatcher ruleCall$8$Delimiter;
public XtextGrammarTestLanguageGeneratedMetamodelConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -138,20 +138,12 @@ public final class XtextGrammarTestLanguageGeneratedMetamodelConsumer extends No
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$8$Delimiter() {
- return ruleCall$8$Delimiter;
- }
-
- public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
- ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ISequenceMatcher getRuleCall$12$Delimiter() {
- return ruleCall$12$Delimiter;
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
}
- public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
- ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$10$Delimiter() {
@@ -170,12 +162,20 @@ public final class XtextGrammarTestLanguageGeneratedMetamodelConsumer extends No
ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
+ public ISequenceMatcher getRuleCall$12$Delimiter() {
+ return ruleCall$12$Delimiter;
}
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ISequenceMatcher getRuleCall$8$Delimiter() {
+ return ruleCall$8$Delimiter;
+ }
+
+ public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
index 9a1c2d5..63c81c9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java
@@ -29,37 +29,37 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
private XtextGrammarTestLanguageAbstractRuleConsumer abstractRuleConsumer;
private XtextBuiltinIDConsumer idConsumer;
- private ISequenceMatcher ruleCall$15$Delimiter;
-
private ICharacterClass keyword$9$Delimiter;
- private ISequenceMatcher ruleCall$24$Delimiter;
+ private ICharacterClass keyword$13$Delimiter;
+
+ private ICharacterClass keyword$18$Delimiter;
+
+ private ISequenceMatcher ruleCall$20$Delimiter;
private ICharacterClass keyword$8$Delimiter;
+ private ISequenceMatcher ruleCall$24$Delimiter;
+
private ICharacterClass keyword$22$Delimiter;
- private ICharacterClass keyword$18$Delimiter;
+ private ISequenceMatcher ruleCall$15$Delimiter;
private ISequenceMatcher ruleCall$11$Delimiter;
- private ISequenceMatcher ruleCall$20$Delimiter;
-
- private ICharacterClass keyword$13$Delimiter;
-
public XtextGrammarTestLanguageGrammarConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$15$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$24$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$20$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$24$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$15$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$20$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -257,14 +257,6 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
this.idConsumer = idConsumer;
}
- public ISequenceMatcher getRuleCall$15$Delimiter() {
- return ruleCall$15$Delimiter;
- }
-
- public void setRuleCall$15$Delimiter(ISequenceMatcher matcher) {
- ruleCall$15$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$9$Delimiter() {
return keyword$9$Delimiter;
}
@@ -273,12 +265,28 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$24$Delimiter() {
- return ruleCall$24$Delimiter;
+ public ICharacterClass getKeyword$13$Delimiter() {
+ return keyword$13$Delimiter;
}
- public void setRuleCall$24$Delimiter(ISequenceMatcher matcher) {
- ruleCall$24$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
+ keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$18$Delimiter() {
+ return keyword$18$Delimiter;
+ }
+
+ public void setKeyword$18$Delimiter(ICharacterClass characterClass) {
+ keyword$18$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ISequenceMatcher getRuleCall$20$Delimiter() {
+ return ruleCall$20$Delimiter;
+ }
+
+ public void setRuleCall$20$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$20$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$8$Delimiter() {
@@ -289,6 +297,14 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$24$Delimiter() {
+ return ruleCall$24$Delimiter;
+ }
+
+ public void setRuleCall$24$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$24$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ICharacterClass getKeyword$22$Delimiter() {
return keyword$22$Delimiter;
}
@@ -297,12 +313,12 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
keyword$22$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$18$Delimiter() {
- return keyword$18$Delimiter;
+ public ISequenceMatcher getRuleCall$15$Delimiter() {
+ return ruleCall$15$Delimiter;
}
- public void setKeyword$18$Delimiter(ICharacterClass characterClass) {
- keyword$18$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$15$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$15$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$11$Delimiter() {
@@ -313,20 +329,4 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
ruleCall$11$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$20$Delimiter() {
- return ruleCall$20$Delimiter;
- }
-
- public void setRuleCall$20$Delimiter(ISequenceMatcher matcher) {
- ruleCall$20$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ICharacterClass getKeyword$13$Delimiter() {
- return keyword$13$Delimiter;
- }
-
- public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
- keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
index 704277e..d9ef0b6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
@@ -29,31 +29,31 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
private XtextBuiltinSTRINGConsumer stringConsumer;
private XtextGrammarTestLanguageTypeRefConsumer typeRefConsumer;
- private ISequenceMatcher ruleCall$10$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
+ private ISequenceMatcher ruleCall$10$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$12$Delimiter;
private ICharacterClass keyword$18$Delimiter;
- private ICharacterClass keyword$15$Delimiter;
-
private ISequenceMatcher ruleCall$17$Delimiter;
- private ICharacterClass keyword$12$Delimiter;
+ private ICharacterClass keyword$15$Delimiter;
+
+ private ICharacterClass keyword$7$Delimiter;
public XtextGrammarTestLanguageLexerRuleConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -178,28 +178,28 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
this.typeRefConsumer = typeRefConsumer;
}
- public ISequenceMatcher getRuleCall$10$Delimiter() {
- return ruleCall$10$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
- ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
+ public ISequenceMatcher getRuleCall$10$Delimiter() {
+ return ruleCall$10$Delimiter;
}
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
+ public ICharacterClass getKeyword$12$Delimiter() {
+ return keyword$12$Delimiter;
}
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
+ keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$18$Delimiter() {
@@ -210,14 +210,6 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
keyword$18$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$15$Delimiter() {
- return keyword$15$Delimiter;
- }
-
- public void setKeyword$15$Delimiter(ICharacterClass characterClass) {
- keyword$15$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$17$Delimiter() {
return ruleCall$17$Delimiter;
}
@@ -226,12 +218,20 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
ruleCall$17$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$12$Delimiter() {
- return keyword$12$Delimiter;
+ public ICharacterClass getKeyword$15$Delimiter() {
+ return keyword$15$Delimiter;
}
- public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
- keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$15$Delimiter(ICharacterClass characterClass) {
+ keyword$15$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java
index 6d0ce64..0ad4b40 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageParserRuleConsumer.java
@@ -29,22 +29,22 @@ public final class XtextGrammarTestLanguageParserRuleConsumer extends NonTermina
private XtextBuiltinIDConsumer idConsumer;
private XtextGrammarTestLanguageTypeRefConsumer typeRefConsumer;
- private ICharacterClass keyword$8$Delimiter;
-
private ISequenceMatcher ruleCall$6$Delimiter;
- private ICharacterClass keyword$11$Delimiter;
-
private ICharacterClass keyword$14$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
+
+ private ICharacterClass keyword$11$Delimiter;
+
public XtextGrammarTestLanguageParserRuleConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -149,14 +149,6 @@ public final class XtextGrammarTestLanguageParserRuleConsumer extends NonTermina
this.typeRefConsumer = typeRefConsumer;
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
- }
-
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$6$Delimiter() {
return ruleCall$6$Delimiter;
}
@@ -165,14 +157,6 @@ public final class XtextGrammarTestLanguageParserRuleConsumer extends NonTermina
ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
- }
-
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$14$Delimiter() {
return keyword$14$Delimiter;
}
@@ -181,4 +165,20 @@ public final class XtextGrammarTestLanguageParserRuleConsumer extends NonTermina
keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
+ }
+
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
+ }
+
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java
index 1b95b48..5d77ba6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageReferencedMetamodelConsumer.java
@@ -27,11 +27,11 @@ public final class XtextGrammarTestLanguageReferencedMetamodelConsumer extends N
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$5$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
private ISequenceMatcher ruleCall$9$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
+ private ISequenceMatcher ruleCall$5$Delimiter;
private ICharacterClass keyword$3$Delimiter;
@@ -39,9 +39,9 @@ public final class XtextGrammarTestLanguageReferencedMetamodelConsumer extends N
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -125,12 +125,12 @@ public final class XtextGrammarTestLanguageReferencedMetamodelConsumer extends N
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$5$Delimiter() {
- return ruleCall$5$Delimiter;
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
}
- public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
- ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$9$Delimiter() {
@@ -141,12 +141,12 @@ public final class XtextGrammarTestLanguageReferencedMetamodelConsumer extends N
ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
+ public ISequenceMatcher getRuleCall$5$Delimiter() {
+ return ruleCall$5$Delimiter;
}
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$3$Delimiter() {
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java
index ab87c2f..5e32a1c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageTypeRefConsumer.java
@@ -25,19 +25,19 @@ public final class XtextGrammarTestLanguageTypeRefConsumer extends NonTerminalCo
private XtextBuiltinIDConsumer idConsumer;
+ private ICharacterClass keyword$6$Delimiter;
+
private ISequenceMatcher crossReference$4$Delimiter;
private ISequenceMatcher crossReference$8$Delimiter;
- private ICharacterClass keyword$6$Delimiter;
-
public XtextGrammarTestLanguageTypeRefConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
crossReference$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
crossReference$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -108,6 +108,14 @@ public final class XtextGrammarTestLanguageTypeRefConsumer extends NonTerminalCo
this.idConsumer = idConsumer;
}
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ISequenceMatcher getCrossReference$4$Delimiter() {
return crossReference$4$Delimiter;
}
@@ -124,12 +132,4 @@ public final class XtextGrammarTestLanguageTypeRefConsumer extends NonTerminalCo
crossReference$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
- }
-
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java
index 3fc6d1d..95f5718 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.g 2009-01-14 17:06:17
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.g 2009-01-19 11:41:34
package org.eclipse.xtext.parsetree.formatter.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java
index 90179be..fc667e3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.g 2009-01-14 17:06:17
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/formatter/parser/antlr/internal/InternalFormatterTestLanguage.g 2009-01-19 11:41:33
package org.eclipse.xtext.parsetree.formatter.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java
index 6d8875a..8ed1735 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/FormatterTestLanguageParserConfiguration.java
@@ -83,9 +83,9 @@ public class FormatterTestLanguageParserConfiguration extends AbstractParserConf
getLineConsumer().setKeyword$7$Delimiter(FormatterTestLanguageDelimiters.keyword$16$Delimiter);
getLineConsumer().setRuleCall$6$Delimiter(FormatterTestLanguageDelimiters.ruleCall$13$Delimiter);
getTestLinewrapConsumer().setKeyword$2$Delimiter(FormatterTestLanguageDelimiters.keyword$4$Delimiter);
- getTestIndentationConsumer().setKeyword$11$Delimiter(FormatterTestLanguageDelimiters.keyword$16$Delimiter);
- getTestIndentationConsumer().setKeyword$4$Delimiter(FormatterTestLanguageDelimiters.keyword$4$Delimiter);
getTestIndentationConsumer().setKeyword$5$Delimiter(FormatterTestLanguageDelimiters.keyword$16$Delimiter);
+ getTestIndentationConsumer().setKeyword$4$Delimiter(FormatterTestLanguageDelimiters.keyword$4$Delimiter);
+ getTestIndentationConsumer().setKeyword$11$Delimiter(FormatterTestLanguageDelimiters.keyword$16$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java
index 4d1bf55..f3b97b2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parser/packrat/consumers/FormatterTestLanguageTestIndentationConsumer.java
@@ -27,19 +27,19 @@ public final class FormatterTestLanguageTestIndentationConsumer extends NonTermi
private FormatterTestLanguageLineConsumer lineConsumer;
private FormatterTestLanguageTestIndentationConsumer testIndentationConsumer;
- private ICharacterClass keyword$11$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ICharacterClass keyword$5$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
public FormatterTestLanguageTestIndentationConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -125,12 +125,12 @@ public final class FormatterTestLanguageTestIndentationConsumer extends NonTermi
this.testIndentationConsumer = testIndentationConsumer;
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
}
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$4$Delimiter() {
@@ -141,12 +141,12 @@ public final class FormatterTestLanguageTestIndentationConsumer extends NonTermi
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
}
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi
index e565adb..1b5ddb9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi
@@ -37,18 +37,21 @@
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.2"/>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.4"/>
+ <groups xsi:type="xtext:Alternatives">
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.2"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.4"/>
+ </groups>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.5"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.5"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.3"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.3"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.6"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.6"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.7"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.7"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.8"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Atom">
@@ -193,4 +196,25 @@
</abstractTokens>
</alternatives>
</rules>
+ <rules xsi:type="xtext:ParserRule" name="Boolean">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://simple/rewrite/test#//Boolean"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:Keyword" value="#4"/>
+ <abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="bool" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="myoption"/>
+ </abstractTokens>
+ </abstractTokens>
+ <abstractTokens xsi:type="xtext:Keyword" value="kw"/>
+ </abstractTokens>
+ <abstractTokens xsi:type="xtext:Assignment" feature="value" operator="=">
+ <terminal xsi:type="xtext:RuleCall">
+ <rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
+ </terminal>
+ </abstractTokens>
+ </alternatives>
+ </rules>
</xtext:Grammar>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java
index 9448388..d3a6167 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java
@@ -222,11 +222,13 @@ protected class Grammar_0_0_0_0_0_0_Assignment_abstract extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("abstract",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("abstract");
- if("abstract language".equals(value)) { // xtext::Keyword
+
+ if(Boolean.TRUE.equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammar().ele0000000KeywordAbstractLanguage();
return new Solution(obj);
}
+
return null;
}
}
@@ -2293,21 +2295,27 @@ protected class AbstractToken_1_Assignment_cardinality extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("cardinality",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("cardinality");
+
if("?".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAbstractToken().ele1000KeywordQuestionMark();
return new Solution(obj);
}
+
+
if("*".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAbstractToken().ele1001KeywordAsterisk();
return new Solution(obj);
}
+
+
if("+".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAbstractToken().ele101KeywordPlusSign();
return new Solution(obj);
}
+
return null;
}
}
@@ -2416,21 +2424,27 @@ protected class Assignment_0_1_Assignment_operator extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("operator",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("operator");
+
if("+=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAssignment().ele01000KeywordPlusSignEqualsSign();
return new Solution(obj);
}
+
+
if("=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAssignment().ele01001KeywordEqualsSign();
return new Solution(obj);
}
+
+
if("?=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAssignment().ele0101KeywordQuestionMarkEqualsSign();
return new Solution(obj);
}
+
return null;
}
}
@@ -2823,16 +2837,20 @@ protected class Action_0_0_1_Assignment_operator extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("operator",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("operator");
+
if("=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAction().ele00100KeywordEqualsSign();
return new Solution(obj);
}
+
+
if("+=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAction().ele00101KeywordPlusSignEqualsSign();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java
index 39ebd0a..7fe981a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.g 2009-01-14 17:06:07
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.g 2009-01-19 11:41:21
package org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java
index c82a3f8..ed560a4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.g 2009-01-14 17:06:07
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalComplexReconstrTestLanguage.g 2009-01-19 11:41:21
package org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g
index 1a47bce..805ac5f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g
@@ -138,9 +138,9 @@ entryRuleTerm returns [EObject current=null] :
ruleTerm returns [EObject current=null]
@init { EObject temp=null; setCurrentLookahead(); resetLookahead(); }
@after { resetLookahead(); }:
-((((((
+(((((((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_Atom=ruleAtom
{
@@ -150,7 +150,7 @@ ruleTerm returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_TwoNumbers=ruleTwoNumbers
{
@@ -160,7 +160,7 @@ ruleTerm returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ManyStrings=ruleManyStrings
{
@@ -170,7 +170,7 @@ ruleTerm returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Parens=ruleParens
{
@@ -180,7 +180,7 @@ ruleTerm returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Type=ruleType
{
@@ -190,7 +190,7 @@ ruleTerm returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Ref2=ruleRef2
{
@@ -200,13 +200,23 @@ ruleTerm returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Spare=ruleSpare
{
$current = $this_Spare.current;
currentNode = currentNode.getParent();
}
+)
+ |
+ {
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ }
+ this_Boolean=ruleBoolean
+ {
+ $current = $this_Boolean.current;
+ currentNode = currentNode.getParent();
+ }
);
@@ -629,6 +639,72 @@ ruleSpare returns [EObject current=null]
+// Entry rule entryRuleBoolean
+entryRuleBoolean returns [EObject current=null] :
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9" /* xtext::ParserRule */, currentNode); }
+ iv_ruleBoolean=ruleBoolean
+ { $current=$iv_ruleBoolean.current; }
+ EOF
+;
+
+// Rule Boolean
+ruleBoolean returns [EObject current=null]
+ @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); }
+ @after { resetLookahead(); }:
+((('#4'
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ }
+(
+
+ lv_bool='myoption'
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::Keyword */, "bool");
+ }
+
+ {
+ if ($current==null) {
+ $current = factory.create("Boolean");
+ associateNodeWithAstElement(currentNode, $current);
+ }
+
+ try {
+ factory.set($current, "bool", true, "myoption", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
+
+)?)'kw'
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ }
+)(
+
+ lv_value=RULE_ID
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "value");
+ }
+
+ {
+ if ($current==null) {
+ $current = factory.create("Boolean");
+ associateNodeWithAstElement(currentNode, $current);
+ }
+
+ try {
+ factory.set($current, "value", lv_value, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
+
+));
+
+
+
+
+
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_INT : ('0'..'9')+;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens
index 6b3244e..0d46fbc 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.tokens
@@ -5,15 +5,18 @@ RULE_INT=5
RULE_STRING=6
RULE_ANY_OTHER=10
RULE_SL_COMMENT=8
-'('=11
'#2'=18
-'#'=14
+'#4'=23
')'=12
'type'=16
-'.'=22
+'mykeyword1'=19
+'!'=13
+'myoption'=24
+'('=11
+'#'=14
'extends'=17
-'mykeyword2'=20
+'.'=22
'='=15
+'mykeyword2'=20
'#3'=21
-'mykeyword1'=19
-'!'=13
+'kw'=25
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java
index ead380b..89f22a9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g 2009-01-14 17:06:05
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g 2009-01-19 11:41:19
package org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal;
@@ -21,18 +21,21 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public static final int T11=11;
public static final int RULE_STRING=6;
public static final int T12=12;
+ public static final int T23=23;
public static final int T13=13;
public static final int T20=20;
+ public static final int T25=25;
public static final int T18=18;
public static final int RULE_WS=9;
public static final int T15=15;
public static final int RULE_INT=5;
public static final int EOF=-1;
public static final int T17=17;
- public static final int Tokens=23;
+ public static final int Tokens=26;
public static final int RULE_ANY_OTHER=10;
public static final int T16=16;
public static final int RULE_SL_COMMENT=8;
+ public static final int T24=24;
public static final int T19=19;
public InternalSimpleReconstrTestLanguageLexer() {;}
public InternalSimpleReconstrTestLanguageLexer(CharStream input) {
@@ -262,14 +265,71 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
// $ANTLR end T22
+ // $ANTLR start T23
+ public final void mT23() throws RecognitionException {
+ try {
+ int _type = T23;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:22:5: ( '#4' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:22:7: '#4'
+ {
+ match("#4");
+
+
+ }
+
+ this.type = _type;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end T23
+
+ // $ANTLR start T24
+ public final void mT24() throws RecognitionException {
+ try {
+ int _type = T24;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:23:5: ( 'myoption' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:23:7: 'myoption'
+ {
+ match("myoption");
+
+
+ }
+
+ this.type = _type;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end T24
+
+ // $ANTLR start T25
+ public final void mT25() throws RecognitionException {
+ try {
+ int _type = T25;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:24:5: ( 'kw' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:24:7: 'kw'
+ {
+ match("kw");
+
+
+ }
+
+ this.type = _type;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end T25
+
// $ANTLR start RULE_ID
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:632:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:632:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:708:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:708:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:632:11: ( '^' )?
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:708:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -278,7 +338,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:632:12: '^'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:708:12: '^'
{
match('^');
@@ -297,7 +357,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:632:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:708:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -345,10 +405,10 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:634:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:634:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:710:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:710:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:634:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:710:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -362,7 +422,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:634:13: '0' .. '9'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:710:13: '0' .. '9'
{
matchRange('0','9');
@@ -392,7 +452,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -404,16 +464,16 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
else {
NoViableAltException nvae =
- new NoViableAltException("636:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
+ new NoViableAltException("712:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -429,7 +489,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712: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' ) {
@@ -446,7 +506,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -472,10 +532,10 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -491,7 +551,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712: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' ) {
@@ -508,7 +568,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:636:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:712:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -546,12 +606,12 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:638:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:638:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:714:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:714:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:638:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:714:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -576,7 +636,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:638:52: .
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:714:52: .
{
matchAny();
@@ -605,12 +665,12 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -623,7 +683,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716: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();
@@ -644,7 +704,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -653,9 +713,9 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -664,7 +724,7 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:640:39: '\\r'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:716:39: '\\r'
{
match('\r');
@@ -695,10 +755,10 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:642:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:642:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:718:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:718:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:642:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:718:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -752,8 +812,8 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:644:16: ( . )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:644:18: .
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:720:16: ( . )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:720:18: .
{
matchAny();
@@ -767,8 +827,8 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt12=19;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt12=22;
int LA12_0 = input.LA(1);
if ( (LA12_0=='(') ) {
@@ -782,9 +842,9 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
else if ( (LA12_0=='#') ) {
switch ( input.LA(2) ) {
- case '3':
+ case '4':
{
- alt12=11;
+ alt12=13;
}
break;
case '2':
@@ -792,6 +852,11 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
alt12=8;
}
break;
+ case '3':
+ {
+ alt12=11;
+ }
+ break;
default:
alt12=4;}
@@ -803,211 +868,269 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
int LA12_6 = input.LA(2);
if ( (LA12_6=='y') ) {
- int LA12_25 = input.LA(3);
+ int LA12_27 = input.LA(3);
- if ( (LA12_25=='p') ) {
- int LA12_35 = input.LA(4);
+ if ( (LA12_27=='p') ) {
+ int LA12_38 = input.LA(4);
- if ( (LA12_35=='e') ) {
- int LA12_38 = input.LA(5);
+ if ( (LA12_38=='e') ) {
+ int LA12_43 = input.LA(5);
- if ( ((LA12_38>='0' && LA12_38<='9')||(LA12_38>='A' && LA12_38<='Z')||LA12_38=='_'||(LA12_38>='a' && LA12_38<='z')) ) {
- alt12=13;
+ if ( ((LA12_43>='0' && LA12_43<='9')||(LA12_43>='A' && LA12_43<='Z')||LA12_43=='_'||(LA12_43>='a' && LA12_43<='z')) ) {
+ alt12=16;
}
else {
alt12=6;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else if ( (LA12_0=='e') ) {
int LA12_7 = input.LA(2);
if ( (LA12_7=='x') ) {
- int LA12_27 = input.LA(3);
+ int LA12_29 = input.LA(3);
- if ( (LA12_27=='t') ) {
- int LA12_36 = input.LA(4);
+ if ( (LA12_29=='t') ) {
+ int LA12_39 = input.LA(4);
- if ( (LA12_36=='e') ) {
- int LA12_39 = input.LA(5);
+ if ( (LA12_39=='e') ) {
+ int LA12_44 = input.LA(5);
- if ( (LA12_39=='n') ) {
- int LA12_42 = input.LA(6);
+ if ( (LA12_44=='n') ) {
+ int LA12_48 = input.LA(6);
- if ( (LA12_42=='d') ) {
- int LA12_44 = input.LA(7);
+ if ( (LA12_48=='d') ) {
+ int LA12_51 = input.LA(7);
- if ( (LA12_44=='s') ) {
- int LA12_46 = input.LA(8);
+ if ( (LA12_51=='s') ) {
+ int LA12_54 = input.LA(8);
- if ( ((LA12_46>='0' && LA12_46<='9')||(LA12_46>='A' && LA12_46<='Z')||LA12_46=='_'||(LA12_46>='a' && LA12_46<='z')) ) {
- alt12=13;
+ if ( ((LA12_54>='0' && LA12_54<='9')||(LA12_54>='A' && LA12_54<='Z')||LA12_54=='_'||(LA12_54>='a' && LA12_54<='z')) ) {
+ alt12=16;
}
else {
alt12=7;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else if ( (LA12_0=='m') ) {
int LA12_8 = input.LA(2);
if ( (LA12_8=='y') ) {
- int LA12_28 = input.LA(3);
-
- if ( (LA12_28=='k') ) {
- int LA12_37 = input.LA(4);
+ switch ( input.LA(3) ) {
+ case 'k':
+ {
+ int LA12_40 = input.LA(4);
- if ( (LA12_37=='e') ) {
- int LA12_40 = input.LA(5);
+ if ( (LA12_40=='e') ) {
+ int LA12_45 = input.LA(5);
- if ( (LA12_40=='y') ) {
- int LA12_43 = input.LA(6);
+ if ( (LA12_45=='y') ) {
+ int LA12_49 = input.LA(6);
- if ( (LA12_43=='w') ) {
- int LA12_45 = input.LA(7);
+ if ( (LA12_49=='w') ) {
+ int LA12_52 = input.LA(7);
- if ( (LA12_45=='o') ) {
- int LA12_47 = input.LA(8);
+ if ( (LA12_52=='o') ) {
+ int LA12_55 = input.LA(8);
- if ( (LA12_47=='r') ) {
- int LA12_49 = input.LA(9);
+ if ( (LA12_55=='r') ) {
+ int LA12_58 = input.LA(9);
- if ( (LA12_49=='d') ) {
+ if ( (LA12_58=='d') ) {
switch ( input.LA(10) ) {
- case '1':
+ case '2':
{
- int LA12_51 = input.LA(11);
+ int LA12_62 = input.LA(11);
- if ( ((LA12_51>='0' && LA12_51<='9')||(LA12_51>='A' && LA12_51<='Z')||LA12_51=='_'||(LA12_51>='a' && LA12_51<='z')) ) {
- alt12=13;
+ if ( ((LA12_62>='0' && LA12_62<='9')||(LA12_62>='A' && LA12_62<='Z')||LA12_62=='_'||(LA12_62>='a' && LA12_62<='z')) ) {
+ alt12=16;
}
else {
- alt12=9;}
+ alt12=10;}
}
break;
- case '2':
+ case '1':
{
- int LA12_52 = input.LA(11);
+ int LA12_63 = input.LA(11);
- if ( ((LA12_52>='0' && LA12_52<='9')||(LA12_52>='A' && LA12_52<='Z')||LA12_52=='_'||(LA12_52>='a' && LA12_52<='z')) ) {
- alt12=13;
+ if ( ((LA12_63>='0' && LA12_63<='9')||(LA12_63>='A' && LA12_63<='Z')||LA12_63=='_'||(LA12_63>='a' && LA12_63<='z')) ) {
+ alt12=16;
}
else {
- alt12=10;}
+ alt12=9;}
}
break;
default:
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
+ alt12=16;}
}
else {
- alt12=13;}
- }
- else {
- alt12=13;}
+ alt12=16;}
+ }
+ break;
+ case 'o':
+ {
+ int LA12_41 = input.LA(4);
+
+ if ( (LA12_41=='p') ) {
+ int LA12_46 = input.LA(5);
+
+ if ( (LA12_46=='t') ) {
+ int LA12_50 = input.LA(6);
+
+ if ( (LA12_50=='i') ) {
+ int LA12_53 = input.LA(7);
+
+ if ( (LA12_53=='o') ) {
+ int LA12_56 = input.LA(8);
+
+ if ( (LA12_56=='n') ) {
+ int LA12_59 = input.LA(9);
+
+ if ( ((LA12_59>='0' && LA12_59<='9')||(LA12_59>='A' && LA12_59<='Z')||LA12_59=='_'||(LA12_59>='a' && LA12_59<='z')) ) {
+ alt12=16;
+ }
+ else {
+ alt12=14;}
+ }
+ else {
+ alt12=16;}
+ }
+ else {
+ alt12=16;}
+ }
+ else {
+ alt12=16;}
+ }
+ else {
+ alt12=16;}
+ }
+ else {
+ alt12=16;}
+ }
+ break;
+ default:
+ alt12=16;}
+
}
else {
- alt12=13;}
+ alt12=16;}
}
else if ( (LA12_0=='.') ) {
alt12=12;
}
- else if ( (LA12_0=='^') ) {
+ else if ( (LA12_0=='k') ) {
int LA12_10 = input.LA(2);
- if ( ((LA12_10>='A' && LA12_10<='Z')||LA12_10=='_'||(LA12_10>='a' && LA12_10<='z')) ) {
- alt12=13;
+ if ( (LA12_10=='w') ) {
+ int LA12_32 = input.LA(3);
+
+ if ( ((LA12_32>='0' && LA12_32<='9')||(LA12_32>='A' && LA12_32<='Z')||LA12_32=='_'||(LA12_32>='a' && LA12_32<='z')) ) {
+ alt12=16;
+ }
+ else {
+ alt12=15;}
}
else {
- alt12=19;}
+ alt12=16;}
}
- else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='l')||(LA12_0>='n' && LA12_0<='s')||(LA12_0>='u' && LA12_0<='z')) ) {
- alt12=13;
+ else if ( (LA12_0=='^') ) {
+ int LA12_11 = input.LA(2);
+
+ if ( ((LA12_11>='A' && LA12_11<='Z')||LA12_11=='_'||(LA12_11>='a' && LA12_11<='z')) ) {
+ alt12=16;
+ }
+ else {
+ alt12=22;}
+ }
+ else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='j')||LA12_0=='l'||(LA12_0>='n' && LA12_0<='s')||(LA12_0>='u' && LA12_0<='z')) ) {
+ alt12=16;
}
else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
- alt12=14;
+ alt12=17;
}
else if ( (LA12_0=='\"') ) {
- int LA12_13 = input.LA(2);
+ int LA12_14 = input.LA(2);
- if ( ((LA12_13>='\u0000' && LA12_13<='\uFFFE')) ) {
- alt12=15;
+ if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFE')) ) {
+ alt12=18;
}
else {
- alt12=19;}
+ alt12=22;}
}
else if ( (LA12_0=='\'') ) {
- int LA12_14 = input.LA(2);
+ int LA12_15 = input.LA(2);
- if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFE')) ) {
- alt12=15;
+ if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFE')) ) {
+ alt12=18;
}
else {
- alt12=19;}
+ alt12=22;}
}
else if ( (LA12_0=='/') ) {
switch ( input.LA(2) ) {
- case '*':
+ case '/':
{
- alt12=16;
+ alt12=20;
}
break;
- case '/':
+ case '*':
{
- alt12=17;
+ alt12=19;
}
break;
default:
- alt12=19;}
+ alt12=22;}
}
else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
- alt12=18;
+ alt12=21;
}
else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='*' && LA12_0<='-')||(LA12_0>=':' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
- alt12=19;
+ alt12=22;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
+ new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
throw nvae;
}
@@ -1097,49 +1220,70 @@ public class InternalSimpleReconstrTestLanguageLexer extends Lexer {
}
break;
case 13 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:58: RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:58: T23
{
- mRULE_ID();
+ mT23();
}
break;
case 14 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:66: RULE_INT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:62: T24
{
- mRULE_INT();
+ mT24();
}
break;
case 15 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:75: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:66: T25
{
- mRULE_STRING();
+ mT25();
}
break;
case 16 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:87: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:70: RULE_ID
{
- mRULE_ML_COMMENT();
+ mRULE_ID();
}
break;
case 17 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:103: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:78: RULE_INT
{
- mRULE_SL_COMMENT();
+ mRULE_INT();
}
break;
case 18 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:119: RULE_WS
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:87: RULE_STRING
{
- mRULE_WS();
+ mRULE_STRING();
}
break;
case 19 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:127: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:99: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 20 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:115: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 21 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:131: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 22 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:1:139: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java
index 03710a4..53a43b6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g 2009-01-14 17:06:05
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g 2009-01-19 11:41:19
package org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal;
@@ -23,7 +23,7 @@ import java.util.ArrayList;
public class InternalSimpleReconstrTestLanguageParser 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", "'('", "')'", "'!'", "'#'", "'='", "'type'", "'extends'", "'#2'", "'mykeyword1'", "'mykeyword2'", "'#3'", "'.'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'('", "')'", "'!'", "'#'", "'='", "'type'", "'extends'", "'#2'", "'mykeyword1'", "'mykeyword2'", "'#3'", "'.'", "'#4'", "'myoption'", "'kw'"
};
public static final int RULE_ML_COMMENT=7;
public static final int RULE_ID=4;
@@ -133,7 +133,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
int alt1=2;
int LA1_0 = input.LA(1);
- if ( ((LA1_0>=RULE_ID && LA1_0<=RULE_INT)||LA1_0==11||(LA1_0>=15 && LA1_0<=16)||LA1_0==18||LA1_0==21) ) {
+ if ( ((LA1_0>=RULE_ID && LA1_0<=RULE_INT)||LA1_0==11||(LA1_0>=15 && LA1_0<=16)||LA1_0==18||LA1_0==21||LA1_0==23) ) {
alt1=1;
}
@@ -254,7 +254,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleTerm
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:138:1: ruleTerm returns [EObject current=null] : ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:138:1: ruleTerm returns [EObject current=null] : ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) | this_Boolean= ruleBoolean ) ;
public final EObject ruleTerm() throws RecognitionException {
EObject current = null;
@@ -272,158 +272,203 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject this_Spare = null;
+ EObject this_Boolean = null;
+
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:140:33: ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:1: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:140:33: ( ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) | this_Boolean= ruleBoolean ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:1: ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) | this_Boolean= ruleBoolean )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:1: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )
- int alt7=2;
- int LA7_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:1: ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) | this_Boolean= ruleBoolean )
+ int alt8=2;
+ int LA8_0 = input.LA(1);
- if ( ((LA7_0>=RULE_ID && LA7_0<=RULE_INT)||LA7_0==11||(LA7_0>=15 && LA7_0<=16)||LA7_0==18) ) {
- alt7=1;
+ if ( ((LA8_0>=RULE_ID && LA8_0<=RULE_INT)||LA8_0==11||(LA8_0>=15 && LA8_0<=16)||LA8_0==18||LA8_0==21) ) {
+ alt8=1;
}
- else if ( (LA7_0==21) ) {
- alt7=2;
+ else if ( (LA8_0==23) ) {
+ alt8=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:1: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )", 7, 0, input);
+ new NoViableAltException("141:1: ( ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare ) | this_Boolean= ruleBoolean )", 8, 0, input);
throw nvae;
}
- switch (alt7) {
+ switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:2: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:2: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:2: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )
- int alt6=2;
- int LA6_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:2: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )
+ int alt7=2;
+ int LA7_0 = input.LA(1);
- if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_INT)||LA6_0==11||(LA6_0>=15 && LA6_0<=16)) ) {
- alt6=1;
+ if ( ((LA7_0>=RULE_ID && LA7_0<=RULE_INT)||LA7_0==11||(LA7_0>=15 && LA7_0<=16)||LA7_0==18) ) {
+ alt7=1;
}
- else if ( (LA6_0==18) ) {
- alt6=2;
+ else if ( (LA7_0==21) ) {
+ alt7=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:2: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )", 6, 0, input);
+ new NoViableAltException("141:2: ( ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 ) | this_Spare= ruleSpare )", 7, 0, input);
throw nvae;
}
- switch (alt6) {
+ switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:3: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:3: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:3: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )
- int alt5=2;
- int LA5_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:3: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( ((LA5_0>=RULE_ID && LA5_0<=RULE_INT)||LA5_0==11||LA5_0==15) ) {
- alt5=1;
+ if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_INT)||LA6_0==11||(LA6_0>=15 && LA6_0<=16)) ) {
+ alt6=1;
}
- else if ( (LA5_0==16) ) {
- alt5=2;
+ else if ( (LA6_0==18) ) {
+ alt6=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:3: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )", 5, 0, input);
+ new NoViableAltException("141:3: ( ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType ) | this_Ref2= ruleRef2 )", 6, 0, input);
throw nvae;
}
- switch (alt5) {
+ switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:4: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:4: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:4: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )
- int alt4=2;
- int LA4_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:4: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )
+ int alt5=2;
+ int LA5_0 = input.LA(1);
- if ( ((LA4_0>=RULE_ID && LA4_0<=RULE_INT)||LA4_0==15) ) {
- alt4=1;
+ if ( ((LA5_0>=RULE_ID && LA5_0<=RULE_INT)||LA5_0==11||LA5_0==15) ) {
+ alt5=1;
}
- else if ( (LA4_0==11) ) {
- alt4=2;
+ else if ( (LA5_0==16) ) {
+ alt5=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:4: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )", 4, 0, input);
+ new NoViableAltException("141:4: ( ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens ) | this_Type= ruleType )", 5, 0, input);
throw nvae;
}
- switch (alt4) {
+ switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:5: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:5: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:5: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )
- int alt3=2;
- int LA3_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:5: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )
+ int alt4=2;
+ int LA4_0 = input.LA(1);
- if ( ((LA3_0>=RULE_ID && LA3_0<=RULE_INT)) ) {
- alt3=1;
+ if ( ((LA4_0>=RULE_ID && LA4_0<=RULE_INT)||LA4_0==15) ) {
+ alt4=1;
}
- else if ( (LA3_0==15) ) {
- alt3=2;
+ else if ( (LA4_0==11) ) {
+ alt4=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:5: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )", 3, 0, input);
+ new NoViableAltException("141:5: ( ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings ) | this_Parens= ruleParens )", 4, 0, input);
throw nvae;
}
- switch (alt3) {
+ switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:6: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:6: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:6: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )
- int alt2=2;
- int LA2_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:6: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )
+ int alt3=2;
+ int LA3_0 = input.LA(1);
- if ( (LA2_0==RULE_ID) ) {
- alt2=1;
+ if ( ((LA3_0>=RULE_ID && LA3_0<=RULE_INT)) ) {
+ alt3=1;
}
- else if ( (LA2_0==RULE_INT) ) {
- alt2=2;
+ else if ( (LA3_0==15) ) {
+ alt3=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("141:6: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )", 2, 0, input);
+ new NoViableAltException("141:6: ( (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers ) | this_ManyStrings= ruleManyStrings )", 3, 0, input);
throw nvae;
}
- switch (alt2) {
+ switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:142:5: this_Atom= ruleAtom
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:7: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )
{
-
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
-
- pushFollow(FOLLOW_ruleAtom_in_ruleTerm272);
- this_Atom=ruleAtom();
- _fsp--;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:141:7: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )
+ int alt2=2;
+ int LA2_0 = input.LA(1);
+
+ if ( (LA2_0==RULE_ID) ) {
+ alt2=1;
+ }
+ else if ( (LA2_0==RULE_INT) ) {
+ alt2=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("141:7: (this_Atom= ruleAtom | this_TwoNumbers= ruleTwoNumbers )", 2, 0, input);
+
+ throw nvae;
+ }
+ switch (alt2) {
+ case 1 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:142:5: this_Atom= ruleAtom
+ {
+
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+
+ pushFollow(FOLLOW_ruleAtom_in_ruleTerm273);
+ this_Atom=ruleAtom();
+ _fsp--;
+
+
+ current = this_Atom;
+ currentNode = currentNode.getParent();
+
+
+ }
+ break;
+ case 2 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:152:5: this_TwoNumbers= ruleTwoNumbers
+ {
+
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+
+ pushFollow(FOLLOW_ruleTwoNumbers_in_ruleTerm300);
+ this_TwoNumbers=ruleTwoNumbers();
+ _fsp--;
+
+
+ current = this_TwoNumbers;
+ currentNode = currentNode.getParent();
+
+
+ }
+ break;
+
+ }
-
- current = this_Atom;
- currentNode = currentNode.getParent();
-
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:152:5: this_TwoNumbers= ruleTwoNumbers
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:162:5: this_ManyStrings= ruleManyStrings
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTwoNumbers_in_ruleTerm299);
- this_TwoNumbers=ruleTwoNumbers();
+ pushFollow(FOLLOW_ruleManyStrings_in_ruleTerm328);
+ this_ManyStrings=ruleManyStrings();
_fsp--;
- current = this_TwoNumbers;
+ current = this_ManyStrings;
currentNode = currentNode.getParent();
@@ -436,17 +481,17 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:162:5: this_ManyStrings= ruleManyStrings
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:172:5: this_Parens= ruleParens
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleManyStrings_in_ruleTerm327);
- this_ManyStrings=ruleManyStrings();
+ pushFollow(FOLLOW_ruleParens_in_ruleTerm356);
+ this_Parens=ruleParens();
_fsp--;
- current = this_ManyStrings;
+ current = this_Parens;
currentNode = currentNode.getParent();
@@ -459,17 +504,17 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:172:5: this_Parens= ruleParens
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:182:5: this_Type= ruleType
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleParens_in_ruleTerm355);
- this_Parens=ruleParens();
+ pushFollow(FOLLOW_ruleType_in_ruleTerm384);
+ this_Type=ruleType();
_fsp--;
- current = this_Parens;
+ current = this_Type;
currentNode = currentNode.getParent();
@@ -482,17 +527,17 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:182:5: this_Type= ruleType
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:192:5: this_Ref2= ruleRef2
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleType_in_ruleTerm383);
- this_Type=ruleType();
+ pushFollow(FOLLOW_ruleRef2_in_ruleTerm412);
+ this_Ref2=ruleRef2();
_fsp--;
- current = this_Type;
+ current = this_Ref2;
currentNode = currentNode.getParent();
@@ -505,17 +550,17 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:192:5: this_Ref2= ruleRef2
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:202:5: this_Spare= ruleSpare
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleRef2_in_ruleTerm411);
- this_Ref2=ruleRef2();
+ pushFollow(FOLLOW_ruleSpare_in_ruleTerm440);
+ this_Spare=ruleSpare();
_fsp--;
- current = this_Ref2;
+ current = this_Spare;
currentNode = currentNode.getParent();
@@ -528,17 +573,17 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:202:5: this_Spare= ruleSpare
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:212:5: this_Boolean= ruleBoolean
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleSpare_in_ruleTerm439);
- this_Spare=ruleSpare();
+ pushFollow(FOLLOW_ruleBoolean_in_ruleTerm468);
+ this_Boolean=ruleBoolean();
_fsp--;
- current = this_Spare;
+ current = this_Boolean;
currentNode = currentNode.getParent();
@@ -565,7 +610,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleAtom
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:217:1: entryRuleAtom returns [EObject current=null] : iv_ruleAtom= ruleAtom EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:227:1: entryRuleAtom returns [EObject current=null] : iv_ruleAtom= ruleAtom EOF ;
public final EObject entryRuleAtom() throws RecognitionException {
EObject current = null;
@@ -573,16 +618,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:217:46: (iv_ruleAtom= ruleAtom EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:218:2: iv_ruleAtom= ruleAtom EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:227:46: (iv_ruleAtom= ruleAtom EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:228:2: iv_ruleAtom= ruleAtom EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAtom_in_entryRuleAtom471);
+ pushFollow(FOLLOW_ruleAtom_in_entryRuleAtom500);
iv_ruleAtom=ruleAtom();
_fsp--;
current =iv_ruleAtom;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAtom481);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAtom510);
}
@@ -600,7 +645,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleAtom
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:225:1: ruleAtom returns [EObject current=null] : (lv_name= RULE_ID ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:235:1: ruleAtom returns [EObject current=null] : (lv_name= RULE_ID ) ;
public final EObject ruleAtom() throws RecognitionException {
EObject current = null;
@@ -608,14 +653,14 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:227:33: ( (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:228:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:237:33: ( (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:238:1: (lv_name= RULE_ID )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:228:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:230:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:238:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:240:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAtom526);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAtom555);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.2/@alternatives/@terminal" /* xtext::RuleCall */, "name");
@@ -652,7 +697,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleParens
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:255:1: entryRuleParens returns [EObject current=null] : iv_ruleParens= ruleParens EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:265:1: entryRuleParens returns [EObject current=null] : iv_ruleParens= ruleParens EOF ;
public final EObject entryRuleParens() throws RecognitionException {
EObject current = null;
@@ -660,16 +705,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:255:48: (iv_ruleParens= ruleParens EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:256:2: iv_ruleParens= ruleParens EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:265:48: (iv_ruleParens= ruleParens EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:2: iv_ruleParens= ruleParens EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.3" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleParens_in_entryRuleParens569);
+ pushFollow(FOLLOW_ruleParens_in_entryRuleParens598);
iv_ruleParens=ruleParens();
_fsp--;
current =iv_ruleParens;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParens579);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParens608);
}
@@ -687,7 +732,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleParens
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:263:1: ruleParens returns [EObject current=null] : ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:273:1: ruleParens returns [EObject current=null] : ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? ) ;
public final EObject ruleParens() throws RecognitionException {
EObject current = null;
@@ -697,26 +742,26 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:265:33: ( ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:1: ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:275:33: ( ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:1: ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:1: ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:2: ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )?
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:1: ( ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )? )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:2: ( ( '(' this_Op= ruleOp ) ')' ) (lv_em= '!' )?
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:2: ( ( '(' this_Op= ruleOp ) ')' )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:3: ( '(' this_Op= ruleOp ) ')'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:2: ( ( '(' this_Op= ruleOp ) ')' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:3: ( '(' this_Op= ruleOp ) ')'
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:3: ( '(' this_Op= ruleOp )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:266:4: '(' this_Op= ruleOp
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:3: ( '(' this_Op= ruleOp )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:276:4: '(' this_Op= ruleOp
{
- match(input,11,FOLLOW_11_in_ruleParens615);
+ match(input,11,FOLLOW_11_in_ruleParens644);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleOp_in_ruleParens637);
+ pushFollow(FOLLOW_ruleOp_in_ruleParens666);
this_Op=ruleOp();
_fsp--;
@@ -727,26 +772,26 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
- match(input,12,FOLLOW_12_in_ruleParens646);
+ match(input,12,FOLLOW_12_in_ruleParens675);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:283:2: (lv_em= '!' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:293:2: (lv_em= '!' )?
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA8_0==13) ) {
- alt8=1;
+ if ( (LA9_0==13) ) {
+ alt9=1;
}
- switch (alt8) {
+ switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:285:6: lv_em= '!'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:295:6: lv_em= '!'
{
lv_em=(Token)input.LT(1);
- match(input,13,FOLLOW_13_in_ruleParens668);
+ match(input,13,FOLLOW_13_in_ruleParens697);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.3/@alternatives/@abstractTokens.1/@terminal" /* xtext::Keyword */, "em");
@@ -789,7 +834,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleTwoNumbers
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:310:1: entryRuleTwoNumbers returns [EObject current=null] : iv_ruleTwoNumbers= ruleTwoNumbers EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:320:1: entryRuleTwoNumbers returns [EObject current=null] : iv_ruleTwoNumbers= ruleTwoNumbers EOF ;
public final EObject entryRuleTwoNumbers() throws RecognitionException {
EObject current = null;
@@ -797,16 +842,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:310:52: (iv_ruleTwoNumbers= ruleTwoNumbers EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:311:2: iv_ruleTwoNumbers= ruleTwoNumbers EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:320:52: (iv_ruleTwoNumbers= ruleTwoNumbers EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:2: iv_ruleTwoNumbers= ruleTwoNumbers EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.4" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTwoNumbers_in_entryRuleTwoNumbers714);
+ pushFollow(FOLLOW_ruleTwoNumbers_in_entryRuleTwoNumbers743);
iv_ruleTwoNumbers=ruleTwoNumbers();
_fsp--;
current =iv_ruleTwoNumbers;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTwoNumbers724);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTwoNumbers753);
}
@@ -824,7 +869,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleTwoNumbers
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:318:1: ruleTwoNumbers returns [EObject current=null] : ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:328:1: ruleTwoNumbers returns [EObject current=null] : ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* ) ;
public final EObject ruleTwoNumbers() throws RecognitionException {
EObject current = null;
@@ -834,20 +879,20 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:320:33: ( ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:1: ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:330:33: ( ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:1: ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:1: ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:2: ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:1: ( ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:2: ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) ) ( '#' (lv_num3= RULE_INT ) )*
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:2: ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:3: (lv_num1= RULE_INT ) (lv_num2= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:2: ( (lv_num1= RULE_INT ) (lv_num2= RULE_INT ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:3: (lv_num1= RULE_INT ) (lv_num2= RULE_INT )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:321:3: (lv_num1= RULE_INT )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:323:6: lv_num1= RULE_INT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:331:3: (lv_num1= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:333:6: lv_num1= RULE_INT
{
lv_num1=(Token)input.LT(1);
- match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers771);
+ match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers800);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "num1");
@@ -866,11 +911,11 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:341:2: (lv_num2= RULE_INT )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:343:6: lv_num2= RULE_INT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:351:2: (lv_num2= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:353:6: lv_num2= RULE_INT
{
lv_num2=(Token)input.LT(1);
- match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers803);
+ match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers832);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "num2");
@@ -892,30 +937,30 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:361:3: ( '#' (lv_num3= RULE_INT ) )*
- loop9:
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:371:3: ( '#' (lv_num3= RULE_INT ) )*
+ loop10:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA9_0==14) ) {
- alt9=1;
+ if ( (LA10_0==14) ) {
+ alt10=1;
}
- switch (alt9) {
+ switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:361:4: '#' (lv_num3= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:371:4: '#' (lv_num3= RULE_INT )
{
- match(input,14,FOLLOW_14_in_ruleTwoNumbers825);
+ match(input,14,FOLLOW_14_in_ruleTwoNumbers854);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:365:1: (lv_num3= RULE_INT )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:367:6: lv_num3= RULE_INT
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:375:1: (lv_num3= RULE_INT )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:377:6: lv_num3= RULE_INT
{
lv_num3=(Token)input.LT(1);
- match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers846);
+ match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTwoNumbers875);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "num3");
@@ -939,7 +984,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
break;
default :
- break loop9;
+ break loop10;
}
} while (true);
@@ -964,7 +1009,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleManyStrings
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:392:1: entryRuleManyStrings returns [EObject current=null] : iv_ruleManyStrings= ruleManyStrings EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:402:1: entryRuleManyStrings returns [EObject current=null] : iv_ruleManyStrings= ruleManyStrings EOF ;
public final EObject entryRuleManyStrings() throws RecognitionException {
EObject current = null;
@@ -972,16 +1017,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:392:53: (iv_ruleManyStrings= ruleManyStrings EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:393:2: iv_ruleManyStrings= ruleManyStrings EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:402:53: (iv_ruleManyStrings= ruleManyStrings EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:2: iv_ruleManyStrings= ruleManyStrings EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.5" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleManyStrings_in_entryRuleManyStrings892);
+ pushFollow(FOLLOW_ruleManyStrings_in_entryRuleManyStrings921);
iv_ruleManyStrings=ruleManyStrings();
_fsp--;
current =iv_ruleManyStrings;
- match(input,EOF,FOLLOW_EOF_in_entryRuleManyStrings902);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleManyStrings931);
}
@@ -999,7 +1044,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleManyStrings
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:400:1: ruleManyStrings returns [EObject current=null] : ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:410:1: ruleManyStrings returns [EObject current=null] : ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) ) ;
public final EObject ruleManyStrings() throws RecognitionException {
EObject current = null;
@@ -1008,42 +1053,42 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:402:33: ( ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:1: ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:412:33: ( ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:413:1: ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:1: ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:2: ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:413:1: ( ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:413:2: ( '=' (lv_str1= RULE_STRING )* ) (lv_str2= RULE_STRING )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:2: ( '=' (lv_str1= RULE_STRING )* )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:403:3: '=' (lv_str1= RULE_STRING )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:413:2: ( '=' (lv_str1= RULE_STRING )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:413:3: '=' (lv_str1= RULE_STRING )*
{
- match(input,15,FOLLOW_15_in_ruleManyStrings937);
+ match(input,15,FOLLOW_15_in_ruleManyStrings966);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:407:1: (lv_str1= RULE_STRING )*
- loop10:
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:417:1: (lv_str1= RULE_STRING )*
+ loop11:
do {
- int alt10=2;
- int LA10_0 = input.LA(1);
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA10_0==RULE_STRING) ) {
- int LA10_1 = input.LA(2);
+ if ( (LA11_0==RULE_STRING) ) {
+ int LA11_1 = input.LA(2);
- if ( (LA10_1==RULE_STRING) ) {
- alt10=1;
+ if ( (LA11_1==RULE_STRING) ) {
+ alt11=1;
}
}
- switch (alt10) {
+ switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:409:6: lv_str1= RULE_STRING
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:419:6: lv_str1= RULE_STRING
{
lv_str1=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleManyStrings958);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleManyStrings987);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "str1");
@@ -1064,18 +1109,18 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
break;
default :
- break loop10;
+ break loop11;
}
} while (true);
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:427:4: (lv_str2= RULE_STRING )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:429:6: lv_str2= RULE_STRING
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:437:4: (lv_str2= RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:439:6: lv_str2= RULE_STRING
{
lv_str2=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleManyStrings992);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleManyStrings1021);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.5/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "str2");
@@ -1115,7 +1160,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleType
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:454:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:464:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ;
public final EObject entryRuleType() throws RecognitionException {
EObject current = null;
@@ -1123,16 +1168,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:454:46: (iv_ruleType= ruleType EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:455:2: iv_ruleType= ruleType EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:464:46: (iv_ruleType= ruleType EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:2: iv_ruleType= ruleType EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.6" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleType_in_entryRuleType1036);
+ pushFollow(FOLLOW_ruleType_in_entryRuleType1065);
iv_ruleType=ruleType();
_fsp--;
current =iv_ruleType;
- match(input,EOF,FOLLOW_EOF_in_entryRuleType1046);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleType1075);
}
@@ -1150,7 +1195,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleType
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:462:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:472:1: ruleType returns [EObject current=null] : ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) ;
public final EObject ruleType() throws RecognitionException {
EObject current = null;
@@ -1158,27 +1203,27 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:464:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:474:33: ( ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:1: ( ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' ) ( ( RULE_ID ) )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:2: ( ( 'type' (lv_name= RULE_ID ) ) 'extends' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:3: ( 'type' (lv_name= RULE_ID ) ) 'extends'
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:3: ( 'type' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:465:4: 'type' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:3: ( 'type' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:475:4: 'type' (lv_name= RULE_ID )
{
- match(input,16,FOLLOW_16_in_ruleType1082);
+ match(input,16,FOLLOW_16_in_ruleType1111);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:469:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:471:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:479:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:481:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType1103);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType1132);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
@@ -1200,15 +1245,15 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
- match(input,17,FOLLOW_17_in_ruleType1124);
+ match(input,17,FOLLOW_17_in_ruleType1153);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:493:2: ( ( RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:496:3: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:503:2: ( ( RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:506:3: ( RULE_ID )
{
if (current==null) {
@@ -1216,10 +1261,10 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
associateNodeWithAstElement(currentNode, current);
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:502:1: ( RULE_ID )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:503:2: RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:512:1: ( RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:513:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType1149);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleType1178);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.6/@alternatives/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "extends");
@@ -1250,7 +1295,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleRef2
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:515:1: entryRuleRef2 returns [EObject current=null] : iv_ruleRef2= ruleRef2 EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:525:1: entryRuleRef2 returns [EObject current=null] : iv_ruleRef2= ruleRef2 EOF ;
public final EObject entryRuleRef2() throws RecognitionException {
EObject current = null;
@@ -1258,16 +1303,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:515:46: (iv_ruleRef2= ruleRef2 EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:516:2: iv_ruleRef2= ruleRef2 EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:525:46: (iv_ruleRef2= ruleRef2 EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:526:2: iv_ruleRef2= ruleRef2 EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.7" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleRef2_in_entryRuleRef21186);
+ pushFollow(FOLLOW_ruleRef2_in_entryRuleRef21215);
iv_ruleRef2=ruleRef2();
_fsp--;
current =iv_ruleRef2;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRef21196);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRef21225);
}
@@ -1285,7 +1330,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleRef2
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:523:1: ruleRef2 returns [EObject current=null] : ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:533:1: ruleRef2 returns [EObject current=null] : ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) ) ;
public final EObject ruleRef2() throws RecognitionException {
EObject current = null;
@@ -1293,60 +1338,60 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:525:33: ( ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:526:1: ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:535:33: ( ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:536:1: ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:526:1: ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:526:2: '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:536:1: ( '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:536:2: '#2' (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) )
{
- match(input,18,FOLLOW_18_in_ruleRef21230);
+ match(input,18,FOLLOW_18_in_ruleRef21259);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.7/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:530:1: (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:532:6: lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:540:1: (lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:6: lv_ref2= ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:532:14: ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:14: ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA12_0==RULE_STRING||LA12_0==19) ) {
- alt12=1;
+ if ( (LA13_0==RULE_STRING||LA13_0==19) ) {
+ alt13=1;
}
- else if ( (LA12_0==20) ) {
- alt12=2;
+ else if ( (LA13_0==20) ) {
+ alt13=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("532:14: ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )", 12, 0, input);
+ new NoViableAltException("542:14: ( ( 'mykeyword1' | RULE_STRING ) | 'mykeyword2' )", 13, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt13) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:532:15: ( 'mykeyword1' | RULE_STRING )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:15: ( 'mykeyword1' | RULE_STRING )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:532:15: ( 'mykeyword1' | RULE_STRING )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:15: ( 'mykeyword1' | RULE_STRING )
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA11_0==19) ) {
- alt11=1;
+ if ( (LA12_0==19) ) {
+ alt12=1;
}
- else if ( (LA11_0==RULE_STRING) ) {
- alt11=2;
+ else if ( (LA12_0==RULE_STRING) ) {
+ alt12=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("532:15: ( 'mykeyword1' | RULE_STRING )", 11, 0, input);
+ new NoViableAltException("542:15: ( 'mykeyword1' | RULE_STRING )", 12, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:532:16: 'mykeyword1'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:16: 'mykeyword1'
{
- match(input,19,FOLLOW_19_in_ruleRef21253);
+ match(input,19,FOLLOW_19_in_ruleRef21282);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.7/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "ref2");
@@ -1354,9 +1399,9 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:537:6: RULE_STRING
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:547:6: RULE_STRING
{
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRef21268);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRef21297);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.7/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::RuleCall */, "ref2");
@@ -1370,9 +1415,9 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
break;
case 2 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:542:6: 'mykeyword2'
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:552:6: 'mykeyword2'
{
- match(input,20,FOLLOW_20_in_ruleRef21283);
+ match(input,20,FOLLOW_20_in_ruleRef21312);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.7/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "ref2");
@@ -1418,7 +1463,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start entryRuleSpare
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:567:1: entryRuleSpare returns [EObject current=null] : iv_ruleSpare= ruleSpare EOF ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:577:1: entryRuleSpare returns [EObject current=null] : iv_ruleSpare= ruleSpare EOF ;
public final EObject entryRuleSpare() throws RecognitionException {
EObject current = null;
@@ -1426,16 +1471,16 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:567:47: (iv_ruleSpare= ruleSpare EOF )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:568:2: iv_ruleSpare= ruleSpare EOF
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:577:47: (iv_ruleSpare= ruleSpare EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:2: iv_ruleSpare= ruleSpare EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.8" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleSpare_in_entryRuleSpare1329);
+ pushFollow(FOLLOW_ruleSpare_in_entryRuleSpare1358);
iv_ruleSpare=ruleSpare();
_fsp--;
current =iv_ruleSpare;
- match(input,EOF,FOLLOW_EOF_in_entryRuleSpare1339);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSpare1368);
}
@@ -1453,7 +1498,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR start ruleSpare
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:575:1: ruleSpare returns [EObject current=null] : ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* ) ;
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:585:1: ruleSpare returns [EObject current=null] : ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* ) ;
public final EObject ruleSpare() throws RecognitionException {
EObject current = null;
@@ -1461,24 +1506,24 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:577:33: ( ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:1: ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:587:33: ( ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:588:1: ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* )
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:1: ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:2: ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )*
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:588:1: ( ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )* )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:588:2: ( '#3' (lv_id= RULE_ID ) ) ( '.' (lv_id= RULE_ID ) )*
{
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:2: ( '#3' (lv_id= RULE_ID ) )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:578:3: '#3' (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:588:2: ( '#3' (lv_id= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:588:3: '#3' (lv_id= RULE_ID )
{
- match(input,21,FOLLOW_21_in_ruleSpare1374);
+ match(input,21,FOLLOW_21_in_ruleSpare1403);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:582:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:584:6: lv_id= RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:592:1: (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:594:6: lv_id= RULE_ID
{
lv_id=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpare1395);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpare1424);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "id");
@@ -1500,30 +1545,30 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
}
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:602:3: ( '.' (lv_id= RULE_ID ) )*
- loop13:
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:612:3: ( '.' (lv_id= RULE_ID ) )*
+ loop14:
do {
- int alt13=2;
- int LA13_0 = input.LA(1);
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA13_0==22) ) {
- alt13=1;
+ if ( (LA14_0==22) ) {
+ alt14=1;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:602:4: '.' (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:612:4: '.' (lv_id= RULE_ID )
{
- match(input,22,FOLLOW_22_in_ruleSpare1417);
+ match(input,22,FOLLOW_22_in_ruleSpare1446);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.8/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:606:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:608:6: lv_id= RULE_ID
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:616:1: (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:618:6: lv_id= RULE_ID
{
lv_id=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpare1438);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpare1467);
createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.8/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "id");
@@ -1547,7 +1592,7 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
break;
default :
- break loop13;
+ break loop14;
}
} while (true);
@@ -1571,58 +1616,213 @@ public class InternalSimpleReconstrTestLanguageParser extends AbstractInternalAn
// $ANTLR end ruleSpare
+ // $ANTLR start entryRuleBoolean
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:643:1: entryRuleBoolean returns [EObject current=null] : iv_ruleBoolean= ruleBoolean EOF ;
+ public final EObject entryRuleBoolean() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleBoolean = null;
+
+
+ try {
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:643:49: (iv_ruleBoolean= ruleBoolean EOF )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:644:2: iv_ruleBoolean= ruleBoolean EOF
+ {
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleBoolean_in_entryRuleBoolean1513);
+ iv_ruleBoolean=ruleBoolean();
+ _fsp--;
+
+ current =iv_ruleBoolean;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleBoolean1523);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end entryRuleBoolean
+
+
+ // $ANTLR start ruleBoolean
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:651:1: ruleBoolean returns [EObject current=null] : ( ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' ) (lv_value= RULE_ID ) ) ;
+ public final EObject ruleBoolean() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_bool=null;
+ Token lv_value=null;
+
+ EObject temp=null; setCurrentLookahead(); resetLookahead();
+ try {
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:653:33: ( ( ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' ) (lv_value= RULE_ID ) ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:1: ( ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' ) (lv_value= RULE_ID ) )
+ {
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:1: ( ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' ) (lv_value= RULE_ID ) )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:2: ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' ) (lv_value= RULE_ID )
+ {
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:2: ( ( '#4' (lv_bool= 'myoption' )? ) 'kw' )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:3: ( '#4' (lv_bool= 'myoption' )? ) 'kw'
+ {
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:3: ( '#4' (lv_bool= 'myoption' )? )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:654:4: '#4' (lv_bool= 'myoption' )?
+ {
+ match(input,23,FOLLOW_23_in_ruleBoolean1559);
+
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:658:1: (lv_bool= 'myoption' )?
+ int alt15=2;
+ int LA15_0 = input.LA(1);
+
+ if ( (LA15_0==24) ) {
+ alt15=1;
+ }
+ switch (alt15) {
+ case 1 :
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:660:6: lv_bool= 'myoption'
+ {
+ lv_bool=(Token)input.LT(1);
+ match(input,24,FOLLOW_24_in_ruleBoolean1580);
+
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::Keyword */, "bool");
+
+
+ if (current==null) {
+ current = factory.create("Boolean");
+ associateNodeWithAstElement(currentNode, current);
+ }
+
+ try {
+ factory.set(current, "bool", true, "myoption", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ match(input,25,FOLLOW_25_in_ruleBoolean1603);
+
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+
+
+ }
+
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:682:2: (lv_value= RULE_ID )
+ // ./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g:684:6: lv_value= RULE_ID
+ {
+ lv_value=(Token)input.LT(1);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBoolean1625);
+
+ createLeafNode("classpath:/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xmi#//@rules.9/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "value");
+
+
+ if (current==null) {
+ current = factory.create("Boolean");
+ associateNodeWithAstElement(currentNode, current);
+ }
+
+ try {
+ factory.set(current, "value", lv_value, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ resetLookahead();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end ruleBoolean
+
+
public static final BitSet FOLLOW_ruleOp_in_entryRuleOp71 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOp81 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerm_in_ruleOp128 = new BitSet(new long[]{0x0000000000258832L});
- public static final BitSet FOLLOW_ruleTerm_in_ruleOp171 = new BitSet(new long[]{0x0000000000258832L});
+ public static final BitSet FOLLOW_ruleTerm_in_ruleOp128 = new BitSet(new long[]{0x0000000000A58832L});
+ public static final BitSet FOLLOW_ruleTerm_in_ruleOp171 = new BitSet(new long[]{0x0000000000A58832L});
public static final BitSet FOLLOW_ruleTerm_in_entryRuleTerm210 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTerm220 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAtom_in_ruleTerm272 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTwoNumbers_in_ruleTerm299 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleManyStrings_in_ruleTerm327 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParens_in_ruleTerm355 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleType_in_ruleTerm383 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRef2_in_ruleTerm411 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSpare_in_ruleTerm439 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAtom_in_entryRuleAtom471 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAtom481 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAtom526 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParens_in_entryRuleParens569 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParens579 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_ruleParens615 = new BitSet(new long[]{0x0000000000258830L});
- public static final BitSet FOLLOW_ruleOp_in_ruleParens637 = new BitSet(new long[]{0x0000000000001000L});
- public static final BitSet FOLLOW_12_in_ruleParens646 = new BitSet(new long[]{0x0000000000002002L});
- public static final BitSet FOLLOW_13_in_ruleParens668 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTwoNumbers_in_entryRuleTwoNumbers714 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTwoNumbers724 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers771 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers803 = new BitSet(new long[]{0x0000000000004002L});
- public static final BitSet FOLLOW_14_in_ruleTwoNumbers825 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers846 = new BitSet(new long[]{0x0000000000004002L});
- public static final BitSet FOLLOW_ruleManyStrings_in_entryRuleManyStrings892 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleManyStrings902 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleManyStrings937 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleManyStrings958 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleManyStrings992 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleType_in_entryRuleType1036 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleType1046 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_16_in_ruleType1082 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleType1103 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleType1124 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleType1149 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRef2_in_entryRuleRef21186 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRef21196 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_18_in_ruleRef21230 = new BitSet(new long[]{0x0000000000180040L});
- public static final BitSet FOLLOW_19_in_ruleRef21253 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleRef21268 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_20_in_ruleRef21283 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSpare_in_entryRuleSpare1329 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleSpare1339 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_ruleSpare1374 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleSpare1395 = new BitSet(new long[]{0x0000000000400002L});
- public static final BitSet FOLLOW_22_in_ruleSpare1417 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleSpare1438 = new BitSet(new long[]{0x0000000000400002L});
+ public static final BitSet FOLLOW_ruleAtom_in_ruleTerm273 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTwoNumbers_in_ruleTerm300 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleManyStrings_in_ruleTerm328 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParens_in_ruleTerm356 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleType_in_ruleTerm384 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRef2_in_ruleTerm412 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSpare_in_ruleTerm440 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBoolean_in_ruleTerm468 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAtom_in_entryRuleAtom500 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAtom510 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAtom555 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParens_in_entryRuleParens598 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParens608 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_ruleParens644 = new BitSet(new long[]{0x0000000000A58830L});
+ public static final BitSet FOLLOW_ruleOp_in_ruleParens666 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_12_in_ruleParens675 = new BitSet(new long[]{0x0000000000002002L});
+ public static final BitSet FOLLOW_13_in_ruleParens697 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTwoNumbers_in_entryRuleTwoNumbers743 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTwoNumbers753 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers800 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers832 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_14_in_ruleTwoNumbers854 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleTwoNumbers875 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_ruleManyStrings_in_entryRuleManyStrings921 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleManyStrings931 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleManyStrings966 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleManyStrings987 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleManyStrings1021 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleType_in_entryRuleType1065 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleType1075 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_16_in_ruleType1111 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleType1132 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_17_in_ruleType1153 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleType1178 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRef2_in_entryRuleRef21215 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRef21225 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_18_in_ruleRef21259 = new BitSet(new long[]{0x0000000000180040L});
+ public static final BitSet FOLLOW_19_in_ruleRef21282 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleRef21297 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_20_in_ruleRef21312 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSpare_in_entryRuleSpare1358 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSpare1368 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_21_in_ruleSpare1403 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleSpare1424 = new BitSet(new long[]{0x0000000000400002L});
+ public static final BitSet FOLLOW_22_in_ruleSpare1446 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleSpare1467 = new BitSet(new long[]{0x0000000000400002L});
+ public static final BitSet FOLLOW_ruleBoolean_in_entryRuleBoolean1513 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleBoolean1523 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_23_in_ruleBoolean1559 = new BitSet(new long[]{0x0000000003000000L});
+ public static final BitSet FOLLOW_24_in_ruleBoolean1580 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleBoolean1603 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleBoolean1625 = new BitSet(new long[]{0x0000000000000002L});
} \ No newline at end of file
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g
index f368ed4..30fb9be 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage__.g
@@ -19,26 +19,29 @@ T19 : 'mykeyword1' ;
T20 : 'mykeyword2' ;
T21 : '#3' ;
T22 : '.' ;
+T23 : '#4' ;
+T24 : 'myoption' ;
+T25 : 'kw' ;
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 632
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 708
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 634
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 710
RULE_INT : ('0'..'9')+;
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 636
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 712
RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 638
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 714
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 640
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 716
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 642
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 718
RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 644
+// $ANTLR src "./src-gen/org/eclipse/xtext/parsetree/reconstr/parser/antlr/internal/InternalSimpleReconstrTestLanguage.g" 720
RULE_ANY_OTHER : .;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageDelimiters.java
index 0003444..d72b773 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageDelimiters.java
@@ -19,9 +19,9 @@ public final class ComplexReconstrTestLanguageDelimiters {
public static ISequenceMatcher ruleCall$33$Delimiter = new SetBasedKeywordMatcher(
"TA", "x", "y", "TB", "TC", "z", "TD", "TE", "TF", "TG");
- public static ISequenceMatcher ruleCall$64$Delimiter = ISequenceMatcher.Factory.nullMatcher();
-
// TODO do not use IDConsumer internals
public static ICharacterClass keyword$50$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+ public static ISequenceMatcher ruleCall$64$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java
index ea80946..5343cca 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/ComplexReconstrTestLanguageParserConfiguration.java
@@ -167,43 +167,43 @@ public class ComplexReconstrTestLanguageParserConfiguration extends AbstractPars
getOpConsumer().setKeyword$15$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
getOpConsumer().setKeyword$8$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
getAtomConsumer().setRuleCall$2$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
- getParensConsumer().setKeyword$4$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
getParensConsumer().setKeyword$8$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
+ getParensConsumer().setKeyword$4$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
getParensConsumer().setKeyword$6$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
- getTrickyAConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyAConsumer().setKeyword$13$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyAConsumer().setKeyword$5$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyAConsumer().setRuleCall$19$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
getTrickyAConsumer().setKeyword$17$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
- getTrickyAConsumer().setKeyword$5$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyAConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyA1Consumer().setRuleCall$2$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
- getTrickyBConsumer().setKeyword$3$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyBConsumer().setRuleCall$6$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyBConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
getTrickyBConsumer().setRuleCall$10$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyCConsumer().setRuleCall$7$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
- getTrickyCConsumer().setKeyword$19$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyBConsumer().setKeyword$3$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyCConsumer().setKeyword$5$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyCConsumer().setKeyword$11$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyCConsumer().setKeyword$19$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
+ getTrickyCConsumer().setRuleCall$7$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyCConsumer().setKeyword$15$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
- getTrickyCConsumer().setKeyword$5$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyDConsumer().setRuleCall$15$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyDConsumer().setRuleCall$10$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyDConsumer().setRuleCall$17$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyDConsumer().setRuleCall$19$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyDConsumer().setRuleCall$12$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyDConsumer().setRuleCall$17$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyDConsumer().setRuleCall$10$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
getTrickyDConsumer().setKeyword$4$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyDConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyDConsumer().setRuleCall$19$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyEConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyEConsumer().setRuleCall$12$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyEConsumer().setKeyword$4$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
- getTrickyEConsumer().setKeyword$13$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
- getTrickyEConsumer().setRuleCall$18$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyEConsumer().setRuleCall$10$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
+ getTrickyEConsumer().setRuleCall$12$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyEConsumer().setRuleCall$18$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyEConsumer().setKeyword$13$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyEConsumer().setRuleCall$16$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
+ getTrickyFConsumer().setRuleCall$6$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyFConsumer().setKeyword$3$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
- getTrickyFConsumer().setRuleCall$13$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyFConsumer().setRuleCall$11$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
getTrickyFConsumer().setRuleCall$8$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
- getTrickyFConsumer().setRuleCall$6$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyFConsumer().setRuleCall$11$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$33$Delimiter);
+ getTrickyFConsumer().setRuleCall$13$Delimiter(ComplexReconstrTestLanguageDelimiters.ruleCall$64$Delimiter);
getTrickyGConsumer().setKeyword$2$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$50$Delimiter);
getTrickyG1Consumer().setKeyword$11$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
getTrickyG1Consumer().setKeyword$8$Delimiter(ComplexReconstrTestLanguageDelimiters.keyword$15$Delimiter);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageDelimiters.java
index 3c42b8f..9a4ef2a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageDelimiters.java
@@ -14,14 +14,14 @@ public final class SimpleReconstrTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- public static ISequenceMatcher ruleCall$28$Delimiter = new SetBasedKeywordMatcher(
- "type", "extends", "mykeyword1", "mykeyword2");
+ public static ISequenceMatcher ruleCall$30$Delimiter = new SetBasedKeywordMatcher(
+ "type", "extends", "mykeyword1", "mykeyword2", "myoption", "kw");
- public static ICharacterClass keyword$34$Delimiter = ICharacterClass.Factory.nullClass();
+ public static ICharacterClass keyword$36$Delimiter = ICharacterClass.Factory.nullClass();
- public static ISequenceMatcher ruleCall$44$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ public static ISequenceMatcher ruleCall$46$Delimiter = ISequenceMatcher.Factory.nullMatcher();
// TODO do not use IDConsumer internals
- public static ICharacterClass keyword$65$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+ public static ICharacterClass keyword$67$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java
index 0cf099e..a25a47a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/SimpleReconstrTestLanguageParserConfiguration.java
@@ -23,6 +23,7 @@ import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleRecon
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageTypeConsumer;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageRef2Consumer;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageSpareConsumer;
+import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageBooleanConsumer;
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;
@@ -44,6 +45,7 @@ public class SimpleReconstrTestLanguageParserConfiguration extends AbstractParse
private SimpleReconstrTestLanguageTypeConsumer typeConsumer;
private SimpleReconstrTestLanguageRef2Consumer ref2Consumer;
private SimpleReconstrTestLanguageSpareConsumer spareConsumer;
+ private SimpleReconstrTestLanguageBooleanConsumer booleanConsumer;
public SimpleReconstrTestLanguageParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
@@ -86,6 +88,9 @@ public class SimpleReconstrTestLanguageParserConfiguration extends AbstractParse
spareConsumer = new SimpleReconstrTestLanguageSpareConsumer(
getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
);
+ booleanConsumer = new SimpleReconstrTestLanguageBooleanConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
}
public void createTerminalConsumers() {
@@ -96,6 +101,7 @@ public class SimpleReconstrTestLanguageParserConfiguration extends AbstractParse
getOpConsumer().setTermConsumer(getTermConsumer());
getTermConsumer().setAtomConsumer(getAtomConsumer());
+ getTermConsumer().setBooleanConsumer(getBooleanConsumer());
getTermConsumer().setManyStringsConsumer(getManyStringsConsumer());
getTermConsumer().setParensConsumer(getParensConsumer());
getTermConsumer().setRef2Consumer(getRef2Consumer());
@@ -117,29 +123,35 @@ public class SimpleReconstrTestLanguageParserConfiguration extends AbstractParse
getSpareConsumer().setIdConsumer(getIdConsumer());
- getAtomConsumer().setRuleCall$2$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$28$Delimiter);
- getParensConsumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getParensConsumer().setKeyword$6$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getParensConsumer().setKeyword$4$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getTwoNumbersConsumer().setRuleCall$6$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getTwoNumbersConsumer().setRuleCall$10$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getTwoNumbersConsumer().setRuleCall$4$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getTwoNumbersConsumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getManyStringsConsumer().setRuleCall$7$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getManyStringsConsumer().setKeyword$3$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getManyStringsConsumer().setRuleCall$5$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getTypeConsumer().setCrossReference$9$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$28$Delimiter);
- getTypeConsumer().setKeyword$7$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$65$Delimiter);
- getTypeConsumer().setKeyword$4$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$65$Delimiter);
- getTypeConsumer().setRuleCall$6$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$28$Delimiter);
- getRef2Consumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$65$Delimiter);
- getRef2Consumer().setRuleCall$7$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$44$Delimiter);
- getRef2Consumer().setKeyword$6$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$65$Delimiter);
- getRef2Consumer().setKeyword$2$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getSpareConsumer().setKeyword$3$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getSpareConsumer().setRuleCall$5$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$28$Delimiter);
- getSpareConsumer().setKeyword$7$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$34$Delimiter);
- getSpareConsumer().setRuleCall$9$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$28$Delimiter);
+ getBooleanConsumer().setIdConsumer(getIdConsumer());
+
+ getAtomConsumer().setRuleCall$2$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getParensConsumer().setKeyword$6$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getParensConsumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getParensConsumer().setKeyword$4$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getTwoNumbersConsumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getTwoNumbersConsumer().setRuleCall$4$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getTwoNumbersConsumer().setRuleCall$6$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getTwoNumbersConsumer().setRuleCall$10$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getManyStringsConsumer().setKeyword$3$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getManyStringsConsumer().setRuleCall$7$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getManyStringsConsumer().setRuleCall$5$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getTypeConsumer().setRuleCall$6$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getTypeConsumer().setKeyword$7$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
+ getTypeConsumer().setKeyword$4$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
+ getTypeConsumer().setCrossReference$9$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getRef2Consumer().setKeyword$6$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
+ getRef2Consumer().setKeyword$8$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
+ getRef2Consumer().setKeyword$2$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getRef2Consumer().setRuleCall$7$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$46$Delimiter);
+ getSpareConsumer().setRuleCall$5$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getSpareConsumer().setKeyword$3$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getSpareConsumer().setKeyword$7$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getSpareConsumer().setRuleCall$9$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getBooleanConsumer().setKeyword$6$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
+ getBooleanConsumer().setKeyword$4$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$36$Delimiter);
+ getBooleanConsumer().setRuleCall$9$Delimiter(SimpleReconstrTestLanguageDelimiters.ruleCall$30$Delimiter);
+ getBooleanConsumer().setKeyword$7$Delimiter(SimpleReconstrTestLanguageDelimiters.keyword$67$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
@@ -197,6 +209,10 @@ public class SimpleReconstrTestLanguageParserConfiguration extends AbstractParse
return spareConsumer;
}
+ public SimpleReconstrTestLanguageBooleanConsumer getBooleanConsumer() {
+ return booleanConsumer;
+ }
+
public XtextBuiltinIDConsumer getIdConsumer() {
return getXtextBuiltinConfiguration().getIdConsumer();
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java
index 638df57..9c1d9ab 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageParensConsumer.java
@@ -25,18 +25,18 @@ public final class ComplexReconstrTestLanguageParensConsumer extends NonTerminal
private ComplexReconstrTestLanguageOpConsumer opConsumer;
- private ICharacterClass keyword$4$Delimiter;
-
private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
+
private ICharacterClass keyword$6$Delimiter;
public ComplexReconstrTestLanguageParensConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -105,14 +105,6 @@ public final class ComplexReconstrTestLanguageParensConsumer extends NonTerminal
this.opConsumer = opConsumer;
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
- }
-
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$8$Delimiter() {
return keyword$8$Delimiter;
}
@@ -121,6 +113,14 @@ public final class ComplexReconstrTestLanguageParensConsumer extends NonTerminal
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
+ }
+
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java
index d1850f3..9dd8514 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyAConsumer.java
@@ -29,25 +29,25 @@ public final class ComplexReconstrTestLanguageTrickyAConsumer extends NonTermina
private XtextBuiltinSTRINGConsumer stringConsumer;
private ComplexReconstrTestLanguageTrickyA1Consumer trickyA1Consumer;
- private ISequenceMatcher ruleCall$8$Delimiter;
-
private ICharacterClass keyword$13$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
+
private ISequenceMatcher ruleCall$19$Delimiter;
private ICharacterClass keyword$17$Delimiter;
- private ICharacterClass keyword$5$Delimiter;
+ private ISequenceMatcher ruleCall$8$Delimiter;
public ComplexReconstrTestLanguageTrickyAConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$19$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$17$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -184,14 +184,6 @@ public final class ComplexReconstrTestLanguageTrickyAConsumer extends NonTermina
this.trickyA1Consumer = trickyA1Consumer;
}
- public ISequenceMatcher getRuleCall$8$Delimiter() {
- return ruleCall$8$Delimiter;
- }
-
- public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
- ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$13$Delimiter() {
return keyword$13$Delimiter;
}
@@ -200,6 +192,14 @@ public final class ComplexReconstrTestLanguageTrickyAConsumer extends NonTermina
keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
+ }
+
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ISequenceMatcher getRuleCall$19$Delimiter() {
return ruleCall$19$Delimiter;
}
@@ -216,12 +216,12 @@ public final class ComplexReconstrTestLanguageTrickyAConsumer extends NonTermina
keyword$17$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
+ public ISequenceMatcher getRuleCall$8$Delimiter() {
+ return ruleCall$8$Delimiter;
}
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java
index 8d238eb..de4f1c3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyBConsumer.java
@@ -27,22 +27,22 @@ public final class ComplexReconstrTestLanguageTrickyBConsumer extends NonTermina
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinINTConsumer intConsumer;
- private ICharacterClass keyword$3$Delimiter;
-
private ISequenceMatcher ruleCall$6$Delimiter;
private ISequenceMatcher ruleCall$8$Delimiter;
private ISequenceMatcher ruleCall$10$Delimiter;
+ private ICharacterClass keyword$3$Delimiter;
+
public ComplexReconstrTestLanguageTrickyBConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -132,14 +132,6 @@ public final class ComplexReconstrTestLanguageTrickyBConsumer extends NonTermina
this.intConsumer = intConsumer;
}
- public ICharacterClass getKeyword$3$Delimiter() {
- return keyword$3$Delimiter;
- }
-
- public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
- keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$6$Delimiter() {
return ruleCall$6$Delimiter;
}
@@ -164,4 +156,12 @@ public final class ComplexReconstrTestLanguageTrickyBConsumer extends NonTermina
ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$3$Delimiter() {
+ return keyword$3$Delimiter;
+ }
+
+ public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
+ keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java
index aa3fcaa..b3ccd30 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyCConsumer.java
@@ -25,25 +25,25 @@ public final class ComplexReconstrTestLanguageTrickyCConsumer extends NonTermina
private XtextBuiltinIDConsumer idConsumer;
- private ISequenceMatcher ruleCall$7$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
+
+ private ICharacterClass keyword$11$Delimiter;
private ICharacterClass keyword$19$Delimiter;
- private ICharacterClass keyword$11$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
private ICharacterClass keyword$15$Delimiter;
- private ICharacterClass keyword$5$Delimiter;
-
public ComplexReconstrTestLanguageTrickyCConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -180,12 +180,20 @@ public final class ComplexReconstrTestLanguageTrickyCConsumer extends NonTermina
this.idConsumer = idConsumer;
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
}
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
+ }
+
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$19$Delimiter() {
@@ -196,12 +204,12 @@ public final class ComplexReconstrTestLanguageTrickyCConsumer extends NonTermina
keyword$19$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
}
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$15$Delimiter() {
@@ -212,12 +220,4 @@ public final class ComplexReconstrTestLanguageTrickyCConsumer extends NonTermina
keyword$15$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
- }
-
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java
index af0f4fe..0d65ad1 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyDConsumer.java
@@ -31,29 +31,29 @@ public final class ComplexReconstrTestLanguageTrickyDConsumer extends NonTermina
private ISequenceMatcher ruleCall$15$Delimiter;
- private ISequenceMatcher ruleCall$10$Delimiter;
+ private ISequenceMatcher ruleCall$19$Delimiter;
+
+ private ISequenceMatcher ruleCall$12$Delimiter;
private ISequenceMatcher ruleCall$17$Delimiter;
- private ISequenceMatcher ruleCall$12$Delimiter;
+ private ISequenceMatcher ruleCall$10$Delimiter;
private ICharacterClass keyword$4$Delimiter;
private ISequenceMatcher ruleCall$8$Delimiter;
- private ISequenceMatcher ruleCall$19$Delimiter;
-
public ComplexReconstrTestLanguageTrickyDConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
ruleCall$15$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$19$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$19$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -199,12 +199,20 @@ public final class ComplexReconstrTestLanguageTrickyDConsumer extends NonTermina
ruleCall$15$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$10$Delimiter() {
- return ruleCall$10$Delimiter;
+ public ISequenceMatcher getRuleCall$19$Delimiter() {
+ return ruleCall$19$Delimiter;
}
- public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
- ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$19$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$19$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ISequenceMatcher getRuleCall$12$Delimiter() {
+ return ruleCall$12$Delimiter;
+ }
+
+ public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$17$Delimiter() {
@@ -215,12 +223,12 @@ public final class ComplexReconstrTestLanguageTrickyDConsumer extends NonTermina
ruleCall$17$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$12$Delimiter() {
- return ruleCall$12$Delimiter;
+ public ISequenceMatcher getRuleCall$10$Delimiter() {
+ return ruleCall$10$Delimiter;
}
- public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
- ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$4$Delimiter() {
@@ -239,12 +247,4 @@ public final class ComplexReconstrTestLanguageTrickyDConsumer extends NonTermina
ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$19$Delimiter() {
- return ruleCall$19$Delimiter;
- }
-
- public void setRuleCall$19$Delimiter(ISequenceMatcher matcher) {
- ruleCall$19$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java
index 3a2fca2..59d3dc4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyEConsumer.java
@@ -31,15 +31,15 @@ public final class ComplexReconstrTestLanguageTrickyEConsumer extends NonTermina
private ISequenceMatcher ruleCall$8$Delimiter;
- private ISequenceMatcher ruleCall$12$Delimiter;
-
private ICharacterClass keyword$4$Delimiter;
- private ICharacterClass keyword$13$Delimiter;
+ private ISequenceMatcher ruleCall$10$Delimiter;
+
+ private ISequenceMatcher ruleCall$12$Delimiter;
private ISequenceMatcher ruleCall$18$Delimiter;
- private ISequenceMatcher ruleCall$10$Delimiter;
+ private ICharacterClass keyword$13$Delimiter;
private ISequenceMatcher ruleCall$16$Delimiter;
@@ -48,11 +48,11 @@ public final class ComplexReconstrTestLanguageTrickyEConsumer extends NonTermina
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$18$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$18$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$16$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -192,14 +192,6 @@ public final class ComplexReconstrTestLanguageTrickyEConsumer extends NonTermina
ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$12$Delimiter() {
- return ruleCall$12$Delimiter;
- }
-
- public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
- ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
@@ -208,12 +200,20 @@ public final class ComplexReconstrTestLanguageTrickyEConsumer extends NonTermina
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$13$Delimiter() {
- return keyword$13$Delimiter;
+ public ISequenceMatcher getRuleCall$10$Delimiter() {
+ return ruleCall$10$Delimiter;
}
- public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
- keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ISequenceMatcher getRuleCall$12$Delimiter() {
+ return ruleCall$12$Delimiter;
+ }
+
+ public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$18$Delimiter() {
@@ -224,12 +224,12 @@ public final class ComplexReconstrTestLanguageTrickyEConsumer extends NonTermina
ruleCall$18$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$10$Delimiter() {
- return ruleCall$10$Delimiter;
+ public ICharacterClass getKeyword$13$Delimiter() {
+ return keyword$13$Delimiter;
}
- public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
- ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
+ keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$16$Delimiter() {
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java
index b172750..4e64bf6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/ComplexReconstrTestLanguageTrickyFConsumer.java
@@ -27,25 +27,25 @@ public final class ComplexReconstrTestLanguageTrickyFConsumer extends NonTermina
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinINTConsumer intConsumer;
+ private ISequenceMatcher ruleCall$6$Delimiter;
+
private ICharacterClass keyword$3$Delimiter;
- private ISequenceMatcher ruleCall$13$Delimiter;
+ private ISequenceMatcher ruleCall$8$Delimiter;
private ISequenceMatcher ruleCall$11$Delimiter;
- private ISequenceMatcher ruleCall$8$Delimiter;
-
- private ISequenceMatcher ruleCall$6$Delimiter;
+ private ISequenceMatcher ruleCall$13$Delimiter;
public ComplexReconstrTestLanguageTrickyFConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$13$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$13$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -144,6 +144,14 @@ public final class ComplexReconstrTestLanguageTrickyFConsumer extends NonTermina
this.intConsumer = intConsumer;
}
+ public ISequenceMatcher getRuleCall$6$Delimiter() {
+ return ruleCall$6$Delimiter;
+ }
+
+ public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ICharacterClass getKeyword$3$Delimiter() {
return keyword$3$Delimiter;
}
@@ -152,12 +160,12 @@ public final class ComplexReconstrTestLanguageTrickyFConsumer extends NonTermina
keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$13$Delimiter() {
- return ruleCall$13$Delimiter;
+ public ISequenceMatcher getRuleCall$8$Delimiter() {
+ return ruleCall$8$Delimiter;
}
- public void setRuleCall$13$Delimiter(ISequenceMatcher matcher) {
- ruleCall$13$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$11$Delimiter() {
@@ -168,20 +176,12 @@ public final class ComplexReconstrTestLanguageTrickyFConsumer extends NonTermina
ruleCall$11$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$8$Delimiter() {
- return ruleCall$8$Delimiter;
- }
-
- public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
- ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ISequenceMatcher getRuleCall$6$Delimiter() {
- return ruleCall$6$Delimiter;
+ public ISequenceMatcher getRuleCall$13$Delimiter() {
+ return ruleCall$13$Delimiter;
}
- public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
- ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$13$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$13$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageBooleanConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageBooleanConsumer.java
new file mode 100644
index 0000000..2174f6b
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageBooleanConsumer.java
@@ -0,0 +1,145 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.parsetree.reconstr.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.matching.ICharacterClass;
+import org.eclipse.xtext.parser.packrat.matching.ISequenceMatcher;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageGrammarAccess;
+import org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageGrammarAccess.BooleanElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+@SuppressWarnings("unused")
+public final class SimpleReconstrTestLanguageBooleanConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ private ICharacterClass keyword$6$Delimiter;
+
+ private ICharacterClass keyword$4$Delimiter;
+
+ private ISequenceMatcher ruleCall$9$Delimiter;
+
+ private ICharacterClass keyword$7$Delimiter;
+
+ public SimpleReconstrTestLanguageBooleanConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ }
+
+ protected boolean doConsume() throws Exception {
+ return consumeGroup$1();
+ }
+
+ protected boolean consumeGroup$1() throws Exception {
+ final IMarker marker = mark();
+ if (!consumeKeyword$4()) {
+ marker.rollback();
+ return false;
+ }
+ if (!consumeAssignment$5()) {
+ marker.rollback();
+ return false;
+ }
+ if (!consumeKeyword$7()) {
+ marker.rollback();
+ return false;
+ }
+ if (!consumeAssignment$8()) {
+ marker.rollback();
+ return false;
+ }
+ return true;
+ }
+
+ protected boolean consumeKeyword$4() throws Exception {
+ return consumeKeyword(getRule().ele000KeywordNumberSignDigitFour(), null, false, false, getKeyword$4$Delimiter());
+ }
+
+ protected boolean consumeAssignment$5() throws Exception {
+ doConsumeAssignment$5();
+ return true;
+ }
+
+ protected boolean doConsumeAssignment$5() throws Exception {
+ if (consumeKeyword(getRule().ele0010KeywordMyoption(), "bool", false, true, getKeyword$6$Delimiter()))
+ return true;
+ return false;
+ }
+
+ protected boolean consumeKeyword$7() throws Exception {
+ return consumeKeyword(getRule().ele01KeywordKw(), null, false, false, getKeyword$7$Delimiter());
+ }
+
+ protected boolean consumeAssignment$8() throws Exception {
+ if (consumeTerminal(idConsumer, "value", false, false, getRule().ele10LexerRuleCallID(), getRuleCall$9$Delimiter()))
+ return true;
+ return false;
+ }
+
+ public BooleanElements getRule() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Boolean";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
+ }
+
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ISequenceMatcher getRuleCall$9$Delimiter() {
+ return ruleCall$9$Delimiter;
+ }
+
+ public void setRuleCall$9$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java
index cc3e6f1..27e1ee0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageManyStringsConsumer.java
@@ -25,18 +25,18 @@ public final class SimpleReconstrTestLanguageManyStringsConsumer extends NonTerm
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$7$Delimiter;
-
private ICharacterClass keyword$3$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
+
private ISequenceMatcher ruleCall$5$Delimiter;
public SimpleReconstrTestLanguageManyStringsConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -99,14 +99,6 @@ public final class SimpleReconstrTestLanguageManyStringsConsumer extends NonTerm
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
- }
-
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$3$Delimiter() {
return keyword$3$Delimiter;
}
@@ -115,6 +107,14 @@ public final class SimpleReconstrTestLanguageManyStringsConsumer extends NonTerm
keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
+ }
+
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
public ISequenceMatcher getRuleCall$5$Delimiter() {
return ruleCall$5$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java
index 840b984..db9ddcf 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageParensConsumer.java
@@ -25,18 +25,18 @@ public final class SimpleReconstrTestLanguageParensConsumer extends NonTerminalC
private SimpleReconstrTestLanguageOpConsumer opConsumer;
- private ICharacterClass keyword$8$Delimiter;
-
private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
+
private ICharacterClass keyword$4$Delimiter;
public SimpleReconstrTestLanguageParensConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -105,14 +105,6 @@ public final class SimpleReconstrTestLanguageParensConsumer extends NonTerminalC
this.opConsumer = opConsumer;
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
- }
-
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
@@ -121,6 +113,14 @@ public final class SimpleReconstrTestLanguageParensConsumer extends NonTerminalC
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
+ }
+
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java
index bcb331e..2da8415 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageRef2Consumer.java
@@ -25,22 +25,22 @@ public final class SimpleReconstrTestLanguageRef2Consumer extends NonTerminalCon
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ICharacterClass keyword$8$Delimiter;
-
- private ISequenceMatcher ruleCall$7$Delimiter;
-
private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
+
private ICharacterClass keyword$2$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
+
public SimpleReconstrTestLanguageRef2Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -91,22 +91,6 @@ public final class SimpleReconstrTestLanguageRef2Consumer extends NonTerminalCon
this.stringConsumer = stringConsumer;
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
- }
-
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
- }
-
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
@@ -115,6 +99,14 @@ public final class SimpleReconstrTestLanguageRef2Consumer extends NonTerminalCon
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
+ }
+
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$2$Delimiter() {
return keyword$2$Delimiter;
}
@@ -123,4 +115,12 @@ public final class SimpleReconstrTestLanguageRef2Consumer extends NonTerminalCon
keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
+ }
+
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java
index 594e642..5e63298 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageSpareConsumer.java
@@ -25,10 +25,10 @@ public final class SimpleReconstrTestLanguageSpareConsumer extends NonTerminalCo
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$3$Delimiter;
-
private ISequenceMatcher ruleCall$5$Delimiter;
+ private ICharacterClass keyword$3$Delimiter;
+
private ICharacterClass keyword$7$Delimiter;
private ISequenceMatcher ruleCall$9$Delimiter;
@@ -37,8 +37,8 @@ public final class SimpleReconstrTestLanguageSpareConsumer extends NonTerminalCo
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -119,14 +119,6 @@ public final class SimpleReconstrTestLanguageSpareConsumer extends NonTerminalCo
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$3$Delimiter() {
- return keyword$3$Delimiter;
- }
-
- public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
- keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$5$Delimiter() {
return ruleCall$5$Delimiter;
}
@@ -135,6 +127,14 @@ public final class SimpleReconstrTestLanguageSpareConsumer extends NonTerminalCo
ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$3$Delimiter() {
+ return keyword$3$Delimiter;
+ }
+
+ public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
+ keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$7$Delimiter() {
return keyword$7$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java
index 8876094..7205df9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTermConsumer.java
@@ -19,6 +19,7 @@ import org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageG
import org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageGrammarAccess.TermElements;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageAtomConsumer;
+import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageBooleanConsumer;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageManyStringsConsumer;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageParensConsumer;
import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleReconstrTestLanguageRef2Consumer;
@@ -30,6 +31,7 @@ import org.eclipse.xtext.parsetree.reconstr.parser.packrat.consumers.SimpleRecon
public final class SimpleReconstrTestLanguageTermConsumer extends NonTerminalConsumer {
private SimpleReconstrTestLanguageAtomConsumer atomConsumer;
+ private SimpleReconstrTestLanguageBooleanConsumer booleanConsumer;
private SimpleReconstrTestLanguageManyStringsConsumer manyStringsConsumer;
private SimpleReconstrTestLanguageParensConsumer parensConsumer;
private SimpleReconstrTestLanguageRef2Consumer ref2Consumer;
@@ -48,8 +50,6 @@ public final class SimpleReconstrTestLanguageTermConsumer extends NonTerminalCon
}
protected boolean consumeAlternatives$1() throws Exception {
- if (consumeRuleCall$7())
- return true;
if (consumeRuleCall$8())
return true;
if (consumeRuleCall$9())
@@ -62,35 +62,43 @@ public final class SimpleReconstrTestLanguageTermConsumer extends NonTerminalCon
return true;
if (consumeRuleCall$13())
return true;
+ if (consumeRuleCall$14())
+ return true;
+ if (consumeRuleCall$15())
+ return true;
return false;
}
- protected boolean consumeRuleCall$7() throws Exception {
- return consumeNonTerminal(atomConsumer, null, false, false, getRule().ele000000ParserRuleCallAtom());
- }
-
protected boolean consumeRuleCall$8() throws Exception {
- return consumeNonTerminal(twoNumbersConsumer, null, false, false, getRule().ele000001ParserRuleCallTwoNumbers());
+ return consumeNonTerminal(atomConsumer, null, false, false, getRule().ele0000000ParserRuleCallAtom());
}
protected boolean consumeRuleCall$9() throws Exception {
- return consumeNonTerminal(manyStringsConsumer, null, false, false, getRule().ele00001ParserRuleCallManyStrings());
+ return consumeNonTerminal(twoNumbersConsumer, null, false, false, getRule().ele0000001ParserRuleCallTwoNumbers());
}
protected boolean consumeRuleCall$10() throws Exception {
- return consumeNonTerminal(parensConsumer, null, false, false, getRule().ele0001ParserRuleCallParens());
+ return consumeNonTerminal(manyStringsConsumer, null, false, false, getRule().ele000001ParserRuleCallManyStrings());
}
protected boolean consumeRuleCall$11() throws Exception {
- return consumeNonTerminal(typeConsumer, null, false, false, getRule().ele001ParserRuleCallType());
+ return consumeNonTerminal(parensConsumer, null, false, false, getRule().ele00001ParserRuleCallParens());
}
protected boolean consumeRuleCall$12() throws Exception {
- return consumeNonTerminal(ref2Consumer, null, false, false, getRule().ele01ParserRuleCallRef2());
+ return consumeNonTerminal(typeConsumer, null, false, false, getRule().ele0001ParserRuleCallType());
}
protected boolean consumeRuleCall$13() throws Exception {
- return consumeNonTerminal(spareConsumer, null, false, false, getRule().ele1ParserRuleCallSpare());
+ return consumeNonTerminal(ref2Consumer, null, false, false, getRule().ele001ParserRuleCallRef2());
+ }
+
+ protected boolean consumeRuleCall$14() throws Exception {
+ return consumeNonTerminal(spareConsumer, null, false, false, getRule().ele01ParserRuleCallSpare());
+ }
+
+ protected boolean consumeRuleCall$15() throws Exception {
+ return consumeNonTerminal(booleanConsumer, null, false, false, getRule().ele1ParserRuleCallBoolean());
}
public TermElements getRule() {
@@ -110,6 +118,10 @@ public final class SimpleReconstrTestLanguageTermConsumer extends NonTerminalCon
this.atomConsumer = atomConsumer;
}
+ public void setBooleanConsumer(SimpleReconstrTestLanguageBooleanConsumer booleanConsumer) {
+ this.booleanConsumer = booleanConsumer;
+ }
+
public void setManyStringsConsumer(SimpleReconstrTestLanguageManyStringsConsumer manyStringsConsumer) {
this.manyStringsConsumer = manyStringsConsumer;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java
index 17c640d..08101d0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTwoNumbersConsumer.java
@@ -25,22 +25,22 @@ public final class SimpleReconstrTestLanguageTwoNumbersConsumer extends NonTermi
private XtextBuiltinINTConsumer intConsumer;
- private ISequenceMatcher ruleCall$6$Delimiter;
-
- private ISequenceMatcher ruleCall$10$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
private ISequenceMatcher ruleCall$4$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
+ private ISequenceMatcher ruleCall$6$Delimiter;
+
+ private ISequenceMatcher ruleCall$10$Delimiter;
public SimpleReconstrTestLanguageTwoNumbersConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -121,20 +121,12 @@ public final class SimpleReconstrTestLanguageTwoNumbersConsumer extends NonTermi
this.intConsumer = intConsumer;
}
- public ISequenceMatcher getRuleCall$6$Delimiter() {
- return ruleCall$6$Delimiter;
- }
-
- public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
- ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ISequenceMatcher getRuleCall$10$Delimiter() {
- return ruleCall$10$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
- ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$4$Delimiter() {
@@ -145,12 +137,20 @@ public final class SimpleReconstrTestLanguageTwoNumbersConsumer extends NonTermi
ruleCall$4$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
+ public ISequenceMatcher getRuleCall$6$Delimiter() {
+ return ruleCall$6$Delimiter;
}
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ISequenceMatcher getRuleCall$10$Delimiter() {
+ return ruleCall$10$Delimiter;
+ }
+
+ public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java
index 4c27aac..82989ef 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parser/packrat/consumers/SimpleReconstrTestLanguageTypeConsumer.java
@@ -25,22 +25,22 @@ public final class SimpleReconstrTestLanguageTypeConsumer extends NonTerminalCon
private XtextBuiltinIDConsumer idConsumer;
- private ISequenceMatcher crossReference$9$Delimiter;
+ private ISequenceMatcher ruleCall$6$Delimiter;
private ICharacterClass keyword$7$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ISequenceMatcher ruleCall$6$Delimiter;
+ private ISequenceMatcher crossReference$9$Delimiter;
public SimpleReconstrTestLanguageTypeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- crossReference$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ crossReference$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -105,12 +105,12 @@ public final class SimpleReconstrTestLanguageTypeConsumer extends NonTerminalCon
this.idConsumer = idConsumer;
}
- public ISequenceMatcher getCrossReference$9$Delimiter() {
- return crossReference$9$Delimiter;
+ public ISequenceMatcher getRuleCall$6$Delimiter() {
+ return ruleCall$6$Delimiter;
}
- public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
- crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$7$Delimiter() {
@@ -129,12 +129,12 @@ public final class SimpleReconstrTestLanguageTypeConsumer extends NonTerminalCon
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$6$Delimiter() {
- return ruleCall$6$Delimiter;
+ public ISequenceMatcher getCrossReference$9$Delimiter() {
+ return crossReference$9$Delimiter;
}
- public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
- ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setCrossReference$9$Delimiter(ISequenceMatcher matcher) {
+ crossReference$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java
index 9e32ea6..f1b00a8 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java
@@ -676,11 +676,13 @@ protected class Parens_1_Assignment_em extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("em",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("em");
+
if("!".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prParens().ele10KeywordExclamationMark();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java
index 868021f..acdbb58 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java
@@ -27,6 +27,7 @@ public class SimpleReconstrTestLanguageParseTreeConstructor extends AbstractPars
if(inst.isInstanceOf("Type") && (s = new Type_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
if(inst.isInstanceOf("Ref2") && (s = new Ref2_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
if(inst.isInstanceOf("Spare") && (s = new Spare_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Boolean") && (s = new Boolean_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
return null;
}
@@ -170,12 +171,12 @@ protected class Op_1_1_Assignment_values extends AssignmentToken {
/************ begin Rule Term ****************
*
- * Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare ;
+ * Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean ;
*
**/
-// Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare
+// Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean
protected class Term_Alternatives extends AlternativesToken {
public Term_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -187,7 +188,7 @@ protected class Term_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_1_RuleCall_Spare(current, this) : new Term_0_Alternatives(current, this);
+ AbstractToken t = (first) ? new Term_1_RuleCall_Boolean(current, this) : new Term_0_Alternatives(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -196,7 +197,7 @@ protected class Term_Alternatives extends AlternativesToken {
}
}
-// Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2
+// Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare
protected class Term_0_Alternatives extends AlternativesToken {
public Term_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -208,7 +209,7 @@ protected class Term_0_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_0_1_RuleCall_Ref2(current, this) : new Term_0_0_Alternatives(current, this);
+ AbstractToken t = (first) ? new Term_0_1_RuleCall_Spare(current, this) : new Term_0_0_Alternatives(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -217,7 +218,7 @@ protected class Term_0_Alternatives extends AlternativesToken {
}
}
-// Atom | TwoNumbers | ManyStrings | Parens | Type
+// Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2
protected class Term_0_0_Alternatives extends AlternativesToken {
public Term_0_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -229,7 +230,7 @@ protected class Term_0_0_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_0_0_1_RuleCall_Type(current, this) : new Term_0_0_0_Alternatives(current, this);
+ AbstractToken t = (first) ? new Term_0_0_1_RuleCall_Ref2(current, this) : new Term_0_0_0_Alternatives(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -238,7 +239,7 @@ protected class Term_0_0_Alternatives extends AlternativesToken {
}
}
-// Atom | TwoNumbers | ManyStrings | Parens
+// Atom | TwoNumbers | ManyStrings | Parens | Type
protected class Term_0_0_0_Alternatives extends AlternativesToken {
public Term_0_0_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -250,7 +251,7 @@ protected class Term_0_0_0_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_0_0_0_1_RuleCall_Parens(current, this) : new Term_0_0_0_0_Alternatives(current, this);
+ AbstractToken t = (first) ? new Term_0_0_0_1_RuleCall_Type(current, this) : new Term_0_0_0_0_Alternatives(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -259,7 +260,7 @@ protected class Term_0_0_0_Alternatives extends AlternativesToken {
}
}
-// Atom | TwoNumbers | ManyStrings
+// Atom | TwoNumbers | ManyStrings | Parens
protected class Term_0_0_0_0_Alternatives extends AlternativesToken {
public Term_0_0_0_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -271,7 +272,7 @@ protected class Term_0_0_0_0_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_0_0_0_0_1_RuleCall_ManyStrings(current, this) : new Term_0_0_0_0_0_Alternatives(current, this);
+ AbstractToken t = (first) ? new Term_0_0_0_0_1_RuleCall_Parens(current, this) : new Term_0_0_0_0_0_Alternatives(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -280,7 +281,7 @@ protected class Term_0_0_0_0_Alternatives extends AlternativesToken {
}
}
-// Atom | TwoNumbers
+// Atom | TwoNumbers | ManyStrings
protected class Term_0_0_0_0_0_Alternatives extends AlternativesToken {
public Term_0_0_0_0_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
@@ -292,7 +293,28 @@ protected class Term_0_0_0_0_0_Alternatives extends AlternativesToken {
}
protected Solution createSolution() {
- AbstractToken t = (first) ? new Term_0_0_0_0_0_1_RuleCall_TwoNumbers(current, this) : new Term_0_0_0_0_0_0_RuleCall_Atom(current, this);
+ AbstractToken t = (first) ? new Term_0_0_0_0_0_1_RuleCall_ManyStrings(current, this) : new Term_0_0_0_0_0_0_Alternatives(current, this);
+ Solution s = t.firstSolution();
+ if(s == null && activateNextSolution()) s = createSolution();
+ if(s == null) return null;
+ last = s.getPredecessor();
+ return s;
+ }
+}
+
+// Atom | TwoNumbers
+protected class Term_0_0_0_0_0_0_Alternatives extends AlternativesToken {
+
+ public Term_0_0_0_0_0_0_Alternatives(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Alternatives getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele000000Alternatives();
+ }
+
+ protected Solution createSolution() {
+ AbstractToken t = (first) ? new Term_0_0_0_0_0_0_1_RuleCall_TwoNumbers(current, this) : new Term_0_0_0_0_0_0_0_RuleCall_Atom(current, this);
Solution s = t.firstSolution();
if(s == null && activateNextSolution()) s = createSolution();
if(s == null) return null;
@@ -302,14 +324,14 @@ protected class Term_0_0_0_0_0_Alternatives extends AlternativesToken {
}
// Atom
-protected class Term_0_0_0_0_0_0_RuleCall_Atom extends RuleCallToken {
+protected class Term_0_0_0_0_0_0_0_RuleCall_Atom extends RuleCallToken {
- public Term_0_0_0_0_0_0_RuleCall_Atom(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_0_0_0_0_0_RuleCall_Atom(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele000000ParserRuleCallAtom();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele0000000ParserRuleCallAtom();
}
protected Solution createSolution() {
@@ -320,14 +342,14 @@ protected class Term_0_0_0_0_0_0_RuleCall_Atom extends RuleCallToken {
}
// TwoNumbers
-protected class Term_0_0_0_0_0_1_RuleCall_TwoNumbers extends RuleCallToken {
+protected class Term_0_0_0_0_0_0_1_RuleCall_TwoNumbers extends RuleCallToken {
- public Term_0_0_0_0_0_1_RuleCall_TwoNumbers(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_0_0_0_0_1_RuleCall_TwoNumbers(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele000001ParserRuleCallTwoNumbers();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele0000001ParserRuleCallTwoNumbers();
}
protected Solution createSolution() {
@@ -339,14 +361,14 @@ protected class Term_0_0_0_0_0_1_RuleCall_TwoNumbers extends RuleCallToken {
// ManyStrings
-protected class Term_0_0_0_0_1_RuleCall_ManyStrings extends RuleCallToken {
+protected class Term_0_0_0_0_0_1_RuleCall_ManyStrings extends RuleCallToken {
- public Term_0_0_0_0_1_RuleCall_ManyStrings(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_0_0_0_1_RuleCall_ManyStrings(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele00001ParserRuleCallManyStrings();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele000001ParserRuleCallManyStrings();
}
protected Solution createSolution() {
@@ -358,14 +380,14 @@ protected class Term_0_0_0_0_1_RuleCall_ManyStrings extends RuleCallToken {
// Parens
-protected class Term_0_0_0_1_RuleCall_Parens extends RuleCallToken {
+protected class Term_0_0_0_0_1_RuleCall_Parens extends RuleCallToken {
- public Term_0_0_0_1_RuleCall_Parens(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_0_0_1_RuleCall_Parens(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele0001ParserRuleCallParens();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele00001ParserRuleCallParens();
}
protected Solution createSolution() {
@@ -377,14 +399,14 @@ protected class Term_0_0_0_1_RuleCall_Parens extends RuleCallToken {
// Type
-protected class Term_0_0_1_RuleCall_Type extends RuleCallToken {
+protected class Term_0_0_0_1_RuleCall_Type extends RuleCallToken {
- public Term_0_0_1_RuleCall_Type(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_0_1_RuleCall_Type(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele001ParserRuleCallType();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele0001ParserRuleCallType();
}
protected Solution createSolution() {
@@ -396,14 +418,14 @@ protected class Term_0_0_1_RuleCall_Type extends RuleCallToken {
// Ref2
-protected class Term_0_1_RuleCall_Ref2 extends RuleCallToken {
+protected class Term_0_0_1_RuleCall_Ref2 extends RuleCallToken {
- public Term_0_1_RuleCall_Ref2(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_0_1_RuleCall_Ref2(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele01ParserRuleCallRef2();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele001ParserRuleCallRef2();
}
protected Solution createSolution() {
@@ -415,14 +437,14 @@ protected class Term_0_1_RuleCall_Ref2 extends RuleCallToken {
// Spare
-protected class Term_1_RuleCall_Spare extends RuleCallToken {
+protected class Term_0_1_RuleCall_Spare extends RuleCallToken {
- public Term_1_RuleCall_Spare(IInstanceDescription curr, AbstractToken pred) {
+ public Term_0_1_RuleCall_Spare(IInstanceDescription curr, AbstractToken pred) {
super(curr, pred, !IS_MANY, IS_REQUIRED);
}
public RuleCall getGrammarElement() {
- return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele1ParserRuleCallSpare();
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele01ParserRuleCallSpare();
}
protected Solution createSolution() {
@@ -433,6 +455,25 @@ protected class Term_1_RuleCall_Spare extends RuleCallToken {
}
+// Boolean
+protected class Term_1_RuleCall_Boolean extends RuleCallToken {
+
+ public Term_1_RuleCall_Boolean(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public RuleCall getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTerm().ele1ParserRuleCallBoolean();
+ }
+
+ protected Solution createSolution() {
+ if(checkForRecursion(Boolean_Group.class, current)) return null;
+ if(!current.isInstanceOf("Boolean")) return null;
+ return new Boolean_Group(current, this).firstSolution();
+ }
+}
+
+
/************ end Rule Term ****************/
@@ -618,11 +659,13 @@ protected class Parens_1_Assignment_em extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("em",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("em");
+
if("!".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prParens().ele10KeywordExclamationMark();
return new Solution(obj);
}
+
return null;
}
}
@@ -1166,16 +1209,20 @@ protected class Ref2_1_Assignment_ref2 extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("ref2",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("ref2");
+
if("mykeyword1".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prRef2().ele1000KeywordMykeyword1();
return new Solution(obj);
}
+
+
if("mykeyword2".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prRef2().ele101KeywordMykeyword2();
return new Solution(obj);
}
+
if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule
type = AssignmentType.LRC;
element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prRef2().ele1001LexerRuleCallSTRING();
@@ -1355,4 +1402,173 @@ protected class Spare_1_1_Assignment_id extends AssignmentToken {
/************ end Rule Spare ****************/
+
+/************ begin Rule Boolean ****************
+ *
+ * Boolean : '#4' ( bool ?= 'myoption' ) ? 'kw' value = ID ;
+ *
+ **/
+
+
+// '#4' ( bool ?= 'myoption' ) ? 'kw' value = ID
+protected class Boolean_Group extends GroupToken {
+
+ public Boolean_Group(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Group getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().eleGroup();
+ }
+
+ protected Solution createSolution() {
+ Solution s1 = new Boolean_1_Assignment_value(current, this).firstSolution();
+ while(s1 != null) {
+ Solution s2 = new Boolean_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
+ if(s2 == null) {
+ s1 = s1.getPredecessor().nextSolution(this,s1);
+ if(s1 == null) return null;
+ } else {
+ last = s2.getPredecessor();
+ return s2;
+ }
+ }
+ return null;
+
+ }
+}
+
+// '#4' ( bool ?= 'myoption' ) ? 'kw'
+protected class Boolean_0_Group extends GroupToken {
+
+ public Boolean_0_Group(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Group getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele0Group();
+ }
+
+ protected Solution createSolution() {
+ Solution s1 = new Boolean_0_1_Keyword_kw(current, this).firstSolution();
+ while(s1 != null) {
+ Solution s2 = new Boolean_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
+ if(s2 == null) {
+ s1 = s1.getPredecessor().nextSolution(this,s1);
+ if(s1 == null) return null;
+ } else {
+ last = s2.getPredecessor();
+ return s2;
+ }
+ }
+ return null;
+
+ }
+}
+
+// '#4' ( bool ?= 'myoption' ) ?
+protected class Boolean_0_0_Group extends GroupToken {
+
+ public Boolean_0_0_Group(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Group getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele00Group();
+ }
+
+ protected Solution createSolution() {
+ Solution s1 = new Boolean_0_0_1_Assignment_bool(current, this).firstSolution();
+ while(s1 != null) {
+ Solution s2 = new Boolean_0_0_0_Keyword_4(s1.getCurrent(), s1.getPredecessor()).firstSolution();
+ if(s2 == null) {
+ s1 = s1.getPredecessor().nextSolution(this,s1);
+ if(s1 == null) return null;
+ } else {
+ last = s2.getPredecessor();
+ return s2;
+ }
+ }
+ return null;
+
+ }
+}
+
+// '#4'
+protected class Boolean_0_0_0_Keyword_4 extends KeywordToken {
+
+ public Boolean_0_0_0_Keyword_4(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Keyword getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele000KeywordNumberSignDigitFour();
+ }
+}
+
+// ( bool ?= 'myoption' ) ?
+protected class Boolean_0_0_1_Assignment_bool extends AssignmentToken {
+
+ public Boolean_0_0_1_Assignment_bool(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, !IS_REQUIRED);
+ }
+
+ public Assignment getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele001AssignmentBool();
+ }
+
+ protected Solution createSolution() {
+ if((value = current.getConsumable("bool",!IS_REQUIRED)) == null) return null;
+ IInstanceDescription obj = current.cloneAndConsume("bool");
+
+ if(Boolean.TRUE.equals(value)) { // xtext::Keyword
+ type = AssignmentType.KW;
+ element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele0010KeywordMyoption();
+ return new Solution(obj);
+ }
+
+ return null;
+ }
+}
+
+
+// 'kw'
+protected class Boolean_0_1_Keyword_kw extends KeywordToken {
+
+ public Boolean_0_1_Keyword_kw(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Keyword getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele01KeywordKw();
+ }
+}
+
+
+// value = ID
+protected class Boolean_1_Assignment_value extends AssignmentToken {
+
+ public Boolean_1_Assignment_value(IInstanceDescription curr, AbstractToken pred) {
+ super(curr, pred, !IS_MANY, IS_REQUIRED);
+ }
+
+ public Assignment getGrammarElement() {
+ return SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele1AssignmentValue();
+ }
+
+ protected Solution createSolution() {
+ if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null;
+ IInstanceDescription obj = current.cloneAndConsume("value");
+ if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule
+ type = AssignmentType.LRC;
+ element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele10LexerRuleCallID();
+ return new Solution(obj);
+ }
+ return null;
+ }
+}
+
+
+/************ end Rule Boolean ****************/
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java
index acfc077..ca1336b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/services/SimpleReconstrTestLanguageGrammarAccess.java
@@ -49,55 +49,63 @@ public class SimpleReconstrTestLanguageGrammarAccess extends BaseEPackageAccess
private final Alternatives c000Alternatives = (Alternatives)c00Alternatives.eContents().get(0);
private final Alternatives c0000Alternatives = (Alternatives)c000Alternatives.eContents().get(0);
private final Alternatives c00000Alternatives = (Alternatives)c0000Alternatives.eContents().get(0);
- private final RuleCall c000000ParserRuleCallAtom = (RuleCall)c00000Alternatives.eContents().get(0);
- private final RuleCall c000001ParserRuleCallTwoNumbers = (RuleCall)c00000Alternatives.eContents().get(1);
- private final RuleCall c00001ParserRuleCallManyStrings = (RuleCall)c0000Alternatives.eContents().get(1);
- private final RuleCall c0001ParserRuleCallParens = (RuleCall)c000Alternatives.eContents().get(1);
- private final RuleCall c001ParserRuleCallType = (RuleCall)c00Alternatives.eContents().get(1);
- private final RuleCall c01ParserRuleCallRef2 = (RuleCall)c0Alternatives.eContents().get(1);
- private final RuleCall c1ParserRuleCallSpare = (RuleCall)cAlternatives.eContents().get(1);
+ private final Alternatives c000000Alternatives = (Alternatives)c00000Alternatives.eContents().get(0);
+ private final RuleCall c0000000ParserRuleCallAtom = (RuleCall)c000000Alternatives.eContents().get(0);
+ private final RuleCall c0000001ParserRuleCallTwoNumbers = (RuleCall)c000000Alternatives.eContents().get(1);
+ private final RuleCall c000001ParserRuleCallManyStrings = (RuleCall)c00000Alternatives.eContents().get(1);
+ private final RuleCall c00001ParserRuleCallParens = (RuleCall)c0000Alternatives.eContents().get(1);
+ private final RuleCall c0001ParserRuleCallType = (RuleCall)c000Alternatives.eContents().get(1);
+ private final RuleCall c001ParserRuleCallRef2 = (RuleCall)c00Alternatives.eContents().get(1);
+ private final RuleCall c01ParserRuleCallSpare = (RuleCall)c0Alternatives.eContents().get(1);
+ private final RuleCall c1ParserRuleCallBoolean = (RuleCall)cAlternatives.eContents().get(1);
- // Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare ;
+ // Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean ;
public ParserRule getRule() { return rule; }
- // Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare
+ // Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean
public Alternatives eleAlternatives() { return cAlternatives; }
- // Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2
+ // Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare
public Alternatives ele0Alternatives() { return c0Alternatives; }
- // Atom | TwoNumbers | ManyStrings | Parens | Type
+ // Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2
public Alternatives ele00Alternatives() { return c00Alternatives; }
- // Atom | TwoNumbers | ManyStrings | Parens
+ // Atom | TwoNumbers | ManyStrings | Parens | Type
public Alternatives ele000Alternatives() { return c000Alternatives; }
- // Atom | TwoNumbers | ManyStrings
+ // Atom | TwoNumbers | ManyStrings | Parens
public Alternatives ele0000Alternatives() { return c0000Alternatives; }
- // Atom | TwoNumbers
+ // Atom | TwoNumbers | ManyStrings
public Alternatives ele00000Alternatives() { return c00000Alternatives; }
+ // Atom | TwoNumbers
+ public Alternatives ele000000Alternatives() { return c000000Alternatives; }
+
// Atom
- public RuleCall ele000000ParserRuleCallAtom() { return c000000ParserRuleCallAtom; }
+ public RuleCall ele0000000ParserRuleCallAtom() { return c0000000ParserRuleCallAtom; }
// TwoNumbers
- public RuleCall ele000001ParserRuleCallTwoNumbers() { return c000001ParserRuleCallTwoNumbers; }
+ public RuleCall ele0000001ParserRuleCallTwoNumbers() { return c0000001ParserRuleCallTwoNumbers; }
// ManyStrings
- public RuleCall ele00001ParserRuleCallManyStrings() { return c00001ParserRuleCallManyStrings; }
+ public RuleCall ele000001ParserRuleCallManyStrings() { return c000001ParserRuleCallManyStrings; }
// Parens
- public RuleCall ele0001ParserRuleCallParens() { return c0001ParserRuleCallParens; }
+ public RuleCall ele00001ParserRuleCallParens() { return c00001ParserRuleCallParens; }
// Type
- public RuleCall ele001ParserRuleCallType() { return c001ParserRuleCallType; }
+ public RuleCall ele0001ParserRuleCallType() { return c0001ParserRuleCallType; }
// Ref2
- public RuleCall ele01ParserRuleCallRef2() { return c01ParserRuleCallRef2; }
+ public RuleCall ele001ParserRuleCallRef2() { return c001ParserRuleCallRef2; }
// Spare
- public RuleCall ele1ParserRuleCallSpare() { return c1ParserRuleCallSpare; }
+ public RuleCall ele01ParserRuleCallSpare() { return c01ParserRuleCallSpare; }
+
+ // Boolean
+ public RuleCall ele1ParserRuleCallBoolean() { return c1ParserRuleCallBoolean; }
}
public class AtomElements implements IParserRuleAccess {
@@ -360,6 +368,49 @@ public class SimpleReconstrTestLanguageGrammarAccess extends BaseEPackageAccess
// ID
public RuleCall ele110LexerRuleCallID() { return c110LexerRuleCallID; }
}
+
+ public class BooleanElements implements IParserRuleAccess {
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(10);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Keyword c000KeywordNumberSignDigitFour = (Keyword)c00Group.eContents().get(0);
+ private final Assignment c001AssignmentBool = (Assignment)c00Group.eContents().get(1);
+ private final Keyword c0010KeywordMyoption = (Keyword)c001AssignmentBool.eContents().get(0);
+ private final Keyword c01KeywordKw = (Keyword)c0Group.eContents().get(1);
+ private final Assignment c1AssignmentValue = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall c10LexerRuleCallID = (RuleCall)c1AssignmentValue.eContents().get(0);
+
+ // Boolean : '#4' ( bool ?= 'myoption' ) ? 'kw' value = ID ;
+ public ParserRule getRule() { return rule; }
+
+ // '#4' ( bool ?= 'myoption' ) ? 'kw' value = ID
+ public Group eleGroup() { return cGroup; }
+
+ // '#4' ( bool ?= 'myoption' ) ? 'kw'
+ public Group ele0Group() { return c0Group; }
+
+ // '#4' ( bool ?= 'myoption' ) ?
+ public Group ele00Group() { return c00Group; }
+
+ // '#4'
+ public Keyword ele000KeywordNumberSignDigitFour() { return c000KeywordNumberSignDigitFour; }
+
+ // ( bool ?= 'myoption' ) ?
+ public Assignment ele001AssignmentBool() { return c001AssignmentBool; }
+
+ // 'myoption'
+ public Keyword ele0010KeywordMyoption() { return c0010KeywordMyoption; }
+
+ // 'kw'
+ public Keyword ele01KeywordKw() { return c01KeywordKw; }
+
+ // value = ID
+ public Assignment ele1AssignmentValue() { return c1AssignmentValue; }
+
+ // ID
+ public RuleCall ele10LexerRuleCallID() { return c10LexerRuleCallID; }
+ }
public final static SimpleReconstrTestLanguageGrammarAccess INSTANCE = new SimpleReconstrTestLanguageGrammarAccess();
@@ -374,6 +425,7 @@ public class SimpleReconstrTestLanguageGrammarAccess extends BaseEPackageAccess
private static TypeElements pType;
private static Ref2Elements pRef2;
private static SpareElements pSpare;
+ private static BooleanElements pBoolean;
@SuppressWarnings("unused")
public synchronized Grammar getGrammar() {
@@ -395,7 +447,7 @@ public class SimpleReconstrTestLanguageGrammarAccess extends BaseEPackageAccess
return (pOp != null) ? pOp : (pOp = new OpElements());
}
- // Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare ;
+ // Term returns Expression : Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean ;
public TermElements prTerm() {
return (pTerm != null) ? pTerm : (pTerm = new TermElements());
}
@@ -434,4 +486,9 @@ public class SimpleReconstrTestLanguageGrammarAccess extends BaseEPackageAccess
public SpareElements prSpare() {
return (pSpare != null) ? pSpare : (pSpare = new SpareElements());
}
+
+ // Boolean : '#4' ( bool ?= 'myoption' ) ? 'kw' value = ID ;
+ public BooleanElements prBoolean() {
+ return (pBoolean != null) ? pBoolean : (pBoolean = new BooleanElements());
+ }
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/simplerewritetest.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/simplerewritetest.ecore
index cba3557..ae07b3d 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/simplerewritetest.ecore
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/simplerewritetest.ecore
@@ -45,6 +45,14 @@
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Boolean" eSuperTypes="//Expression">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bool">
+ <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value">
+ <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Op" eSuperTypes="//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="values" unique="false" upperBound="-1" eType="//Expression" containment="true"/>
</eClassifiers>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java
index ef0b11a..c692fa6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.g 2009-01-14 17:06:16
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.g 2009-01-19 11:41:33
package org.eclipse.xtext.parsetree.transientvalues.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java
index c2a34f9..523de97 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTestParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.g 2009-01-14 17:06:16
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/antlr/internal/InternalTransientValuesTest.g 2009-01-19 11:41:33
package org.eclipse.xtext.parsetree.transientvalues.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java
index 60b10d8..c867f33 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/TransientValuesTestParserConfiguration.java
@@ -79,13 +79,13 @@ public class TransientValuesTestParserConfiguration extends AbstractParserConfig
getTestListConsumer().setIntConsumer(getIntConsumer());
getRootConsumer().setKeyword$2$Delimiter(TransientValuesTestDelimiters.keyword$4$Delimiter);
- getTestRequiredConsumer().setRuleCall$7$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
getTestRequiredConsumer().setKeyword$3$Delimiter(TransientValuesTestDelimiters.keyword$4$Delimiter);
getTestRequiredConsumer().setRuleCall$5$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
+ getTestRequiredConsumer().setRuleCall$7$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
+ getTestOptionalConsumer().setKeyword$7$Delimiter(TransientValuesTestDelimiters.keyword$27$Delimiter);
getTestOptionalConsumer().setKeyword$3$Delimiter(TransientValuesTestDelimiters.keyword$4$Delimiter);
- getTestOptionalConsumer().setRuleCall$9$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
getTestOptionalConsumer().setRuleCall$5$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
- getTestOptionalConsumer().setKeyword$7$Delimiter(TransientValuesTestDelimiters.keyword$27$Delimiter);
+ getTestOptionalConsumer().setRuleCall$9$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
getTestListConsumer().setKeyword$2$Delimiter(TransientValuesTestDelimiters.keyword$4$Delimiter);
getTestListConsumer().setRuleCall$4$Delimiter(TransientValuesTestDelimiters.ruleCall$16$Delimiter);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java
index ae6c512..6b2999e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestOptionalConsumer.java
@@ -25,22 +25,22 @@ public final class TransientValuesTestTestOptionalConsumer extends NonTerminalCo
private XtextBuiltinINTConsumer intConsumer;
- private ICharacterClass keyword$3$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
- private ISequenceMatcher ruleCall$9$Delimiter;
+ private ICharacterClass keyword$3$Delimiter;
private ISequenceMatcher ruleCall$5$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
+ private ISequenceMatcher ruleCall$9$Delimiter;
public TransientValuesTestTestOptionalConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -124,20 +124,20 @@ public final class TransientValuesTestTestOptionalConsumer extends NonTerminalCo
this.intConsumer = intConsumer;
}
- public ICharacterClass getKeyword$3$Delimiter() {
- return keyword$3$Delimiter;
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
}
- public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
- keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$9$Delimiter() {
- return ruleCall$9$Delimiter;
+ public ICharacterClass getKeyword$3$Delimiter() {
+ return keyword$3$Delimiter;
}
- public void setRuleCall$9$Delimiter(ISequenceMatcher matcher) {
- ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
+ keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$5$Delimiter() {
@@ -148,12 +148,12 @@ public final class TransientValuesTestTestOptionalConsumer extends NonTerminalCo
ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
+ public ISequenceMatcher getRuleCall$9$Delimiter() {
+ return ruleCall$9$Delimiter;
}
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$9$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$9$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java
index 4eb1c48..ba68bb8 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parser/packrat/consumers/TransientValuesTestTestRequiredConsumer.java
@@ -25,19 +25,19 @@ public final class TransientValuesTestTestRequiredConsumer extends NonTerminalCo
private XtextBuiltinINTConsumer intConsumer;
- private ISequenceMatcher ruleCall$7$Delimiter;
-
private ICharacterClass keyword$3$Delimiter;
private ISequenceMatcher ruleCall$5$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
+
public TransientValuesTestTestRequiredConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -94,14 +94,6 @@ public final class TransientValuesTestTestRequiredConsumer extends NonTerminalCo
this.intConsumer = intConsumer;
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
- }
-
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$3$Delimiter() {
return keyword$3$Delimiter;
}
@@ -118,4 +110,12 @@ public final class TransientValuesTestTestRequiredConsumer extends NonTerminalCo
ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
+ }
+
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java
index 06a148f..d63f06f 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.g 2009-01-14 17:06:18
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.g 2009-01-19 11:41:35
package org.eclipse.xtext.resource.metamodel.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java
index 5e70660..3facec5 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.g 2009-01-14 17:06:18
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/resource/metamodel/parser/antlr/internal/InternalMultiValueFeatureTestLanguage.g 2009-01-19 11:41:35
package org.eclipse.xtext.resource.metamodel.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java
index aa1e581..839e033 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.g 2009-01-14 17:06:09
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.g 2009-01-19 11:41:24
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java
index 4efe6e8..12e190e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.g 2009-01-14 17:06:09
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalActionTestLanguage.g 2009-01-19 11:41:24
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java
index 80af466..89f76fb 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.g 2009-01-14 17:06:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.g 2009-01-19 11:41:32
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java
index d4117b0..1d4e036 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.g 2009-01-14 17:06:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalContentAssistTestLanguage.g 2009-01-19 11:41:32
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java
index 7a11b20..7df8d5c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.g 2009-01-14 17:06:13
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.g 2009-01-19 11:41:28
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java
index ff2599b..7a989df 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.g 2009-01-14 17:06:12
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalFowlerDslTestLanguage.g 2009-01-19 11:41:28
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java
index 8039f16..329d2db 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.g 2009-01-14 17:06:08
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.g 2009-01-19 11:41:22
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java
index f9aa693..30386a7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.g 2009-01-14 17:06:08
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLexerTestLanguage.g 2009-01-19 11:41:22
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java
index 86200dd..3807b28 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.g 2009-01-14 17:06:11
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.g 2009-01-19 11:41:27
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java
index 78a669b..1c4dd28 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.g 2009-01-14 17:06:11
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalLookaheadTestLanguage.g 2009-01-19 11:41:27
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java
index 4edd064..861d9f1 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.g 2009-01-14 17:06:09
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.g 2009-01-19 11:41:24
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java
index a6faf8b..800b9c4 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.g 2009-01-14 17:06:09
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalOptionalEmptyTestLanguage.g 2009-01-19 11:41:24
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java
index 4fc1edd..e154370 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.g 2009-01-14 17:06:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.g 2009-01-19 11:41:31
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java
index 3810cd6..b9bb564 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.g 2009-01-14 17:06:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalPartialParserTestLanguage.g 2009-01-19 11:41:31
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java
index 2b11f33..9f6a054 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.g 2009-01-14 17:06:10
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.g 2009-01-19 11:41:26
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java
index 2e5f1d4..7e0cbff 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.g 2009-01-14 17:06:10
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalReferenceGrammarTestLanguage.g 2009-01-19 11:41:25
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java
index 6cf6126..fbf7ab0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.g 2009-01-14 17:06:08
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.g 2009-01-19 11:41:23
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java
index bc3cc63..39011b0 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.g 2009-01-14 17:06:08
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalSimpleExpressionsTestLanguage.g 2009-01-19 11:41:23
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java
index 9cb01bf..f7474b7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.g 2009-01-14 17:06:04
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.g 2009-01-19 11:41:18
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java
index 15c663e..b0cfc42 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.g 2009-01-14 17:06:04
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTestLanguage.g 2009-01-19 11:41:18
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java
index bd4c0a5..ab99680 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.g 2009-01-14 17:06:13
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.g 2009-01-19 11:41:29
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java
index a94d14c..8cdea8e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguageParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.g 2009-01-14 17:06:13
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/testlanguages/parser/antlr/internal/InternalTreeTestLanguage.g 2009-01-19 11:41:29
package org.eclipse.xtext.testlanguages.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java
index cb8f51d..48c1fad 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ContentAssistTestLanguageParserConfiguration.java
@@ -88,13 +88,13 @@ public class ContentAssistTestLanguageParserConfiguration extends AbstractParser
getStartConsumer().setKeyword$3$Delimiter(ContentAssistTestLanguageDelimiters.keyword$5$Delimiter);
getStartConsumer().setKeyword$6$Delimiter(ContentAssistTestLanguageDelimiters.keyword$5$Delimiter);
- getFirstAbstractRuleChildConsumer().setKeyword$7$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
- getFirstAbstractRuleChildConsumer().setRuleCall$6$Delimiter(ContentAssistTestLanguageDelimiters.ruleCall$21$Delimiter);
getFirstAbstractRuleChildConsumer().setKeyword$11$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
+ getFirstAbstractRuleChildConsumer().setKeyword$7$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
getFirstAbstractRuleChildConsumer().setKeyword$10$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
- getSecondAbstractRuleChildConsumer().setKeyword$11$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
- getSecondAbstractRuleChildConsumer().setKeyword$7$Delimiter(ContentAssistTestLanguageDelimiters.keyword$5$Delimiter);
+ getFirstAbstractRuleChildConsumer().setRuleCall$6$Delimiter(ContentAssistTestLanguageDelimiters.ruleCall$21$Delimiter);
getSecondAbstractRuleChildConsumer().setKeyword$8$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
+ getSecondAbstractRuleChildConsumer().setKeyword$7$Delimiter(ContentAssistTestLanguageDelimiters.keyword$5$Delimiter);
+ getSecondAbstractRuleChildConsumer().setKeyword$11$Delimiter(ContentAssistTestLanguageDelimiters.keyword$22$Delimiter);
getSecondAbstractRuleChildConsumer().setRuleCall$6$Delimiter(ContentAssistTestLanguageDelimiters.ruleCall$21$Delimiter);
getAbstractRuleCallConsumer().setCrossReference$2$Delimiter(ContentAssistTestLanguageDelimiters.ruleCall$21$Delimiter);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java
index c0c5743..2492f2a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/FowlerDslTestLanguageParserConfiguration.java
@@ -86,20 +86,20 @@ public class FowlerDslTestLanguageParserConfiguration extends AbstractParserConf
getTransitionConsumer().setIdConsumer(getIdConsumer());
- getStatemachineConsumer().setKeyword$11$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getStatemachineConsumer().setKeyword$7$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
- getStatemachineConsumer().setKeyword$10$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getStatemachineConsumer().setKeyword$14$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
+ getStatemachineConsumer().setKeyword$10$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
+ getStatemachineConsumer().setKeyword$11$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getEventConsumer().setRuleCall$6$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
getEventConsumer().setRuleCall$8$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
getEventConsumer().setKeyword$4$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getCommandConsumer().setRuleCall$5$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
getCommandConsumer().setRuleCall$3$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
- getStateConsumer().setCrossReference$14$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
+ getStateConsumer().setRuleCall$7$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
getStateConsumer().setKeyword$5$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
- getStateConsumer().setKeyword$16$Delimiter(FowlerDslTestLanguageDelimiters.keyword$49$Delimiter);
+ getStateConsumer().setCrossReference$14$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
getStateConsumer().setKeyword$12$Delimiter(FowlerDslTestLanguageDelimiters.keyword$49$Delimiter);
- getStateConsumer().setRuleCall$7$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
+ getStateConsumer().setKeyword$16$Delimiter(FowlerDslTestLanguageDelimiters.keyword$49$Delimiter);
getStateConsumer().setKeyword$11$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getStateConsumer().setKeyword$19$Delimiter(FowlerDslTestLanguageDelimiters.keyword$9$Delimiter);
getTransitionConsumer().setCrossReference$8$Delimiter(FowlerDslTestLanguageDelimiters.ruleCall$26$Delimiter);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java
index 0fb5f7a..a0c3e6a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LexerTestLanguageParserConfiguration.java
@@ -65,8 +65,8 @@ public class LexerTestLanguageParserConfiguration extends AbstractParserConfigur
getElementConsumer().setIdConsumer(getIdConsumer());
getElementConsumer().setStringConsumer(getStringConsumer());
- getElementConsumer().setRuleCall$5$Delimiter(LexerTestLanguageDelimiters.ruleCall$9$Delimiter);
getElementConsumer().setRuleCall$3$Delimiter(LexerTestLanguageDelimiters.ruleCall$9$Delimiter);
+ getElementConsumer().setRuleCall$5$Delimiter(LexerTestLanguageDelimiters.ruleCall$9$Delimiter);
// TODO remove workaround
getStringConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java
index 7487b11..b96b405 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/LookaheadTestLanguageParserConfiguration.java
@@ -93,19 +93,19 @@ public class LookaheadTestLanguageParserConfiguration extends AbstractParserConf
getLookAhead3Consumer().setLookAhead4Consumer(getLookAhead4Consumer());
- getLookAhead0Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead0Consumer().setKeyword$2$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead0Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead1Consumer().setKeyword$10$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
- getLookAhead1Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead1Consumer().setKeyword$8$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
- getLookAhead2Consumer().setKeyword$6$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
- getLookAhead2Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead1Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead2Consumer().setKeyword$7$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
- getLookAhead3Consumer().setKeyword$5$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead2Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead2Consumer().setKeyword$6$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead3Consumer().setKeyword$7$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead3Consumer().setKeyword$5$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead3Consumer().setKeyword$4$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
- getLookAhead4Consumer().setKeyword$3$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
getLookAhead4Consumer().setKeyword$5$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
+ getLookAhead4Consumer().setKeyword$3$Delimiter(LookaheadTestLanguageDelimiters.keyword$15$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageDelimiters.java
index b930cf1..ef861d3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageDelimiters.java
@@ -14,10 +14,10 @@ public final class OptionalEmptyTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- // TODO do not use IDConsumer internals
- public static ICharacterClass keyword$8$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
-
public static ISequenceMatcher ruleCall$10$Delimiter = new SetBasedKeywordMatcher(
"hallo");
+ // TODO do not use IDConsumer internals
+ public static ICharacterClass keyword$8$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java
index bff7141..2841b15 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/OptionalEmptyTestLanguageParserConfiguration.java
@@ -62,8 +62,8 @@ public class OptionalEmptyTestLanguageParserConfiguration extends AbstractParser
getGreetingConsumer().setIdConsumer(getIdConsumer());
- getGreetingConsumer().setKeyword$2$Delimiter(OptionalEmptyTestLanguageDelimiters.keyword$8$Delimiter);
getGreetingConsumer().setRuleCall$4$Delimiter(OptionalEmptyTestLanguageDelimiters.ruleCall$10$Delimiter);
+ getGreetingConsumer().setKeyword$2$Delimiter(OptionalEmptyTestLanguageDelimiters.keyword$8$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java
index e39faa1..723c787 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/PartialParserTestLanguageParserConfiguration.java
@@ -125,34 +125,34 @@ public class PartialParserTestLanguageParserConfiguration extends AbstractParser
getNamedConsumer().setIdConsumer(getIdConsumer());
getContainerConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
- getContainerConsumer().setKeyword$14$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getContainerConsumer().setRuleCall$7$Delimiter(PartialParserTestLanguageDelimiters.ruleCall$9$Delimiter);
+ getContainerConsumer().setKeyword$14$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getContainerConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
getNestedConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getNestedConsumer().setKeyword$4$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
getNestedConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
- getChildrenConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getChildrenConsumer().setKeyword$13$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getChildrenConsumer().setKeyword$10$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getChildrenConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getChildrenConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
+ getChildConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
getChildConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getChildConsumer().setKeyword$10$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getChildConsumer().setKeyword$7$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
- getChildConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
- getAbstractChildrenConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getAbstractChildrenConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getAbstractChildrenConsumer().setKeyword$5$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getAbstractChildrenConsumer().setKeyword$4$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
+ getFirstConcreteConsumer().setKeyword$7$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
getFirstConcreteConsumer().setKeyword$14$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
- getFirstConcreteConsumer().setCrossReference$12$Delimiter(PartialParserTestLanguageDelimiters.ruleCall$9$Delimiter);
- getFirstConcreteConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getFirstConcreteConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
- getFirstConcreteConsumer().setKeyword$7$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
- getSecondConcreteConsumer().setKeyword$9$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
- getSecondConcreteConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
- getSecondConcreteConsumer().setKeyword$7$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getFirstConcreteConsumer().setKeyword$6$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getFirstConcreteConsumer().setCrossReference$12$Delimiter(PartialParserTestLanguageDelimiters.ruleCall$9$Delimiter);
getSecondConcreteConsumer().setCrossReference$14$Delimiter(PartialParserTestLanguageDelimiters.ruleCall$9$Delimiter);
- getSecondConcreteConsumer().setKeyword$10$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getSecondConcreteConsumer().setKeyword$8$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
getSecondConcreteConsumer().setKeyword$16$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getSecondConcreteConsumer().setKeyword$10$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
+ getSecondConcreteConsumer().setKeyword$9$Delimiter(PartialParserTestLanguageDelimiters.keyword$7$Delimiter);
+ getSecondConcreteConsumer().setKeyword$7$Delimiter(PartialParserTestLanguageDelimiters.keyword$10$Delimiter);
getNamedConsumer().setRuleCall$2$Delimiter(PartialParserTestLanguageDelimiters.ruleCall$9$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java
index fe51c4a..2f091e5 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/ReferenceGrammarTestLanguageParserConfiguration.java
@@ -105,40 +105,40 @@ public class ReferenceGrammarTestLanguageParserConfiguration extends AbstractPar
getFamilieConsumer().setIdConsumer(getIdConsumer());
getFamilieConsumer().setStringConsumer(getStringConsumer());
- getSpielplatzConsumer().setRuleCall$10$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
getSpielplatzConsumer().setRuleCall$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
- getSpielplatzConsumer().setKeyword$23$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getSpielplatzConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getSpielplatzConsumer().setKeyword$23$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getSpielplatzConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
+ getSpielplatzConsumer().setRuleCall$10$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
+ getKindConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
+ getKindConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getKindConsumer().setRuleCall$10$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
getKindConsumer().setRuleCall$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
- getKindConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getKindConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
- getKindConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
- getErwachsenerConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
getErwachsenerConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
+ getErwachsenerConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getErwachsenerConsumer().setRuleCall$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
getErwachsenerConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getErwachsenerConsumer().setRuleCall$10$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
- getErwachsenerConsumer().setRuleCall$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
- getSpielzeugConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getSpielzeugConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
+ getSpielzeugConsumer().setKeyword$11$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
getSpielzeugConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
getSpielzeugConsumer().setRuleCall$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
- getFarbeConsumer().setKeyword$7$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
getFarbeConsumer().setKeyword$4$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
- getFarbeConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getFarbeConsumer().setKeyword$7$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
getFarbeConsumer().setKeyword$6$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getFarbeConsumer().setKeyword$5$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getFamilieConsumer().setCrossReference$28$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
+ getFamilieConsumer().setRuleCall$14$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
getFamilieConsumer().setCrossReference$23$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
- getFamilieConsumer().setKeyword$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
- getFamilieConsumer().setCrossReference$17$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
getFamilieConsumer().setCrossReference$20$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
- getFamilieConsumer().setKeyword$9$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
- getFamilieConsumer().setRuleCall$14$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$10$Delimiter);
- getFamilieConsumer().setKeyword$26$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
- getFamilieConsumer().setKeyword$13$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getFamilieConsumer().setCrossReference$17$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
getFamilieConsumer().setRuleCall$15$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
+ getFamilieConsumer().setKeyword$8$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
getFamilieConsumer().setKeyword$30$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
- getFamilieConsumer().setCrossReference$28$Delimiter(ReferenceGrammarTestLanguageDelimiters.ruleCall$40$Delimiter);
+ getFamilieConsumer().setKeyword$9$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
+ getFamilieConsumer().setKeyword$13$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$8$Delimiter);
+ getFamilieConsumer().setKeyword$26$Delimiter(ReferenceGrammarTestLanguageDelimiters.keyword$13$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageDelimiters.java
index 67f15ec..298e178 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageDelimiters.java
@@ -14,12 +14,12 @@ public final class TestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- // TODO do not use IDConsumer internals
- public static ICharacterClass keyword$14$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
-
public static ISequenceMatcher ruleCall$18$Delimiter = new SetBasedKeywordMatcher(
"choice", "optional", "reducible");
+ // TODO do not use IDConsumer internals
+ public static ICharacterClass keyword$14$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+
public static ISequenceMatcher ruleCall$33$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java
index 328aaf5..dba8150 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TestLanguageParserConfiguration.java
@@ -84,9 +84,9 @@ public class TestLanguageParserConfiguration extends AbstractParserConfiguration
getTerminalRuleConsumer().setStringConsumer(getStringConsumer());
- getChoiceRuleConsumer().setKeyword$3$Delimiter(TestLanguageDelimiters.keyword$14$Delimiter);
- getChoiceRuleConsumer().setKeyword$5$Delimiter(TestLanguageDelimiters.keyword$14$Delimiter);
getChoiceRuleConsumer().setRuleCall$7$Delimiter(TestLanguageDelimiters.ruleCall$18$Delimiter);
+ getChoiceRuleConsumer().setKeyword$5$Delimiter(TestLanguageDelimiters.keyword$14$Delimiter);
+ getChoiceRuleConsumer().setKeyword$3$Delimiter(TestLanguageDelimiters.keyword$14$Delimiter);
getReducibleRuleConsumer().setKeyword$3$Delimiter(TestLanguageDelimiters.keyword$14$Delimiter);
getTerminalRuleConsumer().setRuleCall$2$Delimiter(TestLanguageDelimiters.ruleCall$33$Delimiter);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageDelimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageDelimiters.java
index 9673a09..78a9f91 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageDelimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageDelimiters.java
@@ -14,8 +14,8 @@ public final class TreeTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- public static ICharacterClass keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
-
public static ISequenceMatcher ruleCall$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ public static ICharacterClass keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java
index 1e3e2a6..927b6e9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/TreeTestLanguageParserConfiguration.java
@@ -64,12 +64,12 @@ public class TreeTestLanguageParserConfiguration extends AbstractParserConfigura
getNodeConsumer().setNodeConsumer(getNodeConsumer());
getNodeConsumer().setStringConsumer(getStringConsumer());
- getNodeConsumer().setRuleCall$11$Delimiter(TreeTestLanguageDelimiters.ruleCall$14$Delimiter);
- getNodeConsumer().setKeyword$12$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
getNodeConsumer().setKeyword$16$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
- getNodeConsumer().setKeyword$9$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
+ getNodeConsumer().setRuleCall$11$Delimiter(TreeTestLanguageDelimiters.ruleCall$14$Delimiter);
getNodeConsumer().setRuleCall$8$Delimiter(TreeTestLanguageDelimiters.ruleCall$14$Delimiter);
+ getNodeConsumer().setKeyword$9$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
getNodeConsumer().setKeyword$13$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
+ getNodeConsumer().setKeyword$12$Delimiter(TreeTestLanguageDelimiters.keyword$15$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java
index 9d95cc5..d614f26 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageFirstAbstractRuleChildConsumer.java
@@ -27,22 +27,22 @@ public final class ContentAssistTestLanguageFirstAbstractRuleChildConsumer exten
private ContentAssistTestLanguageAbstractRuleConsumer abstractRuleConsumer;
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$7$Delimiter;
-
- private ISequenceMatcher ruleCall$6$Delimiter;
-
private ICharacterClass keyword$11$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
+
private ICharacterClass keyword$10$Delimiter;
+ private ISequenceMatcher ruleCall$6$Delimiter;
+
public ContentAssistTestLanguageFirstAbstractRuleChildConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -127,22 +127,6 @@ public final class ContentAssistTestLanguageFirstAbstractRuleChildConsumer exten
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ISequenceMatcher getRuleCall$6$Delimiter() {
- return ruleCall$6$Delimiter;
- }
-
- public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
- ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$11$Delimiter() {
return keyword$11$Delimiter;
}
@@ -151,6 +135,14 @@ public final class ContentAssistTestLanguageFirstAbstractRuleChildConsumer exten
keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$10$Delimiter() {
return keyword$10$Delimiter;
}
@@ -159,4 +151,12 @@ public final class ContentAssistTestLanguageFirstAbstractRuleChildConsumer exten
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$6$Delimiter() {
+ return ruleCall$6$Delimiter;
+ }
+
+ public void setRuleCall$6$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$6$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java
index 27084f3..cafad67 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ContentAssistTestLanguageSecondAbstractRuleChildConsumer.java
@@ -27,11 +27,11 @@ public final class ContentAssistTestLanguageSecondAbstractRuleChildConsumer exte
private ContentAssistTestLanguageAbstractRuleCallConsumer abstractRuleCallConsumer;
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$11$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
private ICharacterClass keyword$7$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
private ISequenceMatcher ruleCall$6$Delimiter;
@@ -39,9 +39,9 @@ public final class ContentAssistTestLanguageSecondAbstractRuleChildConsumer exte
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$6$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -119,12 +119,12 @@ public final class ContentAssistTestLanguageSecondAbstractRuleChildConsumer exte
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$7$Delimiter() {
@@ -135,12 +135,12 @@ public final class ContentAssistTestLanguageSecondAbstractRuleChildConsumer exte
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
}
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ISequenceMatcher getRuleCall$6$Delimiter() {
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java
index 34e5ed3..a2c5c5b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStateConsumer.java
@@ -27,15 +27,15 @@ public final class FowlerDslTestLanguageStateConsumer extends NonTerminalConsume
private XtextBuiltinIDConsumer idConsumer;
private FowlerDslTestLanguageTransitionConsumer transitionConsumer;
- private ISequenceMatcher crossReference$14$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
private ICharacterClass keyword$5$Delimiter;
- private ICharacterClass keyword$16$Delimiter;
+ private ISequenceMatcher crossReference$14$Delimiter;
private ICharacterClass keyword$12$Delimiter;
- private ISequenceMatcher ruleCall$7$Delimiter;
+ private ICharacterClass keyword$16$Delimiter;
private ICharacterClass keyword$11$Delimiter;
@@ -45,11 +45,11 @@ public final class FowlerDslTestLanguageStateConsumer extends NonTerminalConsume
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- crossReference$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -181,12 +181,12 @@ public final class FowlerDslTestLanguageStateConsumer extends NonTerminalConsume
this.transitionConsumer = transitionConsumer;
}
- public ISequenceMatcher getCrossReference$14$Delimiter() {
- return crossReference$14$Delimiter;
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
}
- public void setCrossReference$14$Delimiter(ISequenceMatcher matcher) {
- crossReference$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$5$Delimiter() {
@@ -197,12 +197,12 @@ public final class FowlerDslTestLanguageStateConsumer extends NonTerminalConsume
keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$16$Delimiter() {
- return keyword$16$Delimiter;
+ public ISequenceMatcher getCrossReference$14$Delimiter() {
+ return crossReference$14$Delimiter;
}
- public void setKeyword$16$Delimiter(ICharacterClass characterClass) {
- keyword$16$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$14$Delimiter(ISequenceMatcher matcher) {
+ crossReference$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$12$Delimiter() {
@@ -213,12 +213,12 @@ public final class FowlerDslTestLanguageStateConsumer extends NonTerminalConsume
keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
+ public ICharacterClass getKeyword$16$Delimiter() {
+ return keyword$16$Delimiter;
}
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$16$Delimiter(ICharacterClass characterClass) {
+ keyword$16$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$11$Delimiter() {
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java
index 2ba09b6..dab6cb6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/FowlerDslTestLanguageStatemachineConsumer.java
@@ -29,22 +29,22 @@ public final class FowlerDslTestLanguageStatemachineConsumer extends NonTerminal
private FowlerDslTestLanguageEventConsumer eventConsumer;
private FowlerDslTestLanguageStateConsumer stateConsumer;
- private ICharacterClass keyword$11$Delimiter;
-
private ICharacterClass keyword$7$Delimiter;
+ private ICharacterClass keyword$14$Delimiter;
+
private ICharacterClass keyword$10$Delimiter;
- private ICharacterClass keyword$14$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
public FowlerDslTestLanguageStatemachineConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -158,14 +158,6 @@ public final class FowlerDslTestLanguageStatemachineConsumer extends NonTerminal
this.stateConsumer = stateConsumer;
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
- }
-
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$7$Delimiter() {
return keyword$7$Delimiter;
}
@@ -174,6 +166,14 @@ public final class FowlerDslTestLanguageStatemachineConsumer extends NonTerminal
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$14$Delimiter() {
+ return keyword$14$Delimiter;
+ }
+
+ public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
+ keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$10$Delimiter() {
return keyword$10$Delimiter;
}
@@ -182,12 +182,12 @@ public final class FowlerDslTestLanguageStatemachineConsumer extends NonTerminal
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$14$Delimiter() {
- return keyword$14$Delimiter;
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
}
- public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
- keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java
index db5cd65..d3b19af 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LexerTestLanguageElementConsumer.java
@@ -27,16 +27,16 @@ public final class LexerTestLanguageElementConsumer extends NonTerminalConsumer
private XtextBuiltinIDConsumer idConsumer;
private LexerTestLanguageSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$5$Delimiter;
-
private ISequenceMatcher ruleCall$3$Delimiter;
+ private ISequenceMatcher ruleCall$5$Delimiter;
+
public LexerTestLanguageElementConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$3$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -89,14 +89,6 @@ public final class LexerTestLanguageElementConsumer extends NonTerminalConsumer
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$5$Delimiter() {
- return ruleCall$5$Delimiter;
- }
-
- public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
- ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ISequenceMatcher getRuleCall$3$Delimiter() {
return ruleCall$3$Delimiter;
}
@@ -105,4 +97,12 @@ public final class LexerTestLanguageElementConsumer extends NonTerminalConsumer
ruleCall$3$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ISequenceMatcher getRuleCall$5$Delimiter() {
+ return ruleCall$5$Delimiter;
+ }
+
+ public void setRuleCall$5$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$5$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java
index b2c0a2a..eca6365 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead0Consumer.java
@@ -23,16 +23,16 @@ import org.eclipse.xtext.testlanguages.services.LookaheadTestLanguageGrammarAcce
public final class LookaheadTestLanguageLookAhead0Consumer extends NonTerminalConsumer {
- private ICharacterClass keyword$4$Delimiter;
-
private ICharacterClass keyword$2$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
+
public LookaheadTestLanguageLookAhead0Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -75,14 +75,6 @@ public final class LookaheadTestLanguageLookAhead0Consumer extends NonTerminalCo
return "LookAhead0";
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
- }
-
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$2$Delimiter() {
return keyword$2$Delimiter;
}
@@ -91,4 +83,12 @@ public final class LookaheadTestLanguageLookAhead0Consumer extends NonTerminalCo
keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
+ }
+
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java
index 45c185b..8c5c712 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead1Consumer.java
@@ -27,17 +27,17 @@ public final class LookaheadTestLanguageLookAhead1Consumer extends NonTerminalCo
private ICharacterClass keyword$10$Delimiter;
- private ICharacterClass keyword$4$Delimiter;
-
private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$4$Delimiter;
+
public LookaheadTestLanguageLookAhead1Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -112,14 +112,6 @@ public final class LookaheadTestLanguageLookAhead1Consumer extends NonTerminalCo
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$4$Delimiter() {
- return keyword$4$Delimiter;
- }
-
- public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
- keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$8$Delimiter() {
return keyword$8$Delimiter;
}
@@ -128,4 +120,12 @@ public final class LookaheadTestLanguageLookAhead1Consumer extends NonTerminalCo
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$4$Delimiter() {
+ return keyword$4$Delimiter;
+ }
+
+ public void setKeyword$4$Delimiter(ICharacterClass characterClass) {
+ keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java
index 4d1732e..14f15a2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead2Consumer.java
@@ -23,19 +23,19 @@ import org.eclipse.xtext.testlanguages.services.LookaheadTestLanguageGrammarAcce
public final class LookaheadTestLanguageLookAhead2Consumer extends NonTerminalConsumer {
- private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
private ICharacterClass keyword$4$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
+ private ICharacterClass keyword$6$Delimiter;
public LookaheadTestLanguageLookAhead2Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -92,12 +92,12 @@ public final class LookaheadTestLanguageLookAhead2Consumer extends NonTerminalCo
return "LookAhead2";
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
}
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$4$Delimiter() {
@@ -108,12 +108,12 @@ public final class LookaheadTestLanguageLookAhead2Consumer extends NonTerminalCo
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
}
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java
index c8c2e54..ecb0f9c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead3Consumer.java
@@ -25,18 +25,18 @@ public final class LookaheadTestLanguageLookAhead3Consumer extends NonTerminalCo
private LookaheadTestLanguageLookAhead4Consumer lookAhead4Consumer;
- private ICharacterClass keyword$5$Delimiter;
-
private ICharacterClass keyword$7$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
+
private ICharacterClass keyword$4$Delimiter;
public LookaheadTestLanguageLookAhead3Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -102,14 +102,6 @@ public final class LookaheadTestLanguageLookAhead3Consumer extends NonTerminalCo
this.lookAhead4Consumer = lookAhead4Consumer;
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
- }
-
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$7$Delimiter() {
return keyword$7$Delimiter;
}
@@ -118,6 +110,14 @@ public final class LookaheadTestLanguageLookAhead3Consumer extends NonTerminalCo
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
+ }
+
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java
index b8a1f4f..ac4266b 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/LookaheadTestLanguageLookAhead4Consumer.java
@@ -23,16 +23,16 @@ import org.eclipse.xtext.testlanguages.services.LookaheadTestLanguageGrammarAcce
public final class LookaheadTestLanguageLookAhead4Consumer extends NonTerminalConsumer {
- private ICharacterClass keyword$3$Delimiter;
-
private ICharacterClass keyword$5$Delimiter;
+ private ICharacterClass keyword$3$Delimiter;
+
public LookaheadTestLanguageLookAhead4Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -72,14 +72,6 @@ public final class LookaheadTestLanguageLookAhead4Consumer extends NonTerminalCo
return "LookAhead4";
}
- public ICharacterClass getKeyword$3$Delimiter() {
- return keyword$3$Delimiter;
- }
-
- public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
- keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
@@ -88,4 +80,12 @@ public final class LookaheadTestLanguageLookAhead4Consumer extends NonTerminalCo
keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$3$Delimiter() {
+ return keyword$3$Delimiter;
+ }
+
+ public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
+ keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java
index 281b6c5..d422a4c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/OptionalEmptyTestLanguageGreetingConsumer.java
@@ -25,16 +25,16 @@ public final class OptionalEmptyTestLanguageGreetingConsumer extends NonTerminal
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$2$Delimiter;
-
private ISequenceMatcher ruleCall$4$Delimiter;
+ private ICharacterClass keyword$2$Delimiter;
+
public OptionalEmptyTestLanguageGreetingConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$4$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -81,14 +81,6 @@ public final class OptionalEmptyTestLanguageGreetingConsumer extends NonTerminal
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$2$Delimiter() {
- return keyword$2$Delimiter;
- }
-
- public void setKeyword$2$Delimiter(ICharacterClass characterClass) {
- keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$4$Delimiter() {
return ruleCall$4$Delimiter;
}
@@ -97,4 +89,12 @@ public final class OptionalEmptyTestLanguageGreetingConsumer extends NonTerminal
ruleCall$4$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$2$Delimiter() {
+ return keyword$2$Delimiter;
+ }
+
+ public void setKeyword$2$Delimiter(ICharacterClass characterClass) {
+ keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java
index 7954bff..46921dc 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageAbstractChildrenConsumer.java
@@ -25,18 +25,18 @@ public final class PartialParserTestLanguageAbstractChildrenConsumer extends Non
private PartialParserTestLanguageAbstractChildConsumer abstractChildConsumer;
- private ICharacterClass keyword$5$Delimiter;
-
private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
+
private ICharacterClass keyword$4$Delimiter;
public PartialParserTestLanguageAbstractChildrenConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -108,14 +108,6 @@ public final class PartialParserTestLanguageAbstractChildrenConsumer extends Non
this.abstractChildConsumer = abstractChildConsumer;
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
- }
-
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$8$Delimiter() {
return keyword$8$Delimiter;
}
@@ -124,6 +116,14 @@ public final class PartialParserTestLanguageAbstractChildrenConsumer extends Non
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
+ }
+
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java
index c513025..be65c61 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildConsumer.java
@@ -25,22 +25,22 @@ public final class PartialParserTestLanguageChildConsumer extends NonTerminalCon
private PartialParserTestLanguageNamedConsumer namedConsumer;
+ private ICharacterClass keyword$6$Delimiter;
+
private ICharacterClass keyword$5$Delimiter;
private ICharacterClass keyword$10$Delimiter;
private ICharacterClass keyword$7$Delimiter;
- private ICharacterClass keyword$6$Delimiter;
-
public PartialParserTestLanguageChildConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -111,6 +111,14 @@ public final class PartialParserTestLanguageChildConsumer extends NonTerminalCon
this.namedConsumer = namedConsumer;
}
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
@@ -135,12 +143,4 @@ public final class PartialParserTestLanguageChildConsumer extends NonTerminalCon
keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
- }
-
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java
index f868f63..a0e3d46 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageChildrenConsumer.java
@@ -25,21 +25,21 @@ public final class PartialParserTestLanguageChildrenConsumer extends NonTerminal
private PartialParserTestLanguageChildConsumer childConsumer;
- private ICharacterClass keyword$6$Delimiter;
-
private ICharacterClass keyword$13$Delimiter;
private ICharacterClass keyword$10$Delimiter;
+ private ICharacterClass keyword$6$Delimiter;
+
private ICharacterClass keyword$5$Delimiter;
public PartialParserTestLanguageChildrenConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -135,14 +135,6 @@ public final class PartialParserTestLanguageChildrenConsumer extends NonTerminal
this.childConsumer = childConsumer;
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
- }
-
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$13$Delimiter() {
return keyword$13$Delimiter;
}
@@ -159,6 +151,14 @@ public final class PartialParserTestLanguageChildrenConsumer extends NonTerminal
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java
index 69994c7..2888d38 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageContainerConsumer.java
@@ -31,10 +31,10 @@ public final class PartialParserTestLanguageContainerConsumer extends NonTermina
private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$14$Delimiter;
-
private ISequenceMatcher ruleCall$7$Delimiter;
+ private ICharacterClass keyword$14$Delimiter;
+
private ICharacterClass keyword$5$Delimiter;
public PartialParserTestLanguageContainerConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
@@ -42,8 +42,8 @@ public final class PartialParserTestLanguageContainerConsumer extends NonTermina
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
}
@@ -152,14 +152,6 @@ public final class PartialParserTestLanguageContainerConsumer extends NonTermina
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$14$Delimiter() {
- return keyword$14$Delimiter;
- }
-
- public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
- keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ISequenceMatcher getRuleCall$7$Delimiter() {
return ruleCall$7$Delimiter;
}
@@ -168,6 +160,14 @@ public final class PartialParserTestLanguageContainerConsumer extends NonTermina
ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$14$Delimiter() {
+ return keyword$14$Delimiter;
+ }
+
+ public void setKeyword$14$Delimiter(ICharacterClass characterClass) {
+ keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java
index 5eee185..6db66ce 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageFirstConcreteConsumer.java
@@ -27,25 +27,25 @@ public final class PartialParserTestLanguageFirstConcreteConsumer extends NonTer
private XtextBuiltinIDConsumer idConsumer;
private PartialParserTestLanguageNamedConsumer namedConsumer;
+ private ICharacterClass keyword$7$Delimiter;
+
private ICharacterClass keyword$14$Delimiter;
- private ISequenceMatcher crossReference$12$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
private ICharacterClass keyword$6$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
-
- private ICharacterClass keyword$7$Delimiter;
+ private ISequenceMatcher crossReference$12$Delimiter;
public PartialParserTestLanguageFirstConcreteConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
- crossReference$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -135,6 +135,14 @@ public final class PartialParserTestLanguageFirstConcreteConsumer extends NonTer
this.namedConsumer = namedConsumer;
}
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$14$Delimiter() {
return keyword$14$Delimiter;
}
@@ -143,12 +151,12 @@ public final class PartialParserTestLanguageFirstConcreteConsumer extends NonTer
keyword$14$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getCrossReference$12$Delimiter() {
- return crossReference$12$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setCrossReference$12$Delimiter(ISequenceMatcher matcher) {
- crossReference$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$6$Delimiter() {
@@ -159,20 +167,12 @@ public final class PartialParserTestLanguageFirstConcreteConsumer extends NonTer
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
- }
-
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
+ public ISequenceMatcher getCrossReference$12$Delimiter() {
+ return crossReference$12$Delimiter;
}
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$12$Delimiter(ISequenceMatcher matcher) {
+ crossReference$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java
index 4284567..8f14bdd 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/PartialParserTestLanguageSecondConcreteConsumer.java
@@ -27,28 +27,28 @@ public final class PartialParserTestLanguageSecondConcreteConsumer extends NonTe
private XtextBuiltinIDConsumer idConsumer;
private PartialParserTestLanguageNamedConsumer namedConsumer;
- private ICharacterClass keyword$9$Delimiter;
+ private ISequenceMatcher crossReference$14$Delimiter;
private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$7$Delimiter;
-
- private ISequenceMatcher crossReference$14$Delimiter;
+ private ICharacterClass keyword$16$Delimiter;
private ICharacterClass keyword$10$Delimiter;
- private ICharacterClass keyword$16$Delimiter;
+ private ICharacterClass keyword$9$Delimiter;
+
+ private ICharacterClass keyword$7$Delimiter;
public PartialParserTestLanguageSecondConcreteConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
crossReference$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -146,12 +146,12 @@ public final class PartialParserTestLanguageSecondConcreteConsumer extends NonTe
this.namedConsumer = namedConsumer;
}
- public ICharacterClass getKeyword$9$Delimiter() {
- return keyword$9$Delimiter;
+ public ISequenceMatcher getCrossReference$14$Delimiter() {
+ return crossReference$14$Delimiter;
}
- public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
- keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$14$Delimiter(ISequenceMatcher matcher) {
+ crossReference$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$8$Delimiter() {
@@ -162,20 +162,12 @@ public final class PartialParserTestLanguageSecondConcreteConsumer extends NonTe
keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
- public ISequenceMatcher getCrossReference$14$Delimiter() {
- return crossReference$14$Delimiter;
+ public ICharacterClass getKeyword$16$Delimiter() {
+ return keyword$16$Delimiter;
}
- public void setCrossReference$14$Delimiter(ISequenceMatcher matcher) {
- crossReference$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$16$Delimiter(ICharacterClass characterClass) {
+ keyword$16$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$10$Delimiter() {
@@ -186,12 +178,20 @@ public final class PartialParserTestLanguageSecondConcreteConsumer extends NonTe
keyword$10$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$16$Delimiter() {
- return keyword$16$Delimiter;
+ public ICharacterClass getKeyword$9$Delimiter() {
+ return keyword$9$Delimiter;
}
- public void setKeyword$16$Delimiter(ICharacterClass characterClass) {
- keyword$16$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
+ keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
+ }
+
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java
index 04a87d4..1d772d2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageErwachsenerConsumer.java
@@ -27,25 +27,25 @@ public final class ReferenceGrammarTestLanguageErwachsenerConsumer extends NonTe
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinINTConsumer intConsumer;
+ private ICharacterClass keyword$6$Delimiter;
+
private ICharacterClass keyword$5$Delimiter;
- private ICharacterClass keyword$6$Delimiter;
+ private ISequenceMatcher ruleCall$8$Delimiter;
private ICharacterClass keyword$11$Delimiter;
private ISequenceMatcher ruleCall$10$Delimiter;
- private ISequenceMatcher ruleCall$8$Delimiter;
-
public ReferenceGrammarTestLanguageErwachsenerConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -122,6 +122,14 @@ public final class ReferenceGrammarTestLanguageErwachsenerConsumer extends NonTe
this.intConsumer = intConsumer;
}
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
@@ -130,12 +138,12 @@ public final class ReferenceGrammarTestLanguageErwachsenerConsumer extends NonTe
keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
+ public ISequenceMatcher getRuleCall$8$Delimiter() {
+ return ruleCall$8$Delimiter;
}
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$11$Delimiter() {
@@ -154,12 +162,4 @@ public final class ReferenceGrammarTestLanguageErwachsenerConsumer extends NonTe
ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$8$Delimiter() {
- return ruleCall$8$Delimiter;
- }
-
- public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
- ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java
index fa207a5..bce6708 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFamilieConsumer.java
@@ -27,43 +27,43 @@ public final class ReferenceGrammarTestLanguageFamilieConsumer extends NonTermin
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher crossReference$23$Delimiter;
+ private ISequenceMatcher crossReference$28$Delimiter;
- private ICharacterClass keyword$8$Delimiter;
+ private ISequenceMatcher ruleCall$14$Delimiter;
- private ISequenceMatcher crossReference$17$Delimiter;
+ private ISequenceMatcher crossReference$23$Delimiter;
private ISequenceMatcher crossReference$20$Delimiter;
- private ICharacterClass keyword$9$Delimiter;
+ private ISequenceMatcher crossReference$17$Delimiter;
- private ISequenceMatcher ruleCall$14$Delimiter;
+ private ISequenceMatcher ruleCall$15$Delimiter;
- private ICharacterClass keyword$26$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$13$Delimiter;
+ private ICharacterClass keyword$30$Delimiter;
- private ISequenceMatcher ruleCall$15$Delimiter;
+ private ICharacterClass keyword$9$Delimiter;
- private ICharacterClass keyword$30$Delimiter;
+ private ICharacterClass keyword$13$Delimiter;
- private ISequenceMatcher crossReference$28$Delimiter;
+ private ICharacterClass keyword$26$Delimiter;
public ReferenceGrammarTestLanguageFamilieConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ crossReference$28$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
crossReference$23$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
- crossReference$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
crossReference$20$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$14$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$26$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ crossReference$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$15$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$30$Delimiter = ICharacterClass.Factory.nullClass();
- crossReference$28$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$26$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -196,28 +196,28 @@ public final class ReferenceGrammarTestLanguageFamilieConsumer extends NonTermin
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getCrossReference$23$Delimiter() {
- return crossReference$23$Delimiter;
+ public ISequenceMatcher getCrossReference$28$Delimiter() {
+ return crossReference$28$Delimiter;
}
- public void setCrossReference$23$Delimiter(ISequenceMatcher matcher) {
- crossReference$23$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setCrossReference$28$Delimiter(ISequenceMatcher matcher) {
+ crossReference$28$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$8$Delimiter() {
- return keyword$8$Delimiter;
+ public ISequenceMatcher getRuleCall$14$Delimiter() {
+ return ruleCall$14$Delimiter;
}
- public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
- keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$14$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getCrossReference$17$Delimiter() {
- return crossReference$17$Delimiter;
+ public ISequenceMatcher getCrossReference$23$Delimiter() {
+ return crossReference$23$Delimiter;
}
- public void setCrossReference$17$Delimiter(ISequenceMatcher matcher) {
- crossReference$17$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setCrossReference$23$Delimiter(ISequenceMatcher matcher) {
+ crossReference$23$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getCrossReference$20$Delimiter() {
@@ -228,60 +228,60 @@ public final class ReferenceGrammarTestLanguageFamilieConsumer extends NonTermin
crossReference$20$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$9$Delimiter() {
- return keyword$9$Delimiter;
+ public ISequenceMatcher getCrossReference$17$Delimiter() {
+ return crossReference$17$Delimiter;
}
- public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
- keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$17$Delimiter(ISequenceMatcher matcher) {
+ crossReference$17$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ISequenceMatcher getRuleCall$14$Delimiter() {
- return ruleCall$14$Delimiter;
+ public ISequenceMatcher getRuleCall$15$Delimiter() {
+ return ruleCall$15$Delimiter;
}
- public void setRuleCall$14$Delimiter(ISequenceMatcher matcher) {
- ruleCall$14$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setRuleCall$15$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$15$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$26$Delimiter() {
- return keyword$26$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setKeyword$26$Delimiter(ICharacterClass characterClass) {
- keyword$26$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$8$Delimiter(ICharacterClass characterClass) {
+ keyword$8$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$13$Delimiter() {
- return keyword$13$Delimiter;
+ public ICharacterClass getKeyword$30$Delimiter() {
+ return keyword$30$Delimiter;
}
- public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
- keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$30$Delimiter(ICharacterClass characterClass) {
+ keyword$30$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$15$Delimiter() {
- return ruleCall$15$Delimiter;
+ public ICharacterClass getKeyword$9$Delimiter() {
+ return keyword$9$Delimiter;
}
- public void setRuleCall$15$Delimiter(ISequenceMatcher matcher) {
- ruleCall$15$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
+ keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$30$Delimiter() {
- return keyword$30$Delimiter;
+ public ICharacterClass getKeyword$13$Delimiter() {
+ return keyword$13$Delimiter;
}
- public void setKeyword$30$Delimiter(ICharacterClass characterClass) {
- keyword$30$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$13$Delimiter(ICharacterClass characterClass) {
+ keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getCrossReference$28$Delimiter() {
- return crossReference$28$Delimiter;
+ public ICharacterClass getKeyword$26$Delimiter() {
+ return keyword$26$Delimiter;
}
- public void setCrossReference$28$Delimiter(ISequenceMatcher matcher) {
- crossReference$28$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$26$Delimiter(ICharacterClass characterClass) {
+ keyword$26$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java
index ff9524b..82d71e8 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageFarbeConsumer.java
@@ -23,22 +23,22 @@ import org.eclipse.xtext.testlanguages.services.ReferenceGrammarTestLanguageGram
public final class ReferenceGrammarTestLanguageFarbeConsumer extends NonTerminalConsumer {
- private ICharacterClass keyword$7$Delimiter;
-
private ICharacterClass keyword$4$Delimiter;
- private ICharacterClass keyword$5$Delimiter;
+ private ICharacterClass keyword$7$Delimiter;
private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$5$Delimiter;
+
public ReferenceGrammarTestLanguageFarbeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -86,14 +86,6 @@ public final class ReferenceGrammarTestLanguageFarbeConsumer extends NonTerminal
return "Farbe";
}
- public ICharacterClass getKeyword$7$Delimiter() {
- return keyword$7$Delimiter;
- }
-
- public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
- keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$4$Delimiter() {
return keyword$4$Delimiter;
}
@@ -102,12 +94,12 @@ public final class ReferenceGrammarTestLanguageFarbeConsumer extends NonTerminal
keyword$4$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$5$Delimiter() {
- return keyword$5$Delimiter;
+ public ICharacterClass getKeyword$7$Delimiter() {
+ return keyword$7$Delimiter;
}
- public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
- keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setKeyword$7$Delimiter(ICharacterClass characterClass) {
+ keyword$7$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
public ICharacterClass getKeyword$6$Delimiter() {
@@ -118,4 +110,12 @@ public final class ReferenceGrammarTestLanguageFarbeConsumer extends NonTerminal
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$5$Delimiter() {
+ return keyword$5$Delimiter;
+ }
+
+ public void setKeyword$5$Delimiter(ICharacterClass characterClass) {
+ keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java
index 62cf3dc..0c0c197 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageKindConsumer.java
@@ -27,25 +27,25 @@ public final class ReferenceGrammarTestLanguageKindConsumer extends NonTerminalC
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinINTConsumer intConsumer;
+ private ICharacterClass keyword$11$Delimiter;
+
+ private ICharacterClass keyword$6$Delimiter;
+
private ISequenceMatcher ruleCall$10$Delimiter;
private ISequenceMatcher ruleCall$8$Delimiter;
- private ICharacterClass keyword$6$Delimiter;
-
private ICharacterClass keyword$5$Delimiter;
- private ICharacterClass keyword$11$Delimiter;
-
public ReferenceGrammarTestLanguageKindConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -122,6 +122,22 @@ public final class ReferenceGrammarTestLanguageKindConsumer extends NonTerminalC
this.intConsumer = intConsumer;
}
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
+ }
+
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
+ public ICharacterClass getKeyword$6$Delimiter() {
+ return keyword$6$Delimiter;
+ }
+
+ public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
+ keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ISequenceMatcher getRuleCall$10$Delimiter() {
return ruleCall$10$Delimiter;
}
@@ -138,14 +154,6 @@ public final class ReferenceGrammarTestLanguageKindConsumer extends NonTerminalC
ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$6$Delimiter() {
- return keyword$6$Delimiter;
- }
-
- public void setKeyword$6$Delimiter(ICharacterClass characterClass) {
- keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
@@ -154,12 +162,4 @@ public final class ReferenceGrammarTestLanguageKindConsumer extends NonTerminalC
keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
- }
-
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java
index 806cd19..ee8f001 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielplatzConsumer.java
@@ -35,25 +35,25 @@ public final class ReferenceGrammarTestLanguageSpielplatzConsumer extends NonTer
private XtextBuiltinSTRINGConsumer stringConsumer;
private ReferenceGrammarTestLanguageSpielzeugConsumer spielzeugConsumer;
- private ISequenceMatcher ruleCall$10$Delimiter;
-
private ISequenceMatcher ruleCall$8$Delimiter;
- private ICharacterClass keyword$23$Delimiter;
-
private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$23$Delimiter;
+
private ICharacterClass keyword$11$Delimiter;
+ private ISequenceMatcher ruleCall$10$Delimiter;
+
public ReferenceGrammarTestLanguageSpielplatzConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$23$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$23$Delimiter = ICharacterClass.Factory.nullClass();
keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -201,14 +201,6 @@ public final class ReferenceGrammarTestLanguageSpielplatzConsumer extends NonTer
this.spielzeugConsumer = spielzeugConsumer;
}
- public ISequenceMatcher getRuleCall$10$Delimiter() {
- return ruleCall$10$Delimiter;
- }
-
- public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
- ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ISequenceMatcher getRuleCall$8$Delimiter() {
return ruleCall$8$Delimiter;
}
@@ -217,14 +209,6 @@ public final class ReferenceGrammarTestLanguageSpielplatzConsumer extends NonTer
ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$23$Delimiter() {
- return keyword$23$Delimiter;
- }
-
- public void setKeyword$23$Delimiter(ICharacterClass characterClass) {
- keyword$23$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
@@ -233,6 +217,14 @@ public final class ReferenceGrammarTestLanguageSpielplatzConsumer extends NonTer
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$23$Delimiter() {
+ return keyword$23$Delimiter;
+ }
+
+ public void setKeyword$23$Delimiter(ICharacterClass characterClass) {
+ keyword$23$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$11$Delimiter() {
return keyword$11$Delimiter;
}
@@ -241,4 +233,12 @@ public final class ReferenceGrammarTestLanguageSpielplatzConsumer extends NonTer
keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$10$Delimiter() {
+ return ruleCall$10$Delimiter;
+ }
+
+ public void setRuleCall$10$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$10$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java
index 6849163..0bdbe45 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/ReferenceGrammarTestLanguageSpielzeugConsumer.java
@@ -27,10 +27,10 @@ public final class ReferenceGrammarTestLanguageSpielzeugConsumer extends NonTerm
private ReferenceGrammarTestLanguageFarbeConsumer farbeConsumer;
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$11$Delimiter;
-
private ICharacterClass keyword$6$Delimiter;
+ private ICharacterClass keyword$11$Delimiter;
+
private ICharacterClass keyword$5$Delimiter;
private ISequenceMatcher ruleCall$8$Delimiter;
@@ -39,8 +39,8 @@ public final class ReferenceGrammarTestLanguageSpielzeugConsumer extends NonTerm
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$11$Delimiter = ICharacterClass.Factory.nullClass();
keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -119,14 +119,6 @@ public final class ReferenceGrammarTestLanguageSpielzeugConsumer extends NonTerm
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$11$Delimiter() {
- return keyword$11$Delimiter;
- }
-
- public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
- keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
@@ -135,6 +127,14 @@ public final class ReferenceGrammarTestLanguageSpielzeugConsumer extends NonTerm
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$11$Delimiter() {
+ return keyword$11$Delimiter;
+ }
+
+ public void setKeyword$11$Delimiter(ICharacterClass characterClass) {
+ keyword$11$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$5$Delimiter() {
return keyword$5$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java
index 99a88c8..90213e6 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TestLanguageChoiceRuleConsumer.java
@@ -25,19 +25,19 @@ public final class TestLanguageChoiceRuleConsumer extends NonTerminalConsumer {
private XtextBuiltinIDConsumer idConsumer;
- private ICharacterClass keyword$3$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
private ICharacterClass keyword$5$Delimiter;
- private ISequenceMatcher ruleCall$7$Delimiter;
+ private ICharacterClass keyword$3$Delimiter;
public TestLanguageChoiceRuleConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$5$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$3$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -99,12 +99,12 @@ public final class TestLanguageChoiceRuleConsumer extends NonTerminalConsumer {
this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$3$Delimiter() {
- return keyword$3$Delimiter;
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
}
- public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
- keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ICharacterClass getKeyword$5$Delimiter() {
@@ -115,12 +115,12 @@ public final class TestLanguageChoiceRuleConsumer extends NonTerminalConsumer {
keyword$5$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
+ public ICharacterClass getKeyword$3$Delimiter() {
+ return keyword$3$Delimiter;
}
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$3$Delimiter(ICharacterClass characterClass) {
+ keyword$3$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java
index e17cafe..2f34325 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parser/packrat/consumers/TreeTestLanguageNodeConsumer.java
@@ -29,28 +29,28 @@ public final class TreeTestLanguageNodeConsumer extends NonTerminalConsumer {
private TreeTestLanguageNodeConsumer nodeConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$11$Delimiter;
-
- private ICharacterClass keyword$12$Delimiter;
-
private ICharacterClass keyword$16$Delimiter;
- private ICharacterClass keyword$9$Delimiter;
+ private ISequenceMatcher ruleCall$11$Delimiter;
private ISequenceMatcher ruleCall$8$Delimiter;
+ private ICharacterClass keyword$9$Delimiter;
+
private ICharacterClass keyword$13$Delimiter;
+ private ICharacterClass keyword$12$Delimiter;
+
public TreeTestLanguageNodeConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
keyword$16$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$11$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
}
protected boolean doConsume() throws Exception {
@@ -154,22 +154,6 @@ public final class TreeTestLanguageNodeConsumer extends NonTerminalConsumer {
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$11$Delimiter() {
- return ruleCall$11$Delimiter;
- }
-
- public void setRuleCall$11$Delimiter(ISequenceMatcher matcher) {
- ruleCall$11$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ICharacterClass getKeyword$12$Delimiter() {
- return keyword$12$Delimiter;
- }
-
- public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
- keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
public ICharacterClass getKeyword$16$Delimiter() {
return keyword$16$Delimiter;
}
@@ -178,12 +162,12 @@ public final class TreeTestLanguageNodeConsumer extends NonTerminalConsumer {
keyword$16$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ICharacterClass getKeyword$9$Delimiter() {
- return keyword$9$Delimiter;
+ public ISequenceMatcher getRuleCall$11$Delimiter() {
+ return ruleCall$11$Delimiter;
}
- public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
- keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setRuleCall$11$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$11$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
public ISequenceMatcher getRuleCall$8$Delimiter() {
@@ -194,6 +178,14 @@ public final class TreeTestLanguageNodeConsumer extends NonTerminalConsumer {
ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
+ public ICharacterClass getKeyword$9$Delimiter() {
+ return keyword$9$Delimiter;
+ }
+
+ public void setKeyword$9$Delimiter(ICharacterClass characterClass) {
+ keyword$9$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
public ICharacterClass getKeyword$13$Delimiter() {
return keyword$13$Delimiter;
}
@@ -202,4 +194,12 @@ public final class TreeTestLanguageNodeConsumer extends NonTerminalConsumer {
keyword$13$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ICharacterClass getKeyword$12$Delimiter() {
+ return keyword$12$Delimiter;
+ }
+
+ public void setKeyword$12$Delimiter(ICharacterClass characterClass) {
+ keyword$12$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java
index 1a9e41b..df045c8 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java
@@ -429,11 +429,13 @@ protected class Event_0_0_Assignment_resetting extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("resetting",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("resetting");
- if("resetting".equals(value)) { // xtext::Keyword
+
+ if(Boolean.TRUE.equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prEvent().ele000KeywordResetting();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LookaheadTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LookaheadTestLanguageParseTreeConstructor.java
index e5ba460..d5cf324 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LookaheadTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LookaheadTestLanguageParseTreeConstructor.java
@@ -239,11 +239,13 @@ protected class LookAhead0_1_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("a".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead0().ele10KeywordA();
return new Solution(obj);
}
+
return null;
}
}
@@ -401,11 +403,13 @@ protected class LookAhead1_0_1_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("b".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead1().ele010KeywordB();
return new Solution(obj);
}
+
return null;
}
}
@@ -425,11 +429,13 @@ protected class LookAhead1_1_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("d".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead1().ele10KeywordD();
return new Solution(obj);
}
+
return null;
}
}
@@ -508,11 +514,13 @@ protected class LookAhead2_0_0_Assignment_z extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("z",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("z");
+
if("foo".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead2().ele000KeywordFoo();
return new Solution(obj);
}
+
return null;
}
}
@@ -531,11 +539,13 @@ protected class LookAhead2_0_1_Assignment_z extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("z",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("z");
+
if("bar".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead2().ele010KeywordBar();
return new Solution(obj);
}
+
return null;
}
}
@@ -687,11 +697,13 @@ protected class LookAhead3_0_1_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("b".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead3().ele010KeywordB();
return new Solution(obj);
}
+
return null;
}
}
@@ -774,11 +786,13 @@ protected class LookAhead4_0_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("c".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead4().ele00KeywordC();
return new Solution(obj);
}
+
return null;
}
}
@@ -797,11 +811,13 @@ protected class LookAhead4_1_Assignment_x extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("x",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("x");
+
if("d".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = LookaheadTestLanguageGrammarAccess.INSTANCE.prLookAhead4().ele10KeywordD();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java
index bf0a31c..36fbbe1 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java
@@ -1522,11 +1522,13 @@ protected class Familie_0_0_0_0_0_1_Assignment_name extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("name");
+
if("keyword".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prFamilie().ele000001000KeywordKeyword();
return new Solution(obj);
}
+
if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule
type = AssignmentType.LRC;
element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prFamilie().ele000001001LexerRuleCallSTRING();
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java
index 19a4fcf..357ea3a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java
@@ -308,16 +308,20 @@ protected class Addition_1_0_1_Assignment_operator extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("operator",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("operator");
+
if("+".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleExpressionsTestLanguageGrammarAccess.INSTANCE.prAddition().ele10100KeywordPlusSign();
return new Solution(obj);
}
+
+
if("-".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleExpressionsTestLanguageGrammarAccess.INSTANCE.prAddition().ele10101KeywordHyphenMinus();
return new Solution(obj);
}
+
return null;
}
}
@@ -502,16 +506,20 @@ protected class Multiplication_1_0_1_Assignment_operator extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("operator",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("operator");
+
if("*".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleExpressionsTestLanguageGrammarAccess.INSTANCE.prMultiplication().ele10100KeywordAsterisk();
return new Solution(obj);
}
+
+
if("/".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = SimpleExpressionsTestLanguageGrammarAccess.INSTANCE.prMultiplication().ele10101KeywordSolidus();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java
index c1b7a39..da384e7 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java
@@ -225,11 +225,13 @@ protected class ChoiceRule_0_1_Assignment_optionalKeyword extends AssignmentToke
protected Solution createSolution() {
if((value = current.getConsumable("optionalKeyword",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("optionalKeyword");
- if("optional".equals(value)) { // xtext::Keyword
+
+ if(Boolean.TRUE.equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = TestLanguageGrammarAccess.INSTANCE.prChoiceRule().ele010KeywordOptional();
return new Solution(obj);
}
+
return null;
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java
index 4dd5296..4889120 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Lexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.g 2009-01-14 17:06:12
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.g 2009-01-19 11:41:27
package org.eclipse.xtext.valueconverter.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java
index ca533b1..f4c93fe 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313Parser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.g 2009-01-14 17:06:12
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/xtext/valueconverter/parser/antlr/internal/InternalBug250313.g 2009-01-19 11:41:27
package org.eclipse.xtext.valueconverter.parser.antlr.internal;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313Delimiters.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313Delimiters.java
index 1a076b5..54b58a3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313Delimiters.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313Delimiters.java
@@ -14,14 +14,14 @@ public final class Bug250313Delimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
- public static ISequenceMatcher ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
-
// TODO do not use IDConsumer internals
public static ICharacterClass keyword$8$Delimiter = XtextBuiltinIDConsumer.IDConsumer$$2;
+ public static ICharacterClass keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+
+ public static ISequenceMatcher ruleCall$9$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+
public static ISequenceMatcher ruleCall$10$Delimiter = new SetBasedKeywordMatcher(
"mykeyword1");
- public static ICharacterClass keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
-
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java
index 19a7131..3df079a 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/Bug250313ParserConfiguration.java
@@ -56,10 +56,10 @@ public class Bug250313ParserConfiguration extends AbstractParserConfiguration {
getRef2Consumer().setIdConsumer(getIdConsumer());
getRef2Consumer().setStringConsumer(getStringConsumer());
- getRef2Consumer().setRuleCall$7$Delimiter(Bug250313Delimiters.ruleCall$9$Delimiter);
getRef2Consumer().setKeyword$6$Delimiter(Bug250313Delimiters.keyword$8$Delimiter);
- getRef2Consumer().setRuleCall$8$Delimiter(Bug250313Delimiters.ruleCall$10$Delimiter);
getRef2Consumer().setKeyword$2$Delimiter(Bug250313Delimiters.keyword$4$Delimiter);
+ getRef2Consumer().setRuleCall$7$Delimiter(Bug250313Delimiters.ruleCall$9$Delimiter);
+ getRef2Consumer().setRuleCall$8$Delimiter(Bug250313Delimiters.ruleCall$10$Delimiter);
// TODO remove workaround
getIdConsumer().initFields(this);
// TODO remove workaround
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java
index 5df869a..05f6a27 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parser/packrat/consumers/Bug250313Ref2Consumer.java
@@ -27,22 +27,22 @@ public final class Bug250313Ref2Consumer extends NonTerminalConsumer {
private XtextBuiltinIDConsumer idConsumer;
private XtextBuiltinSTRINGConsumer stringConsumer;
- private ISequenceMatcher ruleCall$7$Delimiter;
-
private ICharacterClass keyword$6$Delimiter;
- private ISequenceMatcher ruleCall$8$Delimiter;
-
private ICharacterClass keyword$2$Delimiter;
+ private ISequenceMatcher ruleCall$7$Delimiter;
+
+ private ISequenceMatcher ruleCall$8$Delimiter;
+
public Bug250313Ref2Consumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
ITerminalConsumer[] hiddenTokens) {
super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
- ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$6$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
keyword$2$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$7$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$8$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
protected boolean doConsume() throws Exception {
@@ -97,14 +97,6 @@ public final class Bug250313Ref2Consumer extends NonTerminalConsumer {
this.stringConsumer = stringConsumer;
}
- public ISequenceMatcher getRuleCall$7$Delimiter() {
- return ruleCall$7$Delimiter;
- }
-
- public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
- ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$6$Delimiter() {
return keyword$6$Delimiter;
}
@@ -113,14 +105,6 @@ public final class Bug250313Ref2Consumer extends NonTerminalConsumer {
keyword$6$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$8$Delimiter() {
- return ruleCall$8$Delimiter;
- }
-
- public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
- ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
public ICharacterClass getKeyword$2$Delimiter() {
return keyword$2$Delimiter;
}
@@ -129,4 +113,20 @@ public final class Bug250313Ref2Consumer extends NonTerminalConsumer {
keyword$2$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
+ public ISequenceMatcher getRuleCall$7$Delimiter() {
+ return ruleCall$7$Delimiter;
+ }
+
+ public void setRuleCall$7$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$7$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ public ISequenceMatcher getRuleCall$8$Delimiter() {
+ return ruleCall$8$Delimiter;
+ }
+
+ public void setRuleCall$8$Delimiter(ISequenceMatcher matcher) {
+ ruleCall$8$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ }
+
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java
index be48a74..8acaf74 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java
@@ -84,11 +84,13 @@ protected class Ref2_1_Assignment_ref2 extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("ref2",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("ref2");
+
if("mykeyword1".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
element = Bug250313GrammarAccess.INSTANCE.prRef2().ele1000KeywordMykeyword1();
return new Solution(obj);
}
+
if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule
type = AssignmentType.LRC;
element = Bug250313GrammarAccess.INSTANCE.prRef2().ele1001LexerRuleCallSTRING();
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTest.java
index 51a4355..12ca34e 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTest.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTest.java
@@ -95,6 +95,16 @@ public class SimpleReconstrTest extends AbstractGeneratorTest {
assertEquals(model, parseAndSerialize(model));
}
+ public void testSimpleAlternativeBoolTrue() throws Exception {
+ String model = "#4 myoption kw blupp";
+ assertEquals(model, parseAndSerialize(model));
+ }
+
+ public void testSimpleAlternativeBoolFalse() throws Exception {
+ String model = "#4 kw blupp";
+ assertEquals(model, parseAndSerialize(model));
+ }
+
// FIXME: this depends on
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=250313
// public void testSimpleAlternativeAssignment2() throws Exception {
@@ -106,7 +116,7 @@ public class SimpleReconstrTest extends AbstractGeneratorTest {
String model = "type A extends B type B extends A";
assertEquals(model, parseAndSerialize(model));
}
-
+
public void testSpare() throws Exception {
String model = "#3 id1";
assertEquals(model, parseAndSerialize(model));
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xtext b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xtext
index a83b875..caadd90 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xtext
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/SimpleReconstrTestLanguage.xtext
@@ -13,7 +13,7 @@ Op returns Expression:
Term ({Op.values+=current} values+=Term)*;
Term returns Expression:
- Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare;
+ Atom | TwoNumbers | ManyStrings | Parens | Type | Ref2 | Spare | Boolean;
Atom:
name=ID;
@@ -35,5 +35,8 @@ Ref2:
Spare:
'#3' id+=ID ('.' id+=ID)*;
+
+Boolean:
+ '#4' bool?='myoption'? 'kw' value=ID;