summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-02-12 06:48:02 (EST)
committer sefftinge2009-02-12 06:48:02 (EST)
commit982190f55321debe040a4e81c26d6eb343276f70 (patch)
treef8cf5a77b821f825138fa2428def52de68564ba5
parentbd23dd64547bb30253cd4d33c4e8eba8eb846434 (diff)
downloadorg.eclipse.xtext-982190f55321debe040a4e81c26d6eb343276f70.zip
org.eclipse.xtext-982190f55321debe040a4e81c26d6eb343276f70.tar.gz
org.eclipse.xtext-982190f55321debe040a4e81c26d6eb343276f70.tar.bz2
updated xtext test grammars
-rw-r--r--tests/org.eclipse.xtext.generator.tests/plugin.xml7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi130
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextTest.ecore8
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g428
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java154
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2960
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g26
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore4
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java177
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java444
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarIDConsumer.java169
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi176
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g438
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.tokens28
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguageLexer.java372
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguageParser.java2938
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage__.g42
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/XtextTerminalsTestLanguageDelimiters.java10
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/XtextTerminalsTestLanguageParserConfiguration.java141
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/consumers/XtextTerminalsTestLanguageGrammarConsumer.java243
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/consumers/XtextTerminalsTestLanguageGrammarIDConsumer.java169
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/packrat/consumers/XtextTerminalsTestLanguageLexerRuleConsumer.java56
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/XtextTerminalsTestLanguageParseTreeConstructor.java254
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/services/XtextTerminalsTestLanguageGrammarAccess.java215
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java282
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/services/XtextGrammarTestLanguageGrammarAccess.java189
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammar.ecore6
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/XtextGrammarTest.java8
-rwxr-xr-xtests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/XtextGrammarTestLanguage.xtext7
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/packrat/PerformanceTest.java31
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xtext9
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageProposalProvider.java22
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageProposals.ext17
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageScopeProvider.ext28
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi130
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextTest.ecore14
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g428
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens12
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageLexer.java154
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguageParser.java2960
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g26
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageDelimiters.java12
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/XtextGrammarTestLanguageParserConfiguration.java177
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarConsumer.java444
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarIDConsumer.java169
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java22
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java282
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/services/XtextGrammarTestLanguageGrammarAccess.java189
-rw-r--r--tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/GenReferenceGrammarTestLanguageScopeProvider.ext12
53 files changed, 7789 insertions, 7486 deletions
diff --git a/tests/org.eclipse.xtext.generator.tests/plugin.xml b/tests/org.eclipse.xtext.generator.tests/plugin.xml
index edeb751..1029503 100644
--- a/tests/org.eclipse.xtext.generator.tests/plugin.xml
+++ b/tests/org.eclipse.xtext.generator.tests/plugin.xml
@@ -10,11 +10,4 @@
</metaModel>
</extension>
- <extension
- point="org.eclipse.emf.ecore.extension_parser">
- <parser
- class="org.eclipse.xtext.testlanguages.services.TreeTestLanguageResourceFactory"
- type="treetestlanguage">
- </parser>
- </extension>
</plugin>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
index 3eeb17d..13586c2 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xmi
@@ -16,36 +16,24 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:Assignment" feature="abstract" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="abstract language"/>
- </groups>
- <groups xsi:type="xtext:Keyword" value="language"/>
- </abstractTokens>
- <abstractTokens xsi:type="xtext:Assignment" feature="idElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </abstractTokens>
+ <abstractTokens xsi:type="xtext:Alternatives">
+ <groups xsi:type="xtext:Assignment" feature="abstract" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="abstract language"/>
+ </groups>
+ <groups xsi:type="xtext:Keyword" value="language"/>
</abstractTokens>
- <abstractTokens xsi:type="xtext:Group" cardinality="*">
- <abstractTokens xsi:type="xtext:Keyword" value="."/>
- <abstractTokens xsi:type="xtext:Assignment" feature="idElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </abstractTokens>
+ <abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
- <abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Keyword" value="extends"/>
- <abstractTokens xsi:type="xtext:Assignment" feature="superGrammarIdElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </abstractTokens>
- </abstractTokens>
- <abstractTokens xsi:type="xtext:Group" cardinality="*">
- <abstractTokens xsi:type="xtext:Keyword" value="."/>
- <abstractTokens xsi:type="xtext:Assignment" feature="superGrammarIdElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </abstractTokens>
+ <abstractTokens xsi:type="xtext:Keyword" value="extends"/>
+ <abstractTokens xsi:type="xtext:Assignment" feature="superGrammar" operator="=">
+ <terminal xsi:type="xtext:CrossReference" rule="/0/@rules.1">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//Grammar"/>
+ </type>
+ </terminal>
</abstractTokens>
</abstractTokens>
</abstractTokens>
@@ -81,11 +69,23 @@
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="*" feature="metamodelDeclarations" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="+" feature="rules" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
+ </abstractTokens>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="GrammarID">
+ <type metamodel="/0/@metamodelDeclarations.1">
+ <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
+ <abstractTokens xsi:type="xtext:Group" cardinality="*">
+ <abstractTokens xsi:type="xtext:Keyword" value="."/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
</abstractTokens>
</alternatives>
</rules>
@@ -95,10 +95,10 @@
</type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
<groups xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AbstractMetamodelDeclaration">
@@ -106,8 +106,8 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractMetamodelDeclaration"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
<groups xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="GeneratedMetamodel">
@@ -181,7 +181,7 @@
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
@@ -209,7 +209,7 @@
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
@@ -247,7 +247,7 @@
<abstractTokens xsi:type="xtext:Keyword" value=":"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="alternatives" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=";"/>
@@ -272,14 +272,14 @@
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=":"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="alternatives" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=";"/>
@@ -314,7 +314,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="groups" operator="+=">
@@ -325,7 +325,7 @@
<abstractTokens xsi:type="xtext:Keyword" value="|"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="groups" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -335,7 +335,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="groups" operator="+=">
@@ -346,7 +346,7 @@
<abstractTokens xsi:type="xtext:Keyword" value="|"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="groups" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -356,7 +356,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Action" feature="abstractTokens" operator="+=">
<typeName metamodel="/0/@metamodelDeclarations.0">
@@ -364,7 +364,7 @@
</typeName>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="abstractTokens" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -374,7 +374,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Action" feature="abstractTokens" operator="+=">
<typeName metamodel="/0/@metamodelDeclarations.0">
@@ -382,7 +382,7 @@
</typeName>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="abstractTokens" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -394,10 +394,10 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
<groups xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="cardinality" operator="=">
<terminal xsi:type="xtext:Alternatives">
@@ -415,7 +415,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
<abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="cardinality" operator="=">
<terminal xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
@@ -447,7 +447,7 @@
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
</abstractTokens>
</alternatives>
</rules>
@@ -469,7 +469,7 @@
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="typeName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value="."/>
@@ -497,12 +497,12 @@
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
<groups xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="TerminalTokenElement">
@@ -513,14 +513,14 @@
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AbstractNegatedToken">
@@ -528,8 +528,8 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractNegatedToken"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
<groups xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
+ <groups xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="NegatedToken">
@@ -539,7 +539,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="!"/>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</abstractTokens>
</alternatives>
</rules>
@@ -550,7 +550,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="->"/>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</abstractTokens>
</alternatives>
</rules>
@@ -567,7 +567,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/Test/XtextTest#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="left" operator="=">
@@ -578,7 +578,7 @@
<abstractTokens xsi:type="xtext:Keyword" value=".."/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="right" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -592,7 +592,7 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="["/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
@@ -616,7 +616,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="("/>
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=")"/>
</alternatives>
@@ -628,7 +628,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="("/>
- <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=")"/>
</alternatives>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextTest.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextTest.ecore
index d2ac29f..8a9eada 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextTest.ecore
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/XtextTest.ecore
@@ -4,12 +4,10 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="idElements" unique="false" upperBound="-1">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="superGrammarIdElements" unique="false" upperBound="-1">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="superGrammar" eType="//Grammar"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="definesHiddenTokens">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eStructuralFeatures>
@@ -18,10 +16,10 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="rules" upperBound="-1" eType="//AbstractRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractRule">
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="//TypeRef" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="//TypeRef" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractMetamodelDeclaration">
<eStructuralFeatures xsi:type="ecore:EReference" name="ePackage">
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
index 2c7fea0..ba8eb94 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g
@@ -78,11 +78,11 @@ ruleGrammar returns [EObject current=null]
}
@after { resetLookahead();
}:
-((((((((
+(((((((
lv_abstract='abstract language'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0/@terminal" /* xtext::Keyword */, "abstract");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0/@terminal" /* xtext::Keyword */, "abstract");
}
{
@@ -101,101 +101,54 @@ ruleGrammar returns [EObject current=null]
)
|'language'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
}
)(
- lv_idElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
- }
-
- {
- if ($current==null) {
- $current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, $current);
- }
-
- try {
- factory.add($current, "idElements", lv_idElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
+
+ {
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
-
-))('.'
- {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- }
-(
-
- lv_idElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
- }
-
+ lv_name=ruleGrammarID
{
if ($current==null) {
$current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
try {
- factory.add($current, "idElements", lv_idElements, "ID", currentNode);
+ factory.set($current, "name", lv_name, "GrammarID", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
+ currentNode = currentNode.getParent();
}
-))*)(('extends'
+))('extends'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
- lv_superGrammarIdElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
- }
-
- {
- if ($current==null) {
+
+ {
+ if ($current==null) {
$current = factory.create("Grammar");
associateNodeWithAstElement(currentNode, $current);
}
-
- try {
- factory.add($current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-))('.'
- {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ }
+(
+
+ {
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, currentNode);
}
-(
-
- lv_superGrammarIdElements=RULE_ID
+ ruleGrammarID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
+ currentNode = currentNode.getParent();
}
-
- {
- if ($current==null) {
- $current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, $current);
- }
-
- try {
- factory.add($current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
+)
-))*)?)((((
+))?)((((
lv_definesHiddenTokens='hidden'
{
@@ -307,9 +260,52 @@ ruleGrammar returns [EObject current=null]
+// Entry rule entryRuleGrammarID
+entryRuleGrammarID returns [String current=null] :
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1" /* xtext::ParserRule */, currentNode); }
+ iv_ruleGrammarID=ruleGrammarID
+ { $current=$iv_ruleGrammarID.current.getText(); }
+ EOF
+;
+
+// Rule GrammarID
+ruleGrammarID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+ @init { setCurrentLookahead(); resetLookahead();
+ }
+ @after { resetLookahead();
+ }:
+( this_ID=RULE_ID {
+ $current.merge(this_ID);
+ }
+
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, null);
+ }
+(
+ kw='.'
+ {
+ $current.merge(kw);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ }
+ this_ID=RULE_ID {
+ $current.merge(this_ID);
+ }
+
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.1" /* xtext::RuleCall */, null);
+ }
+)*)
+ ;
+
+
+
+
+
+
+
// Entry rule entryRuleAbstractRule
entryRuleAbstractRule returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractRule=ruleAbstractRule
{ $current=$iv_ruleAbstractRule.current; }
EOF
@@ -323,7 +319,7 @@ ruleAbstractRule returns [EObject current=null]
}:
((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_LexerRule=ruleLexerRule
{
@@ -333,7 +329,7 @@ ruleAbstractRule returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ParserRule=ruleParserRule
{
@@ -343,7 +339,7 @@ ruleAbstractRule returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_TerminalRule=ruleTerminalRule
{
@@ -360,7 +356,7 @@ ruleAbstractRule returns [EObject current=null]
// Entry rule entryRuleAbstractMetamodelDeclaration
entryRuleAbstractMetamodelDeclaration returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractMetamodelDeclaration=ruleAbstractMetamodelDeclaration
{ $current=$iv_ruleAbstractMetamodelDeclaration.current; }
EOF
@@ -374,7 +370,7 @@ ruleAbstractMetamodelDeclaration returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_GeneratedMetamodel=ruleGeneratedMetamodel
{
@@ -384,7 +380,7 @@ ruleAbstractMetamodelDeclaration returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ReferencedMetamodel=ruleReferencedMetamodel
{
@@ -401,7 +397,7 @@ ruleAbstractMetamodelDeclaration returns [EObject current=null]
// Entry rule entryRuleGeneratedMetamodel
entryRuleGeneratedMetamodel returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4" /* xtext::ParserRule */, currentNode); }
iv_ruleGeneratedMetamodel=ruleGeneratedMetamodel
{ $current=$iv_ruleGeneratedMetamodel.current; }
EOF
@@ -415,13 +411,13 @@ ruleGeneratedMetamodel returns [EObject current=null]
}:
((('generate'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
lv_name=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
}
{
@@ -448,19 +444,19 @@ ruleGeneratedMetamodel returns [EObject current=null]
}
(
RULE_STRING {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
}
)
))('as'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
lv_alias=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
}
{
@@ -486,7 +482,7 @@ ruleGeneratedMetamodel returns [EObject current=null]
// Entry rule entryRuleReferencedMetamodel
entryRuleReferencedMetamodel returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5" /* xtext::ParserRule */, currentNode); }
iv_ruleReferencedMetamodel=ruleReferencedMetamodel
{ $current=$iv_ruleReferencedMetamodel.current; }
EOF
@@ -500,7 +496,7 @@ ruleReferencedMetamodel returns [EObject current=null]
}:
(('import'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
@@ -513,19 +509,19 @@ ruleReferencedMetamodel returns [EObject current=null]
}
(
RULE_STRING {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
}
)
))('as'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
lv_alias=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
}
{
@@ -551,7 +547,7 @@ ruleReferencedMetamodel returns [EObject current=null]
// Entry rule entryRuleLexerRule
entryRuleLexerRule returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6" /* xtext::ParserRule */, currentNode); }
iv_ruleLexerRule=ruleLexerRule
{ $current=$iv_ruleLexerRule.current; }
EOF
@@ -565,18 +561,18 @@ ruleLexerRule returns [EObject current=null]
}:
(((((('native'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0" /* xtext::Keyword */, null);
}
|'lexer'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
}
)(
lv_name=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
}
{
@@ -594,13 +590,13 @@ ruleLexerRule returns [EObject current=null]
))('returns'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_type=ruleTypeRef
{
@@ -619,13 +615,13 @@ ruleLexerRule returns [EObject current=null]
))?)':'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
lv_body=RULE_STRING
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "body");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "body");
}
{
@@ -643,7 +639,7 @@ ruleLexerRule returns [EObject current=null]
))';'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -655,7 +651,7 @@ ruleLexerRule returns [EObject current=null]
// Entry rule entryRuleParserRule
entryRuleParserRule returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7" /* xtext::ParserRule */, currentNode); }
iv_ruleParserRule=ruleParserRule
{ $current=$iv_ruleParserRule.current; }
EOF
@@ -671,7 +667,7 @@ ruleParserRule returns [EObject current=null]
lv_name=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "name");
}
{
@@ -689,13 +685,13 @@ ruleParserRule returns [EObject current=null]
)('returns'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_type=ruleTypeRef
{
@@ -716,7 +712,7 @@ ruleParserRule returns [EObject current=null]
lv_definesHiddenTokens='hidden'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
}
{
@@ -734,7 +730,7 @@ ruleParserRule returns [EObject current=null]
)'('
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)((
@@ -747,13 +743,13 @@ ruleParserRule returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
}
)
)(','
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
@@ -766,23 +762,23 @@ ruleParserRule returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
}
)
))*)?)')'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
}
)?)':'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_alternatives=ruleAlternatives
{
@@ -801,7 +797,7 @@ ruleParserRule returns [EObject current=null]
))';'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -813,7 +809,7 @@ ruleParserRule returns [EObject current=null]
// Entry rule entryRuleTerminalRule
entryRuleTerminalRule returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8" /* xtext::ParserRule */, currentNode); }
iv_ruleTerminalRule=ruleTerminalRule
{ $current=$iv_ruleTerminalRule.current; }
EOF
@@ -829,7 +825,7 @@ ruleTerminalRule returns [EObject current=null]
lv_terminal='terminal'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "terminal");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "terminal");
}
{
@@ -849,7 +845,7 @@ ruleTerminalRule returns [EObject current=null]
lv_name=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
}
{
@@ -867,13 +863,13 @@ ruleTerminalRule returns [EObject current=null]
))('returns'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_type=ruleTypeRef
{
@@ -892,13 +888,13 @@ ruleTerminalRule returns [EObject current=null]
))?)':'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_alternatives=ruleTerminalAlternatives
{
@@ -917,7 +913,7 @@ ruleTerminalRule returns [EObject current=null]
))';'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -929,7 +925,7 @@ ruleTerminalRule returns [EObject current=null]
// Entry rule entryRuleTypeRef
entryRuleTypeRef returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9" /* xtext::ParserRule */, currentNode); }
iv_ruleTypeRef=ruleTypeRef
{ $current=$iv_ruleTypeRef.current; }
EOF
@@ -952,13 +948,13 @@ ruleTypeRef returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "metamodel");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "metamodel");
}
)
)'::'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)?(
@@ -971,7 +967,7 @@ ruleTypeRef returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "type");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "type");
}
)
@@ -985,7 +981,7 @@ ruleTypeRef returns [EObject current=null]
// Entry rule entryRuleAlternatives
entryRuleAlternatives returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10" /* xtext::ParserRule */, currentNode); }
iv_ruleAlternatives=ruleAlternatives
{ $current=$iv_ruleAlternatives.current; }
EOF
@@ -999,7 +995,7 @@ ruleAlternatives returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_Group=ruleGroup
{
@@ -1016,7 +1012,7 @@ ruleAlternatives returns [EObject current=null]
}
$current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -1024,13 +1020,13 @@ ruleAlternatives returns [EObject current=null]
}
)'|'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_groups=ruleGroup
{
@@ -1057,7 +1053,7 @@ ruleAlternatives returns [EObject current=null]
// Entry rule entryRuleTerminalAlternatives
entryRuleTerminalAlternatives returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11" /* xtext::ParserRule */, currentNode); }
iv_ruleTerminalAlternatives=ruleTerminalAlternatives
{ $current=$iv_ruleTerminalAlternatives.current; }
EOF
@@ -1071,7 +1067,7 @@ ruleTerminalAlternatives returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_TerminalGroup=ruleTerminalGroup
{
@@ -1088,7 +1084,7 @@ ruleTerminalAlternatives returns [EObject current=null]
}
$current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -1096,13 +1092,13 @@ ruleTerminalAlternatives returns [EObject current=null]
}
)'|'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_groups=ruleTerminalGroup
{
@@ -1129,7 +1125,7 @@ ruleTerminalAlternatives returns [EObject current=null]
// Entry rule entryRuleGroup
entryRuleGroup returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12" /* xtext::ParserRule */, currentNode); }
iv_ruleGroup=ruleGroup
{ $current=$iv_ruleGroup.current; }
EOF
@@ -1143,7 +1139,7 @@ ruleGroup returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_AbstractToken=ruleAbstractToken
{
@@ -1160,7 +1156,7 @@ ruleGroup returns [EObject current=null]
}
$current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -1170,7 +1166,7 @@ ruleGroup returns [EObject current=null]
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_abstractTokens=ruleAbstractToken
{
@@ -1197,7 +1193,7 @@ ruleGroup returns [EObject current=null]
// Entry rule entryRuleTerminalGroup
entryRuleTerminalGroup returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13" /* xtext::ParserRule */, currentNode); }
iv_ruleTerminalGroup=ruleTerminalGroup
{ $current=$iv_ruleTerminalGroup.current; }
EOF
@@ -1211,7 +1207,7 @@ ruleTerminalGroup returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_TerminalToken=ruleTerminalToken
{
@@ -1228,7 +1224,7 @@ ruleTerminalGroup returns [EObject current=null]
}
$current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -1238,7 +1234,7 @@ ruleTerminalGroup returns [EObject current=null]
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_abstractTokens=ruleTerminalToken
{
@@ -1265,7 +1261,7 @@ ruleTerminalGroup returns [EObject current=null]
// Entry rule entryRuleAbstractToken
entryRuleAbstractToken returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractToken=ruleAbstractToken
{ $current=$iv_ruleAbstractToken.current; }
EOF
@@ -1279,7 +1275,7 @@ ruleAbstractToken returns [EObject current=null]
}:
(((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_Assignment=ruleAssignment
{
@@ -1289,7 +1285,7 @@ ruleAbstractToken returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Action=ruleAction
{
@@ -1299,7 +1295,7 @@ ruleAbstractToken returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_AbstractTerminal=ruleAbstractTerminal
{
@@ -1310,17 +1306,17 @@ ruleAbstractToken returns [EObject current=null]
lv_cardinality=(('?'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
}
|'*'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
}
)
|'+'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
}
)
{
@@ -1346,7 +1342,7 @@ ruleAbstractToken returns [EObject current=null]
// Entry rule entryRuleTerminalToken
entryRuleTerminalToken returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15" /* xtext::ParserRule */, currentNode); }
iv_ruleTerminalToken=ruleTerminalToken
{ $current=$iv_ruleTerminalToken.current; }
EOF
@@ -1360,7 +1356,7 @@ ruleTerminalToken returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_TerminalTokenElement=ruleTerminalTokenElement
{
@@ -1371,17 +1367,17 @@ ruleTerminalToken returns [EObject current=null]
lv_cardinality=(('?'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
}
|'*'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
}
)
|'+'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
}
)
{
@@ -1407,7 +1403,7 @@ ruleTerminalToken returns [EObject current=null]
// Entry rule entryRuleAssignment
entryRuleAssignment returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16" /* xtext::ParserRule */, currentNode); }
iv_ruleAssignment=ruleAssignment
{ $current=$iv_ruleAssignment.current; }
EOF
@@ -1423,7 +1419,7 @@ ruleAssignment returns [EObject current=null]
lv_feature=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "feature");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "feature");
}
{
@@ -1443,17 +1439,17 @@ ruleAssignment returns [EObject current=null]
lv_operator=(('+='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "operator");
}
|'='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "operator");
}
)
|'?='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
}
)
{
@@ -1473,7 +1469,7 @@ ruleAssignment returns [EObject current=null]
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_terminal=ruleAbstractTerminal
{
@@ -1500,7 +1496,7 @@ ruleAssignment returns [EObject current=null]
// Entry rule entryRuleAction
entryRuleAction returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17" /* xtext::ParserRule */, currentNode); }
iv_ruleAction=ruleAction
{ $current=$iv_ruleAction.current; }
EOF
@@ -1514,21 +1510,21 @@ ruleAction returns [EObject current=null]
}:
((((((('{'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
('current'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
'='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
}
)?)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_typeName=ruleTypeRef
{
@@ -1547,13 +1543,13 @@ ruleAction returns [EObject current=null]
))'.'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
lv_feature=RULE_ID
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "feature");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "feature");
}
{
@@ -1573,12 +1569,12 @@ ruleAction returns [EObject current=null]
lv_operator=('='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0" /* xtext::Keyword */, "operator");
}
|'+='
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
}
)
{
@@ -1596,11 +1592,11 @@ ruleAction returns [EObject current=null]
))'current'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)'}'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -1612,7 +1608,7 @@ ruleAction returns [EObject current=null]
// Entry rule entryRuleAbstractTerminal
entryRuleAbstractTerminal returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractTerminal=ruleAbstractTerminal
{ $current=$iv_ruleAbstractTerminal.current; }
EOF
@@ -1626,7 +1622,7 @@ ruleAbstractTerminal returns [EObject current=null]
}:
(((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_Keyword=ruleKeyword
{
@@ -1636,7 +1632,7 @@ ruleAbstractTerminal returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_RuleCall=ruleRuleCall
{
@@ -1646,7 +1642,7 @@ ruleAbstractTerminal returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ParenthesizedElement=ruleParenthesizedElement
{
@@ -1656,7 +1652,7 @@ ruleAbstractTerminal returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_CrossReference=ruleCrossReference
{
@@ -1673,7 +1669,7 @@ ruleAbstractTerminal returns [EObject current=null]
// Entry rule entryRuleTerminalTokenElement
entryRuleTerminalTokenElement returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19" /* xtext::ParserRule */, currentNode); }
iv_ruleTerminalTokenElement=ruleTerminalTokenElement
{ $current=$iv_ruleTerminalTokenElement.current; }
EOF
@@ -1687,7 +1683,7 @@ ruleTerminalTokenElement returns [EObject current=null]
}:
((((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_CharacterRange=ruleCharacterRange
{
@@ -1697,7 +1693,7 @@ ruleTerminalTokenElement returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_RuleCall=ruleRuleCall
{
@@ -1707,7 +1703,7 @@ ruleTerminalTokenElement returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ParenthesizedTerminalElement=ruleParenthesizedTerminalElement
{
@@ -1717,7 +1713,7 @@ ruleTerminalTokenElement returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_AbstractNegatedToken=ruleAbstractNegatedToken
{
@@ -1727,7 +1723,7 @@ ruleTerminalTokenElement returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_Wildcard=ruleWildcard
{
@@ -1744,7 +1740,7 @@ ruleTerminalTokenElement returns [EObject current=null]
// Entry rule entryRuleAbstractNegatedToken
entryRuleAbstractNegatedToken returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractNegatedToken=ruleAbstractNegatedToken
{ $current=$iv_ruleAbstractNegatedToken.current; }
EOF
@@ -1758,7 +1754,7 @@ ruleAbstractNegatedToken returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_NegatedToken=ruleNegatedToken
{
@@ -1768,7 +1764,7 @@ ruleAbstractNegatedToken returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_UpToToken=ruleUpToToken
{
@@ -1785,7 +1781,7 @@ ruleAbstractNegatedToken returns [EObject current=null]
// Entry rule entryRuleNegatedToken
entryRuleNegatedToken returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21" /* xtext::ParserRule */, currentNode); }
iv_ruleNegatedToken=ruleNegatedToken
{ $current=$iv_ruleNegatedToken.current; }
EOF
@@ -1799,13 +1795,13 @@ ruleNegatedToken returns [EObject current=null]
}:
('!'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_terminal=ruleTerminalTokenElement
{
@@ -1832,7 +1828,7 @@ ruleNegatedToken returns [EObject current=null]
// Entry rule entryRuleUpToToken
entryRuleUpToToken returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22" /* xtext::ParserRule */, currentNode); }
iv_ruleUpToToken=ruleUpToToken
{ $current=$iv_ruleUpToToken.current; }
EOF
@@ -1846,13 +1842,13 @@ ruleUpToToken returns [EObject current=null]
}:
('->'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_terminal=ruleTerminalTokenElement
{
@@ -1879,7 +1875,7 @@ ruleUpToToken returns [EObject current=null]
// Entry rule entryRuleWildcard
entryRuleWildcard returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23" /* xtext::ParserRule */, currentNode); }
iv_ruleWildcard=ruleWildcard
{ $current=$iv_ruleWildcard.current; }
EOF
@@ -1895,7 +1891,7 @@ ruleWildcard returns [EObject current=null]
lv_isWildcard='.'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@terminal" /* xtext::Keyword */, "isWildcard");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@terminal" /* xtext::Keyword */, "isWildcard");
}
{
@@ -1921,7 +1917,7 @@ ruleWildcard returns [EObject current=null]
// Entry rule entryRuleCharacterRange
entryRuleCharacterRange returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24" /* xtext::ParserRule */, currentNode); }
iv_ruleCharacterRange=ruleCharacterRange
{ $current=$iv_ruleCharacterRange.current; }
EOF
@@ -1935,7 +1931,7 @@ ruleCharacterRange returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
}
this_Keyword=ruleKeyword
{
@@ -1952,7 +1948,7 @@ ruleCharacterRange returns [EObject current=null]
}
$current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -1960,13 +1956,13 @@ ruleCharacterRange returns [EObject current=null]
}
)'..'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
)(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_right=ruleKeyword
{
@@ -1993,7 +1989,7 @@ ruleCharacterRange returns [EObject current=null]
// Entry rule entryRuleCrossReference
entryRuleCrossReference returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25" /* xtext::ParserRule */, currentNode); }
iv_ruleCrossReference=ruleCrossReference
{ $current=$iv_ruleCrossReference.current; }
EOF
@@ -2007,13 +2003,13 @@ ruleCrossReference returns [EObject current=null]
}:
((('['
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
}
lv_type=ruleTypeRef
{
@@ -2032,7 +2028,7 @@ ruleCrossReference returns [EObject current=null]
))('|'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
@@ -2045,13 +2041,13 @@ ruleCrossReference returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "rule");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "rule");
}
)
))?)']'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -2063,7 +2059,7 @@ ruleCrossReference returns [EObject current=null]
// Entry rule entryRuleParenthesizedElement
entryRuleParenthesizedElement returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26" /* xtext::ParserRule */, currentNode); }
iv_ruleParenthesizedElement=ruleParenthesizedElement
{ $current=$iv_ruleParenthesizedElement.current; }
EOF
@@ -2077,11 +2073,11 @@ ruleParenthesizedElement returns [EObject current=null]
}:
(('('
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
}
this_Alternatives=ruleAlternatives
{
@@ -2090,7 +2086,7 @@ ruleParenthesizedElement returns [EObject current=null]
}
)')'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -2102,7 +2098,7 @@ ruleParenthesizedElement returns [EObject current=null]
// Entry rule entryRuleParenthesizedTerminalElement
entryRuleParenthesizedTerminalElement returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27" /* xtext::ParserRule */, currentNode); }
iv_ruleParenthesizedTerminalElement=ruleParenthesizedTerminalElement
{ $current=$iv_ruleParenthesizedTerminalElement.current; }
EOF
@@ -2116,11 +2112,11 @@ ruleParenthesizedTerminalElement returns [EObject current=null]
}:
(('('
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
}
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
}
this_TerminalAlternatives=ruleTerminalAlternatives
{
@@ -2129,7 +2125,7 @@ ruleParenthesizedTerminalElement returns [EObject current=null]
}
)')'
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
@@ -2141,7 +2137,7 @@ ruleParenthesizedTerminalElement returns [EObject current=null]
// Entry rule entryRuleKeyword
entryRuleKeyword returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28" /* xtext::ParserRule */, currentNode); }
iv_ruleKeyword=ruleKeyword
{ $current=$iv_ruleKeyword.current; }
EOF
@@ -2157,7 +2153,7 @@ ruleKeyword returns [EObject current=null]
lv_value=RULE_STRING
{
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@terminal" /* xtext::RuleCall */, "value");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28/@alternatives/@terminal" /* xtext::RuleCall */, "value");
}
{
@@ -2183,7 +2179,7 @@ ruleKeyword returns [EObject current=null]
// Entry rule entryRuleRuleCall
entryRuleRuleCall returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.29" /* xtext::ParserRule */, currentNode); }
iv_ruleRuleCall=ruleRuleCall
{ $current=$iv_ruleRuleCall.current; }
EOF
@@ -2206,7 +2202,7 @@ ruleRuleCall returns [EObject current=null]
}
(
RULE_ID {
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28/@alternatives/@terminal" /* xtext::CrossReference */, "rule");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.29/@alternatives/@terminal" /* xtext::CrossReference */, "rule");
}
)
@@ -2276,6 +2272,8 @@ ruleRuleCall returns [EObject current=null]
+
+
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/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
index 068688f..d513791 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.tokens
@@ -14,26 +14,26 @@ RULE_SL_COMMENT=8
';'=26
']'=43
'?'=30
-','=17
-'hidden'=15
+','=16
+'hidden'=14
'='=34
'['=42
'abstract language'=11
'::'=28
'lexer'=23
'|'=29
-')'=18
+')'=17
'native'=22
'language'=12
'{'=36
'import'=21
'!'=39
'+='=33
-'('=16
+'('=15
'as'=20
':'=25
-'extends'=14
-'.'=13
+'.'=18
+'extends'=13
'*'=31
'}'=38
'+'=32
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 9e8f9da..e1bd559 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
@@ -101,10 +101,11 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:5: ( '.' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:7: '.'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:5: ( 'extends' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:12:7: 'extends'
{
- match('.');
+ match("extends");
+
}
@@ -119,10 +120,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT14() throws RecognitionException {
try {
int _type = T14;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:5: ( 'extends' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:7: 'extends'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:5: ( 'hidden' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:13:7: 'hidden'
{
- match("extends");
+ match("hidden");
}
@@ -138,11 +139,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT15() throws RecognitionException {
try {
int _type = T15;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:5: ( 'hidden' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:7: 'hidden'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:5: ( '(' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:14:7: '('
{
- match("hidden");
-
+ match('(');
}
@@ -157,10 +157,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT16() throws RecognitionException {
try {
int _type = T16;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:5: ( '(' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:7: '('
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:5: ( ',' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:15:7: ','
{
- match('(');
+ match(',');
}
@@ -175,10 +175,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT17() throws RecognitionException {
try {
int _type = T17;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:5: ( ',' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:7: ','
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:5: ( ')' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:16:7: ')'
{
- match(',');
+ match(')');
}
@@ -193,10 +193,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mT18() throws RecognitionException {
try {
int _type = T18;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:5: ( ')' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:7: ')'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:5: ( '.' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:17:7: '.'
{
- match(')');
+ match('.');
}
@@ -674,10 +674,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2277:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2277:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:11: ( '^' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2277:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -686,7 +686,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:12: '^'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2277:12: '^'
{
match('^');
@@ -705,7 +705,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
recover(mse); throw mse;
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2277:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -753,10 +753,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2281:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2281:12: ( '0' .. '9' )+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:12: ( '0' .. '9' )+
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2281:12: ( '0' .. '9' )+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -770,7 +770,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt3) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2281:13: '0' .. '9'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2279:13: '0' .. '9'
{
matchRange('0','9');
@@ -800,7 +800,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2283:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2281:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -812,16 +812,16 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
else {
NoViableAltException nvae =
- new NoViableAltException("2283:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
+ new NoViableAltException("2281:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2284:6: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2282:6: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2284:10: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2282:10: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -837,7 +837,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt4) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2284:12: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2282:12: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -854,7 +854,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2284:56: ~ ( '\\\\' | '\"' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2282:56: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -880,10 +880,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2285:15: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2283:15: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2285:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2283:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -899,7 +899,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2285:22: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2283:22: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -916,7 +916,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2285:66: ~ ( '\\\\' | '\\'' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2283:66: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -954,12 +954,12 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2286:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2286:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:24: ( options {greedy=false; } : . )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2286:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -984,7 +984,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:52: .
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2286:52: .
{
matchAny();
@@ -1012,12 +1012,12 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:24: (~ ( '\\n' | '\\r' ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -1030,7 +1030,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
switch (alt8) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:24: ~ ( '\\n' | '\\r' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:24: ~ ( '\\n' | '\\r' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -1051,7 +1051,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:38: ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1060,9 +1060,9 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:39: ( '\\r' )? '\\n'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:39: ( '\\r' )? '\\n'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:39: ( '\\r' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1071,7 +1071,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:39: '\\r'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2288:39: '\\r'
{
match('\r');
@@ -1101,10 +1101,10 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2292:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2292:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2292:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2290:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -1157,8 +1157,8 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2294:16: ( . )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2294:18: .
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2292:16: ( . )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2292:18: .
{
matchAny();
@@ -1322,22 +1322,13 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
alt12=34;}
}
- else if ( (LA12_0=='.') ) {
- int LA12_3 = input.LA(2);
-
- if ( (LA12_3=='.') ) {
- alt12=31;
- }
- else {
- alt12=3;}
- }
else if ( (LA12_0=='e') ) {
- int LA12_4 = input.LA(2);
+ int LA12_3 = input.LA(2);
- if ( (LA12_4=='x') ) {
- int LA12_43 = input.LA(3);
+ if ( (LA12_3=='x') ) {
+ int LA12_41 = input.LA(3);
- if ( (LA12_43=='t') ) {
+ if ( (LA12_41=='t') ) {
int LA12_79 = input.LA(4);
if ( (LA12_79=='e') ) {
@@ -1356,7 +1347,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
alt12=34;
}
else {
- alt12=4;}
+ alt12=3;}
}
else {
alt12=34;}
@@ -1377,12 +1368,12 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
alt12=34;}
}
else if ( (LA12_0=='h') ) {
- int LA12_5 = input.LA(2);
+ int LA12_4 = input.LA(2);
- if ( (LA12_5=='i') ) {
- int LA12_44 = input.LA(3);
+ if ( (LA12_4=='i') ) {
+ int LA12_42 = input.LA(3);
- if ( (LA12_44=='d') ) {
+ if ( (LA12_42=='d') ) {
int LA12_80 = input.LA(4);
if ( (LA12_80=='d') ) {
@@ -1398,7 +1389,7 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
alt12=34;
}
else {
- alt12=5;}
+ alt12=4;}
}
else {
alt12=34;}
@@ -1416,13 +1407,22 @@ public class InternalXtextGrammarTestLanguageLexer extends Lexer {
alt12=34;}
}
else if ( (LA12_0=='(') ) {
- alt12=6;
+ alt12=5;
}
else if ( (LA12_0==',') ) {
- alt12=7;
+ alt12=6;
}
else if ( (LA12_0==')') ) {
- alt12=8;
+ alt12=7;
+ }
+ else if ( (LA12_0=='.') ) {
+ int LA12_8 = input.LA(2);
+
+ if ( (LA12_8=='.') ) {
+ alt12=31;
+ }
+ else {
+ alt12=8;}
}
else if ( (LA12_0=='g') ) {
int LA12_9 = input.LA(2);
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 6f784d3..357a3d9 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
@@ -22,7 +22,7 @@ import java.util.ArrayList;
public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract language'", "'language'", "'.'", "'extends'", "'hidden'", "'('", "','", "')'", "'generate'", "'as'", "'import'", "'native'", "'lexer'", "'returns'", "':'", "';'", "'terminal'", "'::'", "'|'", "'?'", "'*'", "'+'", "'+='", "'='", "'?='", "'{'", "'current'", "'}'", "'!'", "'->'", "'..'", "'['", "']'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract language'", "'language'", "'extends'", "'hidden'", "'('", "','", "')'", "'.'", "'generate'", "'as'", "'import'", "'native'", "'lexer'", "'returns'", "':'", "';'", "'terminal'", "'::'", "'|'", "'?'", "'*'", "'+'", "'+='", "'='", "'?='", "'{'", "'current'", "'}'", "'!'", "'->'", "'..'", "'['", "']'"
};
public static final int RULE_ML_COMMENT=7;
public static final int RULE_ID=4;
@@ -98,14 +98,14 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGrammar
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:76:1: ruleGrammar returns [EObject current=null] : ( ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:76:1: ruleGrammar returns [EObject current=null] : ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ ) ;
public final EObject ruleGrammar() throws RecognitionException {
EObject current = null;
Token lv_abstract=null;
- Token lv_idElements=null;
- Token lv_superGrammarIdElements=null;
Token lv_definesHiddenTokens=null;
+ AntlrDatatypeRuleToken lv_name = null;
+
EObject lv_metamodelDeclarations = null;
EObject lv_rules = null;
@@ -114,28 +114,25 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:80:6: ( ( ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:1: ( ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ )
- {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:1: ( ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:2: ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:80:6: ( ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:1: ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:2: ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:3: ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:1: ( ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+ )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:2: ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* ) (lv_rules= ruleAbstractRule )+
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:3: ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:4: ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:2: ( ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:3: ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )*
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:4: ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:5: ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* ) ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:3: ( ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:4: ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:5: ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:6: ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) ) ( '.' (lv_idElements= RULE_ID ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:4: ( ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:5: ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) ) ( 'extends' ( ( ruleGrammarID ) ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:6: ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:7: ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_idElements= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:5: ( ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:6: ( (lv_abstract= 'abstract language' ) | 'language' ) (lv_name= ruleGrammarID )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:7: ( (lv_abstract= 'abstract language' ) | 'language' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:6: ( (lv_abstract= 'abstract language' ) | 'language' )
int alt1=2;
int LA1_0 = input.LA(1);
@@ -147,21 +144,21 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
else {
NoViableAltException nvae =
- new NoViableAltException("81:7: ( (lv_abstract= 'abstract language' ) | 'language' )", 1, 0, input);
+ new NoViableAltException("81:6: ( (lv_abstract= 'abstract language' ) | 'language' )", 1, 0, input);
throw nvae;
}
switch (alt1) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:8: (lv_abstract= 'abstract language' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:7: (lv_abstract= 'abstract language' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:8: (lv_abstract= 'abstract language' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:81:7: (lv_abstract= 'abstract language' )
// ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:83:6: lv_abstract= 'abstract language'
{
lv_abstract=(Token)input.LT(1);
- match(input,11,FOLLOW_11_in_ruleGrammar134);
+ match(input,11,FOLLOW_11_in_ruleGrammar133);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0/@terminal" /* xtext::Keyword */, "abstract");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0/@terminal" /* xtext::Keyword */, "abstract");
if (current==null) {
@@ -184,9 +181,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
case 2 :
// ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:102:6: 'language'
{
- match(input,12,FOLLOW_12_in_ruleGrammar161);
+ match(input,12,FOLLOW_12_in_ruleGrammar160);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
}
@@ -194,25 +191,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:106:2: (lv_idElements= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:108:6: lv_idElements= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:106:2: (lv_name= ruleGrammarID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:109:6: lv_name= ruleGrammarID
{
- lv_idElements=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar183);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
-
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+
+ pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar195);
+ lv_name=ruleGrammarID();
+ _fsp--;
+
if (current==null) {
current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
- factory.add(current, "idElements", lv_idElements, "ID", currentNode);
+ factory.set(current, "name", lv_name, "GrammarID", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
+ currentNode = currentNode.getParent();
}
@@ -220,154 +220,48 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:126:3: ( '.' (lv_idElements= RULE_ID ) )*
- loop2:
- do {
- int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0==13) ) {
- alt2=1;
- }
-
-
- switch (alt2) {
- case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:126:4: '.' (lv_idElements= RULE_ID )
- {
- match(input,13,FOLLOW_13_in_ruleGrammar205);
-
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
-
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:130:1: (lv_idElements= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:132:6: lv_idElements= RULE_ID
- {
- lv_idElements=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar226);
-
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
-
-
- if (current==null) {
- current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, current);
- }
-
- try {
- factory.add(current, "idElements", lv_idElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
-
- }
-
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:150:5: ( ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )* )?
- int alt4=2;
- int LA4_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:127:3: ( 'extends' ( ( ruleGrammarID ) ) )?
+ int alt2=2;
+ int LA2_0 = input.LA(1);
- if ( (LA4_0==14) ) {
- alt4=1;
+ if ( (LA2_0==13) ) {
+ alt2=1;
}
- switch (alt4) {
+ switch (alt2) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:150:6: ( 'extends' (lv_superGrammarIdElements= RULE_ID ) ) ( '.' (lv_superGrammarIdElements= RULE_ID ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:127:4: 'extends' ( ( ruleGrammarID ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:150:6: ( 'extends' (lv_superGrammarIdElements= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:150:7: 'extends' (lv_superGrammarIdElements= RULE_ID )
- {
- match(input,14,FOLLOW_14_in_ruleGrammar251);
+ match(input,13,FOLLOW_13_in_ruleGrammar210);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:154:1: (lv_superGrammarIdElements= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:156:6: lv_superGrammarIdElements= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:131:1: ( ( ruleGrammarID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:134:3: ( ruleGrammarID )
{
- lv_superGrammarIdElements=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar272);
-
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
-
- if (current==null) {
+ if (current==null) {
current = factory.create("Grammar");
associateNodeWithAstElement(currentNode, current);
}
-
- try {
- factory.add(current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:140:1: ( ruleGrammarID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:142:5: ruleGrammarID
+ {
+
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, currentNode);
+
+ pushFollow(FOLLOW_ruleGrammarID_in_ruleGrammar241);
+ ruleGrammarID();
+ _fsp--;
+
+ currentNode = currentNode.getParent();
+
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:174:3: ( '.' (lv_superGrammarIdElements= RULE_ID ) )*
- loop3:
- do {
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0==13) ) {
- alt3=1;
- }
-
- switch (alt3) {
- case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:174:4: '.' (lv_superGrammarIdElements= RULE_ID )
- {
- match(input,13,FOLLOW_13_in_ruleGrammar294);
-
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
-
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:178:1: (lv_superGrammarIdElements= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:180:6: lv_superGrammarIdElements= RULE_ID
- {
- lv_superGrammarIdElements=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar315);
-
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
-
-
- if (current==null) {
- current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, current);
- }
-
- try {
- factory.add(current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop3;
- }
- } while (true);
+ }
}
@@ -378,28 +272,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:7: ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
- int alt7=2;
- int LA7_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:5: ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
+ int alt5=2;
+ int LA5_0 = input.LA(1);
- if ( (LA7_0==15) ) {
- alt7=1;
+ if ( (LA5_0==14) ) {
+ alt5=1;
}
- switch (alt7) {
+ switch (alt5) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:8: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:8: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:9: ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:9: ( (lv_definesHiddenTokens= 'hidden' ) '(' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:10: (lv_definesHiddenTokens= 'hidden' ) '('
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:8: (lv_definesHiddenTokens= 'hidden' ) '('
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:198:10: (lv_definesHiddenTokens= 'hidden' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:200:6: lv_definesHiddenTokens= 'hidden'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:151:8: (lv_definesHiddenTokens= 'hidden' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:153:6: lv_definesHiddenTokens= 'hidden'
{
lv_definesHiddenTokens=(Token)input.LT(1);
- match(input,15,FOLLOW_15_in_ruleGrammar355);
+ match(input,14,FOLLOW_14_in_ruleGrammar273);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
@@ -418,26 +312,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,16,FOLLOW_16_in_ruleGrammar376);
+ match(input,15,FOLLOW_15_in_ruleGrammar294);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:222:2: ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
- int alt6=2;
- int LA6_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:175:2: ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
+ int alt4=2;
+ int LA4_0 = input.LA(1);
- if ( (LA6_0==RULE_ID) ) {
- alt6=1;
+ if ( (LA4_0==RULE_ID) ) {
+ alt4=1;
}
- switch (alt6) {
+ switch (alt4) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:222:3: ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:175:3: ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:222:3: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:225:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:175:3: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:178:3: ( RULE_ID )
{
if (current==null) {
@@ -445,10 +339,10 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:231:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:232:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:184:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:185:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar402);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar320);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
@@ -458,27 +352,27 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:237:2: ( ',' ( ( RULE_ID ) ) )*
- loop5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:190:2: ( ',' ( ( RULE_ID ) ) )*
+ loop3:
do {
- int alt5=2;
- int LA5_0 = input.LA(1);
+ int alt3=2;
+ int LA3_0 = input.LA(1);
- if ( (LA5_0==17) ) {
- alt5=1;
+ if ( (LA3_0==16) ) {
+ alt3=1;
}
- switch (alt5) {
+ switch (alt3) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:237:3: ',' ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:190:3: ',' ( ( RULE_ID ) )
{
- match(input,17,FOLLOW_17_in_ruleGrammar416);
+ match(input,16,FOLLOW_16_in_ruleGrammar334);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:241:1: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:244:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:194:1: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:197:3: ( RULE_ID )
{
if (current==null) {
@@ -486,10 +380,10 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:250:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:251:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:203:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:204:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar440);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammar358);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
@@ -504,7 +398,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop5;
+ break loop3;
}
} while (true);
@@ -517,7 +411,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,18,FOLLOW_18_in_ruleGrammar458);
+ match(input,17,FOLLOW_17_in_ruleGrammar376);
createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -530,25 +424,25 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:260:4: (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )*
- loop8:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:213:4: (lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration )*
+ loop6:
do {
- int alt8=2;
- int LA8_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( (LA8_0==19||LA8_0==21) ) {
- alt8=1;
+ if ( (LA6_0==19||LA6_0==21) ) {
+ alt6=1;
}
- switch (alt8) {
+ switch (alt6) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:263:6: lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:216:6: lv_metamodelDeclarations= ruleAbstractMetamodelDeclaration
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar495);
+ pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar413);
lv_metamodelDeclarations=ruleAbstractMetamodelDeclaration();
_fsp--;
@@ -570,33 +464,33 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop8;
+ break loop6;
}
} while (true);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:281:4: (lv_rules= ruleAbstractRule )+
- int cnt9=0;
- loop9:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:234:4: (lv_rules= ruleAbstractRule )+
+ int cnt7=0;
+ loop7:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt7=2;
+ int LA7_0 = input.LA(1);
- if ( (LA9_0==RULE_ID||(LA9_0>=22 && LA9_0<=23)||LA9_0==27) ) {
- alt9=1;
+ if ( (LA7_0==RULE_ID||(LA7_0>=22 && LA7_0<=23)||LA7_0==27) ) {
+ alt7=1;
}
- switch (alt9) {
+ switch (alt7) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:284:6: lv_rules= ruleAbstractRule
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:237:6: lv_rules= ruleAbstractRule
{
currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractRule_in_ruleGrammar535);
+ pushFollow(FOLLOW_ruleAbstractRule_in_ruleGrammar453);
lv_rules=ruleAbstractRule();
_fsp--;
@@ -618,12 +512,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- if ( cnt9 >= 1 ) break loop9;
+ if ( cnt7 >= 1 ) break loop7;
EarlyExitException eee =
- new EarlyExitException(9, input);
+ new EarlyExitException(7, input);
throw eee;
}
- cnt9++;
+ cnt7++;
} while (true);
@@ -647,8 +541,127 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR end ruleGrammar
+ // $ANTLR start entryRuleGrammarID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:264:1: entryRuleGrammarID returns [String current=null] : iv_ruleGrammarID= ruleGrammarID EOF ;
+ public final String entryRuleGrammarID() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleGrammarID = null;
+
+
+ try {
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:264:50: (iv_ruleGrammarID= ruleGrammarID EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:265:2: iv_ruleGrammarID= ruleGrammarID EOF
+ {
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleGrammarID_in_entryRuleGrammarID494);
+ iv_ruleGrammarID=ruleGrammarID();
+ _fsp--;
+
+ current =iv_ruleGrammarID.getText();
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGrammarID505);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end entryRuleGrammarID
+
+
+ // $ANTLR start ruleGrammarID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:272:1: ruleGrammarID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID= RULE_ID (kw= '.' this_ID= RULE_ID )* ) ;
+ public final AntlrDatatypeRuleToken ruleGrammarID() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_ID=null;
+ Token kw=null;
+
+ setCurrentLookahead(); resetLookahead();
+
+ try {
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:276:6: ( (this_ID= RULE_ID (kw= '.' this_ID= RULE_ID )* ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:277:1: (this_ID= RULE_ID (kw= '.' this_ID= RULE_ID )* )
+ {
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:277:1: (this_ID= RULE_ID (kw= '.' this_ID= RULE_ID )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:277:6: this_ID= RULE_ID (kw= '.' this_ID= RULE_ID )*
+ {
+ this_ID=(Token)input.LT(1);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID545);
+
+ current.merge(this_ID);
+
+
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, null);
+
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:284:1: (kw= '.' this_ID= RULE_ID )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( (LA8_0==18) ) {
+ alt8=1;
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:285:2: kw= '.' this_ID= RULE_ID
+ {
+ kw=(Token)input.LT(1);
+ match(input,18,FOLLOW_18_in_ruleGrammarID564);
+
+ current.merge(kw);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+
+ this_ID=(Token)input.LT(1);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGrammarID579);
+
+ current.merge(this_ID);
+
+
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.1" /* xtext::RuleCall */, null);
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ resetLookahead();
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end ruleGrammarID
+
+
// $ANTLR start entryRuleAbstractRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:311:1: entryRuleAbstractRule returns [EObject current=null] : iv_ruleAbstractRule= ruleAbstractRule EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:307:1: entryRuleAbstractRule returns [EObject current=null] : iv_ruleAbstractRule= ruleAbstractRule EOF ;
public final EObject entryRuleAbstractRule() throws RecognitionException {
EObject current = null;
@@ -656,16 +669,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:311:54: (iv_ruleAbstractRule= ruleAbstractRule EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:312:2: iv_ruleAbstractRule= ruleAbstractRule EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:307:54: (iv_ruleAbstractRule= ruleAbstractRule EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:308:2: iv_ruleAbstractRule= ruleAbstractRule EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule575);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule626);
iv_ruleAbstractRule=ruleAbstractRule();
_fsp--;
current =iv_ruleAbstractRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractRule585);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractRule636);
}
@@ -683,7 +696,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:319:1: ruleAbstractRule returns [EObject current=null] : ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:315:1: ruleAbstractRule returns [EObject current=null] : ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule ) ;
public final EObject ruleAbstractRule() throws RecognitionException {
EObject current = null;
@@ -697,53 +710,53 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:323:6: ( ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:324:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:319:6: ( ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:320:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:324:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:320:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA11_0==RULE_ID||(LA11_0>=22 && LA11_0<=23)) ) {
- alt11=1;
+ if ( (LA10_0==RULE_ID||(LA10_0>=22 && LA10_0<=23)) ) {
+ alt10=1;
}
- else if ( (LA11_0==27) ) {
- alt11=2;
+ else if ( (LA10_0==27) ) {
+ alt10=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("324:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )", 11, 0, input);
+ new NoViableAltException("320:1: ( (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule ) | this_TerminalRule= ruleTerminalRule )", 10, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt10) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:324:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:320:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:324:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:320:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( ((LA10_0>=22 && LA10_0<=23)) ) {
- alt10=1;
+ if ( ((LA9_0>=22 && LA9_0<=23)) ) {
+ alt9=1;
}
- else if ( (LA10_0==RULE_ID) ) {
- alt10=2;
+ else if ( (LA9_0==RULE_ID) ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("324:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )", 10, 0, input);
+ new NoViableAltException("320:2: (this_LexerRule= ruleLexerRule | this_ParserRule= ruleParserRule )", 9, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt9) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:325:5: this_LexerRule= ruleLexerRule
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:321:5: this_LexerRule= ruleLexerRule
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleLexerRule_in_ruleAbstractRule633);
+ pushFollow(FOLLOW_ruleLexerRule_in_ruleAbstractRule684);
this_LexerRule=ruleLexerRule();
_fsp--;
@@ -755,12 +768,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:335:5: this_ParserRule= ruleParserRule
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:331:5: this_ParserRule= ruleParserRule
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleParserRule_in_ruleAbstractRule660);
+ pushFollow(FOLLOW_ruleParserRule_in_ruleAbstractRule711);
this_ParserRule=ruleParserRule();
_fsp--;
@@ -778,12 +791,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:345:5: this_TerminalRule= ruleTerminalRule
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:341:5: this_TerminalRule= ruleTerminalRule
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalRule_in_ruleAbstractRule688);
+ pushFollow(FOLLOW_ruleTerminalRule_in_ruleAbstractRule739);
this_TerminalRule=ruleTerminalRule();
_fsp--;
@@ -816,7 +829,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractMetamodelDeclaration
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:362:1: entryRuleAbstractMetamodelDeclaration returns [EObject current=null] : iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:358:1: entryRuleAbstractMetamodelDeclaration returns [EObject current=null] : iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF ;
public final EObject entryRuleAbstractMetamodelDeclaration() throws RecognitionException {
EObject current = null;
@@ -824,16 +837,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:362:70: (iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:363:2: iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:358:70: (iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:359:2: iv_ruleAbstractMetamodelDeclaration= ruleAbstractMetamodelDeclaration EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration722);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration773);
iv_ruleAbstractMetamodelDeclaration=ruleAbstractMetamodelDeclaration();
_fsp--;
current =iv_ruleAbstractMetamodelDeclaration;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration732);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration783);
}
@@ -851,7 +864,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractMetamodelDeclaration
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:370:1: ruleAbstractMetamodelDeclaration returns [EObject current=null] : (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:366:1: ruleAbstractMetamodelDeclaration returns [EObject current=null] : (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel ) ;
public final EObject ruleAbstractMetamodelDeclaration() throws RecognitionException {
EObject current = null;
@@ -863,33 +876,33 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:374:6: ( (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:375:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:370:6: ( (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:371:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:375:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:371:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA12_0==19) ) {
- alt12=1;
+ if ( (LA11_0==19) ) {
+ alt11=1;
}
- else if ( (LA12_0==21) ) {
- alt12=2;
+ else if ( (LA11_0==21) ) {
+ alt11=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("375:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )", 12, 0, input);
+ new NoViableAltException("371:1: (this_GeneratedMetamodel= ruleGeneratedMetamodel | this_ReferencedMetamodel= ruleReferencedMetamodel )", 11, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt11) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:376:5: this_GeneratedMetamodel= ruleGeneratedMetamodel
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:372:5: this_GeneratedMetamodel= ruleGeneratedMetamodel
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration779);
+ pushFollow(FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration830);
this_GeneratedMetamodel=ruleGeneratedMetamodel();
_fsp--;
@@ -901,12 +914,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:386:5: this_ReferencedMetamodel= ruleReferencedMetamodel
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:382:5: this_ReferencedMetamodel= ruleReferencedMetamodel
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.2/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration806);
+ pushFollow(FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration857);
this_ReferencedMetamodel=ruleReferencedMetamodel();
_fsp--;
@@ -939,7 +952,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleGeneratedMetamodel
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:403:1: entryRuleGeneratedMetamodel returns [EObject current=null] : iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:399:1: entryRuleGeneratedMetamodel returns [EObject current=null] : iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF ;
public final EObject entryRuleGeneratedMetamodel() throws RecognitionException {
EObject current = null;
@@ -947,16 +960,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:403:60: (iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:404:2: iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:399:60: (iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:400:2: iv_ruleGeneratedMetamodel= ruleGeneratedMetamodel EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel840);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel891);
iv_ruleGeneratedMetamodel=ruleGeneratedMetamodel();
_fsp--;
current =iv_ruleGeneratedMetamodel;
- match(input,EOF,FOLLOW_EOF_in_entryRuleGeneratedMetamodel850);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGeneratedMetamodel901);
}
@@ -974,7 +987,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGeneratedMetamodel
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:411:1: ruleGeneratedMetamodel returns [EObject current=null] : ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:407:1: ruleGeneratedMetamodel returns [EObject current=null] : ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) ;
public final EObject ruleGeneratedMetamodel() throws RecognitionException {
EObject current = null;
@@ -984,29 +997,29 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:415:6: ( ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:1: ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:411:6: ( ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:1: ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:1: ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:2: ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:1: ( ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:2: ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:2: ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:3: ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:2: ( ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:3: ( 'generate' (lv_name= RULE_ID ) ) ( ( RULE_STRING ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:3: ( 'generate' (lv_name= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:4: 'generate' (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:3: ( 'generate' (lv_name= RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:412:4: 'generate' (lv_name= RULE_ID )
{
- match(input,19,FOLLOW_19_in_ruleGeneratedMetamodel886);
+ match(input,19,FOLLOW_19_in_ruleGeneratedMetamodel937);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:420:1: (lv_name= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:422:6: lv_name= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:416:1: (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:418:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel907);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel958);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
if (current==null) {
@@ -1026,8 +1039,8 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:440:3: ( ( RULE_STRING ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:443:3: ( RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:436:3: ( ( RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:439:3: ( RULE_STRING )
{
if (current==null) {
@@ -1035,12 +1048,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:449:1: ( RULE_STRING )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:450:2: RULE_STRING
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:445:1: ( RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:446:2: RULE_STRING
{
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel943);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel994);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
}
@@ -1051,28 +1064,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:455:3: ( 'as' (lv_alias= RULE_ID ) )?
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:451:3: ( 'as' (lv_alias= RULE_ID ) )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA13_0==20) ) {
- alt13=1;
+ if ( (LA12_0==20) ) {
+ alt12=1;
}
- switch (alt13) {
+ switch (alt12) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:455:4: 'as' (lv_alias= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:451:4: 'as' (lv_alias= RULE_ID )
{
- match(input,20,FOLLOW_20_in_ruleGeneratedMetamodel958);
+ match(input,20,FOLLOW_20_in_ruleGeneratedMetamodel1009);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:459:1: (lv_alias= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:461:6: lv_alias= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:455:1: (lv_alias= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:457:6: lv_alias= RULE_ID
{
lv_alias=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel979);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGeneratedMetamodel1030);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.3/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
if (current==null) {
@@ -1117,7 +1130,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleReferencedMetamodel
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:488:1: entryRuleReferencedMetamodel returns [EObject current=null] : iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:484:1: entryRuleReferencedMetamodel returns [EObject current=null] : iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF ;
public final EObject entryRuleReferencedMetamodel() throws RecognitionException {
EObject current = null;
@@ -1125,16 +1138,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:488:61: (iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:489:2: iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:484:61: (iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:485:2: iv_ruleReferencedMetamodel= ruleReferencedMetamodel EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1027);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1078);
iv_ruleReferencedMetamodel=ruleReferencedMetamodel();
_fsp--;
current =iv_ruleReferencedMetamodel;
- match(input,EOF,FOLLOW_EOF_in_entryRuleReferencedMetamodel1037);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleReferencedMetamodel1088);
}
@@ -1152,7 +1165,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleReferencedMetamodel
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:496:1: ruleReferencedMetamodel returns [EObject current=null] : ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:492:1: ruleReferencedMetamodel returns [EObject current=null] : ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) ;
public final EObject ruleReferencedMetamodel() throws RecognitionException {
EObject current = null;
@@ -1161,21 +1174,21 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:500:6: ( ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:1: ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:496:6: ( ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:497:1: ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:1: ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:2: ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:497:1: ( ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:497:2: ( 'import' ( ( RULE_STRING ) ) ) ( 'as' (lv_alias= RULE_ID ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:2: ( 'import' ( ( RULE_STRING ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:3: 'import' ( ( RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:497:2: ( 'import' ( ( RULE_STRING ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:497:3: 'import' ( ( RULE_STRING ) )
{
- match(input,21,FOLLOW_21_in_ruleReferencedMetamodel1072);
+ match(input,21,FOLLOW_21_in_ruleReferencedMetamodel1123);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:505:1: ( ( RULE_STRING ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:508:3: ( RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:501:1: ( ( RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:504:3: ( RULE_STRING )
{
if (current==null) {
@@ -1183,12 +1196,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:514:1: ( RULE_STRING )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:515:2: RULE_STRING
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:510:1: ( RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:511:2: RULE_STRING
{
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1096);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1147);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "ePackage");
}
@@ -1199,28 +1212,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:520:3: ( 'as' (lv_alias= RULE_ID ) )?
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:516:3: ( 'as' (lv_alias= RULE_ID ) )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA14_0==20) ) {
- alt14=1;
+ if ( (LA13_0==20) ) {
+ alt13=1;
}
- switch (alt14) {
+ switch (alt13) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:520:4: 'as' (lv_alias= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:516:4: 'as' (lv_alias= RULE_ID )
{
- match(input,20,FOLLOW_20_in_ruleReferencedMetamodel1111);
+ match(input,20,FOLLOW_20_in_ruleReferencedMetamodel1162);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:524:1: (lv_alias= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:526:6: lv_alias= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:520:1: (lv_alias= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:522:6: lv_alias= RULE_ID
{
lv_alias=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleReferencedMetamodel1132);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleReferencedMetamodel1183);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.4/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "alias");
if (current==null) {
@@ -1265,7 +1278,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleLexerRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:553:1: entryRuleLexerRule returns [EObject current=null] : iv_ruleLexerRule= ruleLexerRule EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:549:1: entryRuleLexerRule returns [EObject current=null] : iv_ruleLexerRule= ruleLexerRule EOF ;
public final EObject entryRuleLexerRule() throws RecognitionException {
EObject current = null;
@@ -1273,16 +1286,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:553:51: (iv_ruleLexerRule= ruleLexerRule EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:554:2: iv_ruleLexerRule= ruleLexerRule EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:549:51: (iv_ruleLexerRule= ruleLexerRule EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:550:2: iv_ruleLexerRule= ruleLexerRule EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleLexerRule_in_entryRuleLexerRule1180);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleLexerRule_in_entryRuleLexerRule1231);
iv_ruleLexerRule=ruleLexerRule();
_fsp--;
current =iv_ruleLexerRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLexerRule1190);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLexerRule1241);
}
@@ -1300,7 +1313,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleLexerRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:561:1: ruleLexerRule returns [EObject current=null] : ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:557:1: ruleLexerRule returns [EObject current=null] : ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' ) ;
public final EObject ruleLexerRule() throws RecognitionException {
EObject current = null;
@@ -1312,57 +1325,57 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:565:6: ( ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:561:6: ( ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:1: ( ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) ) ';'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:3: ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:2: ( ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:3: ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_body= RULE_STRING )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:3: ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:4: ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:3: ( ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:4: ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:4: ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:5: ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:4: ( ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:5: ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:5: ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:6: ( 'native' | 'lexer' ) (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:5: ( ( 'native' | 'lexer' ) (lv_name= RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:6: ( 'native' | 'lexer' ) (lv_name= RULE_ID )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:6: ( 'native' | 'lexer' )
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:6: ( 'native' | 'lexer' )
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA15_0==22) ) {
- alt15=1;
+ if ( (LA14_0==22) ) {
+ alt14=1;
}
- else if ( (LA15_0==23) ) {
- alt15=2;
+ else if ( (LA14_0==23) ) {
+ alt14=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("566:6: ( 'native' | 'lexer' )", 15, 0, input);
+ new NoViableAltException("562:6: ( 'native' | 'lexer' )", 14, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt14) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:566:7: 'native'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:562:7: 'native'
{
- match(input,22,FOLLOW_22_in_ruleLexerRule1229);
+ match(input,22,FOLLOW_22_in_ruleLexerRule1280);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.0" /* xtext::Keyword */, null);
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:571:6: 'lexer'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:567:6: 'lexer'
{
- match(input,23,FOLLOW_23_in_ruleLexerRule1244);
+ match(input,23,FOLLOW_23_in_ruleLexerRule1295);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@groups.1" /* xtext::Keyword */, null);
}
@@ -1370,13 +1383,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:575:2: (lv_name= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:577:6: lv_name= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:571:2: (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:573:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLexerRule1266);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLexerRule1317);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
if (current==null) {
@@ -1396,28 +1409,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:595:3: ( 'returns' (lv_type= ruleTypeRef ) )?
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:591:3: ( 'returns' (lv_type= ruleTypeRef ) )?
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA16_0==24) ) {
- alt16=1;
+ if ( (LA15_0==24) ) {
+ alt15=1;
}
- switch (alt16) {
+ switch (alt15) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:595:4: 'returns' (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:591:4: 'returns' (lv_type= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleLexerRule1288);
+ match(input,24,FOLLOW_24_in_ruleLexerRule1339);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:599:1: (lv_type= ruleTypeRef )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:602:6: lv_type= ruleTypeRef
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:595:1: (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:598:6: lv_type= ruleTypeRef
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleLexerRule1322);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleLexerRule1373);
lv_type=ruleTypeRef();
_fsp--;
@@ -1446,20 +1459,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleLexerRule1338);
+ match(input,25,FOLLOW_25_in_ruleLexerRule1389);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:624:2: (lv_body= RULE_STRING )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:626:6: lv_body= RULE_STRING
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:620:2: (lv_body= RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:622:6: lv_body= RULE_STRING
{
lv_body=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleLexerRule1360);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleLexerRule1411);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "body");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "body");
if (current==null) {
@@ -1479,9 +1492,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleLexerRule1381);
+ match(input,26,FOLLOW_26_in_ruleLexerRule1432);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.5/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -1505,7 +1518,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParserRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:657:1: entryRuleParserRule returns [EObject current=null] : iv_ruleParserRule= ruleParserRule EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:653:1: entryRuleParserRule returns [EObject current=null] : iv_ruleParserRule= ruleParserRule EOF ;
public final EObject entryRuleParserRule() throws RecognitionException {
EObject current = null;
@@ -1513,16 +1526,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:657:52: (iv_ruleParserRule= ruleParserRule EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:658:2: iv_ruleParserRule= ruleParserRule EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:653:52: (iv_ruleParserRule= ruleParserRule EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:654:2: iv_ruleParserRule= ruleParserRule EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleParserRule_in_entryRuleParserRule1416);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleParserRule_in_entryRuleParserRule1467);
iv_ruleParserRule=ruleParserRule();
_fsp--;
current =iv_ruleParserRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParserRule1426);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParserRule1477);
}
@@ -1540,7 +1553,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParserRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:665:1: ruleParserRule returns [EObject current=null] : ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:661:1: ruleParserRule returns [EObject current=null] : ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' ) ;
public final EObject ruleParserRule() throws RecognitionException {
EObject current = null;
@@ -1554,31 +1567,31 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:669:6: ( ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:1: ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:665:6: ( ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:1: ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:1: ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:2: ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:1: ( ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:2: ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) ) ';'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:2: ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:3: ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:2: ( ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:3: ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' ) (lv_alternatives= ruleAlternatives )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:3: ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:4: ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:3: ( ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:4: ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? ) ':'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:4: ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:5: ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:4: ( ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:5: ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:5: ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:6: (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:5: ( (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:6: (lv_name= RULE_ID ) ( 'returns' (lv_type= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:670:6: (lv_name= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:672:6: lv_name= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:666:6: (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:668:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1476);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1527);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "name");
if (current==null) {
@@ -1595,28 +1608,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:690:2: ( 'returns' (lv_type= ruleTypeRef ) )?
- int alt17=2;
- int LA17_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:686:2: ( 'returns' (lv_type= ruleTypeRef ) )?
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA17_0==24) ) {
- alt17=1;
+ if ( (LA16_0==24) ) {
+ alt16=1;
}
- switch (alt17) {
+ switch (alt16) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:690:3: 'returns' (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:686:3: 'returns' (lv_type= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleParserRule1497);
+ match(input,24,FOLLOW_24_in_ruleParserRule1548);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:694:1: (lv_type= ruleTypeRef )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:697:6: lv_type= ruleTypeRef
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:690:1: (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:693:6: lv_type= ruleTypeRef
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleParserRule1531);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleParserRule1582);
lv_type=ruleTypeRef();
_fsp--;
@@ -1645,30 +1658,30 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:5: ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:5: ( ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')' )?
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA20_0==15) ) {
- alt20=1;
+ if ( (LA19_0==14) ) {
+ alt19=1;
}
- switch (alt20) {
+ switch (alt19) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? ) ')'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:6: ( ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' ) ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:8: (lv_definesHiddenTokens= 'hidden' ) '('
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:7: ( (lv_definesHiddenTokens= 'hidden' ) '(' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:8: (lv_definesHiddenTokens= 'hidden' ) '('
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:715:8: (lv_definesHiddenTokens= 'hidden' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:717:6: lv_definesHiddenTokens= 'hidden'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:711:8: (lv_definesHiddenTokens= 'hidden' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:713:6: lv_definesHiddenTokens= 'hidden'
{
lv_definesHiddenTokens=(Token)input.LT(1);
- match(input,15,FOLLOW_15_in_ruleParserRule1562);
+ match(input,14,FOLLOW_14_in_ruleParserRule1613);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
if (current==null) {
@@ -1685,26 +1698,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,16,FOLLOW_16_in_ruleParserRule1583);
+ match(input,15,FOLLOW_15_in_ruleParserRule1634);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:739:2: ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
- int alt19=2;
- int LA19_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:735:2: ( ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA19_0==RULE_ID) ) {
- alt19=1;
+ if ( (LA18_0==RULE_ID) ) {
+ alt18=1;
}
- switch (alt19) {
+ switch (alt18) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:739:3: ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:735:3: ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:739:3: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:742:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:735:3: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:738:3: ( RULE_ID )
{
if (current==null) {
@@ -1712,12 +1725,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:748:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:749:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:744:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:745:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1609);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1660);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
}
@@ -1725,27 +1738,27 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:754:2: ( ',' ( ( RULE_ID ) ) )*
- loop18:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:750:2: ( ',' ( ( RULE_ID ) ) )*
+ loop17:
do {
- int alt18=2;
- int LA18_0 = input.LA(1);
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA18_0==17) ) {
- alt18=1;
+ if ( (LA17_0==16) ) {
+ alt17=1;
}
- switch (alt18) {
+ switch (alt17) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:754:3: ',' ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:750:3: ',' ( ( RULE_ID ) )
{
- match(input,17,FOLLOW_17_in_ruleParserRule1623);
+ match(input,16,FOLLOW_16_in_ruleParserRule1674);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:758:1: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:761:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:754:1: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:757:3: ( RULE_ID )
{
if (current==null) {
@@ -1753,12 +1766,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:767:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:768:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:763:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:764:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1647);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParserRule1698);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
}
@@ -1771,7 +1784,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop18;
+ break loop17;
}
} while (true);
@@ -1784,9 +1797,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,18,FOLLOW_18_in_ruleParserRule1665);
+ match(input,17,FOLLOW_17_in_ruleParserRule1716);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -1797,20 +1810,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleParserRule1677);
+ match(input,25,FOLLOW_25_in_ruleParserRule1728);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:781:2: (lv_alternatives= ruleAlternatives )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:784:6: lv_alternatives= ruleAlternatives
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:777:2: (lv_alternatives= ruleAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:780:6: lv_alternatives= ruleAlternatives
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_ruleParserRule1712);
+ pushFollow(FOLLOW_ruleAlternatives_in_ruleParserRule1763);
lv_alternatives=ruleAlternatives();
_fsp--;
@@ -1833,9 +1846,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleParserRule1726);
+ match(input,26,FOLLOW_26_in_ruleParserRule1777);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -1859,7 +1872,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:815:1: entryRuleTerminalRule returns [EObject current=null] : iv_ruleTerminalRule= ruleTerminalRule EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:811:1: entryRuleTerminalRule returns [EObject current=null] : iv_ruleTerminalRule= ruleTerminalRule EOF ;
public final EObject entryRuleTerminalRule() throws RecognitionException {
EObject current = null;
@@ -1867,16 +1880,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:815:54: (iv_ruleTerminalRule= ruleTerminalRule EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:816:2: iv_ruleTerminalRule= ruleTerminalRule EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:811:54: (iv_ruleTerminalRule= ruleTerminalRule EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:812:2: iv_ruleTerminalRule= ruleTerminalRule EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1761);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1812);
iv_ruleTerminalRule=ruleTerminalRule();
_fsp--;
current =iv_ruleTerminalRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalRule1771);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalRule1822);
}
@@ -1894,7 +1907,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalRule
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:823:1: ruleTerminalRule returns [EObject current=null] : ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:819:1: ruleTerminalRule returns [EObject current=null] : ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' ) ;
public final EObject ruleTerminalRule() throws RecognitionException {
EObject current = null;
@@ -1908,31 +1921,31 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:827:6: ( ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:1: ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:823:6: ( ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:1: ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:1: ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:2: ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:1: ( ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:2: ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) ) ';'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:2: ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:3: ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:2: ( ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:3: ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' ) (lv_alternatives= ruleTerminalAlternatives )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:3: ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:4: ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:3: ( ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:4: ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? ) ':'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:4: ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:5: ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:4: ( ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:5: ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) ) ( 'returns' (lv_type= ruleTypeRef ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:5: ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:6: (lv_terminal= 'terminal' ) (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:5: ( (lv_terminal= 'terminal' ) (lv_name= RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:6: (lv_terminal= 'terminal' ) (lv_name= RULE_ID )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:828:6: (lv_terminal= 'terminal' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:830:6: lv_terminal= 'terminal'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:824:6: (lv_terminal= 'terminal' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:826:6: lv_terminal= 'terminal'
{
lv_terminal=(Token)input.LT(1);
- match(input,27,FOLLOW_27_in_ruleTerminalRule1821);
+ match(input,27,FOLLOW_27_in_ruleTerminalRule1872);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "terminal");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "terminal");
if (current==null) {
@@ -1949,13 +1962,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:848:2: (lv_name= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:850:6: lv_name= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:844:2: (lv_name= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:846:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTerminalRule1854);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTerminalRule1905);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
if (current==null) {
@@ -1975,28 +1988,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:868:3: ( 'returns' (lv_type= ruleTypeRef ) )?
- int alt21=2;
- int LA21_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:864:3: ( 'returns' (lv_type= ruleTypeRef ) )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA21_0==24) ) {
- alt21=1;
+ if ( (LA20_0==24) ) {
+ alt20=1;
}
- switch (alt21) {
+ switch (alt20) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:868:4: 'returns' (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:864:4: 'returns' (lv_type= ruleTypeRef )
{
- match(input,24,FOLLOW_24_in_ruleTerminalRule1876);
+ match(input,24,FOLLOW_24_in_ruleTerminalRule1927);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:872:1: (lv_type= ruleTypeRef )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:875:6: lv_type= ruleTypeRef
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:868:1: (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:871:6: lv_type= ruleTypeRef
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleTerminalRule1910);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleTerminalRule1961);
lv_type=ruleTypeRef();
_fsp--;
@@ -2025,20 +2038,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,25,FOLLOW_25_in_ruleTerminalRule1926);
+ match(input,25,FOLLOW_25_in_ruleTerminalRule1977);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:897:2: (lv_alternatives= ruleTerminalAlternatives )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:900:6: lv_alternatives= ruleTerminalAlternatives
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:893:2: (lv_alternatives= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:896:6: lv_alternatives= ruleTerminalAlternatives
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1961);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule2012);
lv_alternatives=ruleTerminalAlternatives();
_fsp--;
@@ -2061,9 +2074,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,26,FOLLOW_26_in_ruleTerminalRule1975);
+ match(input,26,FOLLOW_26_in_ruleTerminalRule2026);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.7/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -2087,7 +2100,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTypeRef
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:931:1: entryRuleTypeRef returns [EObject current=null] : iv_ruleTypeRef= ruleTypeRef EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:927:1: entryRuleTypeRef returns [EObject current=null] : iv_ruleTypeRef= ruleTypeRef EOF ;
public final EObject entryRuleTypeRef() throws RecognitionException {
EObject current = null;
@@ -2095,16 +2108,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:931:49: (iv_ruleTypeRef= ruleTypeRef EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:932:2: iv_ruleTypeRef= ruleTypeRef EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:927:49: (iv_ruleTypeRef= ruleTypeRef EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:928:2: iv_ruleTypeRef= ruleTypeRef EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_entryRuleTypeRef2010);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTypeRef_in_entryRuleTypeRef2061);
iv_ruleTypeRef=ruleTypeRef();
_fsp--;
current =iv_ruleTypeRef;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRef2020);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRef2071);
}
@@ -2122,36 +2135,36 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTypeRef
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:1: ruleTypeRef returns [EObject current=null] : ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:935:1: ruleTypeRef returns [EObject current=null] : ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) ) ;
public final EObject ruleTypeRef() throws RecognitionException {
EObject current = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:943:6: ( ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:1: ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:939:6: ( ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:1: ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:1: ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:2: ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:1: ( ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:2: ( ( ( RULE_ID ) ) '::' )? ( ( RULE_ID ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:2: ( ( ( RULE_ID ) ) '::' )?
- int alt22=2;
- int LA22_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:2: ( ( ( RULE_ID ) ) '::' )?
+ int alt21=2;
+ int LA21_0 = input.LA(1);
- if ( (LA22_0==RULE_ID) ) {
- int LA22_1 = input.LA(2);
+ if ( (LA21_0==RULE_ID) ) {
+ int LA21_1 = input.LA(2);
- if ( (LA22_1==28) ) {
- alt22=1;
+ if ( (LA21_1==28) ) {
+ alt21=1;
}
}
- switch (alt22) {
+ switch (alt21) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:3: ( ( RULE_ID ) ) '::'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:3: ( ( RULE_ID ) ) '::'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:944:3: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:947:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:940:3: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:943:3: ( RULE_ID )
{
if (current==null) {
@@ -2159,12 +2172,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:953:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:954:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:949:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:950:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2070);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2121);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "metamodel");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "metamodel");
}
@@ -2172,9 +2185,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,28,FOLLOW_28_in_ruleTypeRef2083);
+ match(input,28,FOLLOW_28_in_ruleTypeRef2134);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -2182,8 +2195,8 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:963:3: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:966:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:959:3: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:962:3: ( RULE_ID )
{
if (current==null) {
@@ -2191,12 +2204,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:972:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:973:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:968:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:969:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2109);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRef2160);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.8/@alternatives/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "type");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "type");
}
@@ -2226,7 +2239,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAlternatives
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:987:1: entryRuleAlternatives returns [EObject current=null] : iv_ruleAlternatives= ruleAlternatives EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:983:1: entryRuleAlternatives returns [EObject current=null] : iv_ruleAlternatives= ruleAlternatives EOF ;
public final EObject entryRuleAlternatives() throws RecognitionException {
EObject current = null;
@@ -2234,16 +2247,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:987:54: (iv_ruleAlternatives= ruleAlternatives EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:988:2: iv_ruleAlternatives= ruleAlternatives EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:983:54: (iv_ruleAlternatives= ruleAlternatives EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:984:2: iv_ruleAlternatives= ruleAlternatives EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_entryRuleAlternatives2148);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAlternatives_in_entryRuleAlternatives2199);
iv_ruleAlternatives=ruleAlternatives();
_fsp--;
current =iv_ruleAlternatives;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAlternatives2158);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAlternatives2209);
}
@@ -2261,7 +2274,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAlternatives
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:995:1: ruleAlternatives returns [EObject current=null] : (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:991:1: ruleAlternatives returns [EObject current=null] : (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* ) ;
public final EObject ruleAlternatives() throws RecognitionException {
EObject current = null;
@@ -2273,16 +2286,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:999:6: ( (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1000:1: (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:995:6: ( (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:996:1: (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1000:1: (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1001:5: this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:996:1: (this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:997:5: this_Group= ruleGroup ( ( () '|' ) (lv_groups= ruleGroup ) )*
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2205);
+ pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2256);
this_Group=ruleGroup();
_fsp--;
@@ -2290,26 +2303,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_Group;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1009:1: ( ( () '|' ) (lv_groups= ruleGroup ) )*
- loop23:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:1: ( ( () '|' ) (lv_groups= ruleGroup ) )*
+ loop22:
do {
- int alt23=2;
- int LA23_0 = input.LA(1);
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA23_0==29) ) {
- alt23=1;
+ if ( (LA22_0==29) ) {
+ alt22=1;
}
- switch (alt23) {
+ switch (alt22) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1009:2: ( () '|' ) (lv_groups= ruleGroup )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:2: ( () '|' ) (lv_groups= ruleGroup )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1009:2: ( () '|' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1009:3: () '|'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:2: ( () '|' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:3: () '|'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1009:3: ()
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1010:5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1005:3: ()
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1006:5:
{
temp=factory.create("Alternatives");
@@ -2320,7 +2333,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -2329,20 +2342,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,29,FOLLOW_29_in_ruleAlternatives2224);
+ match(input,29,FOLLOW_29_in_ruleAlternatives2275);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1029:2: (lv_groups= ruleGroup )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1032:6: lv_groups= ruleGroup
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1025:2: (lv_groups= ruleGroup )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1028:6: lv_groups= ruleGroup
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.9/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2259);
+ pushFollow(FOLLOW_ruleGroup_in_ruleAlternatives2310);
lv_groups=ruleGroup();
_fsp--;
@@ -2367,7 +2380,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop23;
+ break loop22;
}
} while (true);
@@ -2393,7 +2406,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalAlternatives
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1059:1: entryRuleTerminalAlternatives returns [EObject current=null] : iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1055:1: entryRuleTerminalAlternatives returns [EObject current=null] : iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF ;
public final EObject entryRuleTerminalAlternatives() throws RecognitionException {
EObject current = null;
@@ -2401,16 +2414,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1059:62: (iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1060:2: iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1055:62: (iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1056:2: iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2300);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2351);
iv_ruleTerminalAlternatives=ruleTerminalAlternatives();
_fsp--;
current =iv_ruleTerminalAlternatives;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalAlternatives2310);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalAlternatives2361);
}
@@ -2428,7 +2441,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalAlternatives
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1067:1: ruleTerminalAlternatives returns [EObject current=null] : (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1063:1: ruleTerminalAlternatives returns [EObject current=null] : (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* ) ;
public final EObject ruleTerminalAlternatives() throws RecognitionException {
EObject current = null;
@@ -2440,16 +2453,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1071:6: ( (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1072:1: (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1067:6: ( (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1068:1: (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1072:1: (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1073:5: this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1068:1: (this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1069:5: this_TerminalGroup= ruleTerminalGroup ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )*
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2357);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2408);
this_TerminalGroup=ruleTerminalGroup();
_fsp--;
@@ -2457,26 +2470,26 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalGroup;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:1: ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )*
- loop24:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1077:1: ( ( () '|' ) (lv_groups= ruleTerminalGroup ) )*
+ loop23:
do {
- int alt24=2;
- int LA24_0 = input.LA(1);
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( (LA24_0==29) ) {
- alt24=1;
+ if ( (LA23_0==29) ) {
+ alt23=1;
}
- switch (alt24) {
+ switch (alt23) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:2: ( () '|' ) (lv_groups= ruleTerminalGroup )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1077:2: ( () '|' ) (lv_groups= ruleTerminalGroup )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:2: ( () '|' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:3: () '|'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1077:2: ( () '|' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1077:3: () '|'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1081:3: ()
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1082:5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1077:3: ()
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1078:5:
{
temp=factory.create("Alternatives");
@@ -2487,7 +2500,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -2496,20 +2509,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,29,FOLLOW_29_in_ruleTerminalAlternatives2376);
+ match(input,29,FOLLOW_29_in_ruleTerminalAlternatives2427);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1101:2: (lv_groups= ruleTerminalGroup )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1104:6: lv_groups= ruleTerminalGroup
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1097:2: (lv_groups= ruleTerminalGroup )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1100:6: lv_groups= ruleTerminalGroup
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.10/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2411);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2462);
lv_groups=ruleTerminalGroup();
_fsp--;
@@ -2534,7 +2547,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop24;
+ break loop23;
}
} while (true);
@@ -2560,7 +2573,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleGroup
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1131:1: entryRuleGroup returns [EObject current=null] : iv_ruleGroup= ruleGroup EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1127:1: entryRuleGroup returns [EObject current=null] : iv_ruleGroup= ruleGroup EOF ;
public final EObject entryRuleGroup() throws RecognitionException {
EObject current = null;
@@ -2568,16 +2581,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1131:47: (iv_ruleGroup= ruleGroup EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1132:2: iv_ruleGroup= ruleGroup EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1127:47: (iv_ruleGroup= ruleGroup EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1128:2: iv_ruleGroup= ruleGroup EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleGroup_in_entryRuleGroup2452);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleGroup_in_entryRuleGroup2503);
iv_ruleGroup=ruleGroup();
_fsp--;
current =iv_ruleGroup;
- match(input,EOF,FOLLOW_EOF_in_entryRuleGroup2462);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGroup2513);
}
@@ -2595,7 +2608,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleGroup
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1139:1: ruleGroup returns [EObject current=null] : (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1135:1: ruleGroup returns [EObject current=null] : (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* ) ;
public final EObject ruleGroup() throws RecognitionException {
EObject current = null;
@@ -2607,16 +2620,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1143:6: ( (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1144:1: (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1139:6: ( (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1140:1: (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1144:1: (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1145:5: this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1140:1: (this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1141:5: this_AbstractToken= ruleAbstractToken ( () (lv_abstractTokens= ruleAbstractToken ) )*
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2509);
+ pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2560);
this_AbstractToken=ruleAbstractToken();
_fsp--;
@@ -2624,23 +2637,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_AbstractToken;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:1: ( () (lv_abstractTokens= ruleAbstractToken ) )*
- loop25:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1149:1: ( () (lv_abstractTokens= ruleAbstractToken ) )*
+ loop24:
do {
- int alt25=2;
- int LA25_0 = input.LA(1);
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( ((LA25_0>=RULE_ID && LA25_0<=RULE_STRING)||LA25_0==16||LA25_0==36||LA25_0==42) ) {
- alt25=1;
+ if ( ((LA24_0>=RULE_ID && LA24_0<=RULE_STRING)||LA24_0==15||LA24_0==36||LA24_0==42) ) {
+ alt24=1;
}
- switch (alt25) {
+ switch (alt24) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:2: () (lv_abstractTokens= ruleAbstractToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1149:2: () (lv_abstractTokens= ruleAbstractToken )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1153:2: ()
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1154:5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1149:2: ()
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1150:5:
{
temp=factory.create("Group");
@@ -2651,7 +2664,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -2660,13 +2673,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1169:2: (lv_abstractTokens= ruleAbstractToken )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1172:6: lv_abstractTokens= ruleAbstractToken
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1165:2: (lv_abstractTokens= ruleAbstractToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1168:6: lv_abstractTokens= ruleAbstractToken
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.11/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2552);
+ pushFollow(FOLLOW_ruleAbstractToken_in_ruleGroup2603);
lv_abstractTokens=ruleAbstractToken();
_fsp--;
@@ -2691,7 +2704,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop25;
+ break loop24;
}
} while (true);
@@ -2717,7 +2730,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalGroup
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1199:1: entryRuleTerminalGroup returns [EObject current=null] : iv_ruleTerminalGroup= ruleTerminalGroup EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1195:1: entryRuleTerminalGroup returns [EObject current=null] : iv_ruleTerminalGroup= ruleTerminalGroup EOF ;
public final EObject entryRuleTerminalGroup() throws RecognitionException {
EObject current = null;
@@ -2725,16 +2738,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1199:55: (iv_ruleTerminalGroup= ruleTerminalGroup EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1200:2: iv_ruleTerminalGroup= ruleTerminalGroup EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1195:55: (iv_ruleTerminalGroup= ruleTerminalGroup EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1196:2: iv_ruleTerminalGroup= ruleTerminalGroup EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2593);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2644);
iv_ruleTerminalGroup=ruleTerminalGroup();
_fsp--;
current =iv_ruleTerminalGroup;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalGroup2603);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalGroup2654);
}
@@ -2752,7 +2765,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalGroup
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1207:1: ruleTerminalGroup returns [EObject current=null] : (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1203:1: ruleTerminalGroup returns [EObject current=null] : (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* ) ;
public final EObject ruleTerminalGroup() throws RecognitionException {
EObject current = null;
@@ -2764,16 +2777,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1211:6: ( (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1212:1: (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1207:6: ( (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1208:1: (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1212:1: (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1213:5: this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )*
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1208:1: (this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )* )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1209:5: this_TerminalToken= ruleTerminalToken ( () (lv_abstractTokens= ruleTerminalToken ) )*
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2650);
+ pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2701);
this_TerminalToken=ruleTerminalToken();
_fsp--;
@@ -2781,23 +2794,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalToken;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1221:1: ( () (lv_abstractTokens= ruleTerminalToken ) )*
- loop26:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1217:1: ( () (lv_abstractTokens= ruleTerminalToken ) )*
+ loop25:
do {
- int alt26=2;
- int LA26_0 = input.LA(1);
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( ((LA26_0>=RULE_ID && LA26_0<=RULE_STRING)||LA26_0==13||LA26_0==16||(LA26_0>=39 && LA26_0<=40)) ) {
- alt26=1;
+ if ( ((LA25_0>=RULE_ID && LA25_0<=RULE_STRING)||LA25_0==15||LA25_0==18||(LA25_0>=39 && LA25_0<=40)) ) {
+ alt25=1;
}
- switch (alt26) {
+ switch (alt25) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1221:2: () (lv_abstractTokens= ruleTerminalToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1217:2: () (lv_abstractTokens= ruleTerminalToken )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1221:2: ()
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1222:5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1217:2: ()
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1218:5:
{
temp=factory.create("Group");
@@ -2808,7 +2821,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -2817,13 +2830,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1237:2: (lv_abstractTokens= ruleTerminalToken )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1240:6: lv_abstractTokens= ruleTerminalToken
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1233:2: (lv_abstractTokens= ruleTerminalToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1236:6: lv_abstractTokens= ruleTerminalToken
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.12/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2693);
+ pushFollow(FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2744);
lv_abstractTokens=ruleTerminalToken();
_fsp--;
@@ -2848,7 +2861,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
default :
- break loop26;
+ break loop25;
}
} while (true);
@@ -2874,7 +2887,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1267:1: entryRuleAbstractToken returns [EObject current=null] : iv_ruleAbstractToken= ruleAbstractToken EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1263:1: entryRuleAbstractToken returns [EObject current=null] : iv_ruleAbstractToken= ruleAbstractToken EOF ;
public final EObject entryRuleAbstractToken() throws RecognitionException {
EObject current = null;
@@ -2882,16 +2895,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1267:55: (iv_ruleAbstractToken= ruleAbstractToken EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1268:2: iv_ruleAbstractToken= ruleAbstractToken EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1263:55: (iv_ruleAbstractToken= ruleAbstractToken EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1264:2: iv_ruleAbstractToken= ruleAbstractToken EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2734);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2785);
iv_ruleAbstractToken=ruleAbstractToken();
_fsp--;
current =iv_ruleAbstractToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractToken2744);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractToken2795);
}
@@ -2909,7 +2922,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1275:1: ruleAbstractToken returns [EObject current=null] : ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1271:1: ruleAbstractToken returns [EObject current=null] : ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) ;
public final EObject ruleAbstractToken() throws RecognitionException {
EObject current = null;
@@ -2924,28 +2937,28 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1279:6: ( ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:1: ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1275:6: ( ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:1: ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:1: ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:1: ( ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal ) (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )
- int alt28=2;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )
+ int alt27=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
- int LA28_1 = input.LA(2);
+ int LA27_1 = input.LA(2);
- if ( (LA28_1==EOF||(LA28_1>=RULE_ID && LA28_1<=RULE_STRING)||LA28_1==16||LA28_1==18||LA28_1==26||(LA28_1>=29 && LA28_1<=32)||LA28_1==36||LA28_1==42) ) {
- alt28=2;
+ if ( (LA27_1==EOF||(LA27_1>=RULE_ID && LA27_1<=RULE_STRING)||LA27_1==15||LA27_1==17||LA27_1==26||(LA27_1>=29 && LA27_1<=32)||LA27_1==36||LA27_1==42) ) {
+ alt27=2;
}
- else if ( ((LA28_1>=33 && LA28_1<=35)) ) {
- alt28=1;
+ else if ( ((LA27_1>=33 && LA27_1<=35)) ) {
+ alt27=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1280:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )", 28, 1, input);
+ new NoViableAltException("1276:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )", 27, 1, input);
throw nvae;
}
@@ -2953,51 +2966,51 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
break;
case 36:
{
- alt28=1;
+ alt27=1;
}
break;
case RULE_STRING:
- case 16:
+ case 15:
case 42:
{
- alt28=2;
+ alt27=2;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("1280:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )", 28, 0, input);
+ new NoViableAltException("1276:2: ( (this_Assignment= ruleAssignment | this_Action= ruleAction ) | this_AbstractTerminal= ruleAbstractTerminal )", 27, 0, input);
throw nvae;
}
- switch (alt28) {
+ switch (alt27) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1280:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )
- int alt27=2;
- int LA27_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1276:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA27_0==RULE_ID) ) {
- alt27=1;
+ if ( (LA26_0==RULE_ID) ) {
+ alt26=1;
}
- else if ( (LA27_0==36) ) {
- alt27=2;
+ else if ( (LA26_0==36) ) {
+ alt26=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1280:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )", 27, 0, input);
+ new NoViableAltException("1276:3: (this_Assignment= ruleAssignment | this_Action= ruleAction )", 26, 0, input);
throw nvae;
}
- switch (alt27) {
+ switch (alt26) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1281:5: this_Assignment= ruleAssignment
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1277:5: this_Assignment= ruleAssignment
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAssignment_in_ruleAbstractToken2793);
+ pushFollow(FOLLOW_ruleAssignment_in_ruleAbstractToken2844);
this_Assignment=ruleAssignment();
_fsp--;
@@ -3009,12 +3022,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1291:5: this_Action= ruleAction
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1287:5: this_Action= ruleAction
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAction_in_ruleAbstractToken2820);
+ pushFollow(FOLLOW_ruleAction_in_ruleAbstractToken2871);
this_Action=ruleAction();
_fsp--;
@@ -3032,12 +3045,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1301:5: this_AbstractTerminal= ruleAbstractTerminal
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1297:5: this_AbstractTerminal= ruleAbstractTerminal
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2848);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2899);
this_AbstractTerminal=ruleAbstractTerminal();
_fsp--;
@@ -3051,70 +3064,70 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1309:2: (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
- int alt31=2;
- int LA31_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1305:2: (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( ((LA31_0>=30 && LA31_0<=32)) ) {
- alt31=1;
+ if ( ((LA30_0>=30 && LA30_0<=32)) ) {
+ alt30=1;
}
- switch (alt31) {
+ switch (alt30) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:6: lv_cardinality= ( ( '?' | '*' ) | '+' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1307:6: lv_cardinality= ( ( '?' | '*' ) | '+' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:21: ( ( '?' | '*' ) | '+' )
- int alt30=2;
- int LA30_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1307:21: ( ( '?' | '*' ) | '+' )
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( ((LA30_0>=30 && LA30_0<=31)) ) {
- alt30=1;
+ if ( ((LA29_0>=30 && LA29_0<=31)) ) {
+ alt29=1;
}
- else if ( (LA30_0==32) ) {
- alt30=2;
+ else if ( (LA29_0==32) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1311:21: ( ( '?' | '*' ) | '+' )", 30, 0, input);
+ new NoViableAltException("1307:21: ( ( '?' | '*' ) | '+' )", 29, 0, input);
throw nvae;
}
- switch (alt30) {
+ switch (alt29) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:22: ( '?' | '*' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1307:22: ( '?' | '*' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:22: ( '?' | '*' )
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1307:22: ( '?' | '*' )
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA29_0==30) ) {
- alt29=1;
+ if ( (LA28_0==30) ) {
+ alt28=1;
}
- else if ( (LA29_0==31) ) {
- alt29=2;
+ else if ( (LA28_0==31) ) {
+ alt28=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1311:22: ( '?' | '*' )", 29, 0, input);
+ new NoViableAltException("1307:22: ( '?' | '*' )", 28, 0, input);
throw nvae;
}
- switch (alt29) {
+ switch (alt28) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1311:23: '?'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1307:23: '?'
{
- match(input,30,FOLLOW_30_in_ruleAbstractToken2871);
+ match(input,30,FOLLOW_30_in_ruleAbstractToken2922);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1316:6: '*'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1312:6: '*'
{
- match(input,31,FOLLOW_31_in_ruleAbstractToken2886);
+ match(input,31,FOLLOW_31_in_ruleAbstractToken2937);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
}
@@ -3126,11 +3139,11 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1321:6: '+'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1317:6: '+'
{
- match(input,32,FOLLOW_32_in_ruleAbstractToken2902);
+ match(input,32,FOLLOW_32_in_ruleAbstractToken2953);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.13/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
}
@@ -3178,7 +3191,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1348:1: entryRuleTerminalToken returns [EObject current=null] : iv_ruleTerminalToken= ruleTerminalToken EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1344:1: entryRuleTerminalToken returns [EObject current=null] : iv_ruleTerminalToken= ruleTerminalToken EOF ;
public final EObject entryRuleTerminalToken() throws RecognitionException {
EObject current = null;
@@ -3186,16 +3199,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1348:55: (iv_ruleTerminalToken= ruleTerminalToken EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1349:2: iv_ruleTerminalToken= ruleTerminalToken EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1344:55: (iv_ruleTerminalToken= ruleTerminalToken EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1345:2: iv_ruleTerminalToken= ruleTerminalToken EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2951);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken3002);
iv_ruleTerminalToken=ruleTerminalToken();
_fsp--;
current =iv_ruleTerminalToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalToken2961);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalToken3012);
}
@@ -3213,7 +3226,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1356:1: ruleTerminalToken returns [EObject current=null] : (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1352:1: ruleTerminalToken returns [EObject current=null] : (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) ;
public final EObject ruleTerminalToken() throws RecognitionException {
EObject current = null;
@@ -3224,16 +3237,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1360:6: ( (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1361:1: (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1356:6: ( (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1357:1: (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1361:1: (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1362:5: this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1357:1: (this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1358:5: this_TerminalTokenElement= ruleTerminalTokenElement (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3008);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3059);
this_TerminalTokenElement=ruleTerminalTokenElement();
_fsp--;
@@ -3241,70 +3254,70 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_TerminalTokenElement;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1370:1: (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1366:1: (lv_cardinality= ( ( '?' | '*' ) | '+' ) )?
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( ((LA34_0>=30 && LA34_0<=32)) ) {
- alt34=1;
+ if ( ((LA33_0>=30 && LA33_0<=32)) ) {
+ alt33=1;
}
- switch (alt34) {
+ switch (alt33) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1372:6: lv_cardinality= ( ( '?' | '*' ) | '+' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:6: lv_cardinality= ( ( '?' | '*' ) | '+' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1372:21: ( ( '?' | '*' ) | '+' )
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:21: ( ( '?' | '*' ) | '+' )
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( ((LA33_0>=30 && LA33_0<=31)) ) {
- alt33=1;
+ if ( ((LA32_0>=30 && LA32_0<=31)) ) {
+ alt32=1;
}
- else if ( (LA33_0==32) ) {
- alt33=2;
+ else if ( (LA32_0==32) ) {
+ alt32=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1372:21: ( ( '?' | '*' ) | '+' )", 33, 0, input);
+ new NoViableAltException("1368:21: ( ( '?' | '*' ) | '+' )", 32, 0, input);
throw nvae;
}
- switch (alt33) {
+ switch (alt32) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1372:22: ( '?' | '*' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:22: ( '?' | '*' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1372:22: ( '?' | '*' )
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:22: ( '?' | '*' )
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA32_0==30) ) {
- alt32=1;
+ if ( (LA31_0==30) ) {
+ alt31=1;
}
- else if ( (LA32_0==31) ) {
- alt32=2;
+ else if ( (LA31_0==31) ) {
+ alt31=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1372:22: ( '?' | '*' )", 32, 0, input);
+ new NoViableAltException("1368:22: ( '?' | '*' )", 31, 0, input);
throw nvae;
}
- switch (alt32) {
+ switch (alt31) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1372:23: '?'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1368:23: '?'
{
- match(input,30,FOLLOW_30_in_ruleTerminalToken3030);
+ match(input,30,FOLLOW_30_in_ruleTerminalToken3081);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "cardinality");
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1377:6: '*'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1373:6: '*'
{
- match(input,31,FOLLOW_31_in_ruleTerminalToken3045);
+ match(input,31,FOLLOW_31_in_ruleTerminalToken3096);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "cardinality");
}
@@ -3316,11 +3329,11 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1382:6: '+'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1378:6: '+'
{
- match(input,32,FOLLOW_32_in_ruleTerminalToken3061);
+ match(input,32,FOLLOW_32_in_ruleTerminalToken3112);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.14/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "cardinality");
}
@@ -3368,7 +3381,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAssignment
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1409:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1405:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
public final EObject entryRuleAssignment() throws RecognitionException {
EObject current = null;
@@ -3376,16 +3389,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1409:52: (iv_ruleAssignment= ruleAssignment EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1410:2: iv_ruleAssignment= ruleAssignment EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1405:52: (iv_ruleAssignment= ruleAssignment EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1406:2: iv_ruleAssignment= ruleAssignment EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment3110);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment3161);
iv_ruleAssignment=ruleAssignment();
_fsp--;
current =iv_ruleAssignment;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment3120);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment3171);
}
@@ -3403,7 +3416,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAssignment
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1417:1: ruleAssignment returns [EObject current=null] : ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1413:1: ruleAssignment returns [EObject current=null] : ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) ) ;
public final EObject ruleAssignment() throws RecognitionException {
EObject current = null;
@@ -3415,22 +3428,22 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1421:6: ( ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:1: ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1417:6: ( ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:1: ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:1: ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:2: ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:1: ( ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:2: ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) ) (lv_terminal= ruleAbstractTerminal )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:2: ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:3: (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:2: ( (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:3: (lv_feature= RULE_ID ) (lv_operator= ( ( '+=' | '=' ) | '?=' ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1422:3: (lv_feature= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1424:6: lv_feature= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1418:3: (lv_feature= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1420:6: lv_feature= RULE_ID
{
lv_feature=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment3167);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment3218);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "feature");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "feature");
if (current==null) {
@@ -3447,62 +3460,62 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1442:2: (lv_operator= ( ( '+=' | '=' ) | '?=' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:6: lv_operator= ( ( '+=' | '=' ) | '?=' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1438:2: (lv_operator= ( ( '+=' | '=' ) | '?=' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1440:6: lv_operator= ( ( '+=' | '=' ) | '?=' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:18: ( ( '+=' | '=' ) | '?=' )
- int alt36=2;
- int LA36_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1440:18: ( ( '+=' | '=' ) | '?=' )
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( ((LA36_0>=33 && LA36_0<=34)) ) {
- alt36=1;
+ if ( ((LA35_0>=33 && LA35_0<=34)) ) {
+ alt35=1;
}
- else if ( (LA36_0==35) ) {
- alt36=2;
+ else if ( (LA35_0==35) ) {
+ alt35=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1444:18: ( ( '+=' | '=' ) | '?=' )", 36, 0, input);
+ new NoViableAltException("1440:18: ( ( '+=' | '=' ) | '?=' )", 35, 0, input);
throw nvae;
}
- switch (alt36) {
+ switch (alt35) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:19: ( '+=' | '=' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1440:19: ( '+=' | '=' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:19: ( '+=' | '=' )
- int alt35=2;
- int LA35_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1440:19: ( '+=' | '=' )
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( (LA35_0==33) ) {
- alt35=1;
+ if ( (LA34_0==33) ) {
+ alt34=1;
}
- else if ( (LA35_0==34) ) {
- alt35=2;
+ else if ( (LA34_0==34) ) {
+ alt34=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1444:19: ( '+=' | '=' )", 35, 0, input);
+ new NoViableAltException("1440:19: ( '+=' | '=' )", 34, 0, input);
throw nvae;
}
- switch (alt35) {
+ switch (alt34) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1444:20: '+='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1440:20: '+='
{
- match(input,33,FOLLOW_33_in_ruleAssignment3201);
+ match(input,33,FOLLOW_33_in_ruleAssignment3252);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.0" /* xtext::Keyword */, "operator");
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1449:6: '='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1445:6: '='
{
- match(input,34,FOLLOW_34_in_ruleAssignment3216);
+ match(input,34,FOLLOW_34_in_ruleAssignment3267);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0/@groups.1" /* xtext::Keyword */, "operator");
}
@@ -3514,11 +3527,11 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1454:6: '?='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1450:6: '?='
{
- match(input,35,FOLLOW_35_in_ruleAssignment3232);
+ match(input,35,FOLLOW_35_in_ruleAssignment3283);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
}
@@ -3544,13 +3557,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1472:3: (lv_terminal= ruleAbstractTerminal )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1475:6: lv_terminal= ruleAbstractTerminal
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1468:3: (lv_terminal= ruleAbstractTerminal )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1471:6: lv_terminal= ruleAbstractTerminal
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.15/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAssignment3280);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_ruleAssignment3331);
lv_terminal=ruleAbstractTerminal();
_fsp--;
@@ -3592,7 +3605,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAction
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1502:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1498:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ;
public final EObject entryRuleAction() throws RecognitionException {
EObject current = null;
@@ -3600,16 +3613,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1502:48: (iv_ruleAction= ruleAction EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1503:2: iv_ruleAction= ruleAction EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1498:48: (iv_ruleAction= ruleAction EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1499:2: iv_ruleAction= ruleAction EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAction_in_entryRuleAction3319);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAction_in_entryRuleAction3370);
iv_ruleAction=ruleAction();
_fsp--;
current =iv_ruleAction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAction3329);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAction3380);
}
@@ -3627,7 +3640,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAction
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1510:1: ruleAction returns [EObject current=null] : ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1506:1: ruleAction returns [EObject current=null] : ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' ) ;
public final EObject ruleAction() throws RecognitionException {
EObject current = null;
@@ -3639,52 +3652,52 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1514:6: ( ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1510:6: ( ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:1: ( ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' ) '}'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:2: ( ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) ) 'current'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:3: ( ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) ) (lv_operator= ( '=' | '+=' ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:4: ( ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' ) (lv_feature= RULE_ID )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:5: ( ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) ) '.'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:7: ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:6: ( ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:7: ( '{' ( 'current' '=' )? ) (lv_typeName= ruleTypeRef )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:7: ( '{' ( 'current' '=' )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:8: '{' ( 'current' '=' )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:7: ( '{' ( 'current' '=' )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1511:8: '{' ( 'current' '=' )?
{
- match(input,36,FOLLOW_36_in_ruleAction3369);
+ match(input,36,FOLLOW_36_in_ruleAction3420);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1519:1: ( 'current' '=' )?
- int alt37=2;
- int LA37_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:1: ( 'current' '=' )?
+ int alt36=2;
+ int LA36_0 = input.LA(1);
- if ( (LA37_0==37) ) {
- alt37=1;
+ if ( (LA36_0==37) ) {
+ alt36=1;
}
- switch (alt37) {
+ switch (alt36) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1519:2: 'current' '='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1515:2: 'current' '='
{
- match(input,37,FOLLOW_37_in_ruleAction3379);
+ match(input,37,FOLLOW_37_in_ruleAction3430);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- match(input,34,FOLLOW_34_in_ruleAction3388);
+ match(input,34,FOLLOW_34_in_ruleAction3439);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -3695,13 +3708,13 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1527:4: (lv_typeName= ruleTypeRef )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1530:6: lv_typeName= ruleTypeRef
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1523:4: (lv_typeName= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1526:6: lv_typeName= ruleTypeRef
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleAction3425);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleAction3476);
lv_typeName=ruleTypeRef();
_fsp--;
@@ -3724,20 +3737,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,13,FOLLOW_13_in_ruleAction3439);
+ match(input,18,FOLLOW_18_in_ruleAction3490);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1552:2: (lv_feature= RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1554:6: lv_feature= RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1548:2: (lv_feature= RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1550:6: lv_feature= RULE_ID
{
lv_feature=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAction3461);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAction3512);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "feature");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "feature");
if (current==null) {
@@ -3757,42 +3770,42 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1572:3: (lv_operator= ( '=' | '+=' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1574:6: lv_operator= ( '=' | '+=' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1568:3: (lv_operator= ( '=' | '+=' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1570:6: lv_operator= ( '=' | '+=' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1574:18: ( '=' | '+=' )
- int alt38=2;
- int LA38_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1570:18: ( '=' | '+=' )
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- if ( (LA38_0==34) ) {
- alt38=1;
+ if ( (LA37_0==34) ) {
+ alt37=1;
}
- else if ( (LA38_0==33) ) {
- alt38=2;
+ else if ( (LA37_0==33) ) {
+ alt37=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1574:18: ( '=' | '+=' )", 38, 0, input);
+ new NoViableAltException("1570:18: ( '=' | '+=' )", 37, 0, input);
throw nvae;
}
- switch (alt38) {
+ switch (alt37) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1574:19: '='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1570:19: '='
{
- match(input,34,FOLLOW_34_in_ruleAction3495);
+ match(input,34,FOLLOW_34_in_ruleAction3546);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0" /* xtext::Keyword */, "operator");
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1579:6: '+='
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1575:6: '+='
{
- match(input,33,FOLLOW_33_in_ruleAction3510);
+ match(input,33,FOLLOW_33_in_ruleAction3561);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
}
@@ -3818,16 +3831,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,37,FOLLOW_37_in_ruleAction3533);
+ match(input,37,FOLLOW_37_in_ruleAction3584);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- match(input,38,FOLLOW_38_in_ruleAction3543);
+ match(input,38,FOLLOW_38_in_ruleAction3594);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.16/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -3851,7 +3864,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractTerminal
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1614:1: entryRuleAbstractTerminal returns [EObject current=null] : iv_ruleAbstractTerminal= ruleAbstractTerminal EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1610:1: entryRuleAbstractTerminal returns [EObject current=null] : iv_ruleAbstractTerminal= ruleAbstractTerminal EOF ;
public final EObject entryRuleAbstractTerminal() throws RecognitionException {
EObject current = null;
@@ -3859,16 +3872,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1614:58: (iv_ruleAbstractTerminal= ruleAbstractTerminal EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1615:2: iv_ruleAbstractTerminal= ruleAbstractTerminal EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1610:58: (iv_ruleAbstractTerminal= ruleAbstractTerminal EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1611:2: iv_ruleAbstractTerminal= ruleAbstractTerminal EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3578);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3629);
iv_ruleAbstractTerminal=ruleAbstractTerminal();
_fsp--;
current =iv_ruleAbstractTerminal;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractTerminal3588);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractTerminal3639);
}
@@ -3886,7 +3899,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractTerminal
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1622:1: ruleAbstractTerminal returns [EObject current=null] : ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1618:1: ruleAbstractTerminal returns [EObject current=null] : ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference ) ;
public final EObject ruleAbstractTerminal() throws RecognitionException {
EObject current = null;
@@ -3902,73 +3915,73 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1626:6: ( ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1622:6: ( ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )
- int alt41=2;
- int LA41_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( ((LA41_0>=RULE_ID && LA41_0<=RULE_STRING)||LA41_0==16) ) {
- alt41=1;
+ if ( ((LA40_0>=RULE_ID && LA40_0<=RULE_STRING)||LA40_0==15) ) {
+ alt40=1;
}
- else if ( (LA41_0==42) ) {
- alt41=2;
+ else if ( (LA40_0==42) ) {
+ alt40=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1627:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )", 41, 0, input);
+ new NoViableAltException("1623:1: ( ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement ) | this_CrossReference= ruleCrossReference )", 40, 0, input);
throw nvae;
}
- switch (alt41) {
+ switch (alt40) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )
- int alt40=2;
- int LA40_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( ((LA40_0>=RULE_ID && LA40_0<=RULE_STRING)) ) {
- alt40=1;
+ if ( ((LA39_0>=RULE_ID && LA39_0<=RULE_STRING)) ) {
+ alt39=1;
}
- else if ( (LA40_0==16) ) {
- alt40=2;
+ else if ( (LA39_0==15) ) {
+ alt39=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1627:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )", 40, 0, input);
+ new NoViableAltException("1623:2: ( (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall ) | this_ParenthesizedElement= ruleParenthesizedElement )", 39, 0, input);
throw nvae;
}
- switch (alt40) {
+ switch (alt39) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1627:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )
- int alt39=2;
- int LA39_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1623:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( (LA39_0==RULE_STRING) ) {
- alt39=1;
+ if ( (LA38_0==RULE_STRING) ) {
+ alt38=1;
}
- else if ( (LA39_0==RULE_ID) ) {
- alt39=2;
+ else if ( (LA38_0==RULE_ID) ) {
+ alt38=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1627:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )", 39, 0, input);
+ new NoViableAltException("1623:3: (this_Keyword= ruleKeyword | this_RuleCall= ruleRuleCall )", 38, 0, input);
throw nvae;
}
- switch (alt39) {
+ switch (alt38) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1628:5: this_Keyword= ruleKeyword
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1624:5: this_Keyword= ruleKeyword
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleAbstractTerminal3637);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleAbstractTerminal3688);
this_Keyword=ruleKeyword();
_fsp--;
@@ -3980,12 +3993,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1638:5: this_RuleCall= ruleRuleCall
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1634:5: this_RuleCall= ruleRuleCall
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3664);
+ pushFollow(FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3715);
this_RuleCall=ruleRuleCall();
_fsp--;
@@ -4003,12 +4016,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1648:5: this_ParenthesizedElement= ruleParenthesizedElement
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1644:5: this_ParenthesizedElement= ruleParenthesizedElement
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3692);
+ pushFollow(FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3743);
this_ParenthesizedElement=ruleParenthesizedElement();
_fsp--;
@@ -4026,12 +4039,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1658:5: this_CrossReference= ruleCrossReference
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1654:5: this_CrossReference= ruleCrossReference
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.17/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3720);
+ pushFollow(FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3771);
this_CrossReference=ruleCrossReference();
_fsp--;
@@ -4064,7 +4077,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleTerminalTokenElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1675:1: entryRuleTerminalTokenElement returns [EObject current=null] : iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1671:1: entryRuleTerminalTokenElement returns [EObject current=null] : iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF ;
public final EObject entryRuleTerminalTokenElement() throws RecognitionException {
EObject current = null;
@@ -4072,16 +4085,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1675:62: (iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1676:2: iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1671:62: (iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1672:2: iv_ruleTerminalTokenElement= ruleTerminalTokenElement EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3754);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3805);
iv_ruleTerminalTokenElement=ruleTerminalTokenElement();
_fsp--;
current =iv_ruleTerminalTokenElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalTokenElement3764);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleTerminalTokenElement3815);
}
@@ -4099,7 +4112,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleTerminalTokenElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1683:1: ruleTerminalTokenElement returns [EObject current=null] : ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1679:1: ruleTerminalTokenElement returns [EObject current=null] : ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard ) ;
public final EObject ruleTerminalTokenElement() throws RecognitionException {
EObject current = null;
@@ -4117,93 +4130,93 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1687:6: ( ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1683:6: ( ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )
- int alt45=2;
- int LA45_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( ((LA45_0>=RULE_ID && LA45_0<=RULE_STRING)||LA45_0==16||(LA45_0>=39 && LA45_0<=40)) ) {
- alt45=1;
+ if ( ((LA44_0>=RULE_ID && LA44_0<=RULE_STRING)||LA44_0==15||(LA44_0>=39 && LA44_0<=40)) ) {
+ alt44=1;
}
- else if ( (LA45_0==13) ) {
- alt45=2;
+ else if ( (LA44_0==18) ) {
+ alt44=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1688:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )", 45, 0, input);
+ new NoViableAltException("1684:1: ( ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken ) | this_Wildcard= ruleWildcard )", 44, 0, input);
throw nvae;
}
- switch (alt45) {
+ switch (alt44) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )
- int alt44=2;
- int LA44_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )
+ int alt43=2;
+ int LA43_0 = input.LA(1);
- if ( ((LA44_0>=RULE_ID && LA44_0<=RULE_STRING)||LA44_0==16) ) {
- alt44=1;
+ if ( ((LA43_0>=RULE_ID && LA43_0<=RULE_STRING)||LA43_0==15) ) {
+ alt43=1;
}
- else if ( ((LA44_0>=39 && LA44_0<=40)) ) {
- alt44=2;
+ else if ( ((LA43_0>=39 && LA43_0<=40)) ) {
+ alt43=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1688:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )", 44, 0, input);
+ new NoViableAltException("1684:2: ( ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement ) | this_AbstractNegatedToken= ruleAbstractNegatedToken )", 43, 0, input);
throw nvae;
}
- switch (alt44) {
+ switch (alt43) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )
- int alt43=2;
- int LA43_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- if ( ((LA43_0>=RULE_ID && LA43_0<=RULE_STRING)) ) {
- alt43=1;
+ if ( ((LA42_0>=RULE_ID && LA42_0<=RULE_STRING)) ) {
+ alt42=1;
}
- else if ( (LA43_0==16) ) {
- alt43=2;
+ else if ( (LA42_0==15) ) {
+ alt42=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1688:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )", 43, 0, input);
+ new NoViableAltException("1684:3: ( (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall ) | this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement )", 42, 0, input);
throw nvae;
}
- switch (alt43) {
+ switch (alt42) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1688:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )
- int alt42=2;
- int LA42_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1684:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( (LA42_0==RULE_STRING) ) {
- alt42=1;
+ if ( (LA41_0==RULE_STRING) ) {
+ alt41=1;
}
- else if ( (LA42_0==RULE_ID) ) {
- alt42=2;
+ else if ( (LA41_0==RULE_ID) ) {
+ alt41=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1688:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )", 42, 0, input);
+ new NoViableAltException("1684:4: (this_CharacterRange= ruleCharacterRange | this_RuleCall= ruleRuleCall )", 41, 0, input);
throw nvae;
}
- switch (alt42) {
+ switch (alt41) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1689:5: this_CharacterRange= ruleCharacterRange
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1685:5: this_CharacterRange= ruleCharacterRange
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3814);
+ pushFollow(FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3865);
this_CharacterRange=ruleCharacterRange();
_fsp--;
@@ -4215,12 +4228,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1699:5: this_RuleCall= ruleRuleCall
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1695:5: this_RuleCall= ruleRuleCall
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3841);
+ pushFollow(FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3892);
this_RuleCall=ruleRuleCall();
_fsp--;
@@ -4238,12 +4251,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1709:5: this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1705:5: this_ParenthesizedTerminalElement= ruleParenthesizedTerminalElement
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3869);
+ pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3920);
this_ParenthesizedTerminalElement=ruleParenthesizedTerminalElement();
_fsp--;
@@ -4261,12 +4274,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1719:5: this_AbstractNegatedToken= ruleAbstractNegatedToken
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1715:5: this_AbstractNegatedToken= ruleAbstractNegatedToken
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3897);
+ pushFollow(FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3948);
this_AbstractNegatedToken=ruleAbstractNegatedToken();
_fsp--;
@@ -4284,12 +4297,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1729:5: this_Wildcard= ruleWildcard
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1725:5: this_Wildcard= ruleWildcard
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.18/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3925);
+ pushFollow(FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3976);
this_Wildcard=ruleWildcard();
_fsp--;
@@ -4322,7 +4335,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleAbstractNegatedToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1746:1: entryRuleAbstractNegatedToken returns [EObject current=null] : iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1742:1: entryRuleAbstractNegatedToken returns [EObject current=null] : iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF ;
public final EObject entryRuleAbstractNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4330,16 +4343,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1746:62: (iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1747:2: iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1742:62: (iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1743:2: iv_ruleAbstractNegatedToken= ruleAbstractNegatedToken EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3959);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken4010);
iv_ruleAbstractNegatedToken=ruleAbstractNegatedToken();
_fsp--;
current =iv_ruleAbstractNegatedToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractNegatedToken3969);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractNegatedToken4020);
}
@@ -4357,7 +4370,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleAbstractNegatedToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1754:1: ruleAbstractNegatedToken returns [EObject current=null] : (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1750:1: ruleAbstractNegatedToken returns [EObject current=null] : (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken ) ;
public final EObject ruleAbstractNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4369,33 +4382,33 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1758:6: ( (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1759:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1754:6: ( (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1755:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1759:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )
- int alt46=2;
- int LA46_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1755:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )
+ int alt45=2;
+ int LA45_0 = input.LA(1);
- if ( (LA46_0==39) ) {
- alt46=1;
+ if ( (LA45_0==39) ) {
+ alt45=1;
}
- else if ( (LA46_0==40) ) {
- alt46=2;
+ else if ( (LA45_0==40) ) {
+ alt45=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1759:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )", 46, 0, input);
+ new NoViableAltException("1755:1: (this_NegatedToken= ruleNegatedToken | this_UpToToken= ruleUpToToken )", 45, 0, input);
throw nvae;
}
- switch (alt46) {
+ switch (alt45) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1760:5: this_NegatedToken= ruleNegatedToken
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1756:5: this_NegatedToken= ruleNegatedToken
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4016);
+ pushFollow(FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4067);
this_NegatedToken=ruleNegatedToken();
_fsp--;
@@ -4407,12 +4420,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
break;
case 2 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1770:5: this_UpToToken= ruleUpToToken
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1766:5: this_UpToToken= ruleUpToToken
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.19/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4043);
+ pushFollow(FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4094);
this_UpToToken=ruleUpToToken();
_fsp--;
@@ -4445,7 +4458,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleNegatedToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1787:1: entryRuleNegatedToken returns [EObject current=null] : iv_ruleNegatedToken= ruleNegatedToken EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1783:1: entryRuleNegatedToken returns [EObject current=null] : iv_ruleNegatedToken= ruleNegatedToken EOF ;
public final EObject entryRuleNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4453,16 +4466,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1787:54: (iv_ruleNegatedToken= ruleNegatedToken EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1788:2: iv_ruleNegatedToken= ruleNegatedToken EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1783:54: (iv_ruleNegatedToken= ruleNegatedToken EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1784:2: iv_ruleNegatedToken= ruleNegatedToken EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4077);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4128);
iv_ruleNegatedToken=ruleNegatedToken();
_fsp--;
current =iv_ruleNegatedToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNegatedToken4087);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNegatedToken4138);
}
@@ -4480,7 +4493,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleNegatedToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1795:1: ruleNegatedToken returns [EObject current=null] : ( '!' (lv_terminal= ruleTerminalTokenElement ) ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1791:1: ruleNegatedToken returns [EObject current=null] : ( '!' (lv_terminal= ruleTerminalTokenElement ) ) ;
public final EObject ruleNegatedToken() throws RecognitionException {
EObject current = null;
@@ -4490,23 +4503,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1799:6: ( ( '!' (lv_terminal= ruleTerminalTokenElement ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1800:1: ( '!' (lv_terminal= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1795:6: ( ( '!' (lv_terminal= ruleTerminalTokenElement ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1796:1: ( '!' (lv_terminal= ruleTerminalTokenElement ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1800:1: ( '!' (lv_terminal= ruleTerminalTokenElement ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1800:2: '!' (lv_terminal= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1796:1: ( '!' (lv_terminal= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1796:2: '!' (lv_terminal= ruleTerminalTokenElement )
{
- match(input,39,FOLLOW_39_in_ruleNegatedToken4121);
+ match(input,39,FOLLOW_39_in_ruleNegatedToken4172);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1804:1: (lv_terminal= ruleTerminalTokenElement )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1807:6: lv_terminal= ruleTerminalTokenElement
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1800:1: (lv_terminal= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1803:6: lv_terminal= ruleTerminalTokenElement
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.20/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4155);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4206);
lv_terminal=ruleTerminalTokenElement();
_fsp--;
@@ -4548,7 +4561,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleUpToToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1834:1: entryRuleUpToToken returns [EObject current=null] : iv_ruleUpToToken= ruleUpToToken EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1830:1: entryRuleUpToToken returns [EObject current=null] : iv_ruleUpToToken= ruleUpToToken EOF ;
public final EObject entryRuleUpToToken() throws RecognitionException {
EObject current = null;
@@ -4556,16 +4569,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1834:51: (iv_ruleUpToToken= ruleUpToToken EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1835:2: iv_ruleUpToToken= ruleUpToToken EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1830:51: (iv_ruleUpToToken= ruleUpToToken EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1831:2: iv_ruleUpToToken= ruleUpToToken EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleUpToToken_in_entryRuleUpToToken4194);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleUpToToken_in_entryRuleUpToToken4245);
iv_ruleUpToToken=ruleUpToToken();
_fsp--;
current =iv_ruleUpToToken;
- match(input,EOF,FOLLOW_EOF_in_entryRuleUpToToken4204);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleUpToToken4255);
}
@@ -4583,7 +4596,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleUpToToken
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1842:1: ruleUpToToken returns [EObject current=null] : ( '->' (lv_terminal= ruleTerminalTokenElement ) ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1838:1: ruleUpToToken returns [EObject current=null] : ( '->' (lv_terminal= ruleTerminalTokenElement ) ) ;
public final EObject ruleUpToToken() throws RecognitionException {
EObject current = null;
@@ -4593,23 +4606,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1846:6: ( ( '->' (lv_terminal= ruleTerminalTokenElement ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1847:1: ( '->' (lv_terminal= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1842:6: ( ( '->' (lv_terminal= ruleTerminalTokenElement ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1843:1: ( '->' (lv_terminal= ruleTerminalTokenElement ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1847:1: ( '->' (lv_terminal= ruleTerminalTokenElement ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1847:2: '->' (lv_terminal= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1843:1: ( '->' (lv_terminal= ruleTerminalTokenElement ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1843:2: '->' (lv_terminal= ruleTerminalTokenElement )
{
- match(input,40,FOLLOW_40_in_ruleUpToToken4238);
+ match(input,40,FOLLOW_40_in_ruleUpToToken4289);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1851:1: (lv_terminal= ruleTerminalTokenElement )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1854:6: lv_terminal= ruleTerminalTokenElement
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1847:1: (lv_terminal= ruleTerminalTokenElement )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1850:6: lv_terminal= ruleTerminalTokenElement
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.21/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4272);
+ pushFollow(FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4323);
lv_terminal=ruleTerminalTokenElement();
_fsp--;
@@ -4651,7 +4664,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleWildcard
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1881:1: entryRuleWildcard returns [EObject current=null] : iv_ruleWildcard= ruleWildcard EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1877:1: entryRuleWildcard returns [EObject current=null] : iv_ruleWildcard= ruleWildcard EOF ;
public final EObject entryRuleWildcard() throws RecognitionException {
EObject current = null;
@@ -4659,16 +4672,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1881:50: (iv_ruleWildcard= ruleWildcard EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1882:2: iv_ruleWildcard= ruleWildcard EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1877:50: (iv_ruleWildcard= ruleWildcard EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1878:2: iv_ruleWildcard= ruleWildcard EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleWildcard_in_entryRuleWildcard4311);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleWildcard_in_entryRuleWildcard4362);
iv_ruleWildcard=ruleWildcard();
_fsp--;
current =iv_ruleWildcard;
- match(input,EOF,FOLLOW_EOF_in_entryRuleWildcard4321);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleWildcard4372);
}
@@ -4686,7 +4699,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleWildcard
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1889:1: ruleWildcard returns [EObject current=null] : (lv_isWildcard= '.' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1885:1: ruleWildcard returns [EObject current=null] : (lv_isWildcard= '.' ) ;
public final EObject ruleWildcard() throws RecognitionException {
EObject current = null;
@@ -4695,16 +4708,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1893:6: ( (lv_isWildcard= '.' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1894:1: (lv_isWildcard= '.' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1889:6: ( (lv_isWildcard= '.' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1890:1: (lv_isWildcard= '.' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1894:1: (lv_isWildcard= '.' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1896:6: lv_isWildcard= '.'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1890:1: (lv_isWildcard= '.' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1892:6: lv_isWildcard= '.'
{
lv_isWildcard=(Token)input.LT(1);
- match(input,13,FOLLOW_13_in_ruleWildcard4366);
+ match(input,18,FOLLOW_18_in_ruleWildcard4417);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.22/@alternatives/@terminal" /* xtext::Keyword */, "isWildcard");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@terminal" /* xtext::Keyword */, "isWildcard");
if (current==null) {
@@ -4740,7 +4753,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleCharacterRange
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1923:1: entryRuleCharacterRange returns [EObject current=null] : iv_ruleCharacterRange= ruleCharacterRange EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1919:1: entryRuleCharacterRange returns [EObject current=null] : iv_ruleCharacterRange= ruleCharacterRange EOF ;
public final EObject entryRuleCharacterRange() throws RecognitionException {
EObject current = null;
@@ -4748,16 +4761,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1923:56: (iv_ruleCharacterRange= ruleCharacterRange EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1924:2: iv_ruleCharacterRange= ruleCharacterRange EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1919:56: (iv_ruleCharacterRange= ruleCharacterRange EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1920:2: iv_ruleCharacterRange= ruleCharacterRange EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4412);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4463);
iv_ruleCharacterRange=ruleCharacterRange();
_fsp--;
current =iv_ruleCharacterRange;
- match(input,EOF,FOLLOW_EOF_in_entryRuleCharacterRange4422);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleCharacterRange4473);
}
@@ -4775,7 +4788,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleCharacterRange
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1931:1: ruleCharacterRange returns [EObject current=null] : (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1927:1: ruleCharacterRange returns [EObject current=null] : (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? ) ;
public final EObject ruleCharacterRange() throws RecognitionException {
EObject current = null;
@@ -4787,16 +4800,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1935:6: ( (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1936:1: (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1931:6: ( (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1932:1: (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1936:1: (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1937:5: this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1932:1: (this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1933:5: this_Keyword= ruleKeyword ( ( () '..' ) (lv_right= ruleKeyword ) )?
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4469);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4520);
this_Keyword=ruleKeyword();
_fsp--;
@@ -4804,22 +4817,22 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
current = this_Keyword;
currentNode = currentNode.getParent();
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1945:1: ( ( () '..' ) (lv_right= ruleKeyword ) )?
- int alt47=2;
- int LA47_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1941:1: ( ( () '..' ) (lv_right= ruleKeyword ) )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA47_0==41) ) {
- alt47=1;
+ if ( (LA46_0==41) ) {
+ alt46=1;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1945:2: ( () '..' ) (lv_right= ruleKeyword )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1941:2: ( () '..' ) (lv_right= ruleKeyword )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1945:2: ( () '..' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1945:3: () '..'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1941:2: ( () '..' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1941:3: () '..'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1945:3: ()
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1946:5:
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1941:3: ()
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1942:5:
{
temp=factory.create("CharacterRange");
@@ -4830,7 +4843,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
current = temp;
temp = null;
- CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
+ CompositeNode newNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Action */, currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
@@ -4839,20 +4852,20 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,41,FOLLOW_41_in_ruleCharacterRange4488);
+ match(input,41,FOLLOW_41_in_ruleCharacterRange4539);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1965:2: (lv_right= ruleKeyword )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1968:6: lv_right= ruleKeyword
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1961:2: (lv_right= ruleKeyword )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1964:6: lv_right= ruleKeyword
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.23/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4523);
+ pushFollow(FOLLOW_ruleKeyword_in_ruleCharacterRange4574);
lv_right=ruleKeyword();
_fsp--;
@@ -4900,7 +4913,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleCrossReference
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1995:1: entryRuleCrossReference returns [EObject current=null] : iv_ruleCrossReference= ruleCrossReference EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1991:1: entryRuleCrossReference returns [EObject current=null] : iv_ruleCrossReference= ruleCrossReference EOF ;
public final EObject entryRuleCrossReference() throws RecognitionException {
EObject current = null;
@@ -4908,16 +4921,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1995:56: (iv_ruleCrossReference= ruleCrossReference EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1996:2: iv_ruleCrossReference= ruleCrossReference EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1991:56: (iv_ruleCrossReference= ruleCrossReference EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1992:2: iv_ruleCrossReference= ruleCrossReference EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleCrossReference_in_entryRuleCrossReference4564);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleCrossReference_in_entryRuleCrossReference4615);
iv_ruleCrossReference=ruleCrossReference();
_fsp--;
current =iv_ruleCrossReference;
- match(input,EOF,FOLLOW_EOF_in_entryRuleCrossReference4574);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleCrossReference4625);
}
@@ -4935,7 +4948,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleCrossReference
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2003:1: ruleCrossReference returns [EObject current=null] : ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:1999:1: ruleCrossReference returns [EObject current=null] : ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' ) ;
public final EObject ruleCrossReference() throws RecognitionException {
EObject current = null;
@@ -4945,29 +4958,29 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2007:6: ( ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:1: ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2003:6: ( ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:1: ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:1: ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:2: ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:1: ( ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:2: ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? ) ']'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:2: ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:3: ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )?
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:2: ( ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )? )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:3: ( '[' (lv_type= ruleTypeRef ) ) ( '|' ( ( RULE_ID ) ) )?
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:3: ( '[' (lv_type= ruleTypeRef ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:4: '[' (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:3: ( '[' (lv_type= ruleTypeRef ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2004:4: '[' (lv_type= ruleTypeRef )
{
- match(input,42,FOLLOW_42_in_ruleCrossReference4610);
+ match(input,42,FOLLOW_42_in_ruleCrossReference4661);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2012:1: (lv_type= ruleTypeRef )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2015:6: lv_type= ruleTypeRef
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2008:1: (lv_type= ruleTypeRef )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2011:6: lv_type= ruleTypeRef
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTypeRef_in_ruleCrossReference4644);
+ pushFollow(FOLLOW_ruleTypeRef_in_ruleCrossReference4695);
lv_type=ruleTypeRef();
_fsp--;
@@ -4990,23 +5003,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2033:3: ( '|' ( ( RULE_ID ) ) )?
- int alt48=2;
- int LA48_0 = input.LA(1);
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2029:3: ( '|' ( ( RULE_ID ) ) )?
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA48_0==29) ) {
- alt48=1;
+ if ( (LA47_0==29) ) {
+ alt47=1;
}
- switch (alt48) {
+ switch (alt47) {
case 1 :
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2033:4: '|' ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2029:4: '|' ( ( RULE_ID ) )
{
- match(input,29,FOLLOW_29_in_ruleCrossReference4659);
+ match(input,29,FOLLOW_29_in_ruleCrossReference4710);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2037:1: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2040:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2033:1: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2036:3: ( RULE_ID )
{
if (current==null) {
@@ -5014,12 +5027,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2046:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2047:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2042:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2043:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCrossReference4683);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCrossReference4734);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "rule");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "rule");
}
@@ -5036,9 +5049,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,43,FOLLOW_43_in_ruleCrossReference4699);
+ match(input,43,FOLLOW_43_in_ruleCrossReference4750);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.24/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -5062,7 +5075,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParenthesizedElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2065:1: entryRuleParenthesizedElement returns [EObject current=null] : iv_ruleParenthesizedElement= ruleParenthesizedElement EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:1: entryRuleParenthesizedElement returns [EObject current=null] : iv_ruleParenthesizedElement= ruleParenthesizedElement EOF ;
public final EObject entryRuleParenthesizedElement() throws RecognitionException {
EObject current = null;
@@ -5070,16 +5083,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2065:62: (iv_ruleParenthesizedElement= ruleParenthesizedElement EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2066:2: iv_ruleParenthesizedElement= ruleParenthesizedElement EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2061:62: (iv_ruleParenthesizedElement= ruleParenthesizedElement EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2062:2: iv_ruleParenthesizedElement= ruleParenthesizedElement EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4734);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4785);
iv_ruleParenthesizedElement=ruleParenthesizedElement();
_fsp--;
current =iv_ruleParenthesizedElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedElement4744);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedElement4795);
}
@@ -5097,7 +5110,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParenthesizedElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2073:1: ruleParenthesizedElement returns [EObject current=null] : ( ( '(' this_Alternatives= ruleAlternatives ) ')' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2069:1: ruleParenthesizedElement returns [EObject current=null] : ( ( '(' this_Alternatives= ruleAlternatives ) ')' ) ;
public final EObject ruleParenthesizedElement() throws RecognitionException {
EObject current = null;
@@ -5107,23 +5120,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2077:6: ( ( ( '(' this_Alternatives= ruleAlternatives ) ')' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2078:1: ( ( '(' this_Alternatives= ruleAlternatives ) ')' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2073:6: ( ( ( '(' this_Alternatives= ruleAlternatives ) ')' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2074:1: ( ( '(' this_Alternatives= ruleAlternatives ) ')' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2078:1: ( ( '(' this_Alternatives= ruleAlternatives ) ')' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2078:2: ( '(' this_Alternatives= ruleAlternatives ) ')'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2074:1: ( ( '(' this_Alternatives= ruleAlternatives ) ')' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2074:2: ( '(' this_Alternatives= ruleAlternatives ) ')'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2078:2: ( '(' this_Alternatives= ruleAlternatives )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2078:3: '(' this_Alternatives= ruleAlternatives
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2074:2: ( '(' this_Alternatives= ruleAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2074:3: '(' this_Alternatives= ruleAlternatives
{
- match(input,16,FOLLOW_16_in_ruleParenthesizedElement4779);
+ match(input,15,FOLLOW_15_in_ruleParenthesizedElement4830);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4801);
+ pushFollow(FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4852);
this_Alternatives=ruleAlternatives();
_fsp--;
@@ -5134,9 +5147,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,18,FOLLOW_18_in_ruleParenthesizedElement4810);
+ match(input,17,FOLLOW_17_in_ruleParenthesizedElement4861);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.25/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -5160,7 +5173,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleParenthesizedTerminalElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2104:1: entryRuleParenthesizedTerminalElement returns [EObject current=null] : iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2100:1: entryRuleParenthesizedTerminalElement returns [EObject current=null] : iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF ;
public final EObject entryRuleParenthesizedTerminalElement() throws RecognitionException {
EObject current = null;
@@ -5168,16 +5181,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2104:70: (iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2105:2: iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2100:70: (iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2101:2: iv_ruleParenthesizedTerminalElement= ruleParenthesizedTerminalElement EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4845);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4896);
iv_ruleParenthesizedTerminalElement=ruleParenthesizedTerminalElement();
_fsp--;
current =iv_ruleParenthesizedTerminalElement;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4855);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4906);
}
@@ -5195,7 +5208,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleParenthesizedTerminalElement
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:1: ruleParenthesizedTerminalElement returns [EObject current=null] : ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2108:1: ruleParenthesizedTerminalElement returns [EObject current=null] : ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' ) ;
public final EObject ruleParenthesizedTerminalElement() throws RecognitionException {
EObject current = null;
@@ -5205,23 +5218,23 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2116:6: ( ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2117:1: ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2112:6: ( ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2113:1: ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2117:1: ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2117:2: ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')'
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2113:1: ( ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')' )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2113:2: ( '(' this_TerminalAlternatives= ruleTerminalAlternatives ) ')'
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2117:2: ( '(' this_TerminalAlternatives= ruleTerminalAlternatives )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2117:3: '(' this_TerminalAlternatives= ruleTerminalAlternatives
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2113:2: ( '(' this_TerminalAlternatives= ruleTerminalAlternatives )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2113:3: '(' this_TerminalAlternatives= ruleTerminalAlternatives
{
- match(input,16,FOLLOW_16_in_ruleParenthesizedTerminalElement4890);
+ match(input,15,FOLLOW_15_in_ruleParenthesizedTerminalElement4941);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.0/@abstractTokens.1" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4912);
+ pushFollow(FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4963);
this_TerminalAlternatives=ruleTerminalAlternatives();
_fsp--;
@@ -5232,9 +5245,9 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
}
- match(input,18,FOLLOW_18_in_ruleParenthesizedTerminalElement4921);
+ match(input,17,FOLLOW_17_in_ruleParenthesizedTerminalElement4972);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.26/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
@@ -5258,7 +5271,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleKeyword
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2143:1: entryRuleKeyword returns [EObject current=null] : iv_ruleKeyword= ruleKeyword EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2139:1: entryRuleKeyword returns [EObject current=null] : iv_ruleKeyword= ruleKeyword EOF ;
public final EObject entryRuleKeyword() throws RecognitionException {
EObject current = null;
@@ -5266,16 +5279,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2143:49: (iv_ruleKeyword= ruleKeyword EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2144:2: iv_ruleKeyword= ruleKeyword EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2139:49: (iv_ruleKeyword= ruleKeyword EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2140:2: iv_ruleKeyword= ruleKeyword EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleKeyword_in_entryRuleKeyword4956);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleKeyword_in_entryRuleKeyword5007);
iv_ruleKeyword=ruleKeyword();
_fsp--;
current =iv_ruleKeyword;
- match(input,EOF,FOLLOW_EOF_in_entryRuleKeyword4966);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleKeyword5017);
}
@@ -5293,7 +5306,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleKeyword
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2151:1: ruleKeyword returns [EObject current=null] : (lv_value= RULE_STRING ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2147:1: ruleKeyword returns [EObject current=null] : (lv_value= RULE_STRING ) ;
public final EObject ruleKeyword() throws RecognitionException {
EObject current = null;
@@ -5302,16 +5315,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2155:6: ( (lv_value= RULE_STRING ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2156:1: (lv_value= RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2151:6: ( (lv_value= RULE_STRING ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:1: (lv_value= RULE_STRING )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2156:1: (lv_value= RULE_STRING )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2158:6: lv_value= RULE_STRING
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2152:1: (lv_value= RULE_STRING )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2154:6: lv_value= RULE_STRING
{
lv_value=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleKeyword5011);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleKeyword5062);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.27/@alternatives/@terminal" /* xtext::RuleCall */, "value");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28/@alternatives/@terminal" /* xtext::RuleCall */, "value");
if (current==null) {
@@ -5347,7 +5360,7 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start entryRuleRuleCall
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2185:1: entryRuleRuleCall returns [EObject current=null] : iv_ruleRuleCall= ruleRuleCall EOF ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2181:1: entryRuleRuleCall returns [EObject current=null] : iv_ruleRuleCall= ruleRuleCall EOF ;
public final EObject entryRuleRuleCall() throws RecognitionException {
EObject current = null;
@@ -5355,16 +5368,16 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2185:50: (iv_ruleRuleCall= ruleRuleCall EOF )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2186:2: iv_ruleRuleCall= ruleRuleCall EOF
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2181:50: (iv_ruleRuleCall= ruleRuleCall EOF )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2182:2: iv_ruleRuleCall= ruleRuleCall EOF
{
- currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleRuleCall_in_entryRuleRuleCall5056);
+ currentNode = createCompositeNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.29" /* xtext::ParserRule */, currentNode);
+ pushFollow(FOLLOW_ruleRuleCall_in_entryRuleRuleCall5107);
iv_ruleRuleCall=ruleRuleCall();
_fsp--;
current =iv_ruleRuleCall;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRuleCall5066);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRuleCall5117);
}
@@ -5382,18 +5395,18 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
// $ANTLR start ruleRuleCall
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2193:1: ruleRuleCall returns [EObject current=null] : ( ( RULE_ID ) ) ;
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2189:1: ruleRuleCall returns [EObject current=null] : ( ( RULE_ID ) ) ;
public final EObject ruleRuleCall() throws RecognitionException {
EObject current = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2197:6: ( ( ( RULE_ID ) ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2198:1: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2193:6: ( ( ( RULE_ID ) ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2194:1: ( ( RULE_ID ) )
{
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2198:1: ( ( RULE_ID ) )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2201:3: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2194:1: ( ( RULE_ID ) )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2197:3: ( RULE_ID )
{
if (current==null) {
@@ -5401,12 +5414,12 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
associateNodeWithAstElement(currentNode, current);
}
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2207:1: ( RULE_ID )
- // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2208:2: RULE_ID
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2203:1: ( RULE_ID )
+ // ../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g:2204:2: RULE_ID
{
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuleCall5114);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuleCall5165);
- createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.28/@alternatives/@terminal" /* xtext::CrossReference */, "rule");
+ createLeafNode("classpath:/org/eclipse/xtext/XtextGrammarTestLanguage.xmi#/0/@rules.29/@alternatives/@terminal" /* xtext::CrossReference */, "rule");
}
@@ -5436,189 +5449,190 @@ public class InternalXtextGrammarTestLanguageParser extends AbstractInternalAntl
public static final BitSet FOLLOW_ruleGrammar_in_entryRuleGrammar72 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleGrammar82 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_ruleGrammar134 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_12_in_ruleGrammar161 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar183 = new BitSet(new long[]{0x0000000008E8E010L});
- public static final BitSet FOLLOW_13_in_ruleGrammar205 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar226 = new BitSet(new long[]{0x0000000008E8E010L});
- public static final BitSet FOLLOW_14_in_ruleGrammar251 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar272 = new BitSet(new long[]{0x0000000008E8A010L});
- public static final BitSet FOLLOW_13_in_ruleGrammar294 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar315 = new BitSet(new long[]{0x0000000008E8A010L});
- public static final BitSet FOLLOW_15_in_ruleGrammar355 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleGrammar376 = new BitSet(new long[]{0x0000000000040010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar402 = new BitSet(new long[]{0x0000000000060000L});
- public static final BitSet FOLLOW_17_in_ruleGrammar416 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar440 = new BitSet(new long[]{0x0000000000060000L});
- public static final BitSet FOLLOW_18_in_ruleGrammar458 = new BitSet(new long[]{0x0000000008E80010L});
- public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar495 = new BitSet(new long[]{0x0000000008E80010L});
- public static final BitSet FOLLOW_ruleAbstractRule_in_ruleGrammar535 = new BitSet(new long[]{0x0000000008C00012L});
- public static final BitSet FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule575 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractRule585 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLexerRule_in_ruleAbstractRule633 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParserRule_in_ruleAbstractRule660 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalRule_in_ruleAbstractRule688 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration722 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration732 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration779 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration806 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel840 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGeneratedMetamodel850 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_19_in_ruleGeneratedMetamodel886 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel907 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel943 = new BitSet(new long[]{0x0000000000100002L});
- public static final BitSet FOLLOW_20_in_ruleGeneratedMetamodel958 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel979 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1027 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleReferencedMetamodel1037 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_ruleReferencedMetamodel1072 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1096 = new BitSet(new long[]{0x0000000000100002L});
- public static final BitSet FOLLOW_20_in_ruleReferencedMetamodel1111 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleReferencedMetamodel1132 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLexerRule_in_entryRuleLexerRule1180 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLexerRule1190 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_ruleLexerRule1229 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_23_in_ruleLexerRule1244 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleLexerRule1266 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_ruleLexerRule1288 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleLexerRule1322 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleLexerRule1338 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleLexerRule1360 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleLexerRule1381 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParserRule_in_entryRuleParserRule1416 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParserRule1426 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1476 = new BitSet(new long[]{0x0000000003008000L});
- public static final BitSet FOLLOW_24_in_ruleParserRule1497 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleParserRule1531 = new BitSet(new long[]{0x0000000002008000L});
- public static final BitSet FOLLOW_15_in_ruleParserRule1562 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleParserRule1583 = new BitSet(new long[]{0x0000000000040010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1609 = new BitSet(new long[]{0x0000000000060000L});
- public static final BitSet FOLLOW_17_in_ruleParserRule1623 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1647 = new BitSet(new long[]{0x0000000000060000L});
- public static final BitSet FOLLOW_18_in_ruleParserRule1665 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleParserRule1677 = new BitSet(new long[]{0x0000041000010030L});
- public static final BitSet FOLLOW_ruleAlternatives_in_ruleParserRule1712 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleParserRule1726 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1761 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalRule1771 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_ruleTerminalRule1821 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTerminalRule1854 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_ruleTerminalRule1876 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleTerminalRule1910 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleTerminalRule1926 = new BitSet(new long[]{0x0000018000012030L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule1961 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ruleTerminalRule1975 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTypeRef_in_entryRuleTypeRef2010 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTypeRef2020 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2070 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_ruleTypeRef2083 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2109 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAlternatives_in_entryRuleAlternatives2148 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAlternatives2158 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2205 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_ruleAlternatives2224 = new BitSet(new long[]{0x0000041000010030L});
- public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2259 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2300 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalAlternatives2310 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2357 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_ruleTerminalAlternatives2376 = new BitSet(new long[]{0x0000018000012030L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2411 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_ruleGroup_in_entryRuleGroup2452 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGroup2462 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2509 = new BitSet(new long[]{0x0000041000010032L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2552 = new BitSet(new long[]{0x0000041000010032L});
- public static final BitSet FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2593 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalGroup2603 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2650 = new BitSet(new long[]{0x0000018000012032L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2693 = new BitSet(new long[]{0x0000018000012032L});
- public static final BitSet FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2734 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractToken2744 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAssignment_in_ruleAbstractToken2793 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_ruleAction_in_ruleAbstractToken2820 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2848 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_30_in_ruleAbstractToken2871 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_31_in_ruleAbstractToken2886 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleAbstractToken2902 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken2951 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalToken2961 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3008 = new BitSet(new long[]{0x00000001C0000002L});
- public static final BitSet FOLLOW_30_in_ruleTerminalToken3030 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_31_in_ruleTerminalToken3045 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleTerminalToken3061 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment3110 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAssignment3120 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment3167 = new BitSet(new long[]{0x0000000E00000000L});
- public static final BitSet FOLLOW_33_in_ruleAssignment3201 = new BitSet(new long[]{0x0000040000010030L});
- public static final BitSet FOLLOW_34_in_ruleAssignment3216 = new BitSet(new long[]{0x0000040000010030L});
- public static final BitSet FOLLOW_35_in_ruleAssignment3232 = new BitSet(new long[]{0x0000040000010030L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAssignment3280 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAction_in_entryRuleAction3319 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAction3329 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_36_in_ruleAction3369 = new BitSet(new long[]{0x0000002000000010L});
- public static final BitSet FOLLOW_37_in_ruleAction3379 = new BitSet(new long[]{0x0000000400000000L});
- public static final BitSet FOLLOW_34_in_ruleAction3388 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleAction3425 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleAction3439 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAction3461 = new BitSet(new long[]{0x0000000600000000L});
- public static final BitSet FOLLOW_34_in_ruleAction3495 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_33_in_ruleAction3510 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_37_in_ruleAction3533 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_ruleAction3543 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3578 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractTerminal3588 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleAbstractTerminal3637 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3664 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3692 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3720 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3754 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTerminalTokenElement3764 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3814 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3841 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3869 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3897 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3925 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken3959 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAbstractNegatedToken3969 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4016 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4043 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4077 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNegatedToken4087 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_39_in_ruleNegatedToken4121 = new BitSet(new long[]{0x0000018000012030L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4155 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUpToToken_in_entryRuleUpToToken4194 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleUpToToken4204 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_40_in_ruleUpToToken4238 = new BitSet(new long[]{0x0000018000012030L});
- public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4272 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWildcard_in_entryRuleWildcard4311 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleWildcard4321 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_13_in_ruleWildcard4366 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4412 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleCharacterRange4422 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4469 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_ruleCharacterRange4488 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4523 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleCrossReference_in_entryRuleCrossReference4564 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleCrossReference4574 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_42_in_ruleCrossReference4610 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleTypeRef_in_ruleCrossReference4644 = new BitSet(new long[]{0x0000080020000000L});
- public static final BitSet FOLLOW_29_in_ruleCrossReference4659 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleCrossReference4683 = new BitSet(new long[]{0x0000080000000000L});
- public static final BitSet FOLLOW_43_in_ruleCrossReference4699 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4734 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedElement4744 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_16_in_ruleParenthesizedElement4779 = new BitSet(new long[]{0x0000041000010030L});
- public static final BitSet FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4801 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleParenthesizedElement4810 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4845 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4855 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_16_in_ruleParenthesizedTerminalElement4890 = new BitSet(new long[]{0x0000018000012030L});
- public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4912 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleParenthesizedTerminalElement4921 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyword_in_entryRuleKeyword4956 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleKeyword4966 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleKeyword5011 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRuleCall_in_entryRuleRuleCall5056 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRuleCall5066 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRuleCall5114 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_ruleGrammar133 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_12_in_ruleGrammar160 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar195 = new BitSet(new long[]{0x0000000008E86010L});
+ public static final BitSet FOLLOW_13_in_ruleGrammar210 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_ruleGrammar241 = new BitSet(new long[]{0x0000000008E84010L});
+ public static final BitSet FOLLOW_14_in_ruleGrammar273 = new BitSet(new long[]{0x0000000000008000L});
+ public static final BitSet FOLLOW_15_in_ruleGrammar294 = new BitSet(new long[]{0x0000000000020010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar320 = new BitSet(new long[]{0x0000000000030000L});
+ public static final BitSet FOLLOW_16_in_ruleGrammar334 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammar358 = new BitSet(new long[]{0x0000000000030000L});
+ public static final BitSet FOLLOW_17_in_ruleGrammar376 = new BitSet(new long[]{0x0000000008E80010L});
+ public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_ruleGrammar413 = new BitSet(new long[]{0x0000000008E80010L});
+ public static final BitSet FOLLOW_ruleAbstractRule_in_ruleGrammar453 = new BitSet(new long[]{0x0000000008C00012L});
+ public static final BitSet FOLLOW_ruleGrammarID_in_entryRuleGrammarID494 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGrammarID505 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID545 = new BitSet(new long[]{0x0000000000040002L});
+ public static final BitSet FOLLOW_18_in_ruleGrammarID564 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGrammarID579 = new BitSet(new long[]{0x0000000000040002L});
+ public static final BitSet FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule626 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractRule636 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLexerRule_in_ruleAbstractRule684 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParserRule_in_ruleAbstractRule711 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalRule_in_ruleAbstractRule739 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractMetamodelDeclaration_in_entryRuleAbstractMetamodelDeclaration773 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractMetamodelDeclaration783 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_ruleAbstractMetamodelDeclaration830 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReferencedMetamodel_in_ruleAbstractMetamodelDeclaration857 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGeneratedMetamodel_in_entryRuleGeneratedMetamodel891 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGeneratedMetamodel901 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_19_in_ruleGeneratedMetamodel937 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel958 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleGeneratedMetamodel994 = new BitSet(new long[]{0x0000000000100002L});
+ public static final BitSet FOLLOW_20_in_ruleGeneratedMetamodel1009 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleGeneratedMetamodel1030 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReferencedMetamodel_in_entryRuleReferencedMetamodel1078 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleReferencedMetamodel1088 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_21_in_ruleReferencedMetamodel1123 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleReferencedMetamodel1147 = new BitSet(new long[]{0x0000000000100002L});
+ public static final BitSet FOLLOW_20_in_ruleReferencedMetamodel1162 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleReferencedMetamodel1183 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLexerRule_in_entryRuleLexerRule1231 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLexerRule1241 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_ruleLexerRule1280 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_23_in_ruleLexerRule1295 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleLexerRule1317 = new BitSet(new long[]{0x0000000003000000L});
+ public static final BitSet FOLLOW_24_in_ruleLexerRule1339 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleLexerRule1373 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleLexerRule1389 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleLexerRule1411 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_26_in_ruleLexerRule1432 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParserRule_in_entryRuleParserRule1467 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParserRule1477 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1527 = new BitSet(new long[]{0x0000000003004000L});
+ public static final BitSet FOLLOW_24_in_ruleParserRule1548 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleParserRule1582 = new BitSet(new long[]{0x0000000002004000L});
+ public static final BitSet FOLLOW_14_in_ruleParserRule1613 = new BitSet(new long[]{0x0000000000008000L});
+ public static final BitSet FOLLOW_15_in_ruleParserRule1634 = new BitSet(new long[]{0x0000000000020010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1660 = new BitSet(new long[]{0x0000000000030000L});
+ public static final BitSet FOLLOW_16_in_ruleParserRule1674 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleParserRule1698 = new BitSet(new long[]{0x0000000000030000L});
+ public static final BitSet FOLLOW_17_in_ruleParserRule1716 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleParserRule1728 = new BitSet(new long[]{0x0000041000008030L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_ruleParserRule1763 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_26_in_ruleParserRule1777 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalRule_in_entryRuleTerminalRule1812 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalRule1822 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_27_in_ruleTerminalRule1872 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTerminalRule1905 = new BitSet(new long[]{0x0000000003000000L});
+ public static final BitSet FOLLOW_24_in_ruleTerminalRule1927 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleTerminalRule1961 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_ruleTerminalRule1977 = new BitSet(new long[]{0x0000018000048030L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleTerminalRule2012 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_26_in_ruleTerminalRule2026 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_entryRuleTypeRef2061 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTypeRef2071 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2121 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_ruleTypeRef2134 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRef2160 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_entryRuleAlternatives2199 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAlternatives2209 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2256 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_29_in_ruleAlternatives2275 = new BitSet(new long[]{0x0000041000008030L});
+ public static final BitSet FOLLOW_ruleGroup_in_ruleAlternatives2310 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_entryRuleTerminalAlternatives2351 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalAlternatives2361 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2408 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_29_in_ruleTerminalAlternatives2427 = new BitSet(new long[]{0x0000018000048030L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_ruleTerminalAlternatives2462 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_ruleGroup_in_entryRuleGroup2503 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGroup2513 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2560 = new BitSet(new long[]{0x0000041000008032L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_ruleGroup2603 = new BitSet(new long[]{0x0000041000008032L});
+ public static final BitSet FOLLOW_ruleTerminalGroup_in_entryRuleTerminalGroup2644 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalGroup2654 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2701 = new BitSet(new long[]{0x0000018000048032L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_ruleTerminalGroup2744 = new BitSet(new long[]{0x0000018000048032L});
+ public static final BitSet FOLLOW_ruleAbstractToken_in_entryRuleAbstractToken2785 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractToken2795 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAssignment_in_ruleAbstractToken2844 = new BitSet(new long[]{0x00000001C0000002L});
+ public static final BitSet FOLLOW_ruleAction_in_ruleAbstractToken2871 = new BitSet(new long[]{0x00000001C0000002L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAbstractToken2899 = new BitSet(new long[]{0x00000001C0000002L});
+ public static final BitSet FOLLOW_30_in_ruleAbstractToken2922 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_31_in_ruleAbstractToken2937 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_32_in_ruleAbstractToken2953 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalToken_in_entryRuleTerminalToken3002 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalToken3012 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleTerminalToken3059 = new BitSet(new long[]{0x00000001C0000002L});
+ public static final BitSet FOLLOW_30_in_ruleTerminalToken3081 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_31_in_ruleTerminalToken3096 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_32_in_ruleTerminalToken3112 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment3161 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAssignment3171 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment3218 = new BitSet(new long[]{0x0000000E00000000L});
+ public static final BitSet FOLLOW_33_in_ruleAssignment3252 = new BitSet(new long[]{0x0000040000008030L});
+ public static final BitSet FOLLOW_34_in_ruleAssignment3267 = new BitSet(new long[]{0x0000040000008030L});
+ public static final BitSet FOLLOW_35_in_ruleAssignment3283 = new BitSet(new long[]{0x0000040000008030L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_ruleAssignment3331 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAction_in_entryRuleAction3370 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAction3380 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_36_in_ruleAction3420 = new BitSet(new long[]{0x0000002000000010L});
+ public static final BitSet FOLLOW_37_in_ruleAction3430 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_34_in_ruleAction3439 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleAction3476 = new BitSet(new long[]{0x0000000000040000L});
+ public static final BitSet FOLLOW_18_in_ruleAction3490 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAction3512 = new BitSet(new long[]{0x0000000600000000L});
+ public static final BitSet FOLLOW_34_in_ruleAction3546 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_33_in_ruleAction3561 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleAction3584 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_38_in_ruleAction3594 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractTerminal_in_entryRuleAbstractTerminal3629 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractTerminal3639 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleAbstractTerminal3688 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_ruleAbstractTerminal3715 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedElement_in_ruleAbstractTerminal3743 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCrossReference_in_ruleAbstractTerminal3771 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_entryRuleTerminalTokenElement3805 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleTerminalTokenElement3815 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCharacterRange_in_ruleTerminalTokenElement3865 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_ruleTerminalTokenElement3892 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_ruleTerminalTokenElement3920 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_ruleTerminalTokenElement3948 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWildcard_in_ruleTerminalTokenElement3976 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAbstractNegatedToken_in_entryRuleAbstractNegatedToken4010 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAbstractNegatedToken4020 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNegatedToken_in_ruleAbstractNegatedToken4067 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleUpToToken_in_ruleAbstractNegatedToken4094 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNegatedToken_in_entryRuleNegatedToken4128 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNegatedToken4138 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_39_in_ruleNegatedToken4172 = new BitSet(new long[]{0x0000018000048030L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleNegatedToken4206 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleUpToToken_in_entryRuleUpToToken4245 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleUpToToken4255 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_40_in_ruleUpToToken4289 = new BitSet(new long[]{0x0000018000048030L});
+ public static final BitSet FOLLOW_ruleTerminalTokenElement_in_ruleUpToToken4323 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWildcard_in_entryRuleWildcard4362 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleWildcard4372 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_18_in_ruleWildcard4417 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCharacterRange_in_entryRuleCharacterRange4463 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleCharacterRange4473 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4520 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_41_in_ruleCharacterRange4539 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_ruleKeyword_in_ruleCharacterRange4574 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleCrossReference_in_entryRuleCrossReference4615 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleCrossReference4625 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_42_in_ruleCrossReference4661 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleTypeRef_in_ruleCrossReference4695 = new BitSet(new long[]{0x0000080020000000L});
+ public static final BitSet FOLLOW_29_in_ruleCrossReference4710 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleCrossReference4734 = new BitSet(new long[]{0x0000080000000000L});
+ public static final BitSet FOLLOW_43_in_ruleCrossReference4750 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedElement_in_entryRuleParenthesizedElement4785 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedElement4795 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleParenthesizedElement4830 = new BitSet(new long[]{0x0000041000008030L});
+ public static final BitSet FOLLOW_ruleAlternatives_in_ruleParenthesizedElement4852 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_17_in_ruleParenthesizedElement4861 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleParenthesizedTerminalElement_in_entryRuleParenthesizedTerminalElement4896 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedTerminalElement4906 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleParenthesizedTerminalElement4941 = new BitSet(new long[]{0x0000018000048030L});
+ public static final BitSet FOLLOW_ruleTerminalAlternatives_in_ruleParenthesizedTerminalElement4963 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_17_in_ruleParenthesizedTerminalElement4972 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleKeyword_in_entryRuleKeyword5007 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleKeyword5017 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleKeyword5062 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRuleCall_in_entryRuleRuleCall5107 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRuleCall5117 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRuleCall5165 = new BitSet(new long[]{0x0000000000000002L});
} \ No newline at end of file
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
index 1f072b5..8561d06 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage__.g
@@ -9,12 +9,12 @@ import org.eclipse.xtext.parser.antlr.Lexer;
T11 : 'abstract language' ;
T12 : 'language' ;
-T13 : '.' ;
-T14 : 'extends' ;
-T15 : 'hidden' ;
-T16 : '(' ;
-T17 : ',' ;
-T18 : ')' ;
+T13 : 'extends' ;
+T14 : 'hidden' ;
+T15 : '(' ;
+T16 : ',' ;
+T17 : ')' ;
+T18 : '.' ;
T19 : 'generate' ;
T20 : 'as' ;
T21 : 'import' ;
@@ -41,28 +41,28 @@ T41 : '..' ;
T42 : '[' ;
T43 : ']' ;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2279
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2277
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2281
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2279
RULE_INT : ('0'..'9')+;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2283
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2281
RULE_STRING :
'"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' |
'\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\''
;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2288
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2286
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/';
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2290
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2288
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')?;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2292
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2290
RULE_WS : (' '|'\t'|'\r'|'\n')+;
-// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2294
+// $ANTLR src "../org.eclipse.xtext.ui.common.tests//../org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/antlr/internal/InternalXtextGrammarTestLanguage.g" 2292
RULE_ANY_OTHER : .;
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore
index 395a5c8..0d2c868 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore
@@ -48,11 +48,11 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="rightRoot" eType="//CreatedObject" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NamedObject">
- <eStructuralFeatures xsi:type="ecore:EReference" name="leftMig" eType="//Migration" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" upperBound="-1" eType="//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" upperBound="-1" eType="//Assignment" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="leftMig" eType="//Migration" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ObjectRef" eSuperTypes="//NamedObject">
<eStructuralFeatures xsi:type="ecore:EReference" name="leftRes" eType="//NamedResource"/>
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 1133662..3784ed8 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,19 +14,19 @@ public final class XtextGrammarTestLanguageDelimiters {
throw new UnsupportedOperationException("Utility classes may not be initialized");
}
+ public static ISequenceMatcher crossReference$28$Delimiter = new SetBasedKeywordMatcher(
+ "abstract language", "language", "extends", "hidden", "generate", "as", "import", "native", "lexer", "returns", "terminal", "current");
+
// TODO: remove hardcoded character class from template
- public static ICharacterClass keyword$12$Delimiter = ICharacterClass.Factory.join(
+ public static ICharacterClass keyword$11$Delimiter = ICharacterClass.Factory.join(
ICharacterClass.Factory.createRange('a', 'z'),
ICharacterClass.Factory.createRange('A', 'Z'),
ICharacterClass.Factory.create('_'),
ICharacterClass.Factory.createRange('0', '9')
);
- public static ICharacterClass keyword$17$Delimiter = ICharacterClass.Factory.nullClass();
-
- public static ISequenceMatcher ruleCall$15$Delimiter = new SetBasedKeywordMatcher(
- "abstract language", "language", "extends", "hidden", "generate", "as", "import", "native", "lexer", "returns", "terminal", "current");
+ public static ICharacterClass keyword$25$Delimiter = ICharacterClass.Factory.nullClass();
- public static ISequenceMatcher crossReference$70$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ public static ISequenceMatcher crossReference$68$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 8360301..5dab732 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
@@ -10,6 +10,7 @@ import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageGrammarConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageGrammarIDConsumer;
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageAbstractRuleConsumer;
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageAbstractMetamodelDeclarationConsumer;
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageGeneratedMetamodelConsumer;
@@ -52,6 +53,7 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
private XtextGrammarTestLanguageGrammarConsumer grammarConsumer;
+ private XtextGrammarTestLanguageGrammarIDConsumer grammarIdConsumer;
private XtextGrammarTestLanguageAbstractRuleConsumer abstractRuleConsumer;
private XtextGrammarTestLanguageAbstractMetamodelDeclarationConsumer abstractMetamodelDeclarationConsumer;
private XtextGrammarTestLanguageGeneratedMetamodelConsumer generatedMetamodelConsumer;
@@ -95,6 +97,9 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
grammarConsumer = new XtextGrammarTestLanguageGrammarConsumer(
this, null
);
+ grammarIdConsumer = new XtextGrammarTestLanguageGrammarIDConsumer(
+ this, null
+ );
abstractRuleConsumer = new XtextGrammarTestLanguageAbstractRuleConsumer(
this, null
);
@@ -188,8 +193,11 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
public void configureConsumers() {
getGrammarConsumer().setAbstractMetamodelDeclarationConsumer(getAbstractMetamodelDeclarationConsumer());
getGrammarConsumer().setAbstractRuleConsumer(getAbstractRuleConsumer());
+ getGrammarConsumer().setGrammarIdConsumer(getGrammarIdConsumer());
getGrammarConsumer().setIdConsumer(getIdConsumer());
+ getGrammarIdConsumer().setIdConsumer(getIdConsumer());
+
getAbstractRuleConsumer().setLexerRuleConsumer(getLexerRuleConsumer());
getAbstractRuleConsumer().setParserRuleConsumer(getParserRuleConsumer());
getAbstractRuleConsumer().setTerminalRuleConsumer(getTerminalRuleConsumer());
@@ -268,90 +276,87 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
getRuleCallConsumer().setIdConsumer(getIdConsumer());
- getGrammarConsumer().setCrossReference$34$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGrammarConsumer().setCrossReference$39$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGrammarConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGrammarConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGrammarConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getGrammarConsumer().setKeyword$19$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGrammarConsumer().setKeyword$23$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getGrammarConsumer().setKeyword$30$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGrammarConsumer().setKeyword$31$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getGrammarConsumer().setKeyword$37$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getGrammarConsumer().setKeyword$41$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getGrammarConsumer().setRuleCall$12$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGrammarConsumer().setRuleCall$16$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGrammarConsumer().setRuleCall$21$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGrammarConsumer().setRuleCall$25$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGeneratedMetamodelConsumer().setCrossReference$8$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$70$Delimiter);
- getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGeneratedMetamodelConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$6$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getGeneratedMetamodelConsumer().setRuleCall$13$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getReferencedMetamodelConsumer().setCrossReference$5$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$70$Delimiter);
- getReferencedMetamodelConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getReferencedMetamodelConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getReferencedMetamodelConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getLexerRuleConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getLexerRuleConsumer().setKeyword$15$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getLexerRuleConsumer().setKeyword$18$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getLexerRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getLexerRuleConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getLexerRuleConsumer().setRuleCall$17$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$70$Delimiter);
- getLexerRuleConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getParserRuleConsumer().setCrossReference$20$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getParserRuleConsumer().setCrossReference$25$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getParserRuleConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getParserRuleConsumer().setKeyword$16$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getParserRuleConsumer().setKeyword$17$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParserRuleConsumer().setKeyword$23$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParserRuleConsumer().setKeyword$27$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParserRuleConsumer().setKeyword$28$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParserRuleConsumer().setKeyword$31$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParserRuleConsumer().setRuleCall$7$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getTerminalRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getTerminalRuleConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getTerminalRuleConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalRuleConsumer().setKeyword$17$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalRuleConsumer().setRuleCall$9$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getTypeRefConsumer().setCrossReference$4$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getTypeRefConsumer().setCrossReference$8$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getTypeRefConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAlternativesConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalAlternativesConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAbstractTokenConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAbstractTokenConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAbstractTokenConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalTokenConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalTokenConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getTerminalTokenConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAssignmentConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAssignmentConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAssignmentConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getAssignmentConsumer().setRuleCall$4$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getActionConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getActionConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setKeyword$19$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setKeyword$20$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setKeyword$21$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$12$Delimiter);
- getActionConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getActionConsumer().setRuleCall$16$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getNegatedTokenConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getUpToTokenConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getWildcardConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getCharacterRangeConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getCrossReferenceConsumer().setCrossReference$10$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
- getCrossReferenceConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getCrossReferenceConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getCrossReferenceConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParenthesizedElementConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParenthesizedElementConsumer().setKeyword$5$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParenthesizedTerminalElementConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getParenthesizedTerminalElementConsumer().setKeyword$5$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$17$Delimiter);
- getKeywordConsumer().setRuleCall$2$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$70$Delimiter);
- getRuleCallConsumer().setCrossReference$2$Delimiter(XtextGrammarTestLanguageDelimiters.ruleCall$15$Delimiter);
+ getGrammarConsumer().setCrossReference$25$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGrammarConsumer().setCrossReference$30$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGrammarConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setKeyword$13$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setKeyword$21$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGrammarConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getGrammarConsumer().setKeyword$28$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getGrammarConsumer().setKeyword$32$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getGrammarIdConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getGrammarIdConsumer().setRuleCall$2$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGrammarIdConsumer().setRuleCall$5$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGeneratedMetamodelConsumer().setCrossReference$8$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
+ getGeneratedMetamodelConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGeneratedMetamodelConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$6$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getGeneratedMetamodelConsumer().setRuleCall$13$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getReferencedMetamodelConsumer().setCrossReference$5$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
+ getReferencedMetamodelConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getReferencedMetamodelConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getReferencedMetamodelConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getLexerRuleConsumer().setKeyword$15$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getLexerRuleConsumer().setKeyword$18$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getLexerRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getLexerRuleConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getLexerRuleConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getLexerRuleConsumer().setRuleCall$17$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
+ getLexerRuleConsumer().setRuleCall$10$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getParserRuleConsumer().setCrossReference$20$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getParserRuleConsumer().setCrossReference$25$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getParserRuleConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getParserRuleConsumer().setKeyword$16$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getParserRuleConsumer().setKeyword$17$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParserRuleConsumer().setKeyword$23$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParserRuleConsumer().setKeyword$27$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParserRuleConsumer().setKeyword$28$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParserRuleConsumer().setKeyword$31$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParserRuleConsumer().setRuleCall$7$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getTerminalRuleConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getTerminalRuleConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getTerminalRuleConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalRuleConsumer().setKeyword$17$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalRuleConsumer().setRuleCall$9$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getTypeRefConsumer().setCrossReference$4$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getTypeRefConsumer().setCrossReference$8$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getTypeRefConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAlternativesConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalAlternativesConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAbstractTokenConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAbstractTokenConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAbstractTokenConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalTokenConsumer().setKeyword$6$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalTokenConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getTerminalTokenConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAssignmentConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAssignmentConsumer().setKeyword$9$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAssignmentConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getAssignmentConsumer().setRuleCall$4$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getActionConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setKeyword$10$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getActionConsumer().setKeyword$11$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setKeyword$14$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setKeyword$19$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setKeyword$20$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setKeyword$21$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$11$Delimiter);
+ getActionConsumer().setKeyword$22$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getActionConsumer().setRuleCall$16$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getNegatedTokenConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getUpToTokenConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getWildcardConsumer().setKeyword$2$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getCharacterRangeConsumer().setKeyword$7$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getCrossReferenceConsumer().setCrossReference$10$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
+ getCrossReferenceConsumer().setKeyword$4$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getCrossReferenceConsumer().setKeyword$8$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getCrossReferenceConsumer().setKeyword$12$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParenthesizedElementConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParenthesizedElementConsumer().setKeyword$5$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParenthesizedTerminalElementConsumer().setKeyword$3$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getParenthesizedTerminalElementConsumer().setKeyword$5$Delimiter(XtextGrammarTestLanguageDelimiters.keyword$25$Delimiter);
+ getKeywordConsumer().setRuleCall$2$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$68$Delimiter);
+ getRuleCallConsumer().setCrossReference$2$Delimiter(XtextGrammarTestLanguageDelimiters.crossReference$28$Delimiter);
}
// TODO collect superGrammars transitive
@@ -363,6 +368,10 @@ public class XtextGrammarTestLanguageParserConfiguration extends AbstractParserC
return grammarConsumer;
}
+ public XtextGrammarTestLanguageGrammarIDConsumer getGrammarIdConsumer() {
+ return grammarIdConsumer;
+ }
+
public XtextGrammarTestLanguageAbstractRuleConsumer getAbstractRuleConsumer() {
return abstractRuleConsumer;
}
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 910b668..b6105cf 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
@@ -18,6 +18,7 @@ import org.eclipse.xtext.services.XtextGrammarTestLanguageGrammarAccess.GrammarE
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageAbstractMetamodelDeclarationConsumer;
import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageAbstractRuleConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.XtextGrammarTestLanguageGrammarIDConsumer;
import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
@SuppressWarnings("unused")
@@ -25,55 +26,38 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
private INonTerminalConsumer abstractMetamodelDeclarationConsumer;
private INonTerminalConsumer abstractRuleConsumer;
+ private INonTerminalConsumer grammarIdConsumer;
private ITerminalConsumer idConsumer;
- private ISequenceMatcher crossReference$34$Delimiter;
+ private ISequenceMatcher crossReference$25$Delimiter;
- private ISequenceMatcher crossReference$39$Delimiter;
+ private ISequenceMatcher crossReference$30$Delimiter;
- private ICharacterClass keyword$9$Delimiter;
-
- private ICharacterClass keyword$10$Delimiter;
-
- private ICharacterClass keyword$14$Delimiter;
-
- private ICharacterClass keyword$19$Delimiter;
-
- private ICharacterClass keyword$23$Delimiter;
-
- private ICharacterClass keyword$30$Delimiter;
+ private ICharacterClass keyword$8$Delimiter;
- private ICharacterClass keyword$31$Delimiter;
-
- private ICharacterClass keyword$37$Delimiter;
+ private ICharacterClass keyword$9$Delimiter;
- private ICharacterClass keyword$41$Delimiter;
+ private ICharacterClass keyword$13$Delimiter;
- private ISequenceMatcher ruleCall$12$Delimiter;
+ private ICharacterClass keyword$21$Delimiter;
- private ISequenceMatcher ruleCall$16$Delimiter;
+ private ICharacterClass keyword$22$Delimiter;
- private ISequenceMatcher ruleCall$21$Delimiter;
+ private ICharacterClass keyword$28$Delimiter;
- private ISequenceMatcher ruleCall$25$Delimiter;
+ private ICharacterClass keyword$32$Delimiter;
public XtextGrammarTestLanguageGrammarConsumer(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
super(configuration, hiddenTokens);
- crossReference$34$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- crossReference$39$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ crossReference$25$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ crossReference$30$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
keyword$9$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$10$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$14$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$19$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$23$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$30$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$31$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$37$Delimiter = ICharacterClass.Factory.nullClass();
- keyword$41$Delimiter = ICharacterClass.Factory.nullClass();
- ruleCall$12$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$16$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$21$Delimiter = ISequenceMatcher.Factory.nullMatcher();
- ruleCall$25$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ keyword$13$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$21$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$22$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$28$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$32$Delimiter = ICharacterClass.Factory.nullClass();
}
@Override
@@ -90,27 +74,27 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = consumeAlternatives$7(nextEntryPoint());
+ result = consumeAlternatives$6(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000000Alternatives());
+ error("Another token expected.", getRule().ele00000Alternatives());
marker.commit();
announceLevelFinished();
return result;
}
case 1:
announceNextStep();
- result = consumeAssignment$11(nextEntryPoint());
+ result = consumeAssignment$10(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000001AssignmentIdElements());
+ error("Another token expected.", getRule().ele00001AssignmentName());
marker.commit();
announceLevelFinished();
return result;
}
case 2:
announceNextStep();
- result = consumeGroup$13(nextEntryPoint());
+ result = consumeGroup$12(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele00001Group());
+ error("Another token expected.", getRule().ele0001Group());
marker.commit();
announceLevelFinished();
return result;
@@ -119,32 +103,23 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
announceNextStep();
result = consumeGroup$17(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele0001Group());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- case 4:
- announceNextStep();
- result = consumeGroup$26(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele001Group());
marker.commit();
announceLevelFinished();
return result;
}
- case 5:
+ case 4:
announceNextStep();
- result = consumeAssignment$42(nextEntryPoint());
+ result = consumeAssignment$33(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele01AssignmentMetamodelDeclarations());
marker.commit();
announceLevelFinished();
return result;
}
- case 6:
+ case 5:
announceNextStep();
- result = consumeAssignment$44(nextEntryPoint());
+ result = consumeAssignment$35(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele1AssignmentRules());
marker.commit();
@@ -157,30 +132,30 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeAlternatives$7(int entryPoint) throws Exception {
+ protected int consumeAlternatives$6(int entryPoint) throws Exception {
AlternativesResult result = createAlternativesResult();
switch(entryPoint) {
case -1: // use fall through semantics of switch case
result.reset();
case 0:
result.nextAlternative();
- if (result.isAlternativeDone(consumeAssignment$8(nextEntryPoint()))) {
+ if (result.isAlternativeDone(consumeAssignment$7(nextEntryPoint()))) {
return result.getResult();
}
case 1:
result.nextAlternative();
- if (result.isAlternativeDone(consumeKeyword$10(nextEntryPoint()))) {
+ if (result.isAlternativeDone(consumeKeyword$9(nextEntryPoint()))) {
return result.getResult();
}
}
return result.getResult();
}
- protected int consumeAssignment$8(int entryPoint) throws Exception {
+ protected int consumeAssignment$7(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeKeyword(getRule().ele00000000KeywordAbstractLanguage(), "abstract", false, true, getKeyword$9$Delimiter());
+ tempResult = consumeKeyword(getRule().ele0000000KeywordAbstractLanguage(), "abstract", false, true, getKeyword$8$Delimiter());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -190,15 +165,15 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeKeyword$10(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele0000001KeywordLanguage(), null, false, false, getKeyword$10$Delimiter());
+ protected int consumeKeyword$9(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele000001KeywordLanguage(), null, false, false, getKeyword$9$Delimiter());
}
- protected int consumeAssignment$11(int entryPoint) throws Exception {
+ protected int consumeAssignment$10(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "idElements", true, false, getRule().ele0000010LexerRuleCallID(), getRuleCall$12$Delimiter());
+ tempResult = consumeNonTerminal(grammarIdConsumer, "name", false, true, false, getRule().ele000010ParserRuleCallGrammarID());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -208,67 +183,9 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeGroup$13(int entryPoint) throws Exception {
+ protected int consumeGroup$12(int entryPoint) throws Exception {
IMarker marker = mark();
- while(doConsumeGroup$13(entryPoint) == ConsumeResult.SUCCESS) {
- marker.flush();
- }
- marker.rollback();
- return ConsumeResult.SUCCESS;
- }
-
- protected int doConsumeGroup$13(int entryPoint) throws Exception {
- announceNextLevel();
- final IMarker marker = mark();
- int result = ConsumeResult.SUCCESS;
- switch(entryPoint) {
- case -1: // use fall through semantics of switch case
- result = ConsumeResult.EMPTY_MATCH;
- case 0:
- announceNextStep();
- result = consumeKeyword$14(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000010KeywordFullStop());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- case 1:
- announceNextStep();
- result = consumeAssignment$15(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000011AssignmentIdElements());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- }
- marker.commit();
- announceLevelFinished();
- return result;
- }
-
- protected int consumeKeyword$14(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele000010KeywordFullStop(), null, false, false, getKeyword$14$Delimiter());
- }
-
- protected int consumeAssignment$15(int entryPoint) throws Exception {
- int result = ConsumeResult.EMPTY_MATCH;
- int tempResult;
- announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "idElements", true, false, getRule().ele0000110LexerRuleCallID(), getRuleCall$16$Delimiter());
- if (tempResult == ConsumeResult.SUCCESS) {
- announceLevelFinished();
- return tempResult;
- }
- result = tempResult >= result ? tempResult : result;
- announceLevelFinished();
- return result;
- }
-
- protected int consumeGroup$17(int entryPoint) throws Exception {
- IMarker marker = mark();
- int result = doConsumeGroup$17(entryPoint);
+ int result = doConsumeGroup$12(entryPoint);
if (result != ConsumeResult.SUCCESS)
marker.rollback();
else
@@ -276,7 +193,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return ConsumeResult.SUCCESS;
}
- protected int doConsumeGroup$17(int entryPoint) throws Exception {
+ protected int doConsumeGroup$12(int entryPoint) throws Exception {
announceNextLevel();
final IMarker marker = mark();
int result = ConsumeResult.SUCCESS;
@@ -285,27 +202,18 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = consumeKeyword$19(nextEntryPoint());
+ result = consumeKeyword$13(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000100KeywordExtends());
+ error("Another token expected.", getRule().ele00010KeywordExtends());
marker.commit();
announceLevelFinished();
return result;
}
case 1:
announceNextStep();
- result = consumeAssignment$20(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000101AssignmentSuperGrammarIdElements());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- case 2:
- announceNextStep();
- result = consumeGroup$22(nextEntryPoint());
+ result = consumeAssignment$14(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele00011Group());
+ error("Another token expected.", getRule().ele00011AssignmentSuperGrammar());
marker.commit();
announceLevelFinished();
return result;
@@ -316,15 +224,15 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeKeyword$19(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele000100KeywordExtends(), null, false, false, getKeyword$19$Delimiter());
+ protected int consumeKeyword$13(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele00010KeywordExtends(), null, false, false, getKeyword$13$Delimiter());
}
- protected int consumeAssignment$20(int entryPoint) throws Exception {
+ protected int consumeAssignment$14(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "superGrammarIdElements", true, false, getRule().ele0001010LexerRuleCallID(), getRuleCall$21$Delimiter());
+ tempResult = consumeNonTerminal(grammarIdConsumer, "superGrammar", false, true, false, getRule().ele000110CrossReferenceEStringGrammar());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -334,67 +242,9 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeGroup$22(int entryPoint) throws Exception {
- IMarker marker = mark();
- while(doConsumeGroup$22(entryPoint) == ConsumeResult.SUCCESS) {
- marker.flush();
- }
- marker.rollback();
- return ConsumeResult.SUCCESS;
- }
-
- protected int doConsumeGroup$22(int entryPoint) throws Exception {
- announceNextLevel();
- final IMarker marker = mark();
- int result = ConsumeResult.SUCCESS;
- switch(entryPoint) {
- case -1: // use fall through semantics of switch case
- result = ConsumeResult.EMPTY_MATCH;
- case 0:
- announceNextStep();
- result = consumeKeyword$23(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000110KeywordFullStop());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- case 1:
- announceNextStep();
- result = consumeAssignment$24(nextEntryPoint());
- if (result!=ConsumeResult.SUCCESS) {
- error("Another token expected.", getRule().ele000111AssignmentSuperGrammarIdElements());
- marker.commit();
- announceLevelFinished();
- return result;
- }
- }
- marker.commit();
- announceLevelFinished();
- return result;
- }
-
- protected int consumeKeyword$23(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele000110KeywordFullStop(), null, false, false, getKeyword$23$Delimiter());
- }
-
- protected int consumeAssignment$24(int entryPoint) throws Exception {
- int result = ConsumeResult.EMPTY_MATCH;
- int tempResult;
- announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "superGrammarIdElements", true, false, getRule().ele0001110LexerRuleCallID(), getRuleCall$25$Delimiter());
- if (tempResult == ConsumeResult.SUCCESS) {
- announceLevelFinished();
- return tempResult;
- }
- result = tempResult >= result ? tempResult : result;
- announceLevelFinished();
- return result;
- }
-
- protected int consumeGroup$26(int entryPoint) throws Exception {
+ protected int consumeGroup$17(int entryPoint) throws Exception {
IMarker marker = mark();
- int result = doConsumeGroup$26(entryPoint);
+ int result = doConsumeGroup$17(entryPoint);
if (result != ConsumeResult.SUCCESS)
marker.rollback();
else
@@ -402,7 +252,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return ConsumeResult.SUCCESS;
}
- protected int doConsumeGroup$26(int entryPoint) throws Exception {
+ protected int doConsumeGroup$17(int entryPoint) throws Exception {
announceNextLevel();
final IMarker marker = mark();
int result = ConsumeResult.SUCCESS;
@@ -411,7 +261,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = consumeAssignment$29(nextEntryPoint());
+ result = consumeAssignment$20(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele001000AssignmentDefinesHiddenTokens());
marker.commit();
@@ -420,7 +270,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
case 1:
announceNextStep();
- result = consumeKeyword$31(nextEntryPoint());
+ result = consumeKeyword$22(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele001001KeywordLeftParenthesis());
marker.commit();
@@ -429,7 +279,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
case 2:
announceNextStep();
- result = consumeGroup$32(nextEntryPoint());
+ result = consumeGroup$23(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele00101Group());
marker.commit();
@@ -438,7 +288,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
case 3:
announceNextStep();
- result = consumeKeyword$41(nextEntryPoint());
+ result = consumeKeyword$32(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele0011KeywordRightParenthesis());
marker.commit();
@@ -451,11 +301,11 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeAssignment$29(int entryPoint) throws Exception {
+ protected int consumeAssignment$20(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeKeyword(getRule().ele0010000KeywordHidden(), "definesHiddenTokens", false, true, getKeyword$30$Delimiter());
+ tempResult = consumeKeyword(getRule().ele0010000KeywordHidden(), "definesHiddenTokens", false, true, getKeyword$21$Delimiter());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -465,13 +315,13 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeKeyword$31(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele001001KeywordLeftParenthesis(), null, false, false, getKeyword$31$Delimiter());
+ protected int consumeKeyword$22(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele001001KeywordLeftParenthesis(), null, false, false, getKeyword$22$Delimiter());
}
- protected int consumeGroup$32(int entryPoint) throws Exception {
+ protected int consumeGroup$23(int entryPoint) throws Exception {
IMarker marker = mark();
- int result = doConsumeGroup$32(entryPoint);
+ int result = doConsumeGroup$23(entryPoint);
if (result != ConsumeResult.SUCCESS)
marker.rollback();
else
@@ -479,7 +329,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return ConsumeResult.SUCCESS;
}
- protected int doConsumeGroup$32(int entryPoint) throws Exception {
+ protected int doConsumeGroup$23(int entryPoint) throws Exception {
announceNextLevel();
final IMarker marker = mark();
int result = ConsumeResult.SUCCESS;
@@ -488,7 +338,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = consumeAssignment$33(nextEntryPoint());
+ result = consumeAssignment$24(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele001010AssignmentHiddenTokens());
marker.commit();
@@ -497,7 +347,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
case 1:
announceNextStep();
- result = consumeGroup$36(nextEntryPoint());
+ result = consumeGroup$27(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele001011Group());
marker.commit();
@@ -510,11 +360,11 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeAssignment$33(int entryPoint) throws Exception {
+ protected int consumeAssignment$24(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "hiddenTokens", true, false, getRule().ele0010100CrossReferenceEStringAbstractRule(), getCrossReference$34$Delimiter());
+ tempResult = consumeTerminal(idConsumer, "hiddenTokens", true, false, getRule().ele0010100CrossReferenceEStringAbstractRule(), getCrossReference$25$Delimiter());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -524,16 +374,16 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeGroup$36(int entryPoint) throws Exception {
+ protected int consumeGroup$27(int entryPoint) throws Exception {
IMarker marker = mark();
- while(doConsumeGroup$36(entryPoint) == ConsumeResult.SUCCESS) {
+ while(doConsumeGroup$27(entryPoint) == ConsumeResult.SUCCESS) {
marker.flush();
}
marker.rollback();
return ConsumeResult.SUCCESS;
}
- protected int doConsumeGroup$36(int entryPoint) throws Exception {
+ protected int doConsumeGroup$27(int entryPoint) throws Exception {
announceNextLevel();
final IMarker marker = mark();
int result = ConsumeResult.SUCCESS;
@@ -542,7 +392,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = consumeKeyword$37(nextEntryPoint());
+ result = consumeKeyword$28(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele0010110KeywordComma());
marker.commit();
@@ -551,7 +401,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
}
case 1:
announceNextStep();
- result = consumeAssignment$38(nextEntryPoint());
+ result = consumeAssignment$29(nextEntryPoint());
if (result!=ConsumeResult.SUCCESS) {
error("Another token expected.", getRule().ele0010111AssignmentHiddenTokens());
marker.commit();
@@ -564,15 +414,15 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeKeyword$37(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele0010110KeywordComma(), null, false, false, getKeyword$37$Delimiter());
+ protected int consumeKeyword$28(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele0010110KeywordComma(), null, false, false, getKeyword$28$Delimiter());
}
- protected int consumeAssignment$38(int entryPoint) throws Exception {
+ protected int consumeAssignment$29(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
- tempResult = consumeTerminal(idConsumer, "hiddenTokens", true, false, getRule().ele00101110CrossReferenceEStringAbstractRule(), getCrossReference$39$Delimiter());
+ tempResult = consumeTerminal(idConsumer, "hiddenTokens", true, false, getRule().ele00101110CrossReferenceEStringAbstractRule(), getCrossReference$30$Delimiter());
if (tempResult == ConsumeResult.SUCCESS) {
announceLevelFinished();
return tempResult;
@@ -582,20 +432,20 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeKeyword$41(int entryPoint) throws Exception {
- return consumeKeyword(getRule().ele0011KeywordRightParenthesis(), null, false, false, getKeyword$41$Delimiter());
+ protected int consumeKeyword$32(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele0011KeywordRightParenthesis(), null, false, false, getKeyword$32$Delimiter());
}
- protected int consumeAssignment$42(int entryPoint) throws Exception {
+ protected int consumeAssignment$33(int entryPoint) throws Exception {
IMarker marker = mark();
- while(doConsumeAssignment$42(entryPoint) == ConsumeResult.SUCCESS) {
+ while(doConsumeAssignment$33(entryPoint) == ConsumeResult.SUCCESS) {
marker.flush();
}
marker.rollback();
return ConsumeResult.SUCCESS;
}
- protected int doConsumeAssignment$42(int entryPoint) throws Exception {
+ protected int doConsumeAssignment$33(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
@@ -609,7 +459,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int consumeAssignment$44(int entryPoint) throws Exception {
+ protected int consumeAssignment$35(int entryPoint) throws Exception {
IMarker marker = mark();
int result = ConsumeResult.SUCCESS;
announceNextLevel();
@@ -618,12 +468,12 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
result = ConsumeResult.EMPTY_MATCH;
case 0:
announceNextStep();
- result = doConsumeAssignment$44(nextEntryPoint());
+ result = doConsumeAssignment$35(nextEntryPoint());
case 1:
announceNextStep();
if (result == ConsumeResult.SUCCESS) {
marker.flush();
- while(doConsumeAssignment$44(nextEntryPoint())==ConsumeResult.SUCCESS) {
+ while(doConsumeAssignment$35(nextEntryPoint())==ConsumeResult.SUCCESS) {
marker.flush();
}
marker.rollback();
@@ -638,7 +488,7 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
return result;
}
- protected int doConsumeAssignment$44(int entryPoint) throws Exception {
+ protected int doConsumeAssignment$35(int entryPoint) throws Exception {
int result = ConsumeResult.EMPTY_MATCH;
int tempResult;
announceNextLevel();
@@ -674,128 +524,84 @@ public final class XtextGrammarTestLanguageGrammarConsumer extends NonTerminalCo
this.abstractRuleConsumer = abstractRuleConsumer;
}
- public void setIdConsumer(ITerminalConsumer idConsumer) {
- this.idConsumer = idConsumer;
- }
-
- public ISequenceMatcher getCrossReference$34$Delimiter() {
- return crossReference$34$Delimiter;
- }
-
- public void setCrossReference$34$Delimiter(ISequenceMatcher matcher) {
- crossReference$34$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
- public ISequenceMatcher getCrossReference$39$Delimiter() {
- return crossReference$39$Delimiter;
- }
-
- public void setCrossReference$39$Delimiter(ISequenceMatcher matcher) {
- crossReference$39$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$10$Delimiter() {
- return keyword$10$Delimiter;
- }
-
- public void setKeyword$10$Delimiter(ICharacterClass characterClass) {
- keyword$10$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 void setGrammarIdConsumer(INonTerminalConsumer grammarIdConsumer) {
+ this.grammarIdConsumer = grammarIdConsumer;
}
- 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 void setIdConsumer(ITerminalConsumer idConsumer) {
+ this.idConsumer = idConsumer;
}
- public ICharacterClass getKeyword$23$Delimiter() {
- return keyword$23$Delimiter;
+ public ISequenceMatcher getCrossReference$25$Delimiter() {
+ return crossReference$25$Delimiter;
}
- public void setKeyword$23$Delimiter(ICharacterClass characterClass) {
- keyword$23$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$25$Delimiter(ISequenceMatcher matcher) {
+ crossReference$25$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$30$Delimiter() {
- return keyword$30$Delimiter;
+ public ISequenceMatcher getCrossReference$30$Delimiter() {
+ return crossReference$30$Delimiter;
}
- public void setKeyword$30$Delimiter(ICharacterClass characterClass) {
- keyword$30$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
+ public void setCrossReference$30$Delimiter(ISequenceMatcher matcher) {
+ crossReference$30$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
}
- public ICharacterClass getKeyword$31$Delimiter() {
- return keyword$31$Delimiter;
+ public ICharacterClass getKeyword$8$Delimiter() {
+ return keyword$8$Delimiter;
}
- public void setKeyword$31$Delimiter(ICharacterClass characterClass) {
- keyword$31$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$37$Delimiter() {
- return keyword$37$Delimiter;
+ public ICharacterClass getKeyword$9$Delimiter() {
+ return keyword$9$Delimiter;
}
- public void setKeyword$37$Delimiter(ICharacterClass characterClass) {
- keyword$37$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$41$Delimiter() {
- return keyword$41$Delimiter;
+ public ICharacterClass getKeyword$13$Delimiter() {
+ return keyword$13$Delimiter;
}
- public void setKeyword$41$Delimiter(ICharacterClass characterClass) {
- keyword$41$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 getRuleCall$12$Delimiter() {
- return ruleCall$12$Delimiter;
+ public ICharacterClass getKeyword$21$Delimiter() {
+ return keyword$21$Delimiter;
}
- public void setRuleCall$12$Delimiter(ISequenceMatcher matcher) {
- ruleCall$12$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$21$Delimiter(ICharacterClass characterClass) {
+ keyword$21$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$16$Delimiter() {
- return ruleCall$16$Delimiter;
+ public ICharacterClass getKeyword$22$Delimiter() {
+ return keyword$22$Delimiter;
}
- public void setRuleCall$16$Delimiter(ISequenceMatcher matcher) {
- ruleCall$16$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$22$Delimiter(ICharacterClass characterClass) {
+ keyword$22$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$21$Delimiter() {
- return ruleCall$21$Delimiter;
+ public ICharacterClass getKeyword$28$Delimiter() {
+ return keyword$28$Delimiter;
}
- public void setRuleCall$21$Delimiter(ISequenceMatcher matcher) {
- ruleCall$21$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$28$Delimiter(ICharacterClass characterClass) {
+ keyword$28$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
- public ISequenceMatcher getRuleCall$25$Delimiter() {
- return ruleCall$25$Delimiter;
+ public ICharacterClass getKeyword$32$Delimiter() {
+ return keyword$32$Delimiter;
}
- public void setRuleCall$25$Delimiter(ISequenceMatcher matcher) {
- ruleCall$25$Delimiter = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
+ public void setKeyword$32$Delimiter(ICharacterClass characterClass) {
+ keyword$32$Delimiter = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
}
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarIDConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarIDConsumer.java
new file mode 100644
index 0000000..58370b6
--- /dev/null
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageGrammarIDConsumer.java
@@ -0,0 +1,169 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.xtext.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumerConfiguration;
+import org.eclipse.xtext.parser.packrat.consumers.ConsumeResult;
+import org.eclipse.xtext.parser.packrat.matching.ICharacterClass;
+import org.eclipse.xtext.parser.packrat.matching.ISequenceMatcher;
+
+import org.eclipse.xtext.services.XtextGrammarTestLanguageGrammarAccess;
+import org.eclipse.xtext.services.XtextGrammarTestLanguageGrammarAccess.GrammarIDElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+@SuppressWarnings("unused")
+public final class XtextGrammarTestLanguageGrammarIDConsumer extends NonTerminalConsumer {
+
+ private ITerminalConsumer idConsumer;
+
+ private ICharacterClass keyword$4$Delimiter;
+
+ private ISequenceMatcher ruleCall$2$Delimiter;
+
+ private ISequenceMatcher ruleCall$5$Delimiter;
+
+ public XtextGrammarTestLanguageGrammarIDConsumer(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
+ super(configuration, hiddenTokens);
+ keyword$4$Delimiter = ICharacterClass.Factory.nullClass();
+ ruleCall$2$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ ruleCall$5$Delimiter = ISequenceMatcher.Factory.nullMatcher();
+ }
+
+ @Override
+ protected int doConsume(int entryPoint) throws Exception {
+ return consumeGroup$1(entryPoint);
+ }
+
+ protected int consumeGroup$1(int entryPoint) throws Exception {
+ announceNextLevel();
+ final IMarker marker = mark();
+ int result = ConsumeResult.SUCCESS;
+ switch(entryPoint) {
+ case -1: // use fall through semantics of switch case
+ result = ConsumeResult.EMPTY_MATCH;
+ case 0:
+ announceNextStep();
+ result = consumeRuleCall$2(nextEntryPoint());
+ if (result!=ConsumeResult.SUCCESS) {
+ error("Another token expected.", getRule().ele0LexerRuleCallID());
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+ case 1:
+ announceNextStep();
+ result = consumeGroup$3(nextEntryPoint());
+ if (result!=ConsumeResult.SUCCESS) {
+ error("Another token expected.", getRule().ele1Group());
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+ }
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+
+ protected int consumeRuleCall$2(int entryPoint) throws Exception {
+ return consumeTerminal(idConsumer, null, false, false, getRule().ele0LexerRuleCallID(), getRuleCall$2$Delimiter());
+ }
+
+ protected int consumeGroup$3(int entryPoint) throws Exception {
+ IMarker marker = mark();
+ while(doConsumeGroup$3(entryPoint) == ConsumeResult.SUCCESS) {
+ marker.flush();
+ }
+ marker.rollback();
+ return ConsumeResult.SUCCESS;
+ }
+
+ protected int doConsumeGroup$3(int entryPoint) throws Exception {
+ announceNextLevel();
+ final IMarker marker = mark();
+ int result = ConsumeResult.SUCCESS;
+ switch(entryPoint) {
+ case -1: // use fall through semantics of switch case
+ result = ConsumeResult.EMPTY_MATCH;
+ case 0:
+ announceNextStep();
+ result = consumeKeyword$4(nextEntryPoint());
+ if (result!=ConsumeResult.SUCCESS) {
+ error("Another token expected.", getRule().ele10KeywordFullStop());
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+ case 1:
+ announceNextStep();
+ result = consumeRuleCall$5(nextEntryPoint());
+ if (result!=ConsumeResult.SUCCESS) {
+ error("Another token expected.", getRule().ele11LexerRuleCallID());
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+ }
+ marker.commit();
+ announceLevelFinished();
+ return result;
+ }
+
+ protected int consumeKeyword$4(int entryPoint) throws Exception {
+ return consumeKeyword(getRule().ele10KeywordFullStop(), null, false, false, getKeyword$4$Delimiter());
+ }
+
+ protected int consumeRuleCall$5(int entryPoint) throws Exception {
+ return consumeTerminal(idConsumer, null, false, false, getRule().ele11LexerRuleCallID(), getRuleCall$5$Delimiter());
+ }
+
+ public GrammarIDElements getRule() {
+ return XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammarID();
+ }
+
+ @Override
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "EString";
+ }
+
+ public void setIdConsumer(ITerminalConsumer idConsumer) {
+ 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 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;
+ }
+
+ 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/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/packrat/consumers/XtextGrammarTestLanguageLexerRuleConsumer.java
index c0e1823..1c0df90 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
@@ -27,8 +27,6 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
private ITerminalConsumer stringConsumer;
private INonTerminalConsumer typeRefConsumer;
- private ICharacterClass keyword$12$Delimiter;
-
private ICharacterClass keyword$15$Delimiter;
private ICharacterClass keyword$18$Delimiter;
@@ -37,17 +35,19 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
private ICharacterClass keyword$8$Delimiter;
+ private ICharacterClass keyword$12$Delimiter;
+
private ISequenceMatcher ruleCall$17$Delimiter;
private ISequenceMatcher ruleCall$10$Delimiter;
public XtextGrammarTestLanguageLexerRuleConsumer(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
super(configuration, hiddenTokens);
- keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
keyword$15$Delimiter = ICharacterClass.Factory.nullClass();
keyword$18$Delimiter = ICharacterClass.Factory.nullClass();
keyword$7$Delimiter = ICharacterClass.Factory.nullClass();
keyword$8$Delimiter = ICharacterClass.Factory.nullClass();
+ keyword$12$Delimiter = ICharacterClass.Factory.nullClass();
ruleCall$17$Delimiter = ISequenceMatcher.Factory.nullMatcher();
ruleCall$10$Delimiter = ISequenceMatcher.Factory.nullMatcher();
}
@@ -272,14 +272,6 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
this.typeRefConsumer = typeRefConsumer;
}
- 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$15$Delimiter() {
return keyword$15$Delimiter;
}
@@ -312,6 +304,14 @@ public final class XtextGrammarTestLanguageLexerRuleConsumer extends NonTerminal
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 ISequenceMatcher getRuleCall$17$Delimiter() {
return ruleCall$17$Delimiter;
}
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore
index 8b7808b..3642a8c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.ecore
@@ -4,20 +4,22 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="idElements" unique="false" upperBound="-1">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="superGrammarIdElements" unique="false" upperBound="-1">
- <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="superGrammar" eType="//Grammar"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="definesHiddenTokens">
+ <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="hiddenTokens" unique="false" upperBound="-1" eType="//AbstractRule"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="metamodelDeclarations" upperBound="-1" eType="//AbstractMetamodelDeclaration" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="rules" upperBound="-1" eType="//AbstractRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractRule">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="//TypeRef" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="//TypeRef" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractMetamodelDeclaration">
<eStructuralFeatures xsi:type="ecore:EReference" name="ePackage">
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi
index 95711b7..a56c0a3 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<xtext:Grammar xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext" name="org.eclipse.xtext.parser.terminalrules.XtextTerminalsTestLanguage" definesHiddenTokens="true" hiddenTokens="//@rules.34 //@rules.32 //@rules.33">
+<xtext:Grammar xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext" name="org.eclipse.xtext.parser.terminalrules.XtextTerminalsTestLanguage" definesHiddenTokens="true" hiddenTokens="//@rules.35 //@rules.33 //@rules.34">
<metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="XtextTerminalsTestLanguage">
<ePackage href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#/"/>
</metamodelDeclarations>
@@ -21,38 +21,70 @@
</groups>
<groups xsi:type="xtext:Keyword" value="language"/>
</abstractTokens>
- <abstractTokens xsi:type="xtext:Assignment" feature="idElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.1"/>
</abstractTokens>
</abstractTokens>
- <abstractTokens xsi:type="xtext:Group" cardinality="*">
- <abstractTokens xsi:type="xtext:Keyword" value="."/>
- <abstractTokens xsi:type="xtext:Assignment" feature="idElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <abstractTokens xsi:type="xtext:Group" cardinality="?">
+ <abstractTokens xsi:type="xtext:Keyword" value="extends"/>
+ <abstractTokens xsi:type="xtext:Assignment" feature="superGrammar" operator="=">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.1">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//Grammar"/>
+ </type>
+ </terminal>
</abstractTokens>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:Keyword" value="extends"/>
- <abstractTokens xsi:type="xtext:Assignment" feature="superGrammarIdElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <abstractTokens xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:Assignment" feature="definesHiddenTokens" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="hidden"/>
+ </abstractTokens>
+ <abstractTokens xsi:type="xtext:Keyword" value="("/>
</abstractTokens>
- </abstractTokens>
- <abstractTokens xsi:type="xtext:Group" cardinality="*">
- <abstractTokens xsi:type="xtext:Keyword" value="."/>
- <abstractTokens xsi:type="xtext:Assignment" feature="superGrammarIdElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <abstractTokens xsi:type="xtext:Group" cardinality="?">
+ <abstractTokens xsi:type="xtext:Assignment" feature="hiddenTokens" operator="+=">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
+ </type>
+ </terminal>
+ </abstractTokens>
+ <abstractTokens xsi:type="xtext:Group" cardinality="*">
+ <abstractTokens xsi:type="xtext:Keyword" value=","/>
+ <abstractTokens xsi:type="xtext:Assignment" feature="hiddenTokens" operator="+=">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
+ </type>
+ </terminal>
+ </abstractTokens>
+ </abstractTokens>
</abstractTokens>
</abstractTokens>
+ <abstractTokens xsi:type="xtext:Keyword" value=")"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="*" feature="metamodelDeclarations" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.2"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.3"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="+" feature="rules" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.1"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.2"/>
+ </abstractTokens>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="GrammarID">
+ <type metamodel="//@metamodelDeclarations.1">
+ <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.30"/>
+ <abstractTokens xsi:type="xtext:Group" cardinality="*">
+ <abstractTokens xsi:type="xtext:Keyword" value="."/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</alternatives>
</rules>
@@ -62,10 +94,10 @@
</type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.5"/>
<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"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AbstractMetamodelDeclaration">
@@ -73,8 +105,8 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractMetamodelDeclaration"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.3"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.4"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.5"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="GeneratedMetamodel">
@@ -86,11 +118,11 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="generate"/>
<abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="ePackage" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.31">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.32">
<type metamodel="//@metamodelDeclarations.1">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage"/>
</type>
@@ -100,7 +132,7 @@
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="as"/>
<abstractTokens xsi:type="xtext:Assignment" feature="alias" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -113,7 +145,7 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="import"/>
<abstractTokens xsi:type="xtext:Assignment" feature="ePackage" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.31">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.32">
<type metamodel="//@metamodelDeclarations.1">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage"/>
</type>
@@ -123,7 +155,7 @@
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="as"/>
<abstractTokens xsi:type="xtext:Assignment" feature="alias" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -142,20 +174,20 @@
<groups xsi:type="xtext:Keyword" value="lexer"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=":"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="body" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.31"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.32"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=";"/>
@@ -171,12 +203,12 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
@@ -190,7 +222,7 @@
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Assignment" feature="hiddenTokens" operator="+=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
</type>
@@ -199,7 +231,7 @@
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Keyword" value=","/>
<abstractTokens xsi:type="xtext:Assignment" feature="hiddenTokens" operator="+=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
</type>
@@ -214,7 +246,7 @@
<abstractTokens xsi:type="xtext:Keyword" value=":"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="alternatives" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.10"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=";"/>
@@ -233,20 +265,20 @@
<terminal xsi:type="xtext:Keyword" value="terminal"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="returns"/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</abstractTokens>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=":"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="alternatives" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.10"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.11"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=";"/>
@@ -259,7 +291,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Assignment" feature="metamodel" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractMetamodelDeclaration"/>
</type>
@@ -268,7 +300,7 @@
<abstractTokens xsi:type="xtext:Keyword" value="::"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.1">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EClassifier"/>
</type>
@@ -281,7 +313,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.11"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.12"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="groups" operator="+=">
@@ -292,7 +324,7 @@
<abstractTokens xsi:type="xtext:Keyword" value="|"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="groups" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.12"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -302,7 +334,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.12"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.13"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="groups" operator="+=">
@@ -313,7 +345,7 @@
<abstractTokens xsi:type="xtext:Keyword" value="|"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="groups" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.12"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.13"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -323,7 +355,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.13"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.14"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Action" feature="abstractTokens" operator="+=">
<typeName metamodel="//@metamodelDeclarations.0">
@@ -331,7 +363,7 @@
</typeName>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="abstractTokens" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.14"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -341,7 +373,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.14"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.15"/>
<abstractTokens xsi:type="xtext:Group" cardinality="*">
<abstractTokens xsi:type="xtext:Action" feature="abstractTokens" operator="+=">
<typeName metamodel="//@metamodelDeclarations.0">
@@ -349,7 +381,7 @@
</typeName>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="abstractTokens" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.15"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -361,10 +393,10 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.15"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.16"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.17"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.17"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.18"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="cardinality" operator="=">
<terminal xsi:type="xtext:Alternatives">
@@ -382,7 +414,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.18"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.19"/>
<abstractTokens xsi:type="xtext:Assignment" cardinality="?" feature="cardinality" operator="=">
<terminal xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
@@ -401,7 +433,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Assignment" feature="feature" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="operator" operator="=">
<terminal xsi:type="xtext:Alternatives">
@@ -414,7 +446,7 @@
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.18"/>
</abstractTokens>
</alternatives>
</rules>
@@ -436,13 +468,13 @@
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="typeName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value="."/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="feature" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.29"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.30"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="operator" operator="=">
@@ -464,12 +496,12 @@
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.27"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.28"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.29"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.25"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.26"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.24"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.25"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="TerminalTokenElement">
@@ -480,14 +512,14 @@
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.23"/>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.28"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.24"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.29"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.26"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.27"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.19"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.20"/>
</groups>
- <groups xsi:type="xtext:RuleCall" rule="//@rules.22"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.23"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AbstractNegatedToken">
@@ -495,8 +527,8 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractNegatedToken"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <groups xsi:type="xtext:RuleCall" rule="//@rules.20"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.21"/>
+ <groups xsi:type="xtext:RuleCall" rule="//@rules.22"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="NegatedToken">
@@ -506,7 +538,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="!"/>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.18"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.19"/>
</abstractTokens>
</alternatives>
</rules>
@@ -517,7 +549,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="->"/>
<abstractTokens xsi:type="xtext:Assignment" feature="terminal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.18"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.19"/>
</abstractTokens>
</alternatives>
</rules>
@@ -534,7 +566,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractElement"/>
</type>
<alternatives xsi:type="xtext:Group">
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.27"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.28"/>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Action" feature="left" operator="=">
@@ -545,7 +577,7 @@
<abstractTokens xsi:type="xtext:Keyword" value=".."/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Assignment" feature="right" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.27"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.28"/>
</abstractTokens>
</abstractTokens>
</alternatives>
@@ -559,13 +591,13 @@
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="["/>
<abstractTokens xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.9"/>
</abstractTokens>
</abstractTokens>
<abstractTokens xsi:type="xtext:Group" cardinality="?">
<abstractTokens xsi:type="xtext:Keyword" value="|"/>
<abstractTokens xsi:type="xtext:Assignment" feature="rule" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
</type>
@@ -583,7 +615,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="("/>
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.9"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.10"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=")"/>
</alternatives>
@@ -595,7 +627,7 @@
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="("/>
- <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.10"/>
+ <abstractTokens xsi:type="xtext:RuleCall" rule="//@rules.11"/>
</abstractTokens>
<abstractTokens xsi:type="xtext:Keyword" value=")"/>
</alternatives>
@@ -605,7 +637,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//Keyword"/>
</type>
<alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="//@rules.31"/>
+ <terminal xsi:type="xtext:RuleCall" rule="//@rules.32"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="RuleCall">
@@ -613,7 +645,7 @@
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//RuleCall"/>
</type>
<alternatives xsi:type="xtext:Assignment" feature="rule" operator="=">
- <terminal xsi:type="xtext:CrossReference" rule="//@rules.29">
+ <terminal xsi:type="xtext:CrossReference" rule="//@rules.30">
<type metamodel="//@metamodelDeclarations.0">
<type xsi:type="ecore:EClass" href="http://www.eclipse.org/2008/tmf/xtext/XtextTerminalsTestLanguage#//AbstractRule"/>
</type>
diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g
index 4d20a3d..bb46a3c 100644
--- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g
+++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parser/antlr/internal/InternalXtextTerminalsTestLanguage.g
@@ -105,33 +105,54 @@ ruleGrammar returns [EObject current=null]
}
)(
- lv_idElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
- }
-
+
+ {
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
+ }
+ lv_name=ruleGrammarID
{
if ($current==null) {
$current = factory.create("Grammar");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
try {
- factory.add($current, "idElements", lv_idElements, "ID", currentNode);
+ factory.set($current, "name", lv_name, "GrammarID", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
+ currentNode = currentNode.getParent();
}
-))('.'
+))('extends'
{
createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
- lv_idElements=RULE_ID
+
+ {
+ if ($current==null) {
+ $current = factory.create("Grammar");
+ associateNodeWithAstElement(currentNode, $current);
+ }
+ }
+(
+
{
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "idElements");
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, currentNode);
+ }
+ ruleGrammarID
+ {
+ currentNode = currentNode.getParent();
+ }
+)
+
+))?)((((
+
+ lv_definesHiddenTokens='hidden'
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::Keyword */, "definesHiddenTokens");
}
{
@@ -141,61 +162,55 @@ ruleGrammar returns [EObject current=null]
}
try {
- factory.add($current, "idElements", lv_idElements, "ID", currentNode);
+ factory.set($current, "definesHiddenTokens", true, "hidden", currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
-))*)(('extends'
+)'('
{
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
-(
+)((
- lv_superGrammarIdElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
- }
-
- {
- if ($current==null) {
+
+ {
+ if ($current==null) {
$current = factory.create("Grammar");
associateNodeWithAstElement(currentNode, $current);
}
-
- try {
- factory.add($current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
+ }
+(
+ RULE_ID {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ }
+)
-))('.'
+)(','
{
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
}
(
- lv_superGrammarIdElements=RULE_ID
- {
- createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "superGrammarIdElements");
- }
-
- {
- if ($current==null) {
+
+ {
+ if ($current==null) {
$current = factory.create("Grammar");
associateNodeWithAstElement(currentNode, $current);
}
-
- try {
- factory.add($current, "superGrammarIdElements", lv_superGrammarIdElements, "ID", currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
+ }
+(
+ RULE_ID {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::CrossReference */, "hiddenTokens");
+ }
+)
-))*)?)(
+))*)?)')'
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1" /* xtext::Keyword */, null);
+ }
+)?)(
{
@@ -245,9 +260,52 @@ ruleGrammar returns [EObject current=null]
+// Entry rule entryRuleGrammarID
+entryRuleGrammarID returns [String current=null] :
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1" /* xtext::ParserRule */, currentNode); }
+ iv_ruleGrammarID=ruleGrammarID
+ { $current=$iv_ruleGrammarID.current.getText(); }
+ EOF
+;
+
+// Rule GrammarID
+ruleGrammarID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+ @init { setCurrentLookahead(); resetLookahead();
+ }
+ @after { resetLookahead();
+ }:
+( this_ID=RULE_ID {
+ $current.merge(this_ID);
+ }
+
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@abstractTokens.0" /* xtext::RuleCall */, null);
+ }
+(
+ kw='.'
+ {
+ $current.merge(kw);
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
+ }
+ this_ID=RULE_ID {
+ $current.merge(this_ID);
+ }
+
+ {
+ createLeafNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@abstractTokens.1/@abstractTokens.1" /* xtext::RuleCall */, null);
+ }
+)*)
+ ;
+
+
+
+
+
+
+
// Entry rule entryRuleAbstractRule
entryRuleAbstractRule returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractRule=ruleAbstractRule
{ $current=$iv_ruleAbstractRule.current; }
EOF
@@ -261,7 +319,7 @@ ruleAbstractRule returns [EObject current=null]
}:
((
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2/@alternatives/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_LexerRule=ruleLexerRule
{
@@ -271,7 +329,7 @@ ruleAbstractRule returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_ParserRule=ruleParserRule
{
@@ -281,7 +339,7 @@ ruleAbstractRule returns [EObject current=null]
)
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
}
this_TerminalRule=ruleTerminalRule
{
@@ -298,7 +356,7 @@ ruleAbstractRule returns [EObject current=null]
// Entry rule entryRuleAbstractMetamodelDeclaration
entryRuleAbstractMetamodelDeclaration returns [EObject current=null] :
- { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2" /* xtext::ParserRule */, currentNode); }
+ { currentNode = createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.3" /* xtext::ParserRule */, currentNode); }
iv_ruleAbstractMetamodelDeclaration=ruleAbstractMetamodelDeclaration
{ $current=$iv_ruleAbstractMetamodelDeclaration.current; }
EOF
@@ -312,7 +370,7 @@ ruleAbstractMetamodelDeclaration returns [EObject current=null]
}:
(
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.2/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
+ currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules/XtextTerminalsTestLanguage.xmi#//@rules.3/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
}
this_GeneratedMetamodel=ruleGeneratedMetamodel
{
@@ -322,7 +380,7 @@ ruleAbstractMetamodelDeclaration returns [EObject current=null]
|
{
- currentNode=createCompositeNode("classpath:/org/eclipse/xtext/parser/terminalrules