Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice')
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbinbin4930 -> 4991 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbinbin5163 -> 5224 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g2
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens61
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java849
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java233
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g2
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens65
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java903
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java273
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java8
-rw-r--r--plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java6
12 files changed, 1293 insertions, 1109 deletions
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin
index de9b489e4..8a687578e 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin
index 574f53a86..45eaa8dd6 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g
index 73e19332a..187fa8622 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g
@@ -1180,6 +1180,8 @@ ruleLiteralType returns [Enumerator current=null]
RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+;
+RULE_CC_STRING : '\'\'\'' ( options {greedy=false;} : . )*'\'\'\'';
+
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_INT : ('0'..'9')+;
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens
index d54f31bf0..5581b1237 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens
@@ -1,37 +1,37 @@
-'('=13
-')'=15
-'+'=28
-','=14
-'-'=29
-'.'=30
-'.*'=23
-':'=20
-'='=16
-'@'=12
-'E'=32
-'['=24
-']'=25
-'attribute'=19
-'e'=31
-'false'=26
-'mandatory'=18
-'optional'=17
-'ptBoolean'=33
-'ptCharacter'=36
-'ptInteger'=34
-'ptReal'=35
-'true'=27
-'{'=21
-'}'=22
-RULE_ANY_OTHER=11
+'('=14
+')'=16
+'+'=29
+','=15
+'-'=30
+'.'=31
+'.*'=24
+':'=21
+'='=17
+'@'=13
+'E'=33
+'['=25
+']'=26
+'attribute'=20
+'e'=32
+'false'=27
+'mandatory'=19
+'optional'=18
+'ptBoolean'=34
+'ptCharacter'=37
+'ptInteger'=35
+'ptReal'=36
+'true'=28
+'{'=22
+'}'=23
+RULE_ANY_OTHER=12
+RULE_CC_STRING=8
RULE_HEX=7
RULE_ID=4
RULE_INT=6
-RULE_ML_COMMENT=8
-RULE_SL_COMMENT=9
+RULE_ML_COMMENT=9
+RULE_SL_COMMENT=10
RULE_STRING=5
-RULE_WS=10
-T__12=12
+RULE_WS=11
T__13=13
T__14=14
T__15=15
@@ -56,3 +56,4 @@ T__33=33
T__34=34
T__35=35
T__36=36
+T__37=37
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java
index 6f20389d0..2dfa49d81 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java
@@ -14,14 +14,15 @@ import java.util.ArrayList;
public class InternalBaseLexer extends Lexer {
public static final int RULE_HEX=7;
public static final int RULE_STRING=5;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__19=19;
+ public static final int RULE_CC_STRING=8;
public static final int T__15=15;
+ public static final int T__37=37;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__33=33;
- public static final int T__12=12;
public static final int T__34=34;
public static final int T__13=13;
public static final int T__35=35;
@@ -32,15 +33,15 @@ public class InternalBaseLexer extends Lexer {
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_ID=4;
- public static final int RULE_WS=10;
- public static final int RULE_ANY_OTHER=11;
+ public static final int RULE_WS=11;
+ public static final int RULE_ANY_OTHER=12;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int RULE_INT=6;
public static final int T__29=29;
public static final int T__22=22;
- public static final int RULE_ML_COMMENT=8;
+ public static final int RULE_ML_COMMENT=9;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
@@ -60,35 +61,15 @@ public class InternalBaseLexer extends Lexer {
}
public String getGrammarFileName() { return "InternalBase.g"; }
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:11:7: ( '@' )
- // InternalBase.g:11:9: '@'
- {
- match('@');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__12"
-
// $ANTLR start "T__13"
public final void mT__13() throws RecognitionException {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:12:7: ( '(' )
- // InternalBase.g:12:9: '('
+ // InternalBase.g:11:7: ( '@' )
+ // InternalBase.g:11:9: '@'
{
- match('(');
+ match('@');
}
@@ -105,10 +86,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:13:7: ( ',' )
- // InternalBase.g:13:9: ','
+ // InternalBase.g:12:7: ( '(' )
+ // InternalBase.g:12:9: '('
{
- match(',');
+ match('(');
}
@@ -125,10 +106,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:14:7: ( ')' )
- // InternalBase.g:14:9: ')'
+ // InternalBase.g:13:7: ( ',' )
+ // InternalBase.g:13:9: ','
{
- match(')');
+ match(',');
}
@@ -145,10 +126,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:15:7: ( '=' )
- // InternalBase.g:15:9: '='
+ // InternalBase.g:14:7: ( ')' )
+ // InternalBase.g:14:9: ')'
{
- match('=');
+ match(')');
}
@@ -165,11 +146,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:16:7: ( 'optional' )
- // InternalBase.g:16:9: 'optional'
+ // InternalBase.g:15:7: ( '=' )
+ // InternalBase.g:15:9: '='
{
- match("optional");
-
+ match('=');
}
@@ -186,10 +166,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:17:7: ( 'mandatory' )
- // InternalBase.g:17:9: 'mandatory'
+ // InternalBase.g:16:7: ( 'optional' )
+ // InternalBase.g:16:9: 'optional'
{
- match("mandatory");
+ match("optional");
}
@@ -207,10 +187,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:18:7: ( 'attribute' )
- // InternalBase.g:18:9: 'attribute'
+ // InternalBase.g:17:7: ( 'mandatory' )
+ // InternalBase.g:17:9: 'mandatory'
{
- match("attribute");
+ match("mandatory");
}
@@ -228,10 +208,11 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:19:7: ( ':' )
- // InternalBase.g:19:9: ':'
+ // InternalBase.g:18:7: ( 'attribute' )
+ // InternalBase.g:18:9: 'attribute'
{
- match(':');
+ match("attribute");
+
}
@@ -248,10 +229,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:20:7: ( '{' )
- // InternalBase.g:20:9: '{'
+ // InternalBase.g:19:7: ( ':' )
+ // InternalBase.g:19:9: ':'
{
- match('{');
+ match(':');
}
@@ -268,10 +249,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:21:7: ( '}' )
- // InternalBase.g:21:9: '}'
+ // InternalBase.g:20:7: ( '{' )
+ // InternalBase.g:20:9: '{'
{
- match('}');
+ match('{');
}
@@ -288,11 +269,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:22:7: ( '.*' )
- // InternalBase.g:22:9: '.*'
+ // InternalBase.g:21:7: ( '}' )
+ // InternalBase.g:21:9: '}'
{
- match(".*");
-
+ match('}');
}
@@ -309,10 +289,11 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:23:7: ( '[' )
- // InternalBase.g:23:9: '['
+ // InternalBase.g:22:7: ( '.*' )
+ // InternalBase.g:22:9: '.*'
{
- match('[');
+ match(".*");
+
}
@@ -329,10 +310,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:24:7: ( ']' )
- // InternalBase.g:24:9: ']'
+ // InternalBase.g:23:7: ( '[' )
+ // InternalBase.g:23:9: '['
{
- match(']');
+ match('[');
}
@@ -349,11 +330,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:25:7: ( 'false' )
- // InternalBase.g:25:9: 'false'
+ // InternalBase.g:24:7: ( ']' )
+ // InternalBase.g:24:9: ']'
{
- match("false");
-
+ match(']');
}
@@ -370,10 +350,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:26:7: ( 'true' )
- // InternalBase.g:26:9: 'true'
+ // InternalBase.g:25:7: ( 'false' )
+ // InternalBase.g:25:9: 'false'
{
- match("true");
+ match("false");
}
@@ -391,10 +371,11 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:27:7: ( '+' )
- // InternalBase.g:27:9: '+'
+ // InternalBase.g:26:7: ( 'true' )
+ // InternalBase.g:26:9: 'true'
{
- match('+');
+ match("true");
+
}
@@ -411,10 +392,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:28:7: ( '-' )
- // InternalBase.g:28:9: '-'
+ // InternalBase.g:27:7: ( '+' )
+ // InternalBase.g:27:9: '+'
{
- match('-');
+ match('+');
}
@@ -431,10 +412,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:29:7: ( '.' )
- // InternalBase.g:29:9: '.'
+ // InternalBase.g:28:7: ( '-' )
+ // InternalBase.g:28:9: '-'
{
- match('.');
+ match('-');
}
@@ -451,10 +432,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:30:7: ( 'e' )
- // InternalBase.g:30:9: 'e'
+ // InternalBase.g:29:7: ( '.' )
+ // InternalBase.g:29:9: '.'
{
- match('e');
+ match('.');
}
@@ -471,10 +452,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:31:7: ( 'E' )
- // InternalBase.g:31:9: 'E'
+ // InternalBase.g:30:7: ( 'e' )
+ // InternalBase.g:30:9: 'e'
{
- match('E');
+ match('e');
}
@@ -491,11 +472,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:32:7: ( 'ptBoolean' )
- // InternalBase.g:32:9: 'ptBoolean'
+ // InternalBase.g:31:7: ( 'E' )
+ // InternalBase.g:31:9: 'E'
{
- match("ptBoolean");
-
+ match('E');
}
@@ -512,10 +492,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:33:7: ( 'ptInteger' )
- // InternalBase.g:33:9: 'ptInteger'
+ // InternalBase.g:32:7: ( 'ptBoolean' )
+ // InternalBase.g:32:9: 'ptBoolean'
{
- match("ptInteger");
+ match("ptBoolean");
}
@@ -533,10 +513,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:34:7: ( 'ptReal' )
- // InternalBase.g:34:9: 'ptReal'
+ // InternalBase.g:33:7: ( 'ptInteger' )
+ // InternalBase.g:33:9: 'ptInteger'
{
- match("ptReal");
+ match("ptInteger");
}
@@ -554,6 +534,27 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalBase.g:34:7: ( 'ptReal' )
+ // InternalBase.g:34:9: 'ptReal'
+ {
+ match("ptReal");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__36"
+
+ // $ANTLR start "T__37"
+ public final void mT__37() throws RecognitionException {
+ try {
+ int _type = T__37;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalBase.g:35:7: ( 'ptCharacter' )
// InternalBase.g:35:9: 'ptCharacter'
{
@@ -568,7 +569,7 @@ public class InternalBaseLexer extends Lexer {
finally {
}
}
- // $ANTLR end "T__36"
+ // $ANTLR end "T__37"
// $ANTLR start "RULE_HEX"
public final void mRULE_HEX() throws RecognitionException {
@@ -673,24 +674,93 @@ public class InternalBaseLexer extends Lexer {
}
// $ANTLR end "RULE_HEX"
+ // $ANTLR start "RULE_CC_STRING"
+ public final void mRULE_CC_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_CC_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalBase.g:1183:16: ( '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\'' )
+ // InternalBase.g:1183:18: '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\''
+ {
+ match("'''");
+
+ // InternalBase.g:1183:27: ( options {greedy=false; } : . )*
+ loop3:
+ do {
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0=='\'') ) {
+ int LA3_1 = input.LA(2);
+
+ if ( (LA3_1=='\'') ) {
+ int LA3_3 = input.LA(3);
+
+ if ( (LA3_3=='\'') ) {
+ alt3=2;
+ }
+ else if ( ((LA3_3>='\u0000' && LA3_3<='&')||(LA3_3>='(' && LA3_3<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ }
+ else if ( ((LA3_1>='\u0000' && LA3_1<='&')||(LA3_1>='(' && LA3_1<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ }
+ else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ switch (alt3) {
+ case 1 :
+ // InternalBase.g:1183:55: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default :
+ break loop3;
+ }
+ } while (true);
+
+ match("'''");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_CC_STRING"
+
// $ANTLR start "RULE_ID"
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1183:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalBase.g:1183:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalBase.g:1185:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalBase.g:1185:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalBase.g:1183:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
+ // InternalBase.g:1185:11: ( '^' )?
+ int alt4=2;
+ int LA4_0 = input.LA(1);
- if ( (LA3_0=='^') ) {
- alt3=1;
+ if ( (LA4_0=='^') ) {
+ alt4=1;
}
- switch (alt3) {
+ switch (alt4) {
case 1 :
- // InternalBase.g:1183:11: '^'
+ // InternalBase.g:1185:11: '^'
{
match('^');
@@ -708,18 +778,18 @@ public class InternalBaseLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalBase.g:1183:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
+ // InternalBase.g:1185:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop5:
do {
- int alt4=2;
- int LA4_0 = input.LA(1);
+ int alt5=2;
+ int LA5_0 = input.LA(1);
- if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
- alt4=1;
+ if ( ((LA5_0>='0' && LA5_0<='9')||(LA5_0>='A' && LA5_0<='Z')||LA5_0=='_'||(LA5_0>='a' && LA5_0<='z')) ) {
+ alt5=1;
}
- switch (alt4) {
+ switch (alt5) {
case 1 :
// InternalBase.g:
{
@@ -737,7 +807,7 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- break loop4;
+ break loop5;
}
} while (true);
@@ -757,24 +827,24 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1185:10: ( ( '0' .. '9' )+ )
- // InternalBase.g:1185:12: ( '0' .. '9' )+
+ // InternalBase.g:1187:10: ( ( '0' .. '9' )+ )
+ // InternalBase.g:1187:12: ( '0' .. '9' )+
{
- // InternalBase.g:1185:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
+ // InternalBase.g:1187:12: ( '0' .. '9' )+
+ int cnt6=0;
+ loop6:
do {
- int alt5=2;
- int LA5_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( ((LA5_0>='0' && LA5_0<='9')) ) {
- alt5=1;
+ if ( ((LA6_0>='0' && LA6_0<='9')) ) {
+ alt6=1;
}
- switch (alt5) {
+ switch (alt6) {
case 1 :
- // InternalBase.g:1185:13: '0' .. '9'
+ // InternalBase.g:1187:13: '0' .. '9'
{
matchRange('0','9');
@@ -782,12 +852,12 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- if ( cnt5 >= 1 ) break loop5;
+ if ( cnt6 >= 1 ) break loop6;
EarlyExitException eee =
- new EarlyExitException(5, input);
+ new EarlyExitException(6, input);
throw eee;
}
- cnt5++;
+ cnt6++;
} while (true);
@@ -806,47 +876,47 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1187:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // InternalBase.g:1187:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalBase.g:1189:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // InternalBase.g:1189:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // InternalBase.g:1187:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // InternalBase.g:1189:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA8_0=='\"') ) {
- alt8=1;
+ if ( (LA9_0=='\"') ) {
+ alt9=1;
}
- else if ( (LA8_0=='\'') ) {
- alt8=2;
+ else if ( (LA9_0=='\'') ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 8, 0, input);
+ new NoViableAltException("", 9, 0, input);
throw nvae;
}
- switch (alt8) {
+ switch (alt9) {
case 1 :
- // InternalBase.g:1187:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalBase.g:1189:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalBase.g:1187:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop6:
+ // InternalBase.g:1189:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop7:
do {
- int alt6=3;
- int LA6_0 = input.LA(1);
+ int alt7=3;
+ int LA7_0 = input.LA(1);
- if ( (LA6_0=='\\') ) {
- alt6=1;
+ if ( (LA7_0=='\\') ) {
+ alt7=1;
}
- else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
- alt6=2;
+ else if ( ((LA7_0>='\u0000' && LA7_0<='!')||(LA7_0>='#' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
+ alt7=2;
}
- switch (alt6) {
+ switch (alt7) {
case 1 :
- // InternalBase.g:1187:21: '\\\\' .
+ // InternalBase.g:1189:21: '\\\\' .
{
match('\\');
matchAny();
@@ -854,7 +924,7 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 2 :
- // InternalBase.g:1187:28: ~ ( ( '\\\\' | '\"' ) )
+ // InternalBase.g:1189:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -870,7 +940,7 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- break loop6;
+ break loop7;
}
} while (true);
@@ -879,26 +949,26 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 2 :
- // InternalBase.g:1187:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // InternalBase.g:1189:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // InternalBase.g:1187:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop7:
+ // InternalBase.g:1189:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
+ loop8:
do {
- int alt7=3;
- int LA7_0 = input.LA(1);
+ int alt8=3;
+ int LA8_0 = input.LA(1);
- if ( (LA7_0=='\\') ) {
- alt7=1;
+ if ( (LA8_0=='\\') ) {
+ alt8=1;
}
- else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
- alt7=2;
+ else if ( ((LA8_0>='\u0000' && LA8_0<='&')||(LA8_0>='(' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFF')) ) {
+ alt8=2;
}
- switch (alt7) {
+ switch (alt8) {
case 1 :
- // InternalBase.g:1187:54: '\\\\' .
+ // InternalBase.g:1189:54: '\\\\' .
{
match('\\');
matchAny();
@@ -906,7 +976,7 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 2 :
- // InternalBase.g:1187:61: ~ ( ( '\\\\' | '\\'' ) )
+ // InternalBase.g:1189:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -922,7 +992,7 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- break loop7;
+ break loop8;
}
} while (true);
@@ -949,37 +1019,37 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1189:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalBase.g:1189:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalBase.g:1191:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalBase.g:1191:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalBase.g:1189:24: ( options {greedy=false; } : . )*
- loop9:
+ // InternalBase.g:1191:24: ( options {greedy=false; } : . )*
+ loop10:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA9_0=='*') ) {
- int LA9_1 = input.LA(2);
+ if ( (LA10_0=='*') ) {
+ int LA10_1 = input.LA(2);
- if ( (LA9_1=='/') ) {
- alt9=2;
+ if ( (LA10_1=='/') ) {
+ alt10=2;
}
- else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
- alt9=1;
+ else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) {
+ alt10=1;
}
}
- else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
- alt9=1;
+ else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) {
+ alt10=1;
}
- switch (alt9) {
+ switch (alt10) {
case 1 :
- // InternalBase.g:1189:52: .
+ // InternalBase.g:1191:52: .
{
matchAny();
@@ -987,7 +1057,7 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- break loop9;
+ break loop10;
}
} while (true);
@@ -1009,25 +1079,25 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1191:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalBase.g:1191:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalBase.g:1193:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalBase.g:1193:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalBase.g:1191:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop10:
+ // InternalBase.g:1193:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ loop11:
do {
- int alt10=2;
- int LA10_0 = input.LA(1);
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
- alt10=1;
+ if ( ((LA11_0>='\u0000' && LA11_0<='\t')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\uFFFF')) ) {
+ alt11=1;
}
- switch (alt10) {
+ switch (alt11) {
case 1 :
- // InternalBase.g:1191:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalBase.g:1193: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();
@@ -1043,31 +1113,31 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- break loop10;
+ break loop11;
}
} while (true);
- // InternalBase.g:1191:40: ( ( '\\r' )? '\\n' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalBase.g:1193:40: ( ( '\\r' )? '\\n' )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA12_0=='\n'||LA12_0=='\r') ) {
- alt12=1;
+ if ( (LA13_0=='\n'||LA13_0=='\r') ) {
+ alt13=1;
}
- switch (alt12) {
+ switch (alt13) {
case 1 :
- // InternalBase.g:1191:41: ( '\\r' )? '\\n'
+ // InternalBase.g:1193:41: ( '\\r' )? '\\n'
{
- // InternalBase.g:1191:41: ( '\\r' )?
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalBase.g:1193:41: ( '\\r' )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA11_0=='\r') ) {
- alt11=1;
+ if ( (LA12_0=='\r') ) {
+ alt12=1;
}
- switch (alt11) {
+ switch (alt12) {
case 1 :
- // InternalBase.g:1191:41: '\\r'
+ // InternalBase.g:1193:41: '\\r'
{
match('\r');
@@ -1099,22 +1169,22 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1193:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalBase.g:1193:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalBase.g:1195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalBase.g:1195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalBase.g:1193:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt13=0;
- loop13:
+ // InternalBase.g:1195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt14=0;
+ loop14:
do {
- int alt13=2;
- int LA13_0 = input.LA(1);
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
- alt13=1;
+ if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {
+ alt14=1;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
// InternalBase.g:
{
@@ -1132,12 +1202,12 @@ public class InternalBaseLexer extends Lexer {
break;
default :
- if ( cnt13 >= 1 ) break loop13;
+ if ( cnt14 >= 1 ) break loop14;
EarlyExitException eee =
- new EarlyExitException(13, input);
+ new EarlyExitException(14, input);
throw eee;
}
- cnt13++;
+ cnt14++;
} while (true);
@@ -1156,8 +1226,8 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:1195:16: ( . )
- // InternalBase.g:1195:18: .
+ // InternalBase.g:1197:16: ( . )
+ // InternalBase.g:1197:18: .
{
matchAny();
@@ -1172,182 +1242,182 @@ public class InternalBaseLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // InternalBase.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt14=33;
- alt14 = dfa14.predict(input);
- switch (alt14) {
+ // InternalBase.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_HEX | RULE_CC_STRING | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt15=34;
+ alt15 = dfa15.predict(input);
+ switch (alt15) {
case 1 :
- // InternalBase.g:1:10: T__12
+ // InternalBase.g:1:10: T__13
{
- mT__12();
+ mT__13();
}
break;
case 2 :
- // InternalBase.g:1:16: T__13
+ // InternalBase.g:1:16: T__14
{
- mT__13();
+ mT__14();
}
break;
case 3 :
- // InternalBase.g:1:22: T__14
+ // InternalBase.g:1:22: T__15
{
- mT__14();
+ mT__15();
}
break;
case 4 :
- // InternalBase.g:1:28: T__15
+ // InternalBase.g:1:28: T__16
{
- mT__15();
+ mT__16();
}
break;
case 5 :
- // InternalBase.g:1:34: T__16
+ // InternalBase.g:1:34: T__17
{
- mT__16();
+ mT__17();
}
break;
case 6 :
- // InternalBase.g:1:40: T__17
+ // InternalBase.g:1:40: T__18
{
- mT__17();
+ mT__18();
}
break;
case 7 :
- // InternalBase.g:1:46: T__18
+ // InternalBase.g:1:46: T__19
{
- mT__18();
+ mT__19();
}
break;
case 8 :
- // InternalBase.g:1:52: T__19
+ // InternalBase.g:1:52: T__20
{
- mT__19();
+ mT__20();
}
break;
case 9 :
- // InternalBase.g:1:58: T__20
+ // InternalBase.g:1:58: T__21
{
- mT__20();
+ mT__21();
}
break;
case 10 :
- // InternalBase.g:1:64: T__21
+ // InternalBase.g:1:64: T__22
{
- mT__21();
+ mT__22();
}
break;
case 11 :
- // InternalBase.g:1:70: T__22
+ // InternalBase.g:1:70: T__23
{
- mT__22();
+ mT__23();
}
break;
case 12 :
- // InternalBase.g:1:76: T__23
+ // InternalBase.g:1:76: T__24
{
- mT__23();
+ mT__24();
}
break;
case 13 :
- // InternalBase.g:1:82: T__24
+ // InternalBase.g:1:82: T__25
{
- mT__24();
+ mT__25();
}
break;
case 14 :
- // InternalBase.g:1:88: T__25
+ // InternalBase.g:1:88: T__26
{
- mT__25();
+ mT__26();
}
break;
case 15 :
- // InternalBase.g:1:94: T__26
+ // InternalBase.g:1:94: T__27
{
- mT__26();
+ mT__27();
}
break;
case 16 :
- // InternalBase.g:1:100: T__27
+ // InternalBase.g:1:100: T__28
{
- mT__27();
+ mT__28();
}
break;
case 17 :
- // InternalBase.g:1:106: T__28
+ // InternalBase.g:1:106: T__29
{
- mT__28();
+ mT__29();
}
break;
case 18 :
- // InternalBase.g:1:112: T__29
+ // InternalBase.g:1:112: T__30
{
- mT__29();
+ mT__30();
}
break;
case 19 :
- // InternalBase.g:1:118: T__30
+ // InternalBase.g:1:118: T__31
{
- mT__30();
+ mT__31();
}
break;
case 20 :
- // InternalBase.g:1:124: T__31
+ // InternalBase.g:1:124: T__32
{
- mT__31();
+ mT__32();
}
break;
case 21 :
- // InternalBase.g:1:130: T__32
+ // InternalBase.g:1:130: T__33
{
- mT__32();
+ mT__33();
}
break;
case 22 :
- // InternalBase.g:1:136: T__33
+ // InternalBase.g:1:136: T__34
{
- mT__33();
+ mT__34();
}
break;
case 23 :
- // InternalBase.g:1:142: T__34
+ // InternalBase.g:1:142: T__35
{
- mT__34();
+ mT__35();
}
break;
case 24 :
- // InternalBase.g:1:148: T__35
+ // InternalBase.g:1:148: T__36
{
- mT__35();
+ mT__36();
}
break;
case 25 :
- // InternalBase.g:1:154: T__36
+ // InternalBase.g:1:154: T__37
{
- mT__36();
+ mT__37();
}
break;
@@ -1359,49 +1429,56 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 27 :
- // InternalBase.g:1:169: RULE_ID
+ // InternalBase.g:1:169: RULE_CC_STRING
{
- mRULE_ID();
+ mRULE_CC_STRING();
}
break;
case 28 :
- // InternalBase.g:1:177: RULE_INT
+ // InternalBase.g:1:184: RULE_ID
{
- mRULE_INT();
+ mRULE_ID();
}
break;
case 29 :
- // InternalBase.g:1:186: RULE_STRING
+ // InternalBase.g:1:192: RULE_INT
{
- mRULE_STRING();
+ mRULE_INT();
}
break;
case 30 :
- // InternalBase.g:1:198: RULE_ML_COMMENT
+ // InternalBase.g:1:201: RULE_STRING
{
- mRULE_ML_COMMENT();
+ mRULE_STRING();
}
break;
case 31 :
- // InternalBase.g:1:214: RULE_SL_COMMENT
+ // InternalBase.g:1:213: RULE_ML_COMMENT
{
- mRULE_SL_COMMENT();
+ mRULE_ML_COMMENT();
}
break;
case 32 :
- // InternalBase.g:1:230: RULE_WS
+ // InternalBase.g:1:229: RULE_SL_COMMENT
{
- mRULE_WS();
+ mRULE_SL_COMMENT();
}
break;
case 33 :
- // InternalBase.g:1:238: RULE_ANY_OTHER
+ // InternalBase.g:1:245: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 34 :
+ // InternalBase.g:1:253: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1413,21 +1490,21 @@ public class InternalBaseLexer extends Lexer {
}
- protected DFA14 dfa14 = new DFA14(this);
- static final String DFA14_eotS =
- "\6\uffff\3\45\3\uffff\1\54\2\uffff\2\45\2\uffff\1\63\1\64\1\45\1\67\1\36\2\uffff\3\36\7\uffff\1\45\1\uffff\2\45\7\uffff\2\45\4\uffff\1\45\6\uffff\15\45\1\122\7\45\1\132\1\uffff\7\45\1\uffff\2\45\1\144\6\45\1\uffff\1\45\1\154\5\45\1\uffff\1\162\1\163\1\164\1\165\1\45\4\uffff\1\45\1\170\1\uffff";
- static final String DFA14_eofS =
- "\171\uffff";
- static final String DFA14_minS =
- "\1\0\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1\162\2\uffff\2\60\1\164\1\130\1\101\2\uffff\2\0\1\52\7\uffff\1\164\1\uffff\1\156\1\164\7\uffff\1\154\1\165\4\uffff\1\102\6\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\157\1\141\1\151\1\145\1\60\1\157\1\164\2\141\1\156\1\164\1\142\1\60\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\60\1\171\1\145\1\156\1\162\1\164\1\uffff\4\60\1\145\4\uffff\1\162\1\60\1\uffff";
- static final String DFA14_maxS =
- "\1\uffff\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1\162\2\uffff\2\172\1\164\1\170\1\172\2\uffff\2\uffff\1\57\7\uffff\1\164\1\uffff\1\156\1\164\7\uffff\1\154\1\165\4\uffff\1\122\6\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\157\1\141\1\151\1\145\1\172\1\157\1\164\2\141\1\156\1\164\1\142\1\172\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\172\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\172\1\171\1\145\1\156\1\162\1\164\1\uffff\4\172\1\145\4\uffff\1\162\1\172\1\uffff";
- static final String DFA14_acceptS =
- "\1\uffff\1\1\1\2\1\3\1\4\1\5\3\uffff\1\11\1\12\1\13\1\uffff\1\15\1\16\2\uffff\1\21\1\22\5\uffff\1\33\1\34\3\uffff\1\40\1\41\1\1\1\2\1\3\1\4\1\5\1\uffff\1\33\2\uffff\1\11\1\12\1\13\1\14\1\23\1\15\1\16\2\uffff\1\21\1\22\1\24\1\25\1\uffff\1\32\1\34\1\35\1\36\1\37\1\40\26\uffff\1\20\7\uffff\1\17\11\uffff\1\30\7\uffff\1\6\5\uffff\1\7\1\10\1\26\1\27\2\uffff\1\31";
- static final String DFA14_specialS =
- "\1\1\31\uffff\1\0\1\2\135\uffff}>";
- static final String[] DFA14_transitionS = {
- "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\32\4\36\1\33\1\2\1\4\1\36\1\21\1\3\1\22\1\14\1\34\1\26\11\31\1\11\2\36\1\5\2\36\1\1\4\30\1\24\25\30\1\15\1\36\1\16\1\27\1\30\1\36\1\10\3\30\1\23\1\17\6\30\1\7\1\30\1\6\1\25\3\30\1\20\6\30\1\12\1\36\1\13\uff82\36",
+ protected DFA15 dfa15 = new DFA15(this);
+ static final String DFA15_eotS =
+ "\6\uffff\3\45\3\uffff\1\54\2\uffff\2\45\2\uffff\1\63\1\64\1\45\1\67\2\36\2\uffff\2\36\7\uffff\1\45\1\uffff\2\45\7\uffff\2\45\4\uffff\1\45\2\uffff\1\71\4\uffff\11\45\1\uffff\4\45\1\124\7\45\1\134\1\uffff\7\45\1\uffff\2\45\1\146\6\45\1\uffff\1\45\1\156\5\45\1\uffff\1\164\1\165\1\166\1\167\1\45\4\uffff\1\45\1\172\1\uffff";
+ static final String DFA15_eofS =
+ "\173\uffff";
+ static final String DFA15_minS =
+ "\1\0\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1\162\2\uffff\2\60\1\164\1\130\1\0\1\101\2\uffff\1\0\1\52\7\uffff\1\164\1\uffff\1\156\1\164\7\uffff\1\154\1\165\4\uffff\1\102\2\uffff\1\47\4\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\uffff\1\157\1\141\1\151\1\145\1\60\1\157\1\164\2\141\1\156\1\164\1\142\1\60\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\60\1\171\1\145\1\156\1\162\1\164\1\uffff\4\60\1\145\4\uffff\1\162\1\60\1\uffff";
+ static final String DFA15_maxS =
+ "\1\uffff\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1\162\2\uffff\2\172\1\164\1\170\1\uffff\1\172\2\uffff\1\uffff\1\57\7\uffff\1\164\1\uffff\1\156\1\164\7\uffff\1\154\1\165\4\uffff\1\122\2\uffff\1\47\4\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\uffff\1\157\1\141\1\151\1\145\1\172\1\157\1\164\2\141\1\156\1\164\1\142\1\172\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\172\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\172\1\171\1\145\1\156\1\162\1\164\1\uffff\4\172\1\145\4\uffff\1\162\1\172\1\uffff";
+ static final String DFA15_acceptS =
+ "\1\uffff\1\1\1\2\1\3\1\4\1\5\3\uffff\1\11\1\12\1\13\1\uffff\1\15\1\16\2\uffff\1\21\1\22\6\uffff\1\34\1\35\2\uffff\1\41\1\42\1\1\1\2\1\3\1\4\1\5\1\uffff\1\34\2\uffff\1\11\1\12\1\13\1\14\1\23\1\15\1\16\2\uffff\1\21\1\22\1\24\1\25\1\uffff\1\32\1\35\1\uffff\1\36\1\37\1\40\1\41\11\uffff\1\33\15\uffff\1\20\7\uffff\1\17\11\uffff\1\30\7\uffff\1\6\5\uffff\1\7\1\10\1\26\1\27\2\uffff\1\31";
+ static final String DFA15_specialS =
+ "\1\1\26\uffff\1\2\3\uffff\1\0\137\uffff}>";
+ static final String[] DFA15_transitionS = {
+ "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\33\4\36\1\27\1\2\1\4\1\36\1\21\1\3\1\22\1\14\1\34\1\26\11\32\1\11\2\36\1\5\2\36\1\1\4\31\1\24\25\31\1\15\1\36\1\16\1\30\1\31\1\36\1\10\3\31\1\23\1\17\6\31\1\7\1\31\1\6\1\25\3\31\1\20\6\31\1\12\1\36\1\13\uff82\36",
"",
"",
"",
@@ -1450,23 +1527,23 @@ public class InternalBaseLexer extends Lexer {
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\65",
"\1\66\37\uffff\1\66",
+ "\47\71\1\70\uffd8\71",
"\32\45\4\uffff\1\45\1\uffff\32\45",
"",
"",
- "\0\70",
- "\0\70",
- "\1\71\4\uffff\1\72",
- "",
+ "\0\71",
+ "\1\72\4\uffff\1\73",
"",
"",
"",
"",
"",
"",
- "\1\74",
"",
"\1\75",
+ "",
"\1\76",
+ "\1\77",
"",
"",
"",
@@ -1474,21 +1551,20 @@ public class InternalBaseLexer extends Lexer {
"",
"",
"",
- "\1\77",
"\1\100",
+ "\1\101",
"",
"",
"",
"",
- "\1\101\1\104\5\uffff\1\102\10\uffff\1\103",
+ "\1\102\1\105\5\uffff\1\103\10\uffff\1\104",
"",
"",
+ "\1\106",
"",
"",
"",
"",
- "\1\105",
- "\1\106",
"\1\107",
"\1\110",
"\1\111",
@@ -1498,175 +1574,180 @@ public class InternalBaseLexer extends Lexer {
"\1\115",
"\1\116",
"\1\117",
+ "",
"\1\120",
"\1\121",
- "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
+ "\1\122",
"\1\123",
- "\1\124",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\125",
"\1\126",
"\1\127",
"\1\130",
"\1\131",
+ "\1\132",
+ "\1\133",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"",
- "\1\133",
- "\1\134",
"\1\135",
"\1\136",
"\1\137",
"\1\140",
"\1\141",
- "",
"\1\142",
"\1\143",
- "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
+ "",
+ "\1\144",
"\1\145",
- "\1\146",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\147",
"\1\150",
"\1\151",
"\1\152",
- "",
"\1\153",
- "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
+ "\1\154",
+ "",
"\1\155",
- "\1\156",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\157",
"\1\160",
"\1\161",
+ "\1\162",
+ "\1\163",
"",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
- "\1\166",
+ "\1\170",
"",
"",
"",
"",
- "\1\167",
+ "\1\171",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
""
};
- static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
- static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
- static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
- static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
- static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
- static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
- static final short[][] DFA14_transition;
+ static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS);
+ static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS);
+ static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS);
+ static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS);
+ static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS);
+ static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS);
+ static final short[][] DFA15_transition;
static {
- int numStates = DFA14_transitionS.length;
- DFA14_transition = new short[numStates][];
+ int numStates = DFA15_transitionS.length;
+ DFA15_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
+ DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]);
}
}
- class DFA14 extends DFA {
+ class DFA15 extends DFA {
- public DFA14(BaseRecognizer recognizer) {
+ public DFA15(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 14;
- this.eot = DFA14_eot;
- this.eof = DFA14_eof;
- this.min = DFA14_min;
- this.max = DFA14_max;
- this.accept = DFA14_accept;
- this.special = DFA14_special;
- this.transition = DFA14_transition;
+ this.decisionNumber = 15;
+ this.eot = DFA15_eot;
+ this.eof = DFA15_eof;
+ this.min = DFA15_min;
+ this.max = DFA15_max;
+ this.accept = DFA15_accept;
+ this.special = DFA15_special;
+ this.transition = DFA15_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_HEX | RULE_CC_STRING | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
- int LA14_26 = input.LA(1);
+ int LA15_27 = input.LA(1);
s = -1;
- if ( ((LA14_26>='\u0000' && LA14_26<='\uFFFF')) ) {s = 56;}
+ if ( ((LA15_27>='\u0000' && LA15_27<='\uFFFF')) ) {s = 57;}
else s = 30;
if ( s>=0 ) return s;
break;
case 1 :
- int LA14_0 = input.LA(1);
+ int LA15_0 = input.LA(1);
s = -1;
- if ( (LA14_0=='@') ) {s = 1;}
+ if ( (LA15_0=='@') ) {s = 1;}
- else if ( (LA14_0=='(') ) {s = 2;}
+ else if ( (LA15_0=='(') ) {s = 2;}
- else if ( (LA14_0==',') ) {s = 3;}
+ else if ( (LA15_0==',') ) {s = 3;}
- else if ( (LA14_0==')') ) {s = 4;}
+ else if ( (LA15_0==')') ) {s = 4;}
- else if ( (LA14_0=='=') ) {s = 5;}
+ else if ( (LA15_0=='=') ) {s = 5;}
- else if ( (LA14_0=='o') ) {s = 6;}
+ else if ( (LA15_0=='o') ) {s = 6;}
- else if ( (LA14_0=='m') ) {s = 7;}
+ else if ( (LA15_0=='m') ) {s = 7;}
- else if ( (LA14_0=='a') ) {s = 8;}
+ else if ( (LA15_0=='a') ) {s = 8;}
- else if ( (LA14_0==':') ) {s = 9;}
+ else if ( (LA15_0==':') ) {s = 9;}
- else if ( (LA14_0=='{') ) {s = 10;}
+ else if ( (LA15_0=='{') ) {s = 10;}
- else if ( (LA14_0=='}') ) {s = 11;}
+ else if ( (LA15_0=='}') ) {s = 11;}
- else if ( (LA14_0=='.') ) {s = 12;}
+ else if ( (LA15_0=='.') ) {s = 12;}
- else if ( (LA14_0=='[') ) {s = 13;}
+ else if ( (LA15_0=='[') ) {s = 13;}
- else if ( (LA14_0==']') ) {s = 14;}
+ else if ( (LA15_0==']') ) {s = 14;}
- else if ( (LA14_0=='f') ) {s = 15;}
+ else if ( (LA15_0=='f') ) {s = 15;}
- else if ( (LA14_0=='t') ) {s = 16;}
+ else if ( (LA15_0=='t') ) {s = 16;}
- else if ( (LA14_0=='+') ) {s = 17;}
+ else if ( (LA15_0=='+') ) {s = 17;}
- else if ( (LA14_0=='-') ) {s = 18;}
+ else if ( (LA15_0=='-') ) {s = 18;}
- else if ( (LA14_0=='e') ) {s = 19;}
+ else if ( (LA15_0=='e') ) {s = 19;}
- else if ( (LA14_0=='E') ) {s = 20;}
+ else if ( (LA15_0=='E') ) {s = 20;}
- else if ( (LA14_0=='p') ) {s = 21;}
+ else if ( (LA15_0=='p') ) {s = 21;}
- else if ( (LA14_0=='0') ) {s = 22;}
+ else if ( (LA15_0=='0') ) {s = 22;}
- else if ( (LA14_0=='^') ) {s = 23;}
+ else if ( (LA15_0=='\'') ) {s = 23;}
- else if ( ((LA14_0>='A' && LA14_0<='D')||(LA14_0>='F' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='b' && LA14_0<='d')||(LA14_0>='g' && LA14_0<='l')||LA14_0=='n'||(LA14_0>='q' && LA14_0<='s')||(LA14_0>='u' && LA14_0<='z')) ) {s = 24;}
+ else if ( (LA15_0=='^') ) {s = 24;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 25;}
+ else if ( ((LA15_0>='A' && LA15_0<='D')||(LA15_0>='F' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='b' && LA15_0<='d')||(LA15_0>='g' && LA15_0<='l')||LA15_0=='n'||(LA15_0>='q' && LA15_0<='s')||(LA15_0>='u' && LA15_0<='z')) ) {s = 25;}
- else if ( (LA14_0=='\"') ) {s = 26;}
+ else if ( ((LA15_0>='1' && LA15_0<='9')) ) {s = 26;}
- else if ( (LA14_0=='\'') ) {s = 27;}
+ else if ( (LA15_0=='\"') ) {s = 27;}
- else if ( (LA14_0=='/') ) {s = 28;}
+ else if ( (LA15_0=='/') ) {s = 28;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 29;}
+ else if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) {s = 29;}
- else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||LA14_0=='*'||(LA14_0>=';' && LA14_0<='<')||(LA14_0>='>' && LA14_0<='?')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='~' && LA14_0<='\uFFFF')) ) {s = 30;}
+ else if ( ((LA15_0>='\u0000' && LA15_0<='\b')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\u001F')||LA15_0=='!'||(LA15_0>='#' && LA15_0<='&')||LA15_0=='*'||(LA15_0>=';' && LA15_0<='<')||(LA15_0>='>' && LA15_0<='?')||LA15_0=='\\'||LA15_0=='`'||LA15_0=='|'||(LA15_0>='~' && LA15_0<='\uFFFF')) ) {s = 30;}
if ( s>=0 ) return s;
break;
case 2 :
- int LA14_27 = input.LA(1);
+ int LA15_23 = input.LA(1);
s = -1;
- if ( ((LA14_27>='\u0000' && LA14_27<='\uFFFF')) ) {s = 56;}
+ if ( (LA15_23=='\'') ) {s = 56;}
+
+ else if ( ((LA15_23>='\u0000' && LA15_23<='&')||(LA15_23>='(' && LA15_23<='\uFFFF')) ) {s = 57;}
else s = 30;
@@ -1674,7 +1755,7 @@ public class InternalBaseLexer extends Lexer {
break;
}
NoViableAltException nvae =
- new NoViableAltException(getDescription(), 14, _s, input);
+ new NoViableAltException(getDescription(), 15, _s, input);
error(nvae);
throw nvae;
}
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java
index 181a67dc7..f40988476 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java
@@ -22,18 +22,19 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalBaseParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'optional'", "'mandatory'", "'attribute'", "':'", "'{'", "'}'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_CC_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'optional'", "'mandatory'", "'attribute'", "':'", "'{'", "'}'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
};
public static final int RULE_HEX=7;
public static final int RULE_STRING=5;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__19=19;
+ public static final int RULE_CC_STRING=8;
public static final int T__15=15;
+ public static final int T__37=37;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__33=33;
- public static final int T__12=12;
public static final int T__34=34;
public static final int T__13=13;
public static final int T__35=35;
@@ -44,15 +45,15 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_ID=4;
- public static final int RULE_WS=10;
- public static final int RULE_ANY_OTHER=11;
+ public static final int RULE_WS=11;
+ public static final int RULE_ANY_OTHER=12;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int RULE_INT=6;
public static final int T__29=29;
public static final int T__22=22;
- public static final int RULE_ML_COMMENT=8;
+ public static final int RULE_ML_COMMENT=9;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
@@ -156,7 +157,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:81:1: (otherlv_0= '@' ( ( ruleFQN ) ) (otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')' )? )
// InternalBase.g:81:3: otherlv_0= '@' ( ( ruleFQN ) ) (otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')' )?
{
- otherlv_0=(Token)match(input,12,FOLLOW_3);
+ otherlv_0=(Token)match(input,13,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0());
@@ -192,14 +193,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==13) ) {
+ if ( (LA2_0==14) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// InternalBase.g:100:4: otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')'
{
- otherlv_2=(Token)match(input,13,FOLLOW_3);
+ otherlv_2=(Token)match(input,14,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_2_0());
@@ -240,7 +241,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==14) ) {
+ if ( (LA1_0==15) ) {
alt1=1;
}
@@ -249,7 +250,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBase.g:122:4: otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) )
{
- otherlv_4=(Token)match(input,14,FOLLOW_3);
+ otherlv_4=(Token)match(input,15,FOLLOW_3);
newLeafNode(otherlv_4, grammarAccess.getAnnotationAccess().getCommaKeyword_2_2_0());
@@ -293,7 +294,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_6=(Token)match(input,15,FOLLOW_2);
+ otherlv_6=(Token)match(input,16,FOLLOW_2);
newLeafNode(otherlv_6, grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_2_3());
@@ -404,7 +405,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,16,FOLLOW_7);
+ otherlv_1=(Token)match(input,17,FOLLOW_7);
newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
@@ -588,22 +589,22 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt3=2;
int LA3_0 = input.LA(1);
- if ( (LA3_0==17) ) {
+ if ( (LA3_0==18) ) {
int LA3_1 = input.LA(2);
- if ( (LA3_1==19) ) {
+ if ( (LA3_1==20) ) {
int LA3_3 = input.LA(3);
if ( (LA3_3==RULE_ID) ) {
int LA3_4 = input.LA(4);
- if ( (LA3_4==20) ) {
+ if ( (LA3_4==21) ) {
int LA3_5 = input.LA(5);
- if ( ((LA3_5>=33 && LA3_5<=36)) ) {
+ if ( ((LA3_5>=34 && LA3_5<=37)) ) {
alt3=1;
}
- else if ( (LA3_5==21) ) {
+ else if ( (LA3_5==22) ) {
alt3=2;
}
else {
@@ -634,22 +635,22 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
throw nvae;
}
}
- else if ( (LA3_0==18) ) {
+ else if ( (LA3_0==19) ) {
int LA3_2 = input.LA(2);
- if ( (LA3_2==19) ) {
+ if ( (LA3_2==20) ) {
int LA3_3 = input.LA(3);
if ( (LA3_3==RULE_ID) ) {
int LA3_4 = input.LA(4);
- if ( (LA3_4==20) ) {
+ if ( (LA3_4==21) ) {
int LA3_5 = input.LA(5);
- if ( ((LA3_5>=33 && LA3_5<=36)) ) {
+ if ( ((LA3_5>=34 && LA3_5<=37)) ) {
alt3=1;
}
- else if ( (LA3_5==21) ) {
+ else if ( (LA3_5==22) ) {
alt3=2;
}
else {
@@ -805,10 +806,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt4=2;
int LA4_0 = input.LA(1);
- if ( (LA4_0==17) ) {
+ if ( (LA4_0==18) ) {
alt4=1;
}
- else if ( (LA4_0==18) ) {
+ else if ( (LA4_0==19) ) {
alt4=2;
}
else {
@@ -827,7 +828,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:301:1: (lv_optional_0_0= 'optional' )
// InternalBase.g:302:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,17,FOLLOW_8);
+ lv_optional_0_0=(Token)match(input,18,FOLLOW_8);
newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -849,7 +850,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:316:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,18,FOLLOW_8);
+ otherlv_1=(Token)match(input,19,FOLLOW_8);
newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -859,7 +860,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,19,FOLLOW_3);
+ otherlv_2=(Token)match(input,20,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -889,7 +890,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,20,FOLLOW_10);
+ otherlv_4=(Token)match(input,21,FOLLOW_10);
newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
@@ -1009,10 +1010,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==17) ) {
+ if ( (LA5_0==18) ) {
alt5=1;
}
- else if ( (LA5_0==18) ) {
+ else if ( (LA5_0==19) ) {
alt5=2;
}
else {
@@ -1031,7 +1032,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:386:1: (lv_optional_0_0= 'optional' )
// InternalBase.g:387:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,17,FOLLOW_8);
+ lv_optional_0_0=(Token)match(input,18,FOLLOW_8);
newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -1053,7 +1054,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:401:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,18,FOLLOW_8);
+ otherlv_1=(Token)match(input,19,FOLLOW_8);
newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -1063,7 +1064,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,19,FOLLOW_3);
+ otherlv_2=(Token)match(input,20,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -1093,11 +1094,11 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,20,FOLLOW_11);
+ otherlv_4=(Token)match(input,21,FOLLOW_11);
newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
- otherlv_5=(Token)match(input,21,FOLLOW_12);
+ otherlv_5=(Token)match(input,22,FOLLOW_12);
newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
@@ -1133,7 +1134,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==14) ) {
+ if ( (LA6_0==15) ) {
alt6=1;
}
@@ -1142,7 +1143,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBase.g:453:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) )
{
- otherlv_7=(Token)match(input,14,FOLLOW_12);
+ otherlv_7=(Token)match(input,15,FOLLOW_12);
newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
@@ -1181,7 +1182,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_9=(Token)match(input,22,FOLLOW_2);
+ otherlv_9=(Token)match(input,23,FOLLOW_2);
newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
@@ -1277,14 +1278,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt7=2;
int LA7_0 = input.LA(1);
- if ( (LA7_0==23) ) {
+ if ( (LA7_0==24) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// InternalBase.g:514:2: kw= '.*'
{
- kw=(Token)match(input,23,FOLLOW_2);
+ kw=(Token)match(input,24,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -1380,7 +1381,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,24,FOLLOW_15);
+ otherlv_1=(Token)match(input,25,FOLLOW_15);
newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
@@ -1428,7 +1429,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_3=(Token)match(input,25,FOLLOW_2);
+ otherlv_3=(Token)match(input,26,FOLLOW_2);
newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
@@ -1509,16 +1510,16 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:597:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
int alt9=3;
switch ( input.LA(1) ) {
- case 26:
case 27:
+ case 28:
{
alt9=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 28:
case 29:
+ case 30:
{
alt9=2;
}
@@ -1678,10 +1679,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt10=2;
int LA10_0 = input.LA(1);
- if ( (LA10_0==26) ) {
+ if ( (LA10_0==27) ) {
alt10=1;
}
- else if ( (LA10_0==27) ) {
+ else if ( (LA10_0==28) ) {
alt10=2;
}
else {
@@ -1694,7 +1695,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBase.g:653:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,26,FOLLOW_2);
+ otherlv_1=(Token)match(input,27,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -1710,7 +1711,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:659:1: (lv_isTrue_2_0= 'true' )
// InternalBase.g:660:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,27,FOLLOW_2);
+ lv_isTrue_2_0=(Token)match(input,28,FOLLOW_2);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -1807,17 +1808,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:694:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
int alt11=2;
switch ( input.LA(1) ) {
- case 28:
+ case 29:
{
int LA11_1 = input.LA(2);
if ( (LA11_1==RULE_INT) ) {
int LA11_3 = input.LA(3);
- if ( (LA11_3==EOF||(LA11_3>=14 && LA11_3<=15)) ) {
+ if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) {
alt11=1;
}
- else if ( (LA11_3==30) ) {
+ else if ( (LA11_3==31) ) {
alt11=2;
}
else {
@@ -1835,17 +1836,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
}
break;
- case 29:
+ case 30:
{
int LA11_2 = input.LA(2);
if ( (LA11_2==RULE_INT) ) {
int LA11_3 = input.LA(3);
- if ( (LA11_3==EOF||(LA11_3>=14 && LA11_3<=15)) ) {
+ if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) {
alt11=1;
}
- else if ( (LA11_3==30) ) {
+ else if ( (LA11_3==31) ) {
alt11=2;
}
else {
@@ -1867,10 +1868,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
{
int LA11_3 = input.LA(2);
- if ( (LA11_3==EOF||(LA11_3>=14 && LA11_3<=15)) ) {
+ if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) {
alt11=1;
}
- else if ( (LA11_3==30) ) {
+ else if ( (LA11_3==31) ) {
alt11=2;
}
else {
@@ -2344,7 +2345,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt13=2;
int LA13_0 = input.LA(1);
- if ( (LA13_0==RULE_INT||(LA13_0>=28 && LA13_0<=29)) ) {
+ if ( (LA13_0==RULE_INT||(LA13_0>=29 && LA13_0<=30)) ) {
alt13=1;
}
else if ( (LA13_0==RULE_HEX) ) {
@@ -2367,17 +2368,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt12=3;
int LA12_0 = input.LA(1);
- if ( (LA12_0==28) ) {
+ if ( (LA12_0==29) ) {
alt12=1;
}
- else if ( (LA12_0==29) ) {
+ else if ( (LA12_0==30) ) {
alt12=2;
}
switch (alt12) {
case 1 :
// InternalBase.g:870:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_16);
+ kw=(Token)match(input,29,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
@@ -2388,7 +2389,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:877:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_16);
+ kw=(Token)match(input,30,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
@@ -2500,23 +2501,23 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:918:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
int alt14=2;
switch ( input.LA(1) ) {
- case 28:
+ case 29:
{
int LA14_1 = input.LA(2);
if ( (LA14_1==RULE_INT) ) {
int LA14_3 = input.LA(3);
- if ( (LA14_3==30) ) {
+ if ( (LA14_3==31) ) {
int LA14_4 = input.LA(4);
if ( (LA14_4==RULE_INT) ) {
int LA14_5 = input.LA(5);
- if ( (LA14_5==EOF||(LA14_5>=14 && LA14_5<=15)) ) {
+ if ( (LA14_5==EOF||(LA14_5>=15 && LA14_5<=16)) ) {
alt14=1;
}
- else if ( ((LA14_5>=31 && LA14_5<=32)) ) {
+ else if ( ((LA14_5>=32 && LA14_5<=33)) ) {
alt14=2;
}
else {
@@ -2548,23 +2549,23 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
}
}
break;
- case 29:
+ case 30:
{
int LA14_2 = input.LA(2);
if ( (LA14_2==RULE_INT) ) {
int LA14_3 = input.LA(3);
- if ( (LA14_3==30) ) {
+ if ( (LA14_3==31) ) {
int LA14_4 = input.LA(4);
if ( (LA14_4==RULE_INT) ) {
int LA14_5 = input.LA(5);
- if ( (LA14_5==EOF||(LA14_5>=14 && LA14_5<=15)) ) {
+ if ( (LA14_5==EOF||(LA14_5>=15 && LA14_5<=16)) ) {
alt14=1;
}
- else if ( ((LA14_5>=31 && LA14_5<=32)) ) {
+ else if ( ((LA14_5>=32 && LA14_5<=33)) ) {
alt14=2;
}
else {
@@ -2600,16 +2601,16 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
{
int LA14_3 = input.LA(2);
- if ( (LA14_3==30) ) {
+ if ( (LA14_3==31) ) {
int LA14_4 = input.LA(3);
if ( (LA14_4==RULE_INT) ) {
int LA14_5 = input.LA(4);
- if ( (LA14_5==EOF||(LA14_5>=14 && LA14_5<=15)) ) {
+ if ( (LA14_5==EOF||(LA14_5>=15 && LA14_5<=16)) ) {
alt14=1;
}
- else if ( ((LA14_5>=31 && LA14_5<=32)) ) {
+ else if ( ((LA14_5>=32 && LA14_5<=33)) ) {
alt14=2;
}
else {
@@ -2767,17 +2768,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt15=3;
int LA15_0 = input.LA(1);
- if ( (LA15_0==28) ) {
+ if ( (LA15_0==29) ) {
alt15=1;
}
- else if ( (LA15_0==29) ) {
+ else if ( (LA15_0==30) ) {
alt15=2;
}
switch (alt15) {
case 1 :
// InternalBase.g:970:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_16);
+ kw=(Token)match(input,29,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -2788,7 +2789,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:977:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_16);
+ kw=(Token)match(input,30,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -2806,7 +2807,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_16);
+ kw=(Token)match(input,31,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
@@ -2907,17 +2908,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt16=3;
int LA16_0 = input.LA(1);
- if ( (LA16_0==28) ) {
+ if ( (LA16_0==29) ) {
alt16=1;
}
- else if ( (LA16_0==29) ) {
+ else if ( (LA16_0==30) ) {
alt16=2;
}
switch (alt16) {
case 1 :
// InternalBase.g:1034:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_16);
+ kw=(Token)match(input,29,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -2928,7 +2929,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:1041:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_16);
+ kw=(Token)match(input,30,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -2946,7 +2947,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_16);
+ kw=(Token)match(input,31,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
@@ -2962,10 +2963,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt17=2;
int LA17_0 = input.LA(1);
- if ( (LA17_0==31) ) {
+ if ( (LA17_0==32) ) {
alt17=1;
}
- else if ( (LA17_0==32) ) {
+ else if ( (LA17_0==33) ) {
alt17=2;
}
else {
@@ -2978,7 +2979,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBase.g:1067:2: kw= 'e'
{
- kw=(Token)match(input,31,FOLLOW_19);
+ kw=(Token)match(input,32,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
@@ -2989,7 +2990,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:1074:2: kw= 'E'
{
- kw=(Token)match(input,32,FOLLOW_19);
+ kw=(Token)match(input,33,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
@@ -3004,17 +3005,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt18=3;
int LA18_0 = input.LA(1);
- if ( (LA18_0==28) ) {
+ if ( (LA18_0==29) ) {
alt18=1;
}
- else if ( (LA18_0==29) ) {
+ else if ( (LA18_0==30) ) {
alt18=2;
}
switch (alt18) {
case 1 :
// InternalBase.g:1080:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_16);
+ kw=(Token)match(input,29,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
@@ -3025,7 +3026,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBase.g:1087:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_16);
+ kw=(Token)match(input,30,FOLLOW_16);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
@@ -3133,7 +3134,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
int alt19=2;
int LA19_0 = input.LA(1);
- if ( (LA19_0==30) ) {
+ if ( (LA19_0==31) ) {
alt19=1;
}
@@ -3142,7 +3143,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBase.g:1131:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,30,FOLLOW_3);
+ kw=(Token)match(input,31,FOLLOW_3);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
@@ -3201,22 +3202,22 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:1154:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
int alt20=4;
switch ( input.LA(1) ) {
- case 33:
+ case 34:
{
alt20=1;
}
break;
- case 34:
+ case 35:
{
alt20=2;
}
break;
- case 35:
+ case 36:
{
alt20=3;
}
break;
- case 36:
+ case 37:
{
alt20=4;
}
@@ -3235,7 +3236,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:1154:2: (enumLiteral_0= 'ptBoolean' )
// InternalBase.g:1154:4: enumLiteral_0= 'ptBoolean'
{
- enumLiteral_0=(Token)match(input,33,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,34,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
@@ -3252,7 +3253,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:1160:6: (enumLiteral_1= 'ptInteger' )
// InternalBase.g:1160:8: enumLiteral_1= 'ptInteger'
{
- enumLiteral_1=(Token)match(input,34,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,35,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
@@ -3269,7 +3270,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:1166:6: (enumLiteral_2= 'ptReal' )
// InternalBase.g:1166:8: enumLiteral_2= 'ptReal'
{
- enumLiteral_2=(Token)match(input,35,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,36,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
@@ -3286,7 +3287,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
// InternalBase.g:1172:6: (enumLiteral_3= 'ptCharacter' )
// InternalBase.g:1172:8: enumLiteral_3= 'ptCharacter'
{
- enumLiteral_3=(Token)match(input,36,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,37,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
@@ -3324,22 +3325,22 @@ public class InternalBaseParser extends AbstractInternalAntlrParser {
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002002L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000000000C000L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x000000003C0000E0L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000001E00000000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x00000000780000E0L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000003C00000000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000800002L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002000020L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000808000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000002L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000004000020L});
public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000180000000L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000030000040L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000300000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000060000040L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000080000002L});
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g
index 44608cbbd..993d66b5e 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g
@@ -1397,6 +1397,8 @@ ruleLiteralType returns [Enumerator current=null]
RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+;
+RULE_CC_STRING : '\'\'\'' ( options {greedy=false;} : . )*'\'\'\'';
+
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_INT : ('0'..'9')+;
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens
index 3be14ef7d..86db2a824 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens
@@ -1,39 +1,39 @@
-'('=13
-')'=15
-'+'=30
-','=14
-'-'=31
-'.'=32
-'.*'=25
-':'=24
-'='=16
-'@'=12
-'AnnotationType'=17
-'E'=34
-'['=26
-']'=27
-'attribute'=23
-'e'=33
-'false'=28
-'mandatory'=22
-'optional'=21
-'ptBoolean'=35
-'ptCharacter'=38
-'ptInteger'=36
-'ptReal'=37
-'target'=19
-'true'=29
-'{'=18
-'}'=20
-RULE_ANY_OTHER=11
+'('=14
+')'=16
+'+'=31
+','=15
+'-'=32
+'.'=33
+'.*'=26
+':'=25
+'='=17
+'@'=13
+'AnnotationType'=18
+'E'=35
+'['=27
+']'=28
+'attribute'=24
+'e'=34
+'false'=29
+'mandatory'=23
+'optional'=22
+'ptBoolean'=36
+'ptCharacter'=39
+'ptInteger'=37
+'ptReal'=38
+'target'=20
+'true'=30
+'{'=19
+'}'=21
+RULE_ANY_OTHER=12
+RULE_CC_STRING=8
RULE_HEX=7
RULE_ID=4
RULE_INT=6
-RULE_ML_COMMENT=8
-RULE_SL_COMMENT=9
+RULE_ML_COMMENT=9
+RULE_SL_COMMENT=10
RULE_STRING=5
-RULE_WS=10
-T__12=12
+RULE_WS=11
T__13=13
T__14=14
T__15=15
@@ -60,3 +60,4 @@ T__35=35
T__36=36
T__37=37
T__38=38
+T__39=39
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java
index 200708ccd..2440daf68 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java
@@ -14,16 +14,17 @@ import java.util.ArrayList;
public class InternalBaseTestLexer extends Lexer {
public static final int RULE_HEX=7;
public static final int RULE_STRING=5;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__19=19;
+ public static final int RULE_CC_STRING=8;
public static final int T__15=15;
public static final int T__37=37;
public static final int T__16=16;
public static final int T__38=38;
public static final int T__17=17;
+ public static final int T__39=39;
public static final int T__18=18;
public static final int T__33=33;
- public static final int T__12=12;
public static final int T__34=34;
public static final int T__13=13;
public static final int T__35=35;
@@ -34,15 +35,15 @@ public class InternalBaseTestLexer extends Lexer {
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_ID=4;
- public static final int RULE_WS=10;
- public static final int RULE_ANY_OTHER=11;
+ public static final int RULE_WS=11;
+ public static final int RULE_ANY_OTHER=12;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int RULE_INT=6;
public static final int T__29=29;
public static final int T__22=22;
- public static final int RULE_ML_COMMENT=8;
+ public static final int RULE_ML_COMMENT=9;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
@@ -62,35 +63,15 @@ public class InternalBaseTestLexer extends Lexer {
}
public String getGrammarFileName() { return "InternalBaseTest.g"; }
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:11:7: ( '@' )
- // InternalBaseTest.g:11:9: '@'
- {
- match('@');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__12"
-
// $ANTLR start "T__13"
public final void mT__13() throws RecognitionException {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:12:7: ( '(' )
- // InternalBaseTest.g:12:9: '('
+ // InternalBaseTest.g:11:7: ( '@' )
+ // InternalBaseTest.g:11:9: '@'
{
- match('(');
+ match('@');
}
@@ -107,10 +88,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:13:7: ( ',' )
- // InternalBaseTest.g:13:9: ','
+ // InternalBaseTest.g:12:7: ( '(' )
+ // InternalBaseTest.g:12:9: '('
{
- match(',');
+ match('(');
}
@@ -127,10 +108,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:14:7: ( ')' )
- // InternalBaseTest.g:14:9: ')'
+ // InternalBaseTest.g:13:7: ( ',' )
+ // InternalBaseTest.g:13:9: ','
{
- match(')');
+ match(',');
}
@@ -147,10 +128,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:15:7: ( '=' )
- // InternalBaseTest.g:15:9: '='
+ // InternalBaseTest.g:14:7: ( ')' )
+ // InternalBaseTest.g:14:9: ')'
{
- match('=');
+ match(')');
}
@@ -167,11 +148,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:16:7: ( 'AnnotationType' )
- // InternalBaseTest.g:16:9: 'AnnotationType'
+ // InternalBaseTest.g:15:7: ( '=' )
+ // InternalBaseTest.g:15:9: '='
{
- match("AnnotationType");
-
+ match('=');
}
@@ -188,10 +168,11 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:17:7: ( '{' )
- // InternalBaseTest.g:17:9: '{'
+ // InternalBaseTest.g:16:7: ( 'AnnotationType' )
+ // InternalBaseTest.g:16:9: 'AnnotationType'
{
- match('{');
+ match("AnnotationType");
+
}
@@ -208,11 +189,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:18:7: ( 'target' )
- // InternalBaseTest.g:18:9: 'target'
+ // InternalBaseTest.g:17:7: ( '{' )
+ // InternalBaseTest.g:17:9: '{'
{
- match("target");
-
+ match('{');
}
@@ -229,10 +209,11 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:19:7: ( '}' )
- // InternalBaseTest.g:19:9: '}'
+ // InternalBaseTest.g:18:7: ( 'target' )
+ // InternalBaseTest.g:18:9: 'target'
{
- match('}');
+ match("target");
+
}
@@ -249,11 +230,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:20:7: ( 'optional' )
- // InternalBaseTest.g:20:9: 'optional'
+ // InternalBaseTest.g:19:7: ( '}' )
+ // InternalBaseTest.g:19:9: '}'
{
- match("optional");
-
+ match('}');
}
@@ -270,10 +250,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:21:7: ( 'mandatory' )
- // InternalBaseTest.g:21:9: 'mandatory'
+ // InternalBaseTest.g:20:7: ( 'optional' )
+ // InternalBaseTest.g:20:9: 'optional'
{
- match("mandatory");
+ match("optional");
}
@@ -291,10 +271,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:22:7: ( 'attribute' )
- // InternalBaseTest.g:22:9: 'attribute'
+ // InternalBaseTest.g:21:7: ( 'mandatory' )
+ // InternalBaseTest.g:21:9: 'mandatory'
{
- match("attribute");
+ match("mandatory");
}
@@ -312,10 +292,11 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:23:7: ( ':' )
- // InternalBaseTest.g:23:9: ':'
+ // InternalBaseTest.g:22:7: ( 'attribute' )
+ // InternalBaseTest.g:22:9: 'attribute'
{
- match(':');
+ match("attribute");
+
}
@@ -332,11 +313,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:24:7: ( '.*' )
- // InternalBaseTest.g:24:9: '.*'
+ // InternalBaseTest.g:23:7: ( ':' )
+ // InternalBaseTest.g:23:9: ':'
{
- match(".*");
-
+ match(':');
}
@@ -353,10 +333,11 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:25:7: ( '[' )
- // InternalBaseTest.g:25:9: '['
+ // InternalBaseTest.g:24:7: ( '.*' )
+ // InternalBaseTest.g:24:9: '.*'
{
- match('[');
+ match(".*");
+
}
@@ -373,10 +354,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:26:7: ( ']' )
- // InternalBaseTest.g:26:9: ']'
+ // InternalBaseTest.g:25:7: ( '[' )
+ // InternalBaseTest.g:25:9: '['
{
- match(']');
+ match('[');
}
@@ -393,11 +374,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:27:7: ( 'false' )
- // InternalBaseTest.g:27:9: 'false'
+ // InternalBaseTest.g:26:7: ( ']' )
+ // InternalBaseTest.g:26:9: ']'
{
- match("false");
-
+ match(']');
}
@@ -414,10 +394,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:28:7: ( 'true' )
- // InternalBaseTest.g:28:9: 'true'
+ // InternalBaseTest.g:27:7: ( 'false' )
+ // InternalBaseTest.g:27:9: 'false'
{
- match("true");
+ match("false");
}
@@ -435,10 +415,11 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:29:7: ( '+' )
- // InternalBaseTest.g:29:9: '+'
+ // InternalBaseTest.g:28:7: ( 'true' )
+ // InternalBaseTest.g:28:9: 'true'
{
- match('+');
+ match("true");
+
}
@@ -455,10 +436,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:30:7: ( '-' )
- // InternalBaseTest.g:30:9: '-'
+ // InternalBaseTest.g:29:7: ( '+' )
+ // InternalBaseTest.g:29:9: '+'
{
- match('-');
+ match('+');
}
@@ -475,10 +456,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:31:7: ( '.' )
- // InternalBaseTest.g:31:9: '.'
+ // InternalBaseTest.g:30:7: ( '-' )
+ // InternalBaseTest.g:30:9: '-'
{
- match('.');
+ match('-');
}
@@ -495,10 +476,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:32:7: ( 'e' )
- // InternalBaseTest.g:32:9: 'e'
+ // InternalBaseTest.g:31:7: ( '.' )
+ // InternalBaseTest.g:31:9: '.'
{
- match('e');
+ match('.');
}
@@ -515,10 +496,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:33:7: ( 'E' )
- // InternalBaseTest.g:33:9: 'E'
+ // InternalBaseTest.g:32:7: ( 'e' )
+ // InternalBaseTest.g:32:9: 'e'
{
- match('E');
+ match('e');
}
@@ -535,11 +516,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:34:7: ( 'ptBoolean' )
- // InternalBaseTest.g:34:9: 'ptBoolean'
+ // InternalBaseTest.g:33:7: ( 'E' )
+ // InternalBaseTest.g:33:9: 'E'
{
- match("ptBoolean");
-
+ match('E');
}
@@ -556,10 +536,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:35:7: ( 'ptInteger' )
- // InternalBaseTest.g:35:9: 'ptInteger'
+ // InternalBaseTest.g:34:7: ( 'ptBoolean' )
+ // InternalBaseTest.g:34:9: 'ptBoolean'
{
- match("ptInteger");
+ match("ptBoolean");
}
@@ -577,10 +557,10 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:36:7: ( 'ptReal' )
- // InternalBaseTest.g:36:9: 'ptReal'
+ // InternalBaseTest.g:35:7: ( 'ptInteger' )
+ // InternalBaseTest.g:35:9: 'ptInteger'
{
- match("ptReal");
+ match("ptInteger");
}
@@ -598,6 +578,27 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalBaseTest.g:36:7: ( 'ptReal' )
+ // InternalBaseTest.g:36:9: 'ptReal'
+ {
+ match("ptReal");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__38"
+
+ // $ANTLR start "T__39"
+ public final void mT__39() throws RecognitionException {
+ try {
+ int _type = T__39;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalBaseTest.g:37:7: ( 'ptCharacter' )
// InternalBaseTest.g:37:9: 'ptCharacter'
{
@@ -612,7 +613,7 @@ public class InternalBaseTestLexer extends Lexer {
finally {
}
}
- // $ANTLR end "T__38"
+ // $ANTLR end "T__39"
// $ANTLR start "RULE_HEX"
public final void mRULE_HEX() throws RecognitionException {
@@ -717,24 +718,93 @@ public class InternalBaseTestLexer extends Lexer {
}
// $ANTLR end "RULE_HEX"
+ // $ANTLR start "RULE_CC_STRING"
+ public final void mRULE_CC_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_CC_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalBaseTest.g:1400:16: ( '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\'' )
+ // InternalBaseTest.g:1400:18: '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\''
+ {
+ match("'''");
+
+ // InternalBaseTest.g:1400:27: ( options {greedy=false; } : . )*
+ loop3:
+ do {
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0=='\'') ) {
+ int LA3_1 = input.LA(2);
+
+ if ( (LA3_1=='\'') ) {
+ int LA3_3 = input.LA(3);
+
+ if ( (LA3_3=='\'') ) {
+ alt3=2;
+ }
+ else if ( ((LA3_3>='\u0000' && LA3_3<='&')||(LA3_3>='(' && LA3_3<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ }
+ else if ( ((LA3_1>='\u0000' && LA3_1<='&')||(LA3_1>='(' && LA3_1<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ }
+ else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='\uFFFF')) ) {
+ alt3=1;
+ }
+
+
+ switch (alt3) {
+ case 1 :
+ // InternalBaseTest.g:1400:55: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default :
+ break loop3;
+ }
+ } while (true);
+
+ match("'''");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_CC_STRING"
+
// $ANTLR start "RULE_ID"
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1400:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalBaseTest.g:1400:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalBaseTest.g:1402:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalBaseTest.g:1402:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalBaseTest.g:1400:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
+ // InternalBaseTest.g:1402:11: ( '^' )?
+ int alt4=2;
+ int LA4_0 = input.LA(1);
- if ( (LA3_0=='^') ) {
- alt3=1;
+ if ( (LA4_0=='^') ) {
+ alt4=1;
}
- switch (alt3) {
+ switch (alt4) {
case 1 :
- // InternalBaseTest.g:1400:11: '^'
+ // InternalBaseTest.g:1402:11: '^'
{
match('^');
@@ -752,18 +822,18 @@ public class InternalBaseTestLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalBaseTest.g:1400:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
+ // InternalBaseTest.g:1402:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop5:
do {
- int alt4=2;
- int LA4_0 = input.LA(1);
+ int alt5=2;
+ int LA5_0 = input.LA(1);
- if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
- alt4=1;
+ if ( ((LA5_0>='0' && LA5_0<='9')||(LA5_0>='A' && LA5_0<='Z')||LA5_0=='_'||(LA5_0>='a' && LA5_0<='z')) ) {
+ alt5=1;
}
- switch (alt4) {
+ switch (alt5) {
case 1 :
// InternalBaseTest.g:
{
@@ -781,7 +851,7 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- break loop4;
+ break loop5;
}
} while (true);
@@ -801,24 +871,24 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1402:10: ( ( '0' .. '9' )+ )
- // InternalBaseTest.g:1402:12: ( '0' .. '9' )+
+ // InternalBaseTest.g:1404:10: ( ( '0' .. '9' )+ )
+ // InternalBaseTest.g:1404:12: ( '0' .. '9' )+
{
- // InternalBaseTest.g:1402:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
+ // InternalBaseTest.g:1404:12: ( '0' .. '9' )+
+ int cnt6=0;
+ loop6:
do {
- int alt5=2;
- int LA5_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( ((LA5_0>='0' && LA5_0<='9')) ) {
- alt5=1;
+ if ( ((LA6_0>='0' && LA6_0<='9')) ) {
+ alt6=1;
}
- switch (alt5) {
+ switch (alt6) {
case 1 :
- // InternalBaseTest.g:1402:13: '0' .. '9'
+ // InternalBaseTest.g:1404:13: '0' .. '9'
{
matchRange('0','9');
@@ -826,12 +896,12 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- if ( cnt5 >= 1 ) break loop5;
+ if ( cnt6 >= 1 ) break loop6;
EarlyExitException eee =
- new EarlyExitException(5, input);
+ new EarlyExitException(6, input);
throw eee;
}
- cnt5++;
+ cnt6++;
} while (true);
@@ -850,47 +920,47 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1404:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // InternalBaseTest.g:1404:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalBaseTest.g:1406:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // InternalBaseTest.g:1406:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // InternalBaseTest.g:1404:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // InternalBaseTest.g:1406:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA8_0=='\"') ) {
- alt8=1;
+ if ( (LA9_0=='\"') ) {
+ alt9=1;
}
- else if ( (LA8_0=='\'') ) {
- alt8=2;
+ else if ( (LA9_0=='\'') ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 8, 0, input);
+ new NoViableAltException("", 9, 0, input);
throw nvae;
}
- switch (alt8) {
+ switch (alt9) {
case 1 :
- // InternalBaseTest.g:1404:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalBaseTest.g:1406:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalBaseTest.g:1404:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop6:
+ // InternalBaseTest.g:1406:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop7:
do {
- int alt6=3;
- int LA6_0 = input.LA(1);
+ int alt7=3;
+ int LA7_0 = input.LA(1);
- if ( (LA6_0=='\\') ) {
- alt6=1;
+ if ( (LA7_0=='\\') ) {
+ alt7=1;
}
- else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
- alt6=2;
+ else if ( ((LA7_0>='\u0000' && LA7_0<='!')||(LA7_0>='#' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
+ alt7=2;
}
- switch (alt6) {
+ switch (alt7) {
case 1 :
- // InternalBaseTest.g:1404:21: '\\\\' .
+ // InternalBaseTest.g:1406:21: '\\\\' .
{
match('\\');
matchAny();
@@ -898,7 +968,7 @@ public class InternalBaseTestLexer extends Lexer {
}
break;
case 2 :
- // InternalBaseTest.g:1404:28: ~ ( ( '\\\\' | '\"' ) )
+ // InternalBaseTest.g:1406:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -914,7 +984,7 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- break loop6;
+ break loop7;
}
} while (true);
@@ -923,26 +993,26 @@ public class InternalBaseTestLexer extends Lexer {
}
break;
case 2 :
- // InternalBaseTest.g:1404:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // InternalBaseTest.g:1406:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // InternalBaseTest.g:1404:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop7:
+ // InternalBaseTest.g:1406:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
+ loop8:
do {
- int alt7=3;
- int LA7_0 = input.LA(1);
+ int alt8=3;
+ int LA8_0 = input.LA(1);
- if ( (LA7_0=='\\') ) {
- alt7=1;
+ if ( (LA8_0=='\\') ) {
+ alt8=1;
}
- else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
- alt7=2;
+ else if ( ((LA8_0>='\u0000' && LA8_0<='&')||(LA8_0>='(' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFF')) ) {
+ alt8=2;
}
- switch (alt7) {
+ switch (alt8) {
case 1 :
- // InternalBaseTest.g:1404:54: '\\\\' .
+ // InternalBaseTest.g:1406:54: '\\\\' .
{
match('\\');
matchAny();
@@ -950,7 +1020,7 @@ public class InternalBaseTestLexer extends Lexer {
}
break;
case 2 :
- // InternalBaseTest.g:1404:61: ~ ( ( '\\\\' | '\\'' ) )
+ // InternalBaseTest.g:1406:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -966,7 +1036,7 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- break loop7;
+ break loop8;
}
} while (true);
@@ -993,37 +1063,37 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1406:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalBaseTest.g:1406:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalBaseTest.g:1408:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalBaseTest.g:1408:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalBaseTest.g:1406:24: ( options {greedy=false; } : . )*
- loop9:
+ // InternalBaseTest.g:1408:24: ( options {greedy=false; } : . )*
+ loop10:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA9_0=='*') ) {
- int LA9_1 = input.LA(2);
+ if ( (LA10_0=='*') ) {
+ int LA10_1 = input.LA(2);
- if ( (LA9_1=='/') ) {
- alt9=2;
+ if ( (LA10_1=='/') ) {
+ alt10=2;
}
- else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
- alt9=1;
+ else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) {
+ alt10=1;
}
}
- else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
- alt9=1;
+ else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) {
+ alt10=1;
}
- switch (alt9) {
+ switch (alt10) {
case 1 :
- // InternalBaseTest.g:1406:52: .
+ // InternalBaseTest.g:1408:52: .
{
matchAny();
@@ -1031,7 +1101,7 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- break loop9;
+ break loop10;
}
} while (true);
@@ -1053,25 +1123,25 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1408:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalBaseTest.g:1408:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalBaseTest.g:1410:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalBaseTest.g:1410:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalBaseTest.g:1408:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop10:
+ // InternalBaseTest.g:1410:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ loop11:
do {
- int alt10=2;
- int LA10_0 = input.LA(1);
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
- alt10=1;
+ if ( ((LA11_0>='\u0000' && LA11_0<='\t')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\uFFFF')) ) {
+ alt11=1;
}
- switch (alt10) {
+ switch (alt11) {
case 1 :
- // InternalBaseTest.g:1408:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalBaseTest.g:1410: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();
@@ -1087,31 +1157,31 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- break loop10;
+ break loop11;
}
} while (true);
- // InternalBaseTest.g:1408:40: ( ( '\\r' )? '\\n' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalBaseTest.g:1410:40: ( ( '\\r' )? '\\n' )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA12_0=='\n'||LA12_0=='\r') ) {
- alt12=1;
+ if ( (LA13_0=='\n'||LA13_0=='\r') ) {
+ alt13=1;
}
- switch (alt12) {
+ switch (alt13) {
case 1 :
- // InternalBaseTest.g:1408:41: ( '\\r' )? '\\n'
+ // InternalBaseTest.g:1410:41: ( '\\r' )? '\\n'
{
- // InternalBaseTest.g:1408:41: ( '\\r' )?
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalBaseTest.g:1410:41: ( '\\r' )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA11_0=='\r') ) {
- alt11=1;
+ if ( (LA12_0=='\r') ) {
+ alt12=1;
}
- switch (alt11) {
+ switch (alt12) {
case 1 :
- // InternalBaseTest.g:1408:41: '\\r'
+ // InternalBaseTest.g:1410:41: '\\r'
{
match('\r');
@@ -1143,22 +1213,22 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1410:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalBaseTest.g:1410:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalBaseTest.g:1412:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalBaseTest.g:1412:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalBaseTest.g:1410:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt13=0;
- loop13:
+ // InternalBaseTest.g:1412:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt14=0;
+ loop14:
do {
- int alt13=2;
- int LA13_0 = input.LA(1);
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
- alt13=1;
+ if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {
+ alt14=1;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
// InternalBaseTest.g:
{
@@ -1176,12 +1246,12 @@ public class InternalBaseTestLexer extends Lexer {
break;
default :
- if ( cnt13 >= 1 ) break loop13;
+ if ( cnt14 >= 1 ) break loop14;
EarlyExitException eee =
- new EarlyExitException(13, input);
+ new EarlyExitException(14, input);
throw eee;
}
- cnt13++;
+ cnt14++;
} while (true);
@@ -1200,8 +1270,8 @@ public class InternalBaseTestLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBaseTest.g:1412:16: ( . )
- // InternalBaseTest.g:1412:18: .
+ // InternalBaseTest.g:1414:16: ( . )
+ // InternalBaseTest.g:1414:18: .
{
matchAny();
@@ -1216,196 +1286,196 @@ public class InternalBaseTestLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // InternalBaseTest.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt14=35;
- alt14 = dfa14.predict(input);
- switch (alt14) {
+ // InternalBaseTest.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | RULE_HEX | RULE_CC_STRING | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt15=36;
+ alt15 = dfa15.predict(input);
+ switch (alt15) {
case 1 :
- // InternalBaseTest.g:1:10: T__12
+ // InternalBaseTest.g:1:10: T__13
{
- mT__12();
+ mT__13();
}
break;
case 2 :
- // InternalBaseTest.g:1:16: T__13
+ // InternalBaseTest.g:1:16: T__14
{
- mT__13();
+ mT__14();
}
break;
case 3 :
- // InternalBaseTest.g:1:22: T__14
+ // InternalBaseTest.g:1:22: T__15
{
- mT__14();
+ mT__15();
}
break;
case 4 :
- // InternalBaseTest.g:1:28: T__15
+ // InternalBaseTest.g:1:28: T__16
{
- mT__15();
+ mT__16();
}
break;
case 5 :
- // InternalBaseTest.g:1:34: T__16
+ // InternalBaseTest.g:1:34: T__17
{
- mT__16();
+ mT__17();
}
break;
case 6 :
- // InternalBaseTest.g:1:40: T__17
+ // InternalBaseTest.g:1:40: T__18
{
- mT__17();
+ mT__18();
}
break;
case 7 :
- // InternalBaseTest.g:1:46: T__18
+ // InternalBaseTest.g:1:46: T__19
{
- mT__18();
+ mT__19();
}
break;
case 8 :
- // InternalBaseTest.g:1:52: T__19
+ // InternalBaseTest.g:1:52: T__20
{
- mT__19();
+ mT__20();
}
break;
case 9 :
- // InternalBaseTest.g:1:58: T__20
+ // InternalBaseTest.g:1:58: T__21
{
- mT__20();
+ mT__21();
}
break;
case 10 :
- // InternalBaseTest.g:1:64: T__21
+ // InternalBaseTest.g:1:64: T__22
{
- mT__21();
+ mT__22();
}
break;
case 11 :
- // InternalBaseTest.g:1:70: T__22
+ // InternalBaseTest.g:1:70: T__23
{
- mT__22();
+ mT__23();
}
break;
case 12 :
- // InternalBaseTest.g:1:76: T__23
+ // InternalBaseTest.g:1:76: T__24
{
- mT__23();
+ mT__24();
}
break;
case 13 :
- // InternalBaseTest.g:1:82: T__24
+ // InternalBaseTest.g:1:82: T__25
{
- mT__24();
+ mT__25();
}
break;
case 14 :
- // InternalBaseTest.g:1:88: T__25
+ // InternalBaseTest.g:1:88: T__26
{
- mT__25();
+ mT__26();
}
break;
case 15 :
- // InternalBaseTest.g:1:94: T__26
+ // InternalBaseTest.g:1:94: T__27
{
- mT__26();
+ mT__27();
}
break;
case 16 :
- // InternalBaseTest.g:1:100: T__27
+ // InternalBaseTest.g:1:100: T__28
{
- mT__27();
+ mT__28();
}
break;
case 17 :
- // InternalBaseTest.g:1:106: T__28
+ // InternalBaseTest.g:1:106: T__29
{
- mT__28();
+ mT__29();
}
break;
case 18 :
- // InternalBaseTest.g:1:112: T__29
+ // InternalBaseTest.g:1:112: T__30
{
- mT__29();
+ mT__30();
}
break;
case 19 :
- // InternalBaseTest.g:1:118: T__30
+ // InternalBaseTest.g:1:118: T__31
{
- mT__30();
+ mT__31();
}
break;
case 20 :
- // InternalBaseTest.g:1:124: T__31
+ // InternalBaseTest.g:1:124: T__32
{
- mT__31();
+ mT__32();
}
break;
case 21 :
- // InternalBaseTest.g:1:130: T__32
+ // InternalBaseTest.g:1:130: T__33
{
- mT__32();
+ mT__33();
}
break;
case 22 :
- // InternalBaseTest.g:1:136: T__33
+ // InternalBaseTest.g:1:136: T__34
{
- mT__33();
+ mT__34();
}
break;
case 23 :
- // InternalBaseTest.g:1:142: T__34
+ // InternalBaseTest.g:1:142: T__35
{
- mT__34();
+ mT__35();
}
break;
case 24 :
- // InternalBaseTest.g:1:148: T__35
+ // InternalBaseTest.g:1:148: T__36
{
- mT__35();
+ mT__36();
}
break;
case 25 :
- // InternalBaseTest.g:1:154: T__36
+ // InternalBaseTest.g:1:154: T__37
{
- mT__36();
+ mT__37();
}
break;
case 26 :
- // InternalBaseTest.g:1:160: T__37
+ // InternalBaseTest.g:1:160: T__38
{
- mT__37();
+ mT__38();
}
break;
case 27 :
- // InternalBaseTest.g:1:166: T__38
+ // InternalBaseTest.g:1:166: T__39
{
- mT__38();
+ mT__39();
}
break;
@@ -1417,49 +1487,56 @@ public class InternalBaseTestLexer extends Lexer {
}
break;
case 29 :
- // InternalBaseTest.g:1:181: RULE_ID
+ // InternalBaseTest.g:1:181: RULE_CC_STRING
{
- mRULE_ID();
+ mRULE_CC_STRING();
}
break;
case 30 :
- // InternalBaseTest.g:1:189: RULE_INT
+ // InternalBaseTest.g:1:196: RULE_ID
{
- mRULE_INT();
+ mRULE_ID();
}
break;
case 31 :
- // InternalBaseTest.g:1:198: RULE_STRING
+ // InternalBaseTest.g:1:204: RULE_INT
{
- mRULE_STRING();
+ mRULE_INT();
}
break;
case 32 :
- // InternalBaseTest.g:1:210: RULE_ML_COMMENT
+ // InternalBaseTest.g:1:213: RULE_STRING
{
- mRULE_ML_COMMENT();
+ mRULE_STRING();
}
break;
case 33 :
- // InternalBaseTest.g:1:226: RULE_SL_COMMENT
+ // InternalBaseTest.g:1:225: RULE_ML_COMMENT
{
- mRULE_SL_COMMENT();
+ mRULE_ML_COMMENT();
}
break;
case 34 :
- // InternalBaseTest.g:1:242: RULE_WS
+ // InternalBaseTest.g:1:241: RULE_SL_COMMENT
{
- mRULE_WS();
+ mRULE_SL_COMMENT();
}
break;
case 35 :
- // InternalBaseTest.g:1:250: RULE_ANY_OTHER
+ // InternalBaseTest.g:1:257: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 36 :
+ // InternalBaseTest.g:1:265: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1471,21 +1548,21 @@ public class InternalBaseTestLexer extends Lexer {
}
- protected DFA14 dfa14 = new DFA14(this);
- static final String DFA14_eotS =
- "\6\uffff\1\46\1\uffff\1\46\1\uffff\3\46\1\uffff\1\60\2\uffff\1\46\2\uffff\1\66\1\67\1\46\1\72\1\37\2\uffff\3\37\7\uffff\1\46\2\uffff\2\46\1\uffff\3\46\5\uffff\1\46\4\uffff\1\46\6\uffff\15\46\1\127\12\46\1\uffff\3\46\1\145\5\46\1\153\3\46\1\uffff\2\46\1\161\2\46\1\uffff\5\46\1\uffff\2\46\1\173\6\46\1\uffff\1\u0082\1\u0083\1\u0084\1\u0085\2\46\4\uffff\2\46\1\u008a\1\46\1\uffff\1\46\1\u008d\1\uffff";
- static final String DFA14_eofS =
- "\u008e\uffff";
- static final String DFA14_minS =
- "\1\0\5\uffff\1\156\1\uffff\1\141\1\uffff\1\160\1\141\1\164\1\uffff\1\52\2\uffff\1\141\2\uffff\2\60\1\164\1\130\1\101\2\uffff\2\0\1\52\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164\5\uffff\1\154\4\uffff\1\102\6\uffff\1\157\1\147\1\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\164\1\145\1\60\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1\156\1\164\1\142\1\60\1\154\1\145\1\154\1\162\1\164\1\60\1\141\1\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1\151\1\uffff\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\60\1\171\1\145\1\156\1\162\1\164\1\156\1\uffff\4\60\1\145\1\124\4\uffff\1\162\1\171\1\60\1\160\1\uffff\1\145\1\60\1\uffff";
- static final String DFA14_maxS =
- "\1\uffff\5\uffff\1\156\1\uffff\1\162\1\uffff\1\160\1\141\1\164\1\uffff\1\52\2\uffff\1\141\2\uffff\2\172\1\164\1\170\1\172\2\uffff\2\uffff\1\57\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164\5\uffff\1\154\4\uffff\1\122\6\uffff\1\157\1\147\1\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\164\1\145\1\172\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1\156\1\164\1\142\1\172\1\154\1\145\1\154\1\162\1\164\1\172\1\141\1\157\1\165\1\uffff\1\145\1\147\1\172\1\141\1\151\1\uffff\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\172\1\171\1\145\1\156\1\162\1\164\1\156\1\uffff\4\172\1\145\1\124\4\uffff\1\162\1\171\1\172\1\160\1\uffff\1\145\1\172\1\uffff";
- static final String DFA14_acceptS =
- "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\uffff\1\7\1\uffff\1\11\3\uffff\1\15\1\uffff\1\17\1\20\1\uffff\1\23\1\24\5\uffff\1\35\1\36\3\uffff\1\42\1\43\1\1\1\2\1\3\1\4\1\5\1\uffff\1\35\1\7\2\uffff\1\11\3\uffff\1\15\1\16\1\25\1\17\1\20\1\uffff\1\23\1\24\1\26\1\27\1\uffff\1\34\1\36\1\37\1\40\1\41\1\42\30\uffff\1\22\15\uffff\1\21\5\uffff\1\10\5\uffff\1\32\11\uffff\1\12\6\uffff\1\13\1\14\1\30\1\31\4\uffff\1\33\2\uffff\1\6";
- static final String DFA14_specialS =
- "\1\0\32\uffff\1\2\1\1\161\uffff}>";
- static final String[] DFA14_transitionS = {
- "\11\37\2\36\2\37\1\36\22\37\1\36\1\37\1\33\4\37\1\34\1\2\1\4\1\37\1\22\1\3\1\23\1\16\1\35\1\27\11\32\1\15\2\37\1\5\2\37\1\1\1\6\3\31\1\25\25\31\1\17\1\37\1\20\1\30\1\31\1\37\1\14\3\31\1\24\1\21\6\31\1\13\1\31\1\12\1\26\3\31\1\10\6\31\1\7\1\37\1\11\uff82\37",
+ protected DFA15 dfa15 = new DFA15(this);
+ static final String DFA15_eotS =
+ "\6\uffff\1\46\1\uffff\1\46\1\uffff\3\46\1\uffff\1\60\2\uffff\1\46\2\uffff\1\66\1\67\1\46\1\72\2\37\2\uffff\2\37\7\uffff\1\46\2\uffff\2\46\1\uffff\3\46\5\uffff\1\46\4\uffff\1\46\2\uffff\1\74\4\uffff\13\46\1\uffff\2\46\1\131\12\46\1\uffff\3\46\1\147\5\46\1\155\3\46\1\uffff\2\46\1\163\2\46\1\uffff\5\46\1\uffff\2\46\1\175\6\46\1\uffff\1\u0084\1\u0085\1\u0086\1\u0087\2\46\4\uffff\2\46\1\u008c\1\46\1\uffff\1\46\1\u008f\1\uffff";
+ static final String DFA15_eofS =
+ "\u0090\uffff";
+ static final String DFA15_minS =
+ "\1\0\5\uffff\1\156\1\uffff\1\141\1\uffff\1\160\1\141\1\164\1\uffff\1\52\2\uffff\1\141\2\uffff\2\60\1\164\1\130\1\0\1\101\2\uffff\1\0\1\52\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164\5\uffff\1\154\4\uffff\1\102\2\uffff\1\47\4\uffff\1\157\1\147\1\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\uffff\1\164\1\145\1\60\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1\156\1\164\1\142\1\60\1\154\1\145\1\154\1\162\1\164\1\60\1\141\1\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1\151\1\uffff\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\60\1\171\1\145\1\156\1\162\1\164\1\156\1\uffff\4\60\1\145\1\124\4\uffff\1\162\1\171\1\60\1\160\1\uffff\1\145\1\60\1\uffff";
+ static final String DFA15_maxS =
+ "\1\uffff\5\uffff\1\156\1\uffff\1\162\1\uffff\1\160\1\141\1\164\1\uffff\1\52\2\uffff\1\141\2\uffff\2\172\1\164\1\170\1\uffff\1\172\2\uffff\1\uffff\1\57\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164\5\uffff\1\154\4\uffff\1\122\2\uffff\1\47\4\uffff\1\157\1\147\1\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\uffff\1\164\1\145\1\172\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1\156\1\164\1\142\1\172\1\154\1\145\1\154\1\162\1\164\1\172\1\141\1\157\1\165\1\uffff\1\145\1\147\1\172\1\141\1\151\1\uffff\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\172\1\171\1\145\1\156\1\162\1\164\1\156\1\uffff\4\172\1\145\1\124\4\uffff\1\162\1\171\1\172\1\160\1\uffff\1\145\1\172\1\uffff";
+ static final String DFA15_acceptS =
+ "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\uffff\1\7\1\uffff\1\11\3\uffff\1\15\1\uffff\1\17\1\20\1\uffff\1\23\1\24\6\uffff\1\36\1\37\2\uffff\1\43\1\44\1\1\1\2\1\3\1\4\1\5\1\uffff\1\36\1\7\2\uffff\1\11\3\uffff\1\15\1\16\1\25\1\17\1\20\1\uffff\1\23\1\24\1\26\1\27\1\uffff\1\34\1\37\1\uffff\1\40\1\41\1\42\1\43\13\uffff\1\35\15\uffff\1\22\15\uffff\1\21\5\uffff\1\10\5\uffff\1\32\11\uffff\1\12\6\uffff\1\13\1\14\1\30\1\31\4\uffff\1\33\2\uffff\1\6";
+ static final String DFA15_specialS =
+ "\1\1\27\uffff\1\0\3\uffff\1\2\163\uffff}>";
+ static final String[] DFA15_transitionS = {
+ "\11\37\2\36\2\37\1\36\22\37\1\36\1\37\1\34\4\37\1\30\1\2\1\4\1\37\1\22\1\3\1\23\1\16\1\35\1\27\11\33\1\15\2\37\1\5\2\37\1\1\1\6\3\32\1\25\25\32\1\17\1\37\1\20\1\31\1\32\1\37\1\14\3\32\1\24\1\21\6\32\1\13\1\32\1\12\1\26\3\32\1\10\6\32\1\7\1\37\1\11\uff82\37",
"",
"",
"",
@@ -1509,12 +1586,12 @@ public class InternalBaseTestLexer extends Lexer {
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\70",
"\1\71\37\uffff\1\71",
+ "\47\74\1\73\uffd8\74",
"\32\46\4\uffff\1\46\1\uffff\32\46",
"",
"",
- "\0\73",
- "\0\73",
- "\1\74\4\uffff\1\75",
+ "\0\74",
+ "\1\75\4\uffff\1\76",
"",
"",
"",
@@ -1522,34 +1599,33 @@ public class InternalBaseTestLexer extends Lexer {
"",
"",
"",
- "\1\77",
+ "\1\100",
"",
"",
- "\1\100",
"\1\101",
- "",
"\1\102",
+ "",
"\1\103",
"\1\104",
+ "\1\105",
"",
"",
"",
"",
"",
- "\1\105",
+ "\1\106",
"",
"",
"",
"",
- "\1\106\1\111\5\uffff\1\107\10\uffff\1\110",
+ "\1\107\1\112\5\uffff\1\110\10\uffff\1\111",
"",
"",
+ "\1\113",
"",
"",
"",
"",
- "\1\112",
- "\1\113",
"\1\114",
"\1\115",
"\1\116",
@@ -1561,9 +1637,10 @@ public class InternalBaseTestLexer extends Lexer {
"\1\124",
"\1\125",
"\1\126",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "",
+ "\1\127",
"\1\130",
- "\1\131",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\132",
"\1\133",
"\1\134",
@@ -1572,182 +1649,186 @@ public class InternalBaseTestLexer extends Lexer {
"\1\137",
"\1\140",
"\1\141",
- "",
"\1\142",
"\1\143",
+ "",
"\1\144",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "\1\145",
"\1\146",
- "\1\147",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\150",
"\1\151",
"\1\152",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "\1\153",
"\1\154",
- "\1\155",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\156",
- "",
"\1\157",
"\1\160",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
- "\1\162",
- "\1\163",
"",
+ "\1\161",
+ "\1\162",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\164",
"\1\165",
+ "",
"\1\166",
"\1\167",
"\1\170",
- "",
"\1\171",
"\1\172",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "",
+ "\1\173",
"\1\174",
- "\1\175",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\1\176",
"\1\177",
"\1\u0080",
"\1\u0081",
+ "\1\u0082",
+ "\1\u0083",
"",
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
- "\1\u0086",
- "\1\u0087",
+ "\1\u0088",
+ "\1\u0089",
"",
"",
"",
"",
- "\1\u0088",
- "\1\u0089",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "\1\u008a",
"\1\u008b",
+ "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
+ "\1\u008d",
"",
- "\1\u008c",
+ "\1\u008e",
"\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
""
};
- static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
- static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
- static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
- static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
- static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
- static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
- static final short[][] DFA14_transition;
+ static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS);
+ static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS);
+ static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS);
+ static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS);
+ static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS);
+ static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS);
+ static final short[][] DFA15_transition;
static {
- int numStates = DFA14_transitionS.length;
- DFA14_transition = new short[numStates][];
+ int numStates = DFA15_transitionS.length;
+ DFA15_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
+ DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]);
}
}
- class DFA14 extends DFA {
+ class DFA15 extends DFA {
- public DFA14(BaseRecognizer recognizer) {
+ public DFA15(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 14;
- this.eot = DFA14_eot;
- this.eof = DFA14_eof;
- this.min = DFA14_min;
- this.max = DFA14_max;
- this.accept = DFA14_accept;
- this.special = DFA14_special;
- this.transition = DFA14_transition;
+ this.decisionNumber = 15;
+ this.eot = DFA15_eot;
+ this.eof = DFA15_eof;
+ this.min = DFA15_min;
+ this.max = DFA15_max;
+ this.accept = DFA15_accept;
+ this.special = DFA15_special;
+ this.transition = DFA15_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | RULE_HEX | RULE_CC_STRING | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
- int LA14_0 = input.LA(1);
+ int LA15_24 = input.LA(1);
s = -1;
- if ( (LA14_0=='@') ) {s = 1;}
+ if ( (LA15_24=='\'') ) {s = 59;}
+
+ else if ( ((LA15_24>='\u0000' && LA15_24<='&')||(LA15_24>='(' && LA15_24<='\uFFFF')) ) {s = 60;}
- else if ( (LA14_0=='(') ) {s = 2;}
+ else s = 31;
- else if ( (LA14_0==',') ) {s = 3;}
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA15_0 = input.LA(1);
- else if ( (LA14_0==')') ) {s = 4;}
+ s = -1;
+ if ( (LA15_0=='@') ) {s = 1;}
- else if ( (LA14_0=='=') ) {s = 5;}
+ else if ( (LA15_0=='(') ) {s = 2;}
- else if ( (LA14_0=='A') ) {s = 6;}
+ else if ( (LA15_0==',') ) {s = 3;}
- else if ( (LA14_0=='{') ) {s = 7;}
+ else if ( (LA15_0==')') ) {s = 4;}
- else if ( (LA14_0=='t') ) {s = 8;}
+ else if ( (LA15_0=='=') ) {s = 5;}
- else if ( (LA14_0=='}') ) {s = 9;}
+ else if ( (LA15_0=='A') ) {s = 6;}
- else if ( (LA14_0=='o') ) {s = 10;}
+ else if ( (LA15_0=='{') ) {s = 7;}
- else if ( (LA14_0=='m') ) {s = 11;}
+ else if ( (LA15_0=='t') ) {s = 8;}
- else if ( (LA14_0=='a') ) {s = 12;}
+ else if ( (LA15_0=='}') ) {s = 9;}
- else if ( (LA14_0==':') ) {s = 13;}
+ else if ( (LA15_0=='o') ) {s = 10;}
- else if ( (LA14_0=='.') ) {s = 14;}
+ else if ( (LA15_0=='m') ) {s = 11;}
- else if ( (LA14_0=='[') ) {s = 15;}
+ else if ( (LA15_0=='a') ) {s = 12;}
- else if ( (LA14_0==']') ) {s = 16;}
+ else if ( (LA15_0==':') ) {s = 13;}
- else if ( (LA14_0=='f') ) {s = 17;}
+ else if ( (LA15_0=='.') ) {s = 14;}
- else if ( (LA14_0=='+') ) {s = 18;}
+ else if ( (LA15_0=='[') ) {s = 15;}
- else if ( (LA14_0=='-') ) {s = 19;}
+ else if ( (LA15_0==']') ) {s = 16;}
- else if ( (LA14_0=='e') ) {s = 20;}
+ else if ( (LA15_0=='f') ) {s = 17;}
- else if ( (LA14_0=='E') ) {s = 21;}
+ else if ( (LA15_0=='+') ) {s = 18;}
- else if ( (LA14_0=='p') ) {s = 22;}
+ else if ( (LA15_0=='-') ) {s = 19;}
- else if ( (LA14_0=='0') ) {s = 23;}
+ else if ( (LA15_0=='e') ) {s = 20;}
- else if ( (LA14_0=='^') ) {s = 24;}
+ else if ( (LA15_0=='E') ) {s = 21;}
- else if ( ((LA14_0>='B' && LA14_0<='D')||(LA14_0>='F' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='b' && LA14_0<='d')||(LA14_0>='g' && LA14_0<='l')||LA14_0=='n'||(LA14_0>='q' && LA14_0<='s')||(LA14_0>='u' && LA14_0<='z')) ) {s = 25;}
+ else if ( (LA15_0=='p') ) {s = 22;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 26;}
+ else if ( (LA15_0=='0') ) {s = 23;}
- else if ( (LA14_0=='\"') ) {s = 27;}
+ else if ( (LA15_0=='\'') ) {s = 24;}
- else if ( (LA14_0=='\'') ) {s = 28;}
+ else if ( (LA15_0=='^') ) {s = 25;}
- else if ( (LA14_0=='/') ) {s = 29;}
+ else if ( ((LA15_0>='B' && LA15_0<='D')||(LA15_0>='F' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='b' && LA15_0<='d')||(LA15_0>='g' && LA15_0<='l')||LA15_0=='n'||(LA15_0>='q' && LA15_0<='s')||(LA15_0>='u' && LA15_0<='z')) ) {s = 26;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 30;}
+ else if ( ((LA15_0>='1' && LA15_0<='9')) ) {s = 27;}
- else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||LA14_0=='*'||(LA14_0>=';' && LA14_0<='<')||(LA14_0>='>' && LA14_0<='?')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='~' && LA14_0<='\uFFFF')) ) {s = 31;}
+ else if ( (LA15_0=='\"') ) {s = 28;}
- if ( s>=0 ) return s;
- break;
- case 1 :
- int LA14_28 = input.LA(1);
+ else if ( (LA15_0=='/') ) {s = 29;}
- s = -1;
- if ( ((LA14_28>='\u0000' && LA14_28<='\uFFFF')) ) {s = 59;}
+ else if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) {s = 30;}
- else s = 31;
+ else if ( ((LA15_0>='\u0000' && LA15_0<='\b')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\u001F')||LA15_0=='!'||(LA15_0>='#' && LA15_0<='&')||LA15_0=='*'||(LA15_0>=';' && LA15_0<='<')||(LA15_0>='>' && LA15_0<='?')||LA15_0=='\\'||LA15_0=='`'||LA15_0=='|'||(LA15_0>='~' && LA15_0<='\uFFFF')) ) {s = 31;}
if ( s>=0 ) return s;
break;
case 2 :
- int LA14_27 = input.LA(1);
+ int LA15_28 = input.LA(1);
s = -1;
- if ( ((LA14_27>='\u0000' && LA14_27<='\uFFFF')) ) {s = 59;}
+ if ( ((LA15_28>='\u0000' && LA15_28<='\uFFFF')) ) {s = 60;}
else s = 31;
@@ -1755,7 +1836,7 @@ public class InternalBaseTestLexer extends Lexer {
break;
}
NoViableAltException nvae =
- new NoViableAltException(getDescription(), 14, _s, input);
+ new NoViableAltException(getDescription(), 15, _s, input);
error(nvae);
throw nvae;
}
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java
index f8021e923..d62e92b00 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java
@@ -22,20 +22,21 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalBaseTestParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'AnnotationType'", "'{'", "'target'", "'}'", "'optional'", "'mandatory'", "'attribute'", "':'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_CC_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'AnnotationType'", "'{'", "'target'", "'}'", "'optional'", "'mandatory'", "'attribute'", "':'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
};
public static final int RULE_HEX=7;
public static final int RULE_STRING=5;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__19=19;
+ public static final int RULE_CC_STRING=8;
public static final int T__15=15;
public static final int T__37=37;
public static final int T__16=16;
public static final int T__38=38;
public static final int T__17=17;
+ public static final int T__39=39;
public static final int T__18=18;
public static final int T__33=33;
- public static final int T__12=12;
public static final int T__34=34;
public static final int T__13=13;
public static final int T__35=35;
@@ -46,15 +47,15 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_ID=4;
- public static final int RULE_WS=10;
- public static final int RULE_ANY_OTHER=11;
+ public static final int RULE_WS=11;
+ public static final int RULE_ANY_OTHER=12;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int RULE_INT=6;
public static final int T__29=29;
public static final int T__22=22;
- public static final int RULE_ML_COMMENT=8;
+ public static final int RULE_ML_COMMENT=9;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
@@ -157,7 +158,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==12||LA2_0==17) ) {
+ if ( (LA2_0==13||LA2_0==18) ) {
alt2=1;
}
@@ -173,10 +174,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==12) ) {
+ if ( (LA1_0==13) ) {
alt1=1;
}
- else if ( (LA1_0==17) ) {
+ else if ( (LA1_0==18) ) {
alt1=2;
}
else {
@@ -327,7 +328,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:138:1: (otherlv_0= '@' ( ( ruleFQN ) ) (otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')' )? )
// InternalBaseTest.g:138:3: otherlv_0= '@' ( ( ruleFQN ) ) (otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')' )?
{
- otherlv_0=(Token)match(input,12,FOLLOW_4);
+ otherlv_0=(Token)match(input,13,FOLLOW_4);
newLeafNode(otherlv_0, grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0());
@@ -363,14 +364,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt4=2;
int LA4_0 = input.LA(1);
- if ( (LA4_0==13) ) {
+ if ( (LA4_0==14) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// InternalBaseTest.g:157:4: otherlv_2= '(' ( (lv_attributes_3_0= ruleKeyValue ) ) (otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) ) )* otherlv_6= ')'
{
- otherlv_2=(Token)match(input,13,FOLLOW_4);
+ otherlv_2=(Token)match(input,14,FOLLOW_4);
newLeafNode(otherlv_2, grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_2_0());
@@ -411,7 +412,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt3=2;
int LA3_0 = input.LA(1);
- if ( (LA3_0==14) ) {
+ if ( (LA3_0==15) ) {
alt3=1;
}
@@ -420,7 +421,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:179:4: otherlv_4= ',' ( (lv_attributes_5_0= ruleKeyValue ) )
{
- otherlv_4=(Token)match(input,14,FOLLOW_4);
+ otherlv_4=(Token)match(input,15,FOLLOW_4);
newLeafNode(otherlv_4, grammarAccess.getAnnotationAccess().getCommaKeyword_2_2_0());
@@ -464,7 +465,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_6=(Token)match(input,15,FOLLOW_2);
+ otherlv_6=(Token)match(input,16,FOLLOW_2);
newLeafNode(otherlv_6, grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_2_3());
@@ -575,7 +576,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,16,FOLLOW_8);
+ otherlv_1=(Token)match(input,17,FOLLOW_8);
newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
@@ -700,7 +701,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:287:1: (otherlv_0= 'AnnotationType' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'target' otherlv_5= '=' ( ( (lv_targets_6_0= ruleAnnotationTargetType ) ) | (otherlv_7= '{' ( (lv_targets_8_0= ruleAnnotationTargetType ) ) (otherlv_9= ',' ( (lv_targets_10_0= ruleAnnotationTargetType ) ) )* otherlv_11= '}' ) ) ( (lv_attributes_12_0= ruleAnnotationAttribute ) )* otherlv_13= '}' )
// InternalBaseTest.g:287:3: otherlv_0= 'AnnotationType' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'target' otherlv_5= '=' ( ( (lv_targets_6_0= ruleAnnotationTargetType ) ) | (otherlv_7= '{' ( (lv_targets_8_0= ruleAnnotationTargetType ) ) (otherlv_9= ',' ( (lv_targets_10_0= ruleAnnotationTargetType ) ) )* otherlv_11= '}' ) ) ( (lv_attributes_12_0= ruleAnnotationAttribute ) )* otherlv_13= '}'
{
- otherlv_0=(Token)match(input,17,FOLLOW_4);
+ otherlv_0=(Token)match(input,18,FOLLOW_4);
newLeafNode(otherlv_0, grammarAccess.getAnnotationTypeAccess().getAnnotationTypeKeyword_0());
@@ -734,7 +735,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==26) ) {
+ if ( (LA5_0==27) ) {
alt5=1;
}
switch (alt5) {
@@ -772,15 +773,15 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,18,FOLLOW_11);
+ otherlv_3=(Token)match(input,19,FOLLOW_11);
newLeafNode(otherlv_3, grammarAccess.getAnnotationTypeAccess().getLeftCurlyBracketKeyword_3());
- otherlv_4=(Token)match(input,19,FOLLOW_7);
+ otherlv_4=(Token)match(input,20,FOLLOW_7);
newLeafNode(otherlv_4, grammarAccess.getAnnotationTypeAccess().getTargetKeyword_4());
- otherlv_5=(Token)match(input,16,FOLLOW_12);
+ otherlv_5=(Token)match(input,17,FOLLOW_12);
newLeafNode(otherlv_5, grammarAccess.getAnnotationTypeAccess().getEqualsSignKeyword_5());
@@ -791,7 +792,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
if ( (LA7_0==RULE_ID) ) {
alt7=1;
}
- else if ( (LA7_0==18) ) {
+ else if ( (LA7_0==19) ) {
alt7=2;
}
else {
@@ -844,7 +845,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:358:6: (otherlv_7= '{' ( (lv_targets_8_0= ruleAnnotationTargetType ) ) (otherlv_9= ',' ( (lv_targets_10_0= ruleAnnotationTargetType ) ) )* otherlv_11= '}' )
// InternalBaseTest.g:358:8: otherlv_7= '{' ( (lv_targets_8_0= ruleAnnotationTargetType ) ) (otherlv_9= ',' ( (lv_targets_10_0= ruleAnnotationTargetType ) ) )* otherlv_11= '}'
{
- otherlv_7=(Token)match(input,18,FOLLOW_4);
+ otherlv_7=(Token)match(input,19,FOLLOW_4);
newLeafNode(otherlv_7, grammarAccess.getAnnotationTypeAccess().getLeftCurlyBracketKeyword_6_1_0());
@@ -885,7 +886,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==14) ) {
+ if ( (LA6_0==15) ) {
alt6=1;
}
@@ -894,7 +895,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:380:4: otherlv_9= ',' ( (lv_targets_10_0= ruleAnnotationTargetType ) )
{
- otherlv_9=(Token)match(input,14,FOLLOW_4);
+ otherlv_9=(Token)match(input,15,FOLLOW_4);
newLeafNode(otherlv_9, grammarAccess.getAnnotationTypeAccess().getCommaKeyword_6_1_2_0());
@@ -938,7 +939,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_11=(Token)match(input,20,FOLLOW_13);
+ otherlv_11=(Token)match(input,21,FOLLOW_13);
newLeafNode(otherlv_11, grammarAccess.getAnnotationTypeAccess().getRightCurlyBracketKeyword_6_1_3());
@@ -957,7 +958,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt8=2;
int LA8_0 = input.LA(1);
- if ( ((LA8_0>=21 && LA8_0<=22)) ) {
+ if ( ((LA8_0>=22 && LA8_0<=23)) ) {
alt8=1;
}
@@ -1000,7 +1001,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_13=(Token)match(input,20,FOLLOW_2);
+ otherlv_13=(Token)match(input,21,FOLLOW_2);
newLeafNode(otherlv_13, grammarAccess.getAnnotationTypeAccess().getRightCurlyBracketKeyword_8());
@@ -1153,22 +1154,22 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt9=2;
int LA9_0 = input.LA(1);
- if ( (LA9_0==21) ) {
+ if ( (LA9_0==22) ) {
int LA9_1 = input.LA(2);
- if ( (LA9_1==23) ) {
+ if ( (LA9_1==24) ) {
int LA9_3 = input.LA(3);
if ( (LA9_3==RULE_ID) ) {
int LA9_4 = input.LA(4);
- if ( (LA9_4==24) ) {
+ if ( (LA9_4==25) ) {
int LA9_5 = input.LA(5);
- if ( (LA9_5==18) ) {
+ if ( (LA9_5==19) ) {
alt9=2;
}
- else if ( ((LA9_5>=35 && LA9_5<=38)) ) {
+ else if ( ((LA9_5>=36 && LA9_5<=39)) ) {
alt9=1;
}
else {
@@ -1199,22 +1200,22 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
throw nvae;
}
}
- else if ( (LA9_0==22) ) {
+ else if ( (LA9_0==23) ) {
int LA9_2 = input.LA(2);
- if ( (LA9_2==23) ) {
+ if ( (LA9_2==24) ) {
int LA9_3 = input.LA(3);
if ( (LA9_3==RULE_ID) ) {
int LA9_4 = input.LA(4);
- if ( (LA9_4==24) ) {
+ if ( (LA9_4==25) ) {
int LA9_5 = input.LA(5);
- if ( (LA9_5==18) ) {
+ if ( (LA9_5==19) ) {
alt9=2;
}
- else if ( ((LA9_5>=35 && LA9_5<=38)) ) {
+ else if ( ((LA9_5>=36 && LA9_5<=39)) ) {
alt9=1;
}
else {
@@ -1370,10 +1371,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt10=2;
int LA10_0 = input.LA(1);
- if ( (LA10_0==21) ) {
+ if ( (LA10_0==22) ) {
alt10=1;
}
- else if ( (LA10_0==22) ) {
+ else if ( (LA10_0==23) ) {
alt10=2;
}
else {
@@ -1392,7 +1393,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:518:1: (lv_optional_0_0= 'optional' )
// InternalBaseTest.g:519:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,21,FOLLOW_15);
+ lv_optional_0_0=(Token)match(input,22,FOLLOW_15);
newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -1414,7 +1415,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:533:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,22,FOLLOW_15);
+ otherlv_1=(Token)match(input,23,FOLLOW_15);
newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -1424,7 +1425,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,23,FOLLOW_4);
+ otherlv_2=(Token)match(input,24,FOLLOW_4);
newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -1454,7 +1455,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,24,FOLLOW_17);
+ otherlv_4=(Token)match(input,25,FOLLOW_17);
newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
@@ -1574,10 +1575,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt11=2;
int LA11_0 = input.LA(1);
- if ( (LA11_0==21) ) {
+ if ( (LA11_0==22) ) {
alt11=1;
}
- else if ( (LA11_0==22) ) {
+ else if ( (LA11_0==23) ) {
alt11=2;
}
else {
@@ -1596,7 +1597,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:603:1: (lv_optional_0_0= 'optional' )
// InternalBaseTest.g:604:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,21,FOLLOW_15);
+ lv_optional_0_0=(Token)match(input,22,FOLLOW_15);
newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -1618,7 +1619,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:618:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,22,FOLLOW_15);
+ otherlv_1=(Token)match(input,23,FOLLOW_15);
newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -1628,7 +1629,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,23,FOLLOW_4);
+ otherlv_2=(Token)match(input,24,FOLLOW_4);
newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -1658,11 +1659,11 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,24,FOLLOW_10);
+ otherlv_4=(Token)match(input,25,FOLLOW_10);
newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
- otherlv_5=(Token)match(input,18,FOLLOW_18);
+ otherlv_5=(Token)match(input,19,FOLLOW_18);
newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
@@ -1698,7 +1699,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt12=2;
int LA12_0 = input.LA(1);
- if ( (LA12_0==14) ) {
+ if ( (LA12_0==15) ) {
alt12=1;
}
@@ -1707,7 +1708,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:670:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) )
{
- otherlv_7=(Token)match(input,14,FOLLOW_18);
+ otherlv_7=(Token)match(input,15,FOLLOW_18);
newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
@@ -1746,7 +1747,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_9=(Token)match(input,20,FOLLOW_2);
+ otherlv_9=(Token)match(input,21,FOLLOW_2);
newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
@@ -1842,14 +1843,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt13=2;
int LA13_0 = input.LA(1);
- if ( (LA13_0==25) ) {
+ if ( (LA13_0==26) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// InternalBaseTest.g:731:2: kw= '.*'
{
- kw=(Token)match(input,25,FOLLOW_2);
+ kw=(Token)match(input,26,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -1945,7 +1946,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,26,FOLLOW_20);
+ otherlv_1=(Token)match(input,27,FOLLOW_20);
newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
@@ -1993,7 +1994,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_3=(Token)match(input,27,FOLLOW_2);
+ otherlv_3=(Token)match(input,28,FOLLOW_2);
newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
@@ -2074,16 +2075,16 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:814:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
int alt15=3;
switch ( input.LA(1) ) {
- case 28:
case 29:
+ case 30:
{
alt15=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 30:
case 31:
+ case 32:
{
alt15=2;
}
@@ -2243,10 +2244,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt16=2;
int LA16_0 = input.LA(1);
- if ( (LA16_0==28) ) {
+ if ( (LA16_0==29) ) {
alt16=1;
}
- else if ( (LA16_0==29) ) {
+ else if ( (LA16_0==30) ) {
alt16=2;
}
else {
@@ -2259,7 +2260,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:870:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,28,FOLLOW_2);
+ otherlv_1=(Token)match(input,29,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -2275,7 +2276,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:876:1: (lv_isTrue_2_0= 'true' )
// InternalBaseTest.g:877:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,29,FOLLOW_2);
+ lv_isTrue_2_0=(Token)match(input,30,FOLLOW_2);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -2372,17 +2373,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:911:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
int alt17=2;
switch ( input.LA(1) ) {
- case 30:
+ case 31:
{
int LA17_1 = input.LA(2);
if ( (LA17_1==RULE_INT) ) {
int LA17_3 = input.LA(3);
- if ( (LA17_3==EOF||(LA17_3>=14 && LA17_3<=15)) ) {
+ if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) {
alt17=1;
}
- else if ( (LA17_3==32) ) {
+ else if ( (LA17_3==33) ) {
alt17=2;
}
else {
@@ -2400,17 +2401,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
}
break;
- case 31:
+ case 32:
{
int LA17_2 = input.LA(2);
if ( (LA17_2==RULE_INT) ) {
int LA17_3 = input.LA(3);
- if ( (LA17_3==EOF||(LA17_3>=14 && LA17_3<=15)) ) {
+ if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) {
alt17=1;
}
- else if ( (LA17_3==32) ) {
+ else if ( (LA17_3==33) ) {
alt17=2;
}
else {
@@ -2432,10 +2433,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
{
int LA17_3 = input.LA(2);
- if ( (LA17_3==EOF||(LA17_3>=14 && LA17_3<=15)) ) {
+ if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) {
alt17=1;
}
- else if ( (LA17_3==32) ) {
+ else if ( (LA17_3==33) ) {
alt17=2;
}
else {
@@ -2909,7 +2910,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt19=2;
int LA19_0 = input.LA(1);
- if ( (LA19_0==RULE_INT||(LA19_0>=30 && LA19_0<=31)) ) {
+ if ( (LA19_0==RULE_INT||(LA19_0>=31 && LA19_0<=32)) ) {
alt19=1;
}
else if ( (LA19_0==RULE_HEX) ) {
@@ -2932,17 +2933,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt18=3;
int LA18_0 = input.LA(1);
- if ( (LA18_0==30) ) {
+ if ( (LA18_0==31) ) {
alt18=1;
}
- else if ( (LA18_0==31) ) {
+ else if ( (LA18_0==32) ) {
alt18=2;
}
switch (alt18) {
case 1 :
// InternalBaseTest.g:1087:2: kw= '+'
{
- kw=(Token)match(input,30,FOLLOW_21);
+ kw=(Token)match(input,31,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
@@ -2953,7 +2954,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:1094:2: kw= '-'
{
- kw=(Token)match(input,31,FOLLOW_21);
+ kw=(Token)match(input,32,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
@@ -3065,23 +3066,23 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1135:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
int alt20=2;
switch ( input.LA(1) ) {
- case 30:
+ case 31:
{
int LA20_1 = input.LA(2);
if ( (LA20_1==RULE_INT) ) {
int LA20_3 = input.LA(3);
- if ( (LA20_3==32) ) {
+ if ( (LA20_3==33) ) {
int LA20_4 = input.LA(4);
if ( (LA20_4==RULE_INT) ) {
int LA20_5 = input.LA(5);
- if ( (LA20_5==EOF||(LA20_5>=14 && LA20_5<=15)) ) {
+ if ( (LA20_5==EOF||(LA20_5>=15 && LA20_5<=16)) ) {
alt20=1;
}
- else if ( ((LA20_5>=33 && LA20_5<=34)) ) {
+ else if ( ((LA20_5>=34 && LA20_5<=35)) ) {
alt20=2;
}
else {
@@ -3113,23 +3114,23 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
}
}
break;
- case 31:
+ case 32:
{
int LA20_2 = input.LA(2);
if ( (LA20_2==RULE_INT) ) {
int LA20_3 = input.LA(3);
- if ( (LA20_3==32) ) {
+ if ( (LA20_3==33) ) {
int LA20_4 = input.LA(4);
if ( (LA20_4==RULE_INT) ) {
int LA20_5 = input.LA(5);
- if ( (LA20_5==EOF||(LA20_5>=14 && LA20_5<=15)) ) {
+ if ( (LA20_5==EOF||(LA20_5>=15 && LA20_5<=16)) ) {
alt20=1;
}
- else if ( ((LA20_5>=33 && LA20_5<=34)) ) {
+ else if ( ((LA20_5>=34 && LA20_5<=35)) ) {
alt20=2;
}
else {
@@ -3165,16 +3166,16 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
{
int LA20_3 = input.LA(2);
- if ( (LA20_3==32) ) {
+ if ( (LA20_3==33) ) {
int LA20_4 = input.LA(3);
if ( (LA20_4==RULE_INT) ) {
int LA20_5 = input.LA(4);
- if ( (LA20_5==EOF||(LA20_5>=14 && LA20_5<=15)) ) {
+ if ( (LA20_5==EOF||(LA20_5>=15 && LA20_5<=16)) ) {
alt20=1;
}
- else if ( ((LA20_5>=33 && LA20_5<=34)) ) {
+ else if ( ((LA20_5>=34 && LA20_5<=35)) ) {
alt20=2;
}
else {
@@ -3332,17 +3333,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt21=3;
int LA21_0 = input.LA(1);
- if ( (LA21_0==30) ) {
+ if ( (LA21_0==31) ) {
alt21=1;
}
- else if ( (LA21_0==31) ) {
+ else if ( (LA21_0==32) ) {
alt21=2;
}
switch (alt21) {
case 1 :
// InternalBaseTest.g:1187:2: kw= '+'
{
- kw=(Token)match(input,30,FOLLOW_21);
+ kw=(Token)match(input,31,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -3353,7 +3354,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:1194:2: kw= '-'
{
- kw=(Token)match(input,31,FOLLOW_21);
+ kw=(Token)match(input,32,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -3371,7 +3372,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,32,FOLLOW_21);
+ kw=(Token)match(input,33,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
@@ -3472,17 +3473,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt22=3;
int LA22_0 = input.LA(1);
- if ( (LA22_0==30) ) {
+ if ( (LA22_0==31) ) {
alt22=1;
}
- else if ( (LA22_0==31) ) {
+ else if ( (LA22_0==32) ) {
alt22=2;
}
switch (alt22) {
case 1 :
// InternalBaseTest.g:1251:2: kw= '+'
{
- kw=(Token)match(input,30,FOLLOW_21);
+ kw=(Token)match(input,31,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -3493,7 +3494,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:1258:2: kw= '-'
{
- kw=(Token)match(input,31,FOLLOW_21);
+ kw=(Token)match(input,32,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -3511,7 +3512,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,32,FOLLOW_21);
+ kw=(Token)match(input,33,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
@@ -3527,10 +3528,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt23=2;
int LA23_0 = input.LA(1);
- if ( (LA23_0==33) ) {
+ if ( (LA23_0==34) ) {
alt23=1;
}
- else if ( (LA23_0==34) ) {
+ else if ( (LA23_0==35) ) {
alt23=2;
}
else {
@@ -3543,7 +3544,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:1284:2: kw= 'e'
{
- kw=(Token)match(input,33,FOLLOW_24);
+ kw=(Token)match(input,34,FOLLOW_24);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
@@ -3554,7 +3555,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:1291:2: kw= 'E'
{
- kw=(Token)match(input,34,FOLLOW_24);
+ kw=(Token)match(input,35,FOLLOW_24);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
@@ -3569,17 +3570,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt24=3;
int LA24_0 = input.LA(1);
- if ( (LA24_0==30) ) {
+ if ( (LA24_0==31) ) {
alt24=1;
}
- else if ( (LA24_0==31) ) {
+ else if ( (LA24_0==32) ) {
alt24=2;
}
switch (alt24) {
case 1 :
// InternalBaseTest.g:1297:2: kw= '+'
{
- kw=(Token)match(input,30,FOLLOW_21);
+ kw=(Token)match(input,31,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
@@ -3590,7 +3591,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 2 :
// InternalBaseTest.g:1304:2: kw= '-'
{
- kw=(Token)match(input,31,FOLLOW_21);
+ kw=(Token)match(input,32,FOLLOW_21);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
@@ -3698,7 +3699,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
int alt25=2;
int LA25_0 = input.LA(1);
- if ( (LA25_0==32) ) {
+ if ( (LA25_0==33) ) {
alt25=1;
}
@@ -3707,7 +3708,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
case 1 :
// InternalBaseTest.g:1348:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,32,FOLLOW_4);
+ kw=(Token)match(input,33,FOLLOW_4);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
@@ -3766,22 +3767,22 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1371:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
int alt26=4;
switch ( input.LA(1) ) {
- case 35:
+ case 36:
{
alt26=1;
}
break;
- case 36:
+ case 37:
{
alt26=2;
}
break;
- case 37:
+ case 38:
{
alt26=3;
}
break;
- case 38:
+ case 39:
{
alt26=4;
}
@@ -3800,7 +3801,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1371:2: (enumLiteral_0= 'ptBoolean' )
// InternalBaseTest.g:1371:4: enumLiteral_0= 'ptBoolean'
{
- enumLiteral_0=(Token)match(input,35,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,36,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
@@ -3817,7 +3818,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1377:6: (enumLiteral_1= 'ptInteger' )
// InternalBaseTest.g:1377:8: enumLiteral_1= 'ptInteger'
{
- enumLiteral_1=(Token)match(input,36,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,37,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
@@ -3834,7 +3835,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1383:6: (enumLiteral_2= 'ptReal' )
// InternalBaseTest.g:1383:8: enumLiteral_2= 'ptReal'
{
- enumLiteral_2=(Token)match(input,37,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,38,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
@@ -3851,7 +3852,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
// InternalBaseTest.g:1389:6: (enumLiteral_3= 'ptCharacter' )
// InternalBaseTest.g:1389:8: enumLiteral_3= 'ptCharacter'
{
- enumLiteral_3=(Token)match(input,38,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,39,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
@@ -3888,28 +3889,28 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser {
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000021002L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000042002L});
public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000002002L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000000000C000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000000F00000E0L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000004040000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000040010L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000700000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000104000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000001000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000007800000000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000018000L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000001E00000E0L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000008080000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000080010L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000E00000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000208000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x000000F000000000L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000008000020L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000002L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000600000000L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x00000000C0000040L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000002L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000C00000000L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000180000040L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000200000002L});
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java
index 13841db93..d1c5f13fc 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java
@@ -1026,6 +1026,7 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder {
private final DecimalExpElements pDecimalExp;
private final FQNElements pFQN;
private final TerminalRule tHEX;
+ private final TerminalRule tCC_STRING;
private final Grammar grammar;
@@ -1061,6 +1062,7 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder {
this.pDecimalExp = new DecimalExpElements();
this.pFQN = new FQNElements();
this.tHEX = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.common.Base.HEX");
+ this.tCC_STRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.common.Base.CC_STRING");
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
@@ -1385,6 +1387,12 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder {
return tHEX;
}
+ //terminal CC_STRING:
+ // "'''"->"'''";
+ public TerminalRule getCC_STRINGRule() {
+ return tCC_STRING;
+ }
+
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java
index 6a7bbbe91..8c91601ed 100644
--- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java
+++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java
@@ -404,6 +404,12 @@ public class BaseTestGrammarAccess extends AbstractGrammarElementFinder {
return gaBase.getHEXRule();
}
+ //terminal CC_STRING:
+ // "'''"->"'''";
+ public TerminalRule getCC_STRINGRule() {
+ return gaBase.getCC_STRINGRule();
+ }
+
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {

Back to the top