Regenerated test languages

This commit is contained in:
Miro Spönemann 2017-01-06 15:53:40 +01:00
parent a41e155abd
commit d200dac389
9 changed files with 155 additions and 159 deletions

View file

@ -141,8 +141,6 @@ VerticalLine : '|';
RightCurlyBracket : '}';
// Rules duplicated to allow inter-rule references
RULE_DOCUMENTATION : '/**' ( options {greedy=false;} : . )*'*/';
RULE_HEX : '0' ('x'|'X') ('0'..'9'|'a'..'f'|'A'..'F')+;

View file

@ -1451,12 +1451,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_DOCUMENTATION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:146:20: ( '/**' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:146:22: '/**' ( options {greedy=false; } : . )* '*/'
// InternalExBeeLangTestLanguageLexer.g:144:20: ( '/**' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:144:22: '/**' ( options {greedy=false; } : . )* '*/'
{
match("/**");
// InternalExBeeLangTestLanguageLexer.g:146:28: ( options {greedy=false; } : . )*
// InternalExBeeLangTestLanguageLexer.g:144:28: ( options {greedy=false; } : . )*
loop1:
do {
int alt1=2;
@ -1481,7 +1481,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt1) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:146:56: .
// InternalExBeeLangTestLanguageLexer.g:144:56: .
{
matchAny();
@ -1511,8 +1511,8 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_HEX;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:148:10: ( '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
// InternalExBeeLangTestLanguageLexer.g:148:12: '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
// InternalExBeeLangTestLanguageLexer.g:146:10: ( '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
// InternalExBeeLangTestLanguageLexer.g:146:12: '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
match('0');
if ( input.LA(1)=='X'||input.LA(1)=='x' ) {
@ -1524,7 +1524,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
recover(mse);
throw mse;}
// InternalExBeeLangTestLanguageLexer.g:148:26: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
// InternalExBeeLangTestLanguageLexer.g:146:26: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@ -1578,10 +1578,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:150:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// InternalExBeeLangTestLanguageLexer.g:150:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
// InternalExBeeLangTestLanguageLexer.g:148:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// InternalExBeeLangTestLanguageLexer.g:148:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
// InternalExBeeLangTestLanguageLexer.g:150:11: ( '^' )?
// InternalExBeeLangTestLanguageLexer.g:148:11: ( '^' )?
int alt3=2;
int LA3_0 = input.LA(1);
@ -1590,7 +1590,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt3) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:150:11: '^'
// InternalExBeeLangTestLanguageLexer.g:148:11: '^'
{
match('^');
@ -1608,7 +1608,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
recover(mse);
throw mse;}
// InternalExBeeLangTestLanguageLexer.g:150:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
// InternalExBeeLangTestLanguageLexer.g:148:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
@ -1657,10 +1657,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:152:10: ( ( '0' .. '9' )+ )
// InternalExBeeLangTestLanguageLexer.g:152:12: ( '0' .. '9' )+
// InternalExBeeLangTestLanguageLexer.g:150:10: ( ( '0' .. '9' )+ )
// InternalExBeeLangTestLanguageLexer.g:150:12: ( '0' .. '9' )+
{
// InternalExBeeLangTestLanguageLexer.g:152:12: ( '0' .. '9' )+
// InternalExBeeLangTestLanguageLexer.g:150:12: ( '0' .. '9' )+
int cnt5=0;
loop5:
do {
@ -1674,7 +1674,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:152:13: '0' .. '9'
// InternalExBeeLangTestLanguageLexer.g:150:13: '0' .. '9'
{
matchRange('0','9');
@ -1706,10 +1706,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:154:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:154:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
// InternalExBeeLangTestLanguageLexer.g:152:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:152:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
// InternalExBeeLangTestLanguageLexer.g:154:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
// InternalExBeeLangTestLanguageLexer.g:152:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
int alt8=2;
int LA8_0 = input.LA(1);
@ -1727,10 +1727,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt8) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
// InternalExBeeLangTestLanguageLexer.g:152:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
// InternalExBeeLangTestLanguageLexer.g:154:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:152:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
loop6:
do {
int alt6=3;
@ -1746,7 +1746,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt6) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:21: '\\\\' .
// InternalExBeeLangTestLanguageLexer.g:152:21: '\\\\' .
{
match('\\');
matchAny();
@ -1754,7 +1754,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:28: ~ ( ( '\\\\' | '\"' ) )
// InternalExBeeLangTestLanguageLexer.g:152:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@ -1779,10 +1779,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
// InternalExBeeLangTestLanguageLexer.g:152:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
// InternalExBeeLangTestLanguageLexer.g:154:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:152:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
loop7:
do {
int alt7=3;
@ -1798,7 +1798,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:54: '\\\\' .
// InternalExBeeLangTestLanguageLexer.g:152:54: '\\\\' .
{
match('\\');
matchAny();
@ -1806,7 +1806,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:61: ~ ( ( '\\\\' | '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:152:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@ -1849,12 +1849,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:156:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:156:19: '/*' ( options {greedy=false; } : . )* '*/'
// InternalExBeeLangTestLanguageLexer.g:154:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:154:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
// InternalExBeeLangTestLanguageLexer.g:156:24: ( options {greedy=false; } : . )*
// InternalExBeeLangTestLanguageLexer.g:154:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@ -1879,7 +1879,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt9) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:156:52: .
// InternalExBeeLangTestLanguageLexer.g:154:52: .
{
matchAny();
@ -1909,12 +1909,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:158:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
// InternalExBeeLangTestLanguageLexer.g:158:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
// InternalExBeeLangTestLanguageLexer.g:156:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
// InternalExBeeLangTestLanguageLexer.g:156:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
// InternalExBeeLangTestLanguageLexer.g:158:24: (~ ( ( '\\n' | '\\r' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:156:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop10:
do {
int alt10=2;
@ -1927,7 +1927,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt10) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:24: ~ ( ( '\\n' | '\\r' ) )
// InternalExBeeLangTestLanguageLexer.g:156: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)<='\uFFFF') ) {
input.consume();
@ -1947,7 +1947,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
} while (true);
// InternalExBeeLangTestLanguageLexer.g:158:40: ( ( '\\r' )? '\\n' )?
// InternalExBeeLangTestLanguageLexer.g:156:40: ( ( '\\r' )? '\\n' )?
int alt12=2;
int LA12_0 = input.LA(1);
@ -1956,9 +1956,9 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt12) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:41: ( '\\r' )? '\\n'
// InternalExBeeLangTestLanguageLexer.g:156:41: ( '\\r' )? '\\n'
{
// InternalExBeeLangTestLanguageLexer.g:158:41: ( '\\r' )?
// InternalExBeeLangTestLanguageLexer.g:156:41: ( '\\r' )?
int alt11=2;
int LA11_0 = input.LA(1);
@ -1967,7 +1967,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt11) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:41: '\\r'
// InternalExBeeLangTestLanguageLexer.g:156:41: '\\r'
{
match('\r');
@ -1999,10 +1999,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:160:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
// InternalExBeeLangTestLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
// InternalExBeeLangTestLanguageLexer.g:158:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
// InternalExBeeLangTestLanguageLexer.g:158:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
// InternalExBeeLangTestLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
// InternalExBeeLangTestLanguageLexer.g:158:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt13=0;
loop13:
do {
@ -2056,8 +2056,8 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:162:16: ( . )
// InternalExBeeLangTestLanguageLexer.g:162:18: .
// InternalExBeeLangTestLanguageLexer.g:160:16: ( . )
// InternalExBeeLangTestLanguageLexer.g:160:18: .
{
matchAny();

View file

@ -1,66 +1,66 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Common Xtext Testlanguages for UI and Runtime - Runtime
Bundle-Vendor: Eclipse Xtext
Bundle-Version: 2.11.0.qualifier
Bundle-SymbolicName: org.eclipse.xtext.testlanguages; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.common.types,
org.eclipse.xtext.xtext.generator;resolution:=optional;x-installation:=greedy,
org.eclipse.emf.codegen.ecore;bundle-version="2.10.2";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe.utils;bundle-version="1.0.0";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe2.launch;bundle-version="2.0.0";resolution:=optional;x-installation:=greedy,
org.eclipse.xtext.util,
org.eclipse.emf.ecore;bundle-version="2.10.2",
org.eclipse.emf.common;bundle-version="2.10.1",
org.antlr.runtime,
org.eclipse.xtext.xbase.lib,
org.eclipse.xtend.lib,
org.eclipse.xtext.testing;bundle-version="2.10.2"
Import-Package: org.apache.log4j;version="1.2.15",
org.hamcrest.core,
org.junit;version="4.5.0",
org.junit.runners.model;version="4.5.0",
org.junit.runner;version="4.5.0",
org.junit.runners;version="4.5.0",
org.junit.runner.manipulation;version="4.5.0",
org.junit.runner.notification;version="4.5.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.xtext.testlanguages.backtracking,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.impl,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.util,
org.eclipse.xtext.testlanguages.backtracking.formatting,
org.eclipse.xtext.testlanguages.backtracking.formatting2,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr.internal,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr.lexer,
org.eclipse.xtext.testlanguages.backtracking.scoping,
org.eclipse.xtext.testlanguages.backtracking.serializer,
org.eclipse.xtext.testlanguages.backtracking.services,
org.eclipse.xtext.testlanguages.backtracking.validation,
org.eclipse.xtext.testlanguages.noJdt,
org.eclipse.xtext.testlanguages.noJdt.formatting2,
org.eclipse.xtext.testlanguages.noJdt.generator,
org.eclipse.xtext.testlanguages.noJdt.noJdt,
org.eclipse.xtext.testlanguages.noJdt.noJdt.impl,
org.eclipse.xtext.testlanguages.noJdt.noJdt.util,
org.eclipse.xtext.testlanguages.noJdt.parser.antlr,
org.eclipse.xtext.testlanguages.noJdt.parser.antlr.internal,
org.eclipse.xtext.testlanguages.noJdt.scoping,
org.eclipse.xtext.testlanguages.noJdt.serializer,
org.eclipse.xtext.testlanguages.noJdt.services,
org.eclipse.xtext.testlanguages.noJdt.validation,
org.eclipse.xtext.testlanguages.xtextgrammar,
org.eclipse.xtext.testlanguages.xtextgrammar.parser.antlr,
org.eclipse.xtext.testlanguages.xtextgrammar.parser.antlr.internal,
org.eclipse.xtext.testlanguages.xtextgrammar.scoping,
org.eclipse.xtext.testlanguages.xtextgrammar.serializer,
org.eclipse.xtext.testlanguages.xtextgrammar.services,
org.eclipse.xtext.testlanguages.xtextgrammar.tests,
org.eclipse.xtext.testlanguages.xtextgrammar.validation,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest.impl,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest.util
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Common Xtext Testlanguages for UI and Runtime - Runtime
Bundle-Vendor: Eclipse Xtext
Bundle-Version: 2.11.0.qualifier
Bundle-SymbolicName: org.eclipse.xtext.testlanguages; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.common.types,
org.eclipse.xtext.xtext.generator;resolution:=optional;x-installation:=greedy,
org.eclipse.emf.codegen.ecore;bundle-version="2.10.2";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe.utils;bundle-version="1.0.0";resolution:=optional;x-installation:=greedy,
org.eclipse.emf.mwe2.launch;bundle-version="2.0.0";resolution:=optional;x-installation:=greedy,
org.eclipse.xtext.util,
org.eclipse.emf.ecore;bundle-version="2.10.2",
org.eclipse.emf.common;bundle-version="2.10.1",
org.antlr.runtime,
org.eclipse.xtext.xbase.lib,
org.eclipse.xtend.lib,
org.eclipse.xtext.testing;bundle-version="2.10.2"
Import-Package: org.apache.log4j;version="1.2.15",
org.hamcrest.core,
org.junit;version="4.5.0",
org.junit.runners.model;version="4.5.0",
org.junit.runner;version="4.5.0",
org.junit.runners;version="4.5.0",
org.junit.runner.manipulation;version="4.5.0",
org.junit.runner.notification;version="4.5.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.xtext.testlanguages.backtracking,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.impl,
org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.util,
org.eclipse.xtext.testlanguages.backtracking.formatting,
org.eclipse.xtext.testlanguages.backtracking.formatting2,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr.internal,
org.eclipse.xtext.testlanguages.backtracking.parser.antlr.lexer,
org.eclipse.xtext.testlanguages.backtracking.scoping,
org.eclipse.xtext.testlanguages.backtracking.serializer,
org.eclipse.xtext.testlanguages.backtracking.services,
org.eclipse.xtext.testlanguages.backtracking.validation,
org.eclipse.xtext.testlanguages.noJdt,
org.eclipse.xtext.testlanguages.noJdt.formatting2,
org.eclipse.xtext.testlanguages.noJdt.generator,
org.eclipse.xtext.testlanguages.noJdt.noJdt,
org.eclipse.xtext.testlanguages.noJdt.noJdt.impl,
org.eclipse.xtext.testlanguages.noJdt.noJdt.util,
org.eclipse.xtext.testlanguages.noJdt.parser.antlr,
org.eclipse.xtext.testlanguages.noJdt.parser.antlr.internal,
org.eclipse.xtext.testlanguages.noJdt.scoping,
org.eclipse.xtext.testlanguages.noJdt.serializer,
org.eclipse.xtext.testlanguages.noJdt.services,
org.eclipse.xtext.testlanguages.noJdt.validation,
org.eclipse.xtext.testlanguages.xtextgrammar,
org.eclipse.xtext.testlanguages.xtextgrammar.parser.antlr,
org.eclipse.xtext.testlanguages.xtextgrammar.parser.antlr.internal,
org.eclipse.xtext.testlanguages.xtextgrammar.scoping,
org.eclipse.xtext.testlanguages.xtextgrammar.serializer,
org.eclipse.xtext.testlanguages.xtextgrammar.services,
org.eclipse.xtext.testlanguages.xtextgrammar.tests;x-internal=true,
org.eclipse.xtext.testlanguages.xtextgrammar.validation,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest.impl,
org.eclipse.xtext.testlanguages.xtextgrammar.xtextGrammarTest.util

View file

@ -3,7 +3,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.testlanguages/src-gen"
modelPluginID="org.eclipse.xtext.testlanguages" forceOverwrite="true" modelName="XtextGrammarTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.11">
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.12">
<genPackages prefix="XtextGrammarTest" basePackage="org.eclipse.xtext.testlanguages.xtextgrammar"
disposableProviderFactory="true" fileExtensions="xtextgrammar" ecorePackage="XtextGrammarTestLanguage.ecore#/">
<genClasses ecoreClass="XtextGrammarTestLanguage.ecore#//Grammar">

View file

@ -141,8 +141,6 @@ VerticalLine : '|';
RightCurlyBracket : '}';
// Rules duplicated to allow inter-rule references
RULE_DOCUMENTATION : '/**' ( options {greedy=false;} : . )*'*/';
RULE_HEX : '0' ('x'|'X') ('0'..'9'|'a'..'f'|'A'..'F')+;

View file

@ -1451,12 +1451,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_DOCUMENTATION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:146:20: ( '/**' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:146:22: '/**' ( options {greedy=false; } : . )* '*/'
// InternalExBeeLangTestLanguageLexer.g:144:20: ( '/**' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:144:22: '/**' ( options {greedy=false; } : . )* '*/'
{
match("/**");
// InternalExBeeLangTestLanguageLexer.g:146:28: ( options {greedy=false; } : . )*
// InternalExBeeLangTestLanguageLexer.g:144:28: ( options {greedy=false; } : . )*
loop1:
do {
int alt1=2;
@ -1481,7 +1481,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt1) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:146:56: .
// InternalExBeeLangTestLanguageLexer.g:144:56: .
{
matchAny();
@ -1511,8 +1511,8 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_HEX;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:148:10: ( '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
// InternalExBeeLangTestLanguageLexer.g:148:12: '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
// InternalExBeeLangTestLanguageLexer.g:146:10: ( '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
// InternalExBeeLangTestLanguageLexer.g:146:12: '0' ( 'x' | 'X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
match('0');
if ( input.LA(1)=='X'||input.LA(1)=='x' ) {
@ -1524,7 +1524,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
recover(mse);
throw mse;}
// InternalExBeeLangTestLanguageLexer.g:148:26: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
// InternalExBeeLangTestLanguageLexer.g:146:26: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@ -1578,10 +1578,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:150:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// InternalExBeeLangTestLanguageLexer.g:150:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
// InternalExBeeLangTestLanguageLexer.g:148:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// InternalExBeeLangTestLanguageLexer.g:148:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
// InternalExBeeLangTestLanguageLexer.g:150:11: ( '^' )?
// InternalExBeeLangTestLanguageLexer.g:148:11: ( '^' )?
int alt3=2;
int LA3_0 = input.LA(1);
@ -1590,7 +1590,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt3) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:150:11: '^'
// InternalExBeeLangTestLanguageLexer.g:148:11: '^'
{
match('^');
@ -1608,7 +1608,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
recover(mse);
throw mse;}
// InternalExBeeLangTestLanguageLexer.g:150:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
// InternalExBeeLangTestLanguageLexer.g:148:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
@ -1657,10 +1657,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:152:10: ( ( '0' .. '9' )+ )
// InternalExBeeLangTestLanguageLexer.g:152:12: ( '0' .. '9' )+
// InternalExBeeLangTestLanguageLexer.g:150:10: ( ( '0' .. '9' )+ )
// InternalExBeeLangTestLanguageLexer.g:150:12: ( '0' .. '9' )+
{
// InternalExBeeLangTestLanguageLexer.g:152:12: ( '0' .. '9' )+
// InternalExBeeLangTestLanguageLexer.g:150:12: ( '0' .. '9' )+
int cnt5=0;
loop5:
do {
@ -1674,7 +1674,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt5) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:152:13: '0' .. '9'
// InternalExBeeLangTestLanguageLexer.g:150:13: '0' .. '9'
{
matchRange('0','9');
@ -1706,10 +1706,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:154:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:154:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
// InternalExBeeLangTestLanguageLexer.g:152:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:152:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
// InternalExBeeLangTestLanguageLexer.g:154:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
// InternalExBeeLangTestLanguageLexer.g:152:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
int alt8=2;
int LA8_0 = input.LA(1);
@ -1727,10 +1727,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt8) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
// InternalExBeeLangTestLanguageLexer.g:152:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
// InternalExBeeLangTestLanguageLexer.g:154:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:152:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
loop6:
do {
int alt6=3;
@ -1746,7 +1746,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt6) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:21: '\\\\' .
// InternalExBeeLangTestLanguageLexer.g:152:21: '\\\\' .
{
match('\\');
matchAny();
@ -1754,7 +1754,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:28: ~ ( ( '\\\\' | '\"' ) )
// InternalExBeeLangTestLanguageLexer.g:152:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@ -1779,10 +1779,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
// InternalExBeeLangTestLanguageLexer.g:152:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
// InternalExBeeLangTestLanguageLexer.g:154:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:152:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
loop7:
do {
int alt7=3;
@ -1798,7 +1798,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt7) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:154:54: '\\\\' .
// InternalExBeeLangTestLanguageLexer.g:152:54: '\\\\' .
{
match('\\');
matchAny();
@ -1806,7 +1806,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
break;
case 2 :
// InternalExBeeLangTestLanguageLexer.g:154:61: ~ ( ( '\\\\' | '\\'' ) )
// InternalExBeeLangTestLanguageLexer.g:152:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@ -1849,12 +1849,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:156:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:156:19: '/*' ( options {greedy=false; } : . )* '*/'
// InternalExBeeLangTestLanguageLexer.g:154:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
// InternalExBeeLangTestLanguageLexer.g:154:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
// InternalExBeeLangTestLanguageLexer.g:156:24: ( options {greedy=false; } : . )*
// InternalExBeeLangTestLanguageLexer.g:154:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@ -1879,7 +1879,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt9) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:156:52: .
// InternalExBeeLangTestLanguageLexer.g:154:52: .
{
matchAny();
@ -1909,12 +1909,12 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:158:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
// InternalExBeeLangTestLanguageLexer.g:158:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
// InternalExBeeLangTestLanguageLexer.g:156:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
// InternalExBeeLangTestLanguageLexer.g:156:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
// InternalExBeeLangTestLanguageLexer.g:158:24: (~ ( ( '\\n' | '\\r' ) ) )*
// InternalExBeeLangTestLanguageLexer.g:156:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop10:
do {
int alt10=2;
@ -1927,7 +1927,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
switch (alt10) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:24: ~ ( ( '\\n' | '\\r' ) )
// InternalExBeeLangTestLanguageLexer.g:156: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)<='\uFFFF') ) {
input.consume();
@ -1947,7 +1947,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
} while (true);
// InternalExBeeLangTestLanguageLexer.g:158:40: ( ( '\\r' )? '\\n' )?
// InternalExBeeLangTestLanguageLexer.g:156:40: ( ( '\\r' )? '\\n' )?
int alt12=2;
int LA12_0 = input.LA(1);
@ -1956,9 +1956,9 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt12) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:41: ( '\\r' )? '\\n'
// InternalExBeeLangTestLanguageLexer.g:156:41: ( '\\r' )? '\\n'
{
// InternalExBeeLangTestLanguageLexer.g:158:41: ( '\\r' )?
// InternalExBeeLangTestLanguageLexer.g:156:41: ( '\\r' )?
int alt11=2;
int LA11_0 = input.LA(1);
@ -1967,7 +1967,7 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
}
switch (alt11) {
case 1 :
// InternalExBeeLangTestLanguageLexer.g:158:41: '\\r'
// InternalExBeeLangTestLanguageLexer.g:156:41: '\\r'
{
match('\r');
@ -1999,10 +1999,10 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:160:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
// InternalExBeeLangTestLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
// InternalExBeeLangTestLanguageLexer.g:158:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
// InternalExBeeLangTestLanguageLexer.g:158:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
// InternalExBeeLangTestLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
// InternalExBeeLangTestLanguageLexer.g:158:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt13=0;
loop13:
do {
@ -2056,8 +2056,8 @@ public class InternalExBeeLangTestLanguageLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalExBeeLangTestLanguageLexer.g:162:16: ( . )
// InternalExBeeLangTestLanguageLexer.g:162:18: .
// InternalExBeeLangTestLanguageLexer.g:160:16: ( . )
// InternalExBeeLangTestLanguageLexer.g:160:18: .
{
matchAny();