Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2017-07-17 16:46:22 -0400
committerJuergen Haug2017-07-21 10:09:42 -0400
commit5e3d77e69e5c353ad11395813505959bb2df12aa (patch)
tree4188f46e6de667b5f846f0024d4aedb52af6e910
parentedfa0050af236c45465f0330f840dd16ef789a8f (diff)
downloadorg.eclipse.etrice-5e3d77e69e5c353ad11395813505959bb2df12aa.tar.gz
org.eclipse.etrice-5e3d77e69e5c353ad11395813505959bb2df12aa.tar.xz
org.eclipse.etrice-5e3d77e69e5c353ad11395813505959bb2df12aa.zip
[targetLang] added ccstring with highlight and smart indentation
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/META-INF/MANIFEST.MF3
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/AbstractBaseProposalProvider.java3
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.g2
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.tokens61
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseLexer.java857
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseParser.java251
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/BaseUiModule.java2
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java13
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/contentassist/BaseProposalProvider.java1
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseHighlightingConfig.java24
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseSemanticHighlighter.java53
-rw-r--r--plugins/org.eclipse.etrice.core.common/META-INF/MANIFEST.MF1
-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
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/Base.xtext3
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/BaseConverterService.java5
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/CC_StringConveter.java29
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/util/CCStringIndentation.java152
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/META-INF/MANIFEST.MF4
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/FSMParser.java9
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.g145
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.tokens131
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMLexer.java1377
-rw-r--r--plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMParser.java8191
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.ecore6
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/FSM.xtextbinbin11846 -> 11949 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g33
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.tokens135
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMLexer.java1399
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMParser.java3281
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/serializer/FSMSemanticSequencer.java2
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/services/FSMGrammarAccess.java60
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext8
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/validation/FSMJavaValidator.java14
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/build.properties3
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/css/e4-dark_room_syntaxhighlighting.css5
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/plugin.xml8
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/RoomParser.java9
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalRoom.g145
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalRoom.tokens251
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalRoomLexer.java2473
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalRoomParser.java18783
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/RoomUiModule.java7
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java21
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/handler/DetailCodePasteHandler.java16
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/highlight/RoomHighlightingConfiguration.java6
-rw-r--r--plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/highlight/RoomSemanticHighlightingCalculator.java7
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.xtextbinbin24008 -> 24111 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g33
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.tokens253
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoomLexer.java2483
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoomParser.java4825
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/services/RoomGrammarAccess.java18
-rw-r--r--plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/formatting/RoomFormatter.java2
-rw-r--r--plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java2
65 files changed, 24885 insertions, 23122 deletions
diff --git a/plugins/org.eclipse.etrice.core.common.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.core.common.ui/META-INF/MANIFEST.MF
index cc6336c71..3663ffd1b 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.core.common.ui/META-INF/MANIFEST.MF
@@ -22,7 +22,8 @@ Require-Bundle: org.eclipse.etrice.core.common;visibility:=reexport,
Import-Package: org.apache.log4j,
org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Export-Package: org.eclipse.etrice.core.common.ui.contentassist,
+Export-Package: org.eclipse.etrice.core.common.ui.autoedit,
+ org.eclipse.etrice.core.common.ui.contentassist,
org.eclipse.etrice.core.common.ui.contentassist.antlr,
org.eclipse.etrice.core.common.ui.contentassist.antlr.internal,
org.eclipse.etrice.core.common.ui.editor,
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/AbstractBaseProposalProvider.java b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/AbstractBaseProposalProvider.java
index 06e34e806..6cb536776 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/AbstractBaseProposalProvider.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/AbstractBaseProposalProvider.java
@@ -158,4 +158,7 @@ public class AbstractBaseProposalProvider extends org.eclipse.xtext.common.ui.co
public void complete_HEX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
+ public void complete_CC_STRING(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.g b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.g
index 19969c41f..f86498e93 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.g
+++ b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.g
@@ -3127,6 +3127,8 @@ finally {
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.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.tokens b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.tokens
index 660693729..b37c43e2d 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.tokens
+++ b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBase.tokens
@@ -1,37 +1,37 @@
-'('=23
-')'=24
-'+'=14
-','=25
-'-'=15
-'.'=34
-'.*'=31
-':'=28
-'='=26
-'@'=22
-'E'=17
-'['=32
-']'=33
-'attribute'=27
-'e'=16
-'false'=13
-'mandatory'=12
-'optional'=35
-'ptBoolean'=18
-'ptCharacter'=21
-'ptInteger'=19
-'ptReal'=20
-'true'=36
-'{'=29
-'}'=30
-RULE_ANY_OTHER=11
+'('=24
+')'=25
+'+'=15
+','=26
+'-'=16
+'.'=35
+'.*'=32
+':'=29
+'='=27
+'@'=23
+'E'=18
+'['=33
+']'=34
+'attribute'=28
+'e'=17
+'false'=14
+'mandatory'=13
+'optional'=36
+'ptBoolean'=19
+'ptCharacter'=22
+'ptInteger'=20
+'ptReal'=21
+'true'=37
+'{'=30
+'}'=31
+RULE_ANY_OTHER=12
+RULE_CC_STRING=8
RULE_HEX=5
RULE_ID=4
RULE_INT=6
-RULE_ML_COMMENT=8
-RULE_SL_COMMENT=9
+RULE_ML_COMMENT=9
+RULE_SL_COMMENT=10
RULE_STRING=7
-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.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseLexer.java b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseLexer.java
index 6fd8bc921..24dbeaed8 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseLexer.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseLexer.java
@@ -14,14 +14,15 @@ import java.util.ArrayList;
public class InternalBaseLexer extends Lexer {
public static final int RULE_HEX=5;
public static final int RULE_STRING=7;
- 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,36 +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: ( 'mandatory' )
- // InternalBase.g:11:9: 'mandatory'
- {
- match("mandatory");
-
-
- }
-
- 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: ( 'false' )
- // InternalBase.g:12:9: 'false'
+ // InternalBase.g:11:7: ( 'mandatory' )
+ // InternalBase.g:11:9: 'mandatory'
{
- match("false");
+ match("mandatory");
}
@@ -107,10 +87,11 @@ 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: ( 'false' )
+ // InternalBase.g:12:9: 'false'
{
- match('+');
+ match("false");
+
}
@@ -127,10 +108,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('+');
}
@@ -147,10 +128,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:15:7: ( 'e' )
- // InternalBase.g:15:9: 'e'
+ // InternalBase.g:14:7: ( '-' )
+ // InternalBase.g:14:9: '-'
{
- match('e');
+ match('-');
}
@@ -167,10 +148,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:16:7: ( 'E' )
- // InternalBase.g:16:9: 'E'
+ // InternalBase.g:15:7: ( 'e' )
+ // InternalBase.g:15:9: 'e'
{
- match('E');
+ match('e');
}
@@ -187,11 +168,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:17:7: ( 'ptBoolean' )
- // InternalBase.g:17:9: 'ptBoolean'
+ // InternalBase.g:16:7: ( 'E' )
+ // InternalBase.g:16:9: 'E'
{
- match("ptBoolean");
-
+ match('E');
}
@@ -208,10 +188,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:18:7: ( 'ptInteger' )
- // InternalBase.g:18:9: 'ptInteger'
+ // InternalBase.g:17:7: ( 'ptBoolean' )
+ // InternalBase.g:17:9: 'ptBoolean'
{
- match("ptInteger");
+ match("ptBoolean");
}
@@ -229,10 +209,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:19:7: ( 'ptReal' )
- // InternalBase.g:19:9: 'ptReal'
+ // InternalBase.g:18:7: ( 'ptInteger' )
+ // InternalBase.g:18:9: 'ptInteger'
{
- match("ptReal");
+ match("ptInteger");
}
@@ -250,10 +230,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:20:7: ( 'ptCharacter' )
- // InternalBase.g:20:9: 'ptCharacter'
+ // InternalBase.g:19:7: ( 'ptReal' )
+ // InternalBase.g:19:9: 'ptReal'
{
- match("ptCharacter");
+ match("ptReal");
}
@@ -271,10 +251,11 @@ 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: ( 'ptCharacter' )
+ // InternalBase.g:20:9: 'ptCharacter'
{
- match('@');
+ match("ptCharacter");
+
}
@@ -291,10 +272,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('@');
}
@@ -311,10 +292,10 @@ 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('(');
}
@@ -331,10 +312,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(')');
}
@@ -351,10 +332,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:25:7: ( '=' )
- // InternalBase.g:25:9: '='
+ // InternalBase.g:24:7: ( ',' )
+ // InternalBase.g:24:9: ','
{
- match('=');
+ match(',');
}
@@ -371,11 +352,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:26:7: ( 'attribute' )
- // InternalBase.g:26:9: 'attribute'
+ // InternalBase.g:25:7: ( '=' )
+ // InternalBase.g:25:9: '='
{
- match("attribute");
-
+ match('=');
}
@@ -392,10 +372,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: ( 'attribute' )
+ // InternalBase.g:26:9: 'attribute'
{
- match(':');
+ match("attribute");
+
}
@@ -412,10 +393,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(':');
}
@@ -432,10 +413,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('{');
}
@@ -452,11 +433,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:30:7: ( '.*' )
- // InternalBase.g:30:9: '.*'
+ // InternalBase.g:29:7: ( '}' )
+ // InternalBase.g:29:9: '}'
{
- match(".*");
-
+ match('}');
}
@@ -473,10 +453,11 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:31:7: ( '[' )
- // InternalBase.g:31:9: '['
+ // InternalBase.g:30:7: ( '.*' )
+ // InternalBase.g:30:9: '.*'
{
- match('[');
+ match(".*");
+
}
@@ -493,10 +474,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:32:7: ( ']' )
- // InternalBase.g:32:9: ']'
+ // InternalBase.g:31:7: ( '[' )
+ // InternalBase.g:31:9: '['
{
- match(']');
+ match('[');
}
@@ -513,10 +494,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:33:7: ( '.' )
- // InternalBase.g:33:9: '.'
+ // InternalBase.g:32:7: ( ']' )
+ // InternalBase.g:32:9: ']'
{
- match('.');
+ match(']');
}
@@ -533,11 +514,10 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalBase.g:34:7: ( 'optional' )
- // InternalBase.g:34:9: 'optional'
+ // InternalBase.g:33:7: ( '.' )
+ // InternalBase.g:33:9: '.'
{
- match("optional");
-
+ match('.');
}
@@ -554,6 +534,27 @@ public class InternalBaseLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalBase.g:34:7: ( 'optional' )
+ // InternalBase.g:34:9: 'optional'
+ {
+ match("optional");
+
+
+ }
+
+ 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: ( 'true' )
// InternalBase.g:35:9: 'true'
{
@@ -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:3130:16: ( '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\'' )
+ // InternalBase.g:3130:18: '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\''
+ {
+ match("'''");
+
+ // InternalBase.g:3130: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:3130: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:3130:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalBase.g:3130:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalBase.g:3132:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalBase.g:3132:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalBase.g:3130:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
+ // InternalBase.g:3132: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:3130:11: '^'
+ // InternalBase.g:3132:11: '^'
{
match('^');
@@ -708,18 +778,18 @@ public class InternalBaseLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalBase.g:3130:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
+ // InternalBase.g:3132: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:3132:10: ( ( '0' .. '9' )+ )
- // InternalBase.g:3132:12: ( '0' .. '9' )+
+ // InternalBase.g:3134:10: ( ( '0' .. '9' )+ )
+ // InternalBase.g:3134:12: ( '0' .. '9' )+
{
- // InternalBase.g:3132:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
+ // InternalBase.g:3134: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:3132:13: '0' .. '9'
+ // InternalBase.g:3134: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:3134:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // InternalBase.g:3134:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalBase.g:3136:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // InternalBase.g:3136:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // InternalBase.g:3134:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // InternalBase.g:3136: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:3134:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalBase.g:3136:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalBase.g:3134:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop6:
+ // InternalBase.g:3136: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:3134:21: '\\\\' .
+ // InternalBase.g:3136:21: '\\\\' .
{
match('\\');
matchAny();
@@ -854,7 +924,7 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 2 :
- // InternalBase.g:3134:28: ~ ( ( '\\\\' | '\"' ) )
+ // InternalBase.g:3136: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:3134:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // InternalBase.g:3136:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // InternalBase.g:3134:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop7:
+ // InternalBase.g:3136: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:3134:54: '\\\\' .
+ // InternalBase.g:3136:54: '\\\\' .
{
match('\\');
matchAny();
@@ -906,7 +976,7 @@ public class InternalBaseLexer extends Lexer {
}
break;
case 2 :
- // InternalBase.g:3134:61: ~ ( ( '\\\\' | '\\'' ) )
+ // InternalBase.g:3136: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:3136:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalBase.g:3136:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalBase.g:3138:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalBase.g:3138:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalBase.g:3136:24: ( options {greedy=false; } : . )*
- loop9:
+ // InternalBase.g:3138: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:3136:52: .
+ // InternalBase.g:3138: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:3138:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalBase.g:3138:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalBase.g:3140:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalBase.g:3140:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalBase.g:3138:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop10:
+ // InternalBase.g:3140: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:3138:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalBase.g:3140: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:3138:40: ( ( '\\r' )? '\\n' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalBase.g:3140: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:3138:41: ( '\\r' )? '\\n'
+ // InternalBase.g:3140:41: ( '\\r' )? '\\n'
{
- // InternalBase.g:3138:41: ( '\\r' )?
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalBase.g:3140: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:3138:41: '\\r'
+ // InternalBase.g:3140: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:3140:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalBase.g:3140:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalBase.g:3142:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalBase.g:3142:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalBase.g:3140:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt13=0;
- loop13:
+ // InternalBase.g:3142: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:3142:16: ( . )
- // InternalBase.g:3142:18: .
+ // InternalBase.g:3144:16: ( . )
+ // InternalBase.g:3144: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 =
- "\1\uffff\2\40\2\uffff\1\44\1\45\1\40\5\uffff\1\40\3\uffff\1\61\2\uffff\2\40\1\67\1\36\2\uffff\3\36\2\uffff\1\40\1\uffff\1\40\4\uffff\1\40\5\uffff\1\40\7\uffff\2\40\6\uffff\21\40\1\126\1\40\1\130\6\40\1\uffff\1\40\1\uffff\2\40\1\142\6\40\1\uffff\10\40\1\161\1\162\1\163\1\164\1\40\1\166\4\uffff\1\40\1\uffff\1\170\1\uffff";
- static final String DFA14_eofS =
- "\171\uffff";
- static final String DFA14_minS =
- "\1\0\2\141\2\uffff\2\60\1\164\5\uffff\1\164\3\uffff\1\52\2\uffff\1\160\1\162\1\130\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\uffff\1\154\4\uffff\1\102\5\uffff\1\164\7\uffff\1\164\1\165\6\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1\151\1\145\1\141\1\145\1\157\1\164\2\141\1\151\1\157\1\60\1\164\1\60\1\154\1\145\1\154\1\162\1\142\1\156\1\uffff\1\157\1\uffff\1\145\1\147\1\60\1\141\1\165\1\141\1\162\1\141\1\145\1\uffff\1\143\1\164\1\154\1\171\1\156\1\162\1\164\1\145\4\60\1\145\1\60\4\uffff\1\162\1\uffff\1\60\1\uffff";
- static final String DFA14_maxS =
- "\1\uffff\2\141\2\uffff\2\172\1\164\5\uffff\1\164\3\uffff\1\52\2\uffff\1\160\1\162\1\170\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\uffff\1\154\4\uffff\1\122\5\uffff\1\164\7\uffff\1\164\1\165\6\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1\151\1\145\1\141\1\145\1\157\1\164\2\141\1\151\1\157\1\172\1\164\1\172\1\154\1\145\1\154\1\162\1\142\1\156\1\uffff\1\157\1\uffff\1\145\1\147\1\172\1\141\1\165\1\141\1\162\1\141\1\145\1\uffff\1\143\1\164\1\154\1\171\1\156\1\162\1\164\1\145\4\172\1\145\1\172\4\uffff\1\162\1\uffff\1\172\1\uffff";
- static final String DFA14_acceptS =
- "\3\uffff\1\3\1\4\3\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\uffff\1\25\1\26\4\uffff\1\33\1\34\3\uffff\1\40\1\41\1\uffff\1\33\1\uffff\1\3\1\4\1\5\1\6\1\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\24\1\27\1\25\1\26\2\uffff\1\32\1\34\1\35\1\36\1\37\1\40\32\uffff\1\31\1\uffff\1\2\11\uffff\1\11\16\uffff\1\30\1\1\1\7\1\10\1\uffff\1\20\1\uffff\1\12";
- 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\11\1\12\1\36\1\3\1\13\1\4\1\21\1\34\1\26\11\31\1\16\2\36\1\14\2\36\1\10\4\30\1\6\25\30\1\22\1\36\1\23\1\27\1\30\1\36\1\15\3\30\1\5\1\2\6\30\1\1\1\30\1\24\1\7\3\30\1\25\6\30\1\17\1\36\1\20\uff82\36",
+ protected DFA15 dfa15 = new DFA15(this);
+ static final String DFA15_eotS =
+ "\1\uffff\2\40\2\uffff\1\44\1\45\1\40\5\uffff\1\40\3\uffff\1\61\2\uffff\2\40\1\67\2\36\2\uffff\2\36\2\uffff\1\40\1\uffff\1\40\4\uffff\1\40\5\uffff\1\40\7\uffff\2\40\2\uffff\1\71\4\uffff\11\40\1\uffff\10\40\1\130\1\40\1\132\6\40\1\uffff\1\40\1\uffff\2\40\1\144\6\40\1\uffff\10\40\1\163\1\164\1\165\1\166\1\40\1\170\4\uffff\1\40\1\uffff\1\172\1\uffff";
+ static final String DFA15_eofS =
+ "\173\uffff";
+ static final String DFA15_minS =
+ "\1\0\2\141\2\uffff\2\60\1\164\5\uffff\1\164\3\uffff\1\52\2\uffff\1\160\1\162\1\130\1\0\1\101\2\uffff\1\0\1\52\2\uffff\1\156\1\uffff\1\154\4\uffff\1\102\5\uffff\1\164\7\uffff\1\164\1\165\2\uffff\1\47\4\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1\151\1\145\1\uffff\1\141\1\145\1\157\1\164\2\141\1\151\1\157\1\60\1\164\1\60\1\154\1\145\1\154\1\162\1\142\1\156\1\uffff\1\157\1\uffff\1\145\1\147\1\60\1\141\1\165\1\141\1\162\1\141\1\145\1\uffff\1\143\1\164\1\154\1\171\1\156\1\162\1\164\1\145\4\60\1\145\1\60\4\uffff\1\162\1\uffff\1\60\1\uffff";
+ static final String DFA15_maxS =
+ "\1\uffff\2\141\2\uffff\2\172\1\164\5\uffff\1\164\3\uffff\1\52\2\uffff\1\160\1\162\1\170\1\uffff\1\172\2\uffff\1\uffff\1\57\2\uffff\1\156\1\uffff\1\154\4\uffff\1\122\5\uffff\1\164\7\uffff\1\164\1\165\2\uffff\1\47\4\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1\151\1\145\1\uffff\1\141\1\145\1\157\1\164\2\141\1\151\1\157\1\172\1\164\1\172\1\154\1\145\1\154\1\162\1\142\1\156\1\uffff\1\157\1\uffff\1\145\1\147\1\172\1\141\1\165\1\141\1\162\1\141\1\145\1\uffff\1\143\1\164\1\154\1\171\1\156\1\162\1\164\1\145\4\172\1\145\1\172\4\uffff\1\162\1\uffff\1\172\1\uffff";
+ static final String DFA15_acceptS =
+ "\3\uffff\1\3\1\4\3\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\uffff\1\25\1\26\5\uffff\1\34\1\35\2\uffff\1\41\1\42\1\uffff\1\34\1\uffff\1\3\1\4\1\5\1\6\1\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\24\1\27\1\25\1\26\2\uffff\1\32\1\35\1\uffff\1\36\1\37\1\40\1\41\11\uffff\1\33\21\uffff\1\31\1\uffff\1\2\11\uffff\1\11\16\uffff\1\30\1\1\1\7\1\10\1\uffff\1\20\1\uffff\1\12";
+ static final String DFA15_specialS =
+ "\1\2\26\uffff\1\1\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\11\1\12\1\36\1\3\1\13\1\4\1\21\1\34\1\26\11\32\1\16\2\36\1\14\2\36\1\10\4\31\1\6\25\31\1\22\1\36\1\23\1\30\1\31\1\36\1\15\3\31\1\5\1\2\6\31\1\1\1\31\1\24\1\7\3\31\1\25\6\31\1\17\1\36\1\20\uff82\36",
"\1\37",
"\1\41",
"",
@@ -1450,28 +1527,28 @@ public class InternalBaseLexer extends Lexer {
"\1\64",
"\1\65",
"\1\66\37\uffff\1\66",
+ "\47\71\1\70\uffd8\71",
"\32\40\4\uffff\1\40\1\uffff\32\40",
"",
"",
- "\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\76\1\101\5\uffff\1\77\10\uffff\1\100",
+ "\1\77\1\102\5\uffff\1\100\10\uffff\1\101",
"",
"",
"",
"",
"",
- "\1\102",
+ "\1\103",
"",
"",
"",
@@ -1479,16 +1556,15 @@ public class InternalBaseLexer extends Lexer {
"",
"",
"",
- "\1\103",
"\1\104",
+ "\1\105",
"",
"",
+ "\1\106",
"",
"",
"",
"",
- "\1\105",
- "\1\106",
"\1\107",
"\1\110",
"\1\111",
@@ -1498,183 +1574,188 @@ public class InternalBaseLexer extends Lexer {
"\1\115",
"\1\116",
"\1\117",
+ "",
"\1\120",
"\1\121",
"\1\122",
"\1\123",
"\1\124",
"\1\125",
- "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
+ "\1\126",
"\1\127",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\1\131",
- "\1\132",
+ "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\1\133",
"\1\134",
"\1\135",
"\1\136",
- "",
"\1\137",
- "",
"\1\140",
+ "",
"\1\141",
- "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
+ "",
+ "\1\142",
"\1\143",
- "\1\144",
+ "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\1\145",
"\1\146",
"\1\147",
"\1\150",
- "",
"\1\151",
"\1\152",
+ "",
"\1\153",
"\1\154",
"\1\155",
"\1\156",
"\1\157",
"\1\160",
+ "\1\161",
+ "\1\162",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
- "\1\165",
+ "\1\167",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
"",
"",
"",
"",
- "\1\167",
+ "\1\171",
"",
"\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40",
""
};
- 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_23 = input.LA(1);
s = -1;
- if ( (LA14_0=='m') ) {s = 1;}
+ if ( (LA15_23=='\'') ) {s = 56;}
- else if ( (LA14_0=='f') ) {s = 2;}
+ else if ( ((LA15_23>='\u0000' && LA15_23<='&')||(LA15_23>='(' && LA15_23<='\uFFFF')) ) {s = 57;}
- else if ( (LA14_0=='+') ) {s = 3;}
+ else s = 30;
- else if ( (LA14_0=='-') ) {s = 4;}
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA15_0 = input.LA(1);
- else if ( (LA14_0=='e') ) {s = 5;}
+ s = -1;
+ if ( (LA15_0=='m') ) {s = 1;}
- else if ( (LA14_0=='E') ) {s = 6;}
+ else if ( (LA15_0=='f') ) {s = 2;}
- else if ( (LA14_0=='p') ) {s = 7;}
+ else if ( (LA15_0=='+') ) {s = 3;}
- else if ( (LA14_0=='@') ) {s = 8;}
+ else if ( (LA15_0=='-') ) {s = 4;}
- else if ( (LA14_0=='(') ) {s = 9;}
+ else if ( (LA15_0=='e') ) {s = 5;}
- else if ( (LA14_0==')') ) {s = 10;}
+ else if ( (LA15_0=='E') ) {s = 6;}
- else if ( (LA14_0==',') ) {s = 11;}
+ else if ( (LA15_0=='p') ) {s = 7;}
- else if ( (LA14_0=='=') ) {s = 12;}
+ else if ( (LA15_0=='@') ) {s = 8;}
- else if ( (LA14_0=='a') ) {s = 13;}
+ else if ( (LA15_0=='(') ) {s = 9;}
- else if ( (LA14_0==':') ) {s = 14;}
+ else if ( (LA15_0==')') ) {s = 10;}
- else if ( (LA14_0=='{') ) {s = 15;}
+ else if ( (LA15_0==',') ) {s = 11;}
- else if ( (LA14_0=='}') ) {s = 16;}
+ else if ( (LA15_0=='=') ) {s = 12;}
- else if ( (LA14_0=='.') ) {s = 17;}
+ else if ( (LA15_0=='a') ) {s = 13;}
- else if ( (LA14_0=='[') ) {s = 18;}
+ else if ( (LA15_0==':') ) {s = 14;}
- else if ( (LA14_0==']') ) {s = 19;}
+ else if ( (LA15_0=='{') ) {s = 15;}
- else if ( (LA14_0=='o') ) {s = 20;}
+ else if ( (LA15_0=='}') ) {s = 16;}
- else if ( (LA14_0=='t') ) {s = 21;}
+ else if ( (LA15_0=='.') ) {s = 17;}
- else if ( (LA14_0=='0') ) {s = 22;}
+ else if ( (LA15_0=='[') ) {s = 18;}
- else if ( (LA14_0=='^') ) {s = 23;}
+ else if ( (LA15_0==']') ) {s = 19;}
- 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=='o') ) {s = 20;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 25;}
+ else if ( (LA15_0=='t') ) {s = 21;}
- else if ( (LA14_0=='\"') ) {s = 26;}
+ else if ( (LA15_0=='0') ) {s = 22;}
- else if ( (LA14_0=='\'') ) {s = 27;}
+ else if ( (LA15_0=='\'') ) {s = 23;}
- else if ( (LA14_0=='/') ) {s = 28;}
+ else if ( (LA15_0=='^') ) {s = 24;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 29;}
+ 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>='\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>='1' && LA15_0<='9')) ) {s = 26;}
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA14_27 = input.LA(1);
+ else if ( (LA15_0=='\"') ) {s = 27;}
- s = -1;
- if ( ((LA14_27>='\u0000' && LA14_27<='\uFFFF')) ) {s = 56;}
+ else if ( (LA15_0=='/') ) {s = 28;}
- else s = 30;
+ else if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) {s = 29;}
+
+ 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;
}
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.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseParser.java b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseParser.java
index 2dfdab7b3..8cb4b1d22 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseParser.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src-gen/org/eclipse/etrice/core/common/ui/contentassist/antlr/internal/InternalBaseParser.java
@@ -22,18 +22,19 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalBaseParser extends AbstractInternalContentAssistParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'mandatory'", "'false'", "'+'", "'-'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'", "'@'", "'('", "')'", "','", "'='", "'attribute'", "':'", "'{'", "'}'", "'.*'", "'['", "']'", "'.'", "'optional'", "'true'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_STRING", "RULE_CC_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'mandatory'", "'false'", "'+'", "'-'", "'e'", "'E'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'", "'@'", "'('", "')'", "','", "'='", "'attribute'", "':'", "'{'", "'}'", "'.*'", "'['", "']'", "'.'", "'optional'", "'true'"
};
public static final int RULE_HEX=5;
public static final int RULE_STRING=7;
- 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 AbstractInternalContentAssistParser {
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;
@@ -1623,22 +1624,22 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==35) ) {
+ if ( (LA1_0==36) ) {
int LA1_1 = input.LA(2);
- if ( (LA1_1==27) ) {
+ if ( (LA1_1==28) ) {
int LA1_3 = input.LA(3);
if ( (LA1_3==RULE_ID) ) {
int LA1_4 = input.LA(4);
- if ( (LA1_4==28) ) {
+ if ( (LA1_4==29) ) {
int LA1_5 = input.LA(5);
- if ( (LA1_5==29) ) {
+ if ( (LA1_5==30) ) {
alt1=2;
}
- else if ( ((LA1_5>=18 && LA1_5<=21)) ) {
+ else if ( ((LA1_5>=19 && LA1_5<=22)) ) {
alt1=1;
}
else {
@@ -1669,22 +1670,22 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
throw nvae;
}
}
- else if ( (LA1_0==12) ) {
+ else if ( (LA1_0==13) ) {
int LA1_2 = input.LA(2);
- if ( (LA1_2==27) ) {
+ if ( (LA1_2==28) ) {
int LA1_3 = input.LA(3);
if ( (LA1_3==RULE_ID) ) {
int LA1_4 = input.LA(4);
- if ( (LA1_4==28) ) {
+ if ( (LA1_4==29) ) {
int LA1_5 = input.LA(5);
- if ( (LA1_5==29) ) {
+ if ( (LA1_5==30) ) {
alt1=2;
}
- else if ( ((LA1_5>=18 && LA1_5<=21)) ) {
+ else if ( ((LA1_5>=19 && LA1_5<=22)) ) {
alt1=1;
}
else {
@@ -1788,10 +1789,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==35) ) {
+ if ( (LA2_0==36) ) {
alt2=1;
}
- else if ( (LA2_0==12) ) {
+ else if ( (LA2_0==13) ) {
alt2=2;
}
else {
@@ -1833,7 +1834,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:670:1: 'mandatory'
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
- match(input,12,FOLLOW_2);
+ match(input,13,FOLLOW_2);
after(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
}
@@ -1869,10 +1870,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt3=2;
int LA3_0 = input.LA(1);
- if ( (LA3_0==35) ) {
+ if ( (LA3_0==36) ) {
alt3=1;
}
- else if ( (LA3_0==12) ) {
+ else if ( (LA3_0==13) ) {
alt3=2;
}
else {
@@ -1914,7 +1915,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:694:1: 'mandatory'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
- match(input,12,FOLLOW_2);
+ match(input,13,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
}
@@ -1949,16 +1950,16 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:712:1: ( ( ruleBooleanLiteral ) | ( ruleNumberLiteral ) | ( ruleStringLiteral ) )
int alt4=3;
switch ( input.LA(1) ) {
- case 13:
- case 36:
+ case 14:
+ case 37:
{
alt4=1;
}
break;
case RULE_HEX:
case RULE_INT:
- case 14:
case 15:
+ case 16:
{
alt4=2;
}
@@ -2061,10 +2062,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==13) ) {
+ if ( (LA5_0==14) ) {
alt5=1;
}
- else if ( (LA5_0==36) ) {
+ else if ( (LA5_0==37) ) {
alt5=2;
}
else {
@@ -2081,7 +2082,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:742:1: 'false'
{
before(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
- match(input,13,FOLLOW_2);
+ match(input,14,FOLLOW_2);
after(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
}
@@ -2141,17 +2142,17 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:764:1: ( ( ruleIntLiteral ) | ( ruleRealLiteral ) )
int alt6=2;
switch ( input.LA(1) ) {
- case 14:
+ case 15:
{
int LA6_1 = input.LA(2);
if ( (LA6_1==RULE_INT) ) {
int LA6_3 = input.LA(3);
- if ( (LA6_3==34) ) {
+ if ( (LA6_3==35) ) {
alt6=2;
}
- else if ( (LA6_3==EOF||(LA6_3>=24 && LA6_3<=25)) ) {
+ else if ( (LA6_3==EOF||(LA6_3>=25 && LA6_3<=26)) ) {
alt6=1;
}
else {
@@ -2169,17 +2170,17 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
}
}
break;
- case 15:
+ case 16:
{
int LA6_2 = input.LA(2);
if ( (LA6_2==RULE_INT) ) {
int LA6_3 = input.LA(3);
- if ( (LA6_3==34) ) {
+ if ( (LA6_3==35) ) {
alt6=2;
}
- else if ( (LA6_3==EOF||(LA6_3>=24 && LA6_3<=25)) ) {
+ else if ( (LA6_3==EOF||(LA6_3>=25 && LA6_3<=26)) ) {
alt6=1;
}
else {
@@ -2201,10 +2202,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
{
int LA6_3 = input.LA(2);
- if ( (LA6_3==34) ) {
+ if ( (LA6_3==35) ) {
alt6=2;
}
- else if ( (LA6_3==EOF||(LA6_3>=24 && LA6_3<=25)) ) {
+ else if ( (LA6_3==EOF||(LA6_3>=25 && LA6_3<=26)) ) {
alt6=1;
}
else {
@@ -2294,7 +2295,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt7=2;
int LA7_0 = input.LA(1);
- if ( (LA7_0==RULE_INT||(LA7_0>=14 && LA7_0<=15)) ) {
+ if ( (LA7_0==RULE_INT||(LA7_0>=15 && LA7_0<=16)) ) {
alt7=1;
}
else if ( (LA7_0==RULE_HEX) ) {
@@ -2375,10 +2376,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt8=2;
int LA8_0 = input.LA(1);
- if ( (LA8_0==14) ) {
+ if ( (LA8_0==15) ) {
alt8=1;
}
- else if ( (LA8_0==15) ) {
+ else if ( (LA8_0==16) ) {
alt8=2;
}
else {
@@ -2395,7 +2396,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:810:1: '+'
{
before(grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
}
@@ -2410,7 +2411,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:818:1: '-'
{
before(grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
}
@@ -2445,23 +2446,23 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:834:1: ( ( ruleDecimal ) | ( ruleDecimalExp ) )
int alt9=2;
switch ( input.LA(1) ) {
- case 14:
+ case 15:
{
int LA9_1 = input.LA(2);
if ( (LA9_1==RULE_INT) ) {
int LA9_3 = input.LA(3);
- if ( (LA9_3==34) ) {
+ if ( (LA9_3==35) ) {
int LA9_4 = input.LA(4);
if ( (LA9_4==RULE_INT) ) {
int LA9_5 = input.LA(5);
- if ( (LA9_5==EOF||(LA9_5>=24 && LA9_5<=25)) ) {
+ if ( (LA9_5==EOF||(LA9_5>=25 && LA9_5<=26)) ) {
alt9=1;
}
- else if ( ((LA9_5>=16 && LA9_5<=17)) ) {
+ else if ( ((LA9_5>=17 && LA9_5<=18)) ) {
alt9=2;
}
else {
@@ -2493,23 +2494,23 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
}
}
break;
- case 15:
+ case 16:
{
int LA9_2 = input.LA(2);
if ( (LA9_2==RULE_INT) ) {
int LA9_3 = input.LA(3);
- if ( (LA9_3==34) ) {
+ if ( (LA9_3==35) ) {
int LA9_4 = input.LA(4);
if ( (LA9_4==RULE_INT) ) {
int LA9_5 = input.LA(5);
- if ( (LA9_5==EOF||(LA9_5>=24 && LA9_5<=25)) ) {
+ if ( (LA9_5==EOF||(LA9_5>=25 && LA9_5<=26)) ) {
alt9=1;
}
- else if ( ((LA9_5>=16 && LA9_5<=17)) ) {
+ else if ( ((LA9_5>=17 && LA9_5<=18)) ) {
alt9=2;
}
else {
@@ -2545,16 +2546,16 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
{
int LA9_3 = input.LA(2);
- if ( (LA9_3==34) ) {
+ if ( (LA9_3==35) ) {
int LA9_4 = input.LA(3);
if ( (LA9_4==RULE_INT) ) {
int LA9_5 = input.LA(4);
- if ( (LA9_5==EOF||(LA9_5>=24 && LA9_5<=25)) ) {
+ if ( (LA9_5==EOF||(LA9_5>=25 && LA9_5<=26)) ) {
alt9=1;
}
- else if ( ((LA9_5>=16 && LA9_5<=17)) ) {
+ else if ( ((LA9_5>=17 && LA9_5<=18)) ) {
alt9=2;
}
else {
@@ -2653,10 +2654,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt10=2;
int LA10_0 = input.LA(1);
- if ( (LA10_0==14) ) {
+ if ( (LA10_0==15) ) {
alt10=1;
}
- else if ( (LA10_0==15) ) {
+ else if ( (LA10_0==16) ) {
alt10=2;
}
else {
@@ -2673,7 +2674,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:858:1: '+'
{
before(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
}
@@ -2688,7 +2689,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:866:1: '-'
{
before(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
}
@@ -2724,10 +2725,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt11=2;
int LA11_0 = input.LA(1);
- if ( (LA11_0==14) ) {
+ if ( (LA11_0==15) ) {
alt11=1;
}
- else if ( (LA11_0==15) ) {
+ else if ( (LA11_0==16) ) {
alt11=2;
}
else {
@@ -2744,7 +2745,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:884:1: '+'
{
before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
}
@@ -2759,7 +2760,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:892:1: '-'
{
before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
}
@@ -2795,10 +2796,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt12=2;
int LA12_0 = input.LA(1);
- if ( (LA12_0==16) ) {
+ if ( (LA12_0==17) ) {
alt12=1;
}
- else if ( (LA12_0==17) ) {
+ else if ( (LA12_0==18) ) {
alt12=2;
}
else {
@@ -2815,7 +2816,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:910:1: 'e'
{
before(grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
- match(input,16,FOLLOW_2);
+ match(input,17,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
}
@@ -2830,7 +2831,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:918:1: 'E'
{
before(grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
- match(input,17,FOLLOW_2);
+ match(input,18,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
}
@@ -2866,10 +2867,10 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt13=2;
int LA13_0 = input.LA(1);
- if ( (LA13_0==14) ) {
+ if ( (LA13_0==15) ) {
alt13=1;
}
- else if ( (LA13_0==15) ) {
+ else if ( (LA13_0==16) ) {
alt13=2;
}
else {
@@ -2886,7 +2887,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:936:1: '+'
{
before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
}
@@ -2901,7 +2902,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:944:1: '-'
{
before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
}
@@ -2936,22 +2937,22 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:960:1: ( ( ( 'ptBoolean' ) ) | ( ( 'ptInteger' ) ) | ( ( 'ptReal' ) ) | ( ( 'ptCharacter' ) ) )
int alt14=4;
switch ( input.LA(1) ) {
- case 18:
+ case 19:
{
alt14=1;
}
break;
- case 19:
+ case 20:
{
alt14=2;
}
break;
- case 20:
+ case 21:
{
alt14=3;
}
break;
- case 21:
+ case 22:
{
alt14=4;
}
@@ -2974,7 +2975,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:963:1: ( 'ptBoolean' )
// InternalBase.g:963:3: 'ptBoolean'
{
- match(input,18,FOLLOW_2);
+ match(input,19,FOLLOW_2);
}
@@ -2995,7 +2996,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:970:1: ( 'ptInteger' )
// InternalBase.g:970:3: 'ptInteger'
{
- match(input,19,FOLLOW_2);
+ match(input,20,FOLLOW_2);
}
@@ -3016,7 +3017,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:977:1: ( 'ptReal' )
// InternalBase.g:977:3: 'ptReal'
{
- match(input,20,FOLLOW_2);
+ match(input,21,FOLLOW_2);
}
@@ -3037,7 +3038,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:984:1: ( 'ptCharacter' )
// InternalBase.g:984:3: 'ptCharacter'
{
- match(input,21,FOLLOW_2);
+ match(input,22,FOLLOW_2);
}
@@ -3117,7 +3118,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1014:1: '@'
{
before(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0());
- match(input,22,FOLLOW_2);
+ match(input,23,FOLLOW_2);
after(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0());
}
@@ -3276,7 +3277,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt15=2;
int LA15_0 = input.LA(1);
- if ( (LA15_0==23) ) {
+ if ( (LA15_0==24) ) {
alt15=1;
}
switch (alt15) {
@@ -3368,7 +3369,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1108:1: '('
{
before(grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_2_0());
- match(input,23,FOLLOW_2);
+ match(input,24,FOLLOW_2);
after(grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_2_0());
}
@@ -3534,7 +3535,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt16=2;
int LA16_0 = input.LA(1);
- if ( (LA16_0==25) ) {
+ if ( (LA16_0==26) ) {
alt16=1;
}
@@ -3626,7 +3627,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1196:1: ')'
{
before(grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_2_3());
- match(input,24,FOLLOW_2);
+ match(input,25,FOLLOW_2);
after(grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_2_3());
}
@@ -3701,7 +3702,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1235:1: ','
{
before(grammarAccess.getAnnotationAccess().getCommaKeyword_2_2_0());
- match(input,25,FOLLOW_2);
+ match(input,26,FOLLOW_2);
after(grammarAccess.getAnnotationAccess().getCommaKeyword_2_2_0());
}
@@ -3941,7 +3942,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1327:1: '='
{
before(grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
- match(input,26,FOLLOW_2);
+ match(input,27,FOLLOW_2);
after(grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
}
@@ -4181,7 +4182,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1424:1: 'attribute'
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
- match(input,27,FOLLOW_2);
+ match(input,28,FOLLOW_2);
after(grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
}
@@ -4341,7 +4342,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1484:1: ':'
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
- match(input,28,FOLLOW_2);
+ match(input,29,FOLLOW_2);
after(grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
}
@@ -4581,7 +4582,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1582:1: 'attribute'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
- match(input,27,FOLLOW_2);
+ match(input,28,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
}
@@ -4741,7 +4742,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1642:1: ':'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
- match(input,28,FOLLOW_2);
+ match(input,29,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
}
@@ -4816,7 +4817,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1673:1: '{'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
- match(input,29,FOLLOW_2);
+ match(input,30,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
}
@@ -4982,7 +4983,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt17=2;
int LA17_0 = input.LA(1);
- if ( (LA17_0==25) ) {
+ if ( (LA17_0==26) ) {
alt17=1;
}
@@ -5074,7 +5075,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1761:1: '}'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
- match(input,30,FOLLOW_2);
+ match(input,31,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
}
@@ -5149,7 +5150,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1808:1: ','
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
- match(input,25,FOLLOW_2);
+ match(input,26,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
}
@@ -5382,14 +5383,14 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt18=2;
int LA18_0 = input.LA(1);
- if ( (LA18_0==31) ) {
+ if ( (LA18_0==32) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// InternalBase.g:1903:2: '.*'
{
- match(input,31,FOLLOW_2);
+ match(input,32,FOLLOW_2);
}
break;
@@ -5545,7 +5546,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:1967:1: '['
{
before(grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
- match(input,32,FOLLOW_2);
+ match(input,33,FOLLOW_2);
after(grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
}
@@ -5718,7 +5719,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2026:1: ']'
{
before(grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
- match(input,33,FOLLOW_2);
+ match(input,34,FOLLOW_2);
after(grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
}
@@ -6417,7 +6418,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt20=2;
int LA20_0 = input.LA(1);
- if ( ((LA20_0>=14 && LA20_0<=15)) ) {
+ if ( ((LA20_0>=15 && LA20_0<=16)) ) {
alt20=1;
}
switch (alt20) {
@@ -6583,7 +6584,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt21=2;
int LA21_0 = input.LA(1);
- if ( ((LA21_0>=14 && LA21_0<=15)) ) {
+ if ( ((LA21_0>=15 && LA21_0<=16)) ) {
alt21=1;
}
switch (alt21) {
@@ -6750,7 +6751,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2442:1: '.'
{
before(grammarAccess.getDecimalAccess().getFullStopKeyword_2());
- match(input,34,FOLLOW_2);
+ match(input,35,FOLLOW_2);
after(grammarAccess.getDecimalAccess().getFullStopKeyword_2());
}
@@ -6899,7 +6900,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt22=2;
int LA22_0 = input.LA(1);
- if ( ((LA22_0>=14 && LA22_0<=15)) ) {
+ if ( ((LA22_0>=15 && LA22_0<=16)) ) {
alt22=1;
}
switch (alt22) {
@@ -7066,7 +7067,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2567:1: '.'
{
before(grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
- match(input,34,FOLLOW_2);
+ match(input,35,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
}
@@ -7305,7 +7306,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt23=2;
int LA23_0 = input.LA(1);
- if ( ((LA23_0>=14 && LA23_0<=15)) ) {
+ if ( ((LA23_0>=15 && LA23_0<=16)) ) {
alt23=1;
}
switch (alt23) {
@@ -7543,7 +7544,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
int alt24=2;
int LA24_0 = input.LA(1);
- if ( (LA24_0==34) ) {
+ if ( (LA24_0==35) ) {
alt24=1;
}
@@ -7640,7 +7641,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2788:1: '.'
{
before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
- match(input,34,FOLLOW_2);
+ match(input,35,FOLLOW_2);
after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
}
@@ -7960,7 +7961,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2927:1: 'optional'
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
- match(input,35,FOLLOW_2);
+ match(input,36,FOLLOW_2);
after(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
}
@@ -8083,7 +8084,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:2980:1: 'optional'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
- match(input,35,FOLLOW_2);
+ match(input,36,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
}
@@ -8276,7 +8277,7 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
// InternalBase.g:3067:1: 'true'
{
before(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
- match(input,36,FOLLOW_2);
+ match(input,37,FOLLOW_2);
after(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
}
@@ -8429,27 +8430,27 @@ public class InternalBaseParser extends AbstractInternalContentAssistParser {
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[]{0x0000000000800000L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x000000100000E0E0L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000008000000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000000003C0000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000006000000L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000004000002L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x000000200001C0E0L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000780000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000080L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000042000000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000200000080L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000084000000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000400000080L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000082L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000001000002000L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x000000000000C060L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x000000000000C040L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000002000004000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000018060L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000018040L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000060000L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000800000002L});
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/BaseUiModule.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/BaseUiModule.java
index bcea56377..978c62e75 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/BaseUiModule.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/BaseUiModule.java
@@ -17,7 +17,9 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
* Use this class to register components to be used within the IDE.
*/
public class BaseUiModule extends org.eclipse.etrice.core.common.ui.AbstractBaseUiModule {
+
public BaseUiModule(AbstractUIPlugin plugin) {
super(plugin);
}
+
}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java
new file mode 100644
index 000000000..917d40296
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java
@@ -0,0 +1,13 @@
+package org.eclipse.etrice.core.common.ui.autoedit;
+
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider;
+
+public class BaseAutoEditStrategyProvider extends DefaultAutoEditStrategyProvider {
+
+ @Override
+ protected void configureStringLiteral(IEditStrategyAcceptor acceptor) {
+ acceptor.accept(partitionInsert.newInstance("'''", "'''"), IDocument.DEFAULT_CONTENT_TYPE);
+ super.configureStringLiteral(acceptor);
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/contentassist/BaseProposalProvider.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/contentassist/BaseProposalProvider.java
index 723614a9b..8ba366a33 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/contentassist/BaseProposalProvider.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/contentassist/BaseProposalProvider.java
@@ -47,4 +47,5 @@ public class BaseProposalProvider extends org.eclipse.etrice.core.common.ui.cont
}
super.complete_TIME(model, ruleCall, context, acceptor);
}
+
}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseHighlightingConfig.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseHighlightingConfig.java
new file mode 100644
index 000000000..1b217b56d
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseHighlightingConfig.java
@@ -0,0 +1,24 @@
+package org.eclipse.etrice.core.common.ui.highlight;
+
+import org.eclipse.swt.graphics.RGB;
+import org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration;
+import org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor;
+import org.eclipse.xtext.ui.editor.utils.TextStyle;
+
+public class BaseHighlightingConfig extends DefaultHighlightingConfiguration {
+
+ public static final String HL_CCSTRING = "ccstring";
+
+ @Override
+ public void configure(IHighlightingConfigurationAcceptor acceptor) {
+ super.configure(acceptor);
+
+ acceptor.acceptDefaultHighlighting(HL_CCSTRING, "CCString", detailCodeStringStyle());
+ }
+
+ public TextStyle detailCodeStringStyle() {
+ TextStyle textStyle = stringTextStyle().copy();
+ textStyle.setBackgroundColor(new RGB(220, 220, 220));
+ return textStyle;
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseSemanticHighlighter.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseSemanticHighlighter.java
new file mode 100644
index 000000000..7a918b1d8
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/highlight/BaseSemanticHighlighter.java
@@ -0,0 +1,53 @@
+package org.eclipse.etrice.core.common.ui.highlight;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.etrice.core.common.converter.CC_StringConveter;
+import org.eclipse.etrice.core.common.util.CCStringIndentation;
+import org.eclipse.xtext.RuleCall;
+import org.eclipse.xtext.nodemodel.INode;
+import org.eclipse.xtext.resource.XtextResource;
+import org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration;
+import org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor;
+import org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator;
+
+public class BaseSemanticHighlighter implements ISemanticHighlightingCalculator {
+
+ @Override
+ public void provideHighlightingFor(XtextResource resource,
+ IHighlightedPositionAcceptor acceptor) {
+ if (resource == null || resource.getParseResult() == null)
+ return;
+
+ INode root = resource.getParseResult().getRootNode();
+ for (INode node : root.getAsTreeIterable()) {
+
+ EObject obj = node.getGrammarElement();
+ if (obj instanceof RuleCall) {
+ RuleCall ruleCall = (RuleCall) obj;
+ String name = ruleCall.getRule().getName();
+ if(name.equals("CC_STRING"))
+ detailCodeStringHighlight(node, acceptor, CC_StringConveter.DELIM);
+ }
+ }
+ }
+
+ protected void detailCodeStringHighlight(INode node, IHighlightedPositionAcceptor acceptor, String delim) {
+ if (node.getText() == null || node.getText().length() < delim.length() * 2)
+ return;
+
+ acceptor.addPosition(node.getTotalOffset(), delim.length(), DefaultHighlightingConfiguration.STRING_ID);
+ acceptor.addPosition(node.getTotalEndOffset() - delim.length(), delim.length(), DefaultHighlightingConfiguration.STRING_ID);
+
+ String detailCodeString = node.getText().substring(delim.length(), node.getText().length() - delim.length());
+ CCStringIndentation ccStringIndent = new CCStringIndentation(detailCodeString);
+ List<int[]> lineStartLength = ccStringIndent.highlight();
+
+ int offest = node.getOffset() + delim.length();
+ for (int[] startLength : lineStartLength) {
+ acceptor.addPosition(offest + startLength[0], startLength[1], BaseHighlightingConfig.HL_CCSTRING);
+ }
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.common/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.core.common/META-INF/MANIFEST.MF
index 17f6c1649..efe3daad6 100644
--- a/plugins/org.eclipse.etrice.core.common/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.core.common/META-INF/MANIFEST.MF
@@ -40,5 +40,6 @@ Export-Package: org.eclipse.etrice.core.common,
org.eclipse.etrice.core.common.scoping,
org.eclipse.etrice.core.common.serializer,
org.eclipse.etrice.core.common.services,
+ org.eclipse.etrice.core.common.util,
org.eclipse.etrice.core.common.validation
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() {
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/Base.xtext b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/Base.xtext
index 1805bcb9c..e3551ba19 100644
--- a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/Base.xtext
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/Base.xtext
@@ -149,3 +149,6 @@ FQN:
terminal HEX:
('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F')+;
+
+terminal CC_STRING:
+ "'''" -> "'''";
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/BaseConverterService.java b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/BaseConverterService.java
index 7694cc7fe..84d44fe57 100644
--- a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/BaseConverterService.java
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/BaseConverterService.java
@@ -47,4 +47,9 @@ public class BaseConverterService extends DefaultTerminalConverters {
public IValueConverter<String> FQN() {
return fqnConverter;
}
+
+ @ValueConverter(rule = "CC_STRING")
+ public IValueConverter<String> getCC_StringConverter() {
+ return new CC_StringConveter();
+ }
}
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/CC_StringConveter.java b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/CC_StringConveter.java
new file mode 100644
index 000000000..b1c3a14ee
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/converter/CC_StringConveter.java
@@ -0,0 +1,29 @@
+package org.eclipse.etrice.core.common.converter;
+
+
+import org.eclipse.etrice.core.common.util.CCStringIndentation;
+import org.eclipse.xtext.conversion.ValueConverterException;
+import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter;
+import org.eclipse.xtext.nodemodel.INode;
+import org.eclipse.xtext.util.Strings;
+
+public class CC_StringConveter extends AbstractLexerBasedConverter<String> {
+
+ public final static String DELIM = "'''";
+ public final static String NEW_LINE = Strings.newLine();
+
+ @Override
+ protected String toEscapedString(String value) {
+ return DELIM + NEW_LINE + value + NEW_LINE + DELIM;
+ }
+
+ public String toValue(String string, INode node) {
+ if (string == null)
+ return null;
+ try {
+ return new CCStringIndentation(string.substring(DELIM.length(), string.length() - DELIM.length())).removeIndentation();
+ } catch (IllegalArgumentException e) {
+ throw new ValueConverterException(e.getMessage(), node, e);
+ }
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/util/CCStringIndentation.java b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/util/CCStringIndentation.java
new file mode 100644
index 000000000..1c86eea98
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/util/CCStringIndentation.java
@@ -0,0 +1,152 @@
+package org.eclipse.etrice.core.common.util;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.etrice.core.common.converter.CC_StringConveter;
+import org.eclipse.xtext.util.Strings;
+
+public class CCStringIndentation {
+
+ protected final static String NEW_LINE = CC_StringConveter.NEW_LINE;
+
+ private String ccString;
+ private List<String> splittedLines;
+ private boolean ignoreFirst;
+ private boolean ignoreLast;
+
+ public CCStringIndentation(String ccString){
+ this.ccString = ccString;
+ this.splittedLines = Strings.split(ccString, NEW_LINE);
+ this.ignoreFirst = splittedLines.size() > 1 && splittedLines.get(0).isEmpty();
+ this.ignoreLast = splittedLines.size() > 1 && splittedLines.get(splittedLines.size() - 1).trim().isEmpty();
+ }
+
+ /**
+ * Remove editor's indentation from DetailCodeString
+ *
+ * @see #highlight()
+ */
+ public String removeIndentation() {
+ List<int[]> offsetLengthList = highlight();
+
+ StringBuffer buffer = new StringBuffer(ccString.length());
+ for (int[] offsetLength : offsetLengthList)
+ buffer.append(ccString.substring(offsetLength[0], offsetLength[0] + offsetLength[1]));
+
+ return buffer.toString();
+ }
+
+ /**
+ * Returns highlighted positions without editor's indentation
+ *
+ * @see #removeIndentation()
+ */
+ public List<int[]> highlight() {
+ List<int[]> offsetLengthLines = new ArrayList<int[]>();
+ if (ccString == null || ccString.isEmpty())
+ return offsetLengthLines;
+
+ String minIndent = calcMinIndent(false);
+
+ int offset = 0;
+ int skip = minIndent.length();
+ List<String> lines = splittedLines;
+ for (int i = 0; i < lines.size(); i++) {
+ String line = lines.get(i);
+
+ if (i == 0 && ignoreFirst) {
+ offset += line.length() + NEW_LINE.length();
+ continue;
+ }
+
+ if (i == lines.size() - 1 && ignoreLast)
+ continue;
+
+ int[] pos;
+ if (line.startsWith(minIndent))
+ pos = new int[] { offset + skip, line.length() - skip };
+ else
+ pos = new int[] { offset, line.length() };
+ if (i < lines.size() - 1)
+ pos[1] += NEW_LINE.length();
+
+ offset += line.length() + NEW_LINE.length();
+ offsetLengthLines.add(pos);
+ }
+
+ return offsetLengthLines;
+ }
+
+ /**
+ * Check consistent indentation
+ */
+ public boolean validateIndentation() {
+
+ return calcMinIndent(true) != null;
+ }
+
+ /**
+ * TODO
+ */
+ public String fixInconsistentIndentation() {
+ //use jface TabsToSpacesConverter
+ return null;
+ }
+
+
+
+ /**
+ * Returns the least indentation, or maybe null if consistent is set
+ */
+ private String calcMinIndent(boolean consistent) {
+ if(splittedLines.size() <= 1)
+ return "";
+ List<String> lines = splittedLines.subList(((ignoreFirst) ? 1 : 0), splittedLines.size() - ((ignoreLast) ? 1 : 0));
+ if (lines.isEmpty())
+ return "";
+
+ ArrayList<String> wsLines = new ArrayList<String>(lines.size());
+ for (String line : lines)
+ wsLines.add(Strings.getLeadingWhiteSpace(line));
+
+ String minIndent = wsLines.get(0);
+ for (int i = 0; i < lines.size(); i++) {
+ if (!lines.get(i).isEmpty() && wsLines.get(i).length() < minIndent.length())
+ minIndent = wsLines.get(i);
+ }
+
+ String commonIndent = minIndent;
+ for(String wsLine : wsLines){
+ if(!wsLine.isEmpty())
+ commonIndent = com.google.common.base.Strings.commonPrefix(commonIndent, wsLine);
+ }
+
+ if (!consistent)
+ return commonIndent;
+
+ int afterMinIndentIndex = minIndent.length();
+
+ // 1. check if every line contains the minIndent
+ if(!minIndent.equals(commonIndent))
+ return null;
+
+ // 2. check if there is still space between minIndent and first terminal
+ boolean containsTerminal = false;
+ for (int i = 0; i < lines.size(); i++)
+ containsTerminal |= lines.get(i).length() > wsLines.get(i).length();
+
+ if (containsTerminal) {
+ boolean terminalAfterMinIndent = false;
+ for (String line : lines)
+ if (line.length() > afterMinIndentIndex)
+ terminalAfterMinIndent |= !Character.isWhitespace(line.charAt(afterMinIndentIndex));
+
+ if (!terminalAfterMinIndent)
+ return null;
+ }
+
+ return minIndent;
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.fsm.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.core.fsm.ui/META-INF/MANIFEST.MF
index e1bed5d5c..a4cd839d5 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/META-INF/MANIFEST.MF
@@ -24,8 +24,8 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.etrice.core.fsm.ui,
org.eclipse.etrice.core.fsm.ui.contentassist,
org.eclipse.etrice.core.fsm.ui.contentassist.antlr,
+ org.eclipse.etrice.core.fsm.ui.contentassist.antlr.internal,
org.eclipse.etrice.core.fsm.ui.internal,
org.eclipse.etrice.core.fsm.ui.labeling,
- org.eclipse.etrice.core.fsm.ui.quickfix,
- org.eclipse.etrice.core.fsm.ui.contentassist.antlr.internal
+ org.eclipse.etrice.core.fsm.ui.quickfix
Bundle-Activator: org.eclipse.etrice.core.fsm.ui.internal.FSMActivator
diff --git a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/FSMParser.java b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/FSMParser.java
index e018236ba..8569a535e 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/FSMParser.java
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/FSMParser.java
@@ -42,6 +42,7 @@ public class FSMParser extends AbstractContentAssistParser {
put(grammarAccess.getStateGraphAccess().getAlternatives_2(), "rule__StateGraph__Alternatives_2");
put(grammarAccess.getStateMachineAccess().getAlternatives_3(), "rule__StateMachine__Alternatives_3");
put(grammarAccess.getStateAccess().getAlternatives(), "rule__State__Alternatives");
+ put(grammarAccess.getDetailCodeAccess().getAlternatives(), "rule__DetailCode__Alternatives");
put(grammarAccess.getTrPointAccess().getAlternatives(), "rule__TrPoint__Alternatives");
put(grammarAccess.getTransitionBaseAccess().getAlternatives(), "rule__TransitionBase__Alternatives");
put(grammarAccess.getTransitionAccess().getAlternatives(), "rule__Transition__Alternatives");
@@ -84,7 +85,8 @@ public class FSMParser extends AbstractContentAssistParser {
put(grammarAccess.getRefinedStateAccess().getGroup_5(), "rule__RefinedState__Group_5__0");
put(grammarAccess.getRefinedStateAccess().getGroup_6(), "rule__RefinedState__Group_6__0");
put(grammarAccess.getRefinedStateAccess().getGroup_7(), "rule__RefinedState__Group_7__0");
- put(grammarAccess.getDetailCodeAccess().getGroup(), "rule__DetailCode__Group__0");
+ put(grammarAccess.getDetailCodeAccess().getGroup_0(), "rule__DetailCode__Group_0__0");
+ put(grammarAccess.getDetailCodeAccess().getGroup_0_1(), "rule__DetailCode__Group_0_1__0");
put(grammarAccess.getTransitionPointAccess().getGroup(), "rule__TransitionPoint__Group__0");
put(grammarAccess.getEntryPointAccess().getGroup(), "rule__EntryPoint__Group__0");
put(grammarAccess.getExitPointAccess().getGroup(), "rule__ExitPoint__Group__0");
@@ -176,8 +178,9 @@ public class FSMParser extends AbstractContentAssistParser {
put(grammarAccess.getRefinedStateAccess().getExitCodeAssignment_5_1(), "rule__RefinedState__ExitCodeAssignment_5_1");
put(grammarAccess.getRefinedStateAccess().getDoCodeAssignment_6_1(), "rule__RefinedState__DoCodeAssignment_6_1");
put(grammarAccess.getRefinedStateAccess().getSubgraphAssignment_7_1(), "rule__RefinedState__SubgraphAssignment_7_1");
- put(grammarAccess.getDetailCodeAccess().getUsedAssignment_1(), "rule__DetailCode__UsedAssignment_1");
- put(grammarAccess.getDetailCodeAccess().getLinesAssignment_2(), "rule__DetailCode__LinesAssignment_2");
+ put(grammarAccess.getDetailCodeAccess().getUsedAssignment_0_1_0(), "rule__DetailCode__UsedAssignment_0_1_0");
+ put(grammarAccess.getDetailCodeAccess().getLinesAssignment_0_1_1(), "rule__DetailCode__LinesAssignment_0_1_1");
+ put(grammarAccess.getDetailCodeAccess().getLinesAssignment_1(), "rule__DetailCode__LinesAssignment_1");
put(grammarAccess.getTransitionPointAccess().getHandlerAssignment_0(), "rule__TransitionPoint__HandlerAssignment_0");
put(grammarAccess.getTransitionPointAccess().getNameAssignment_2(), "rule__TransitionPoint__NameAssignment_2");
put(grammarAccess.getEntryPointAccess().getNameAssignment_1(), "rule__EntryPoint__NameAssignment_1");
diff --git a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.g b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.g
index a6784637d..2e8d4c30f 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.g
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.g
@@ -298,9 +298,9 @@ ruleDetailCode
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getGroup()); }
-(rule__DetailCode__Group__0)
-{ after(grammarAccess.getDetailCodeAccess().getGroup()); }
+{ before(grammarAccess.getDetailCodeAccess().getAlternatives()); }
+(rule__DetailCode__Alternatives)
+{ after(grammarAccess.getDetailCodeAccess().getAlternatives()); }
)
;
@@ -1716,6 +1716,28 @@ finally {
restoreStackSize(stackSize);
}
+rule__DetailCode__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDetailCodeAccess().getGroup_0()); }
+(rule__DetailCode__Group_0__0)
+{ after(grammarAccess.getDetailCodeAccess().getGroup_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDetailCodeAccess().getLinesAssignment_1()); }
+(rule__DetailCode__LinesAssignment_1)?
+{ after(grammarAccess.getDetailCodeAccess().getLinesAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
rule__TrPoint__Alternatives
@init {
int stackSize = keepStackSize();
@@ -3928,29 +3950,29 @@ finally {
-rule__DetailCode__Group__0
+rule__DetailCode__Group_0__0
@init {
int stackSize = keepStackSize();
}
:
- rule__DetailCode__Group__0__Impl
- rule__DetailCode__Group__1
+ rule__DetailCode__Group_0__0__Impl
+ rule__DetailCode__Group_0__1
;
finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__Group__0__Impl
+rule__DetailCode__Group_0__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getDetailCodeAction_0()); }
+{ before(grammarAccess.getDetailCodeAccess().getDetailCodeAction_0_0()); }
(
)
-{ after(grammarAccess.getDetailCodeAccess().getDetailCodeAction_0()); }
+{ after(grammarAccess.getDetailCodeAccess().getDetailCodeAction_0_0()); }
)
;
@@ -3959,27 +3981,26 @@ finally {
}
-rule__DetailCode__Group__1
+rule__DetailCode__Group_0__1
@init {
int stackSize = keepStackSize();
}
:
- rule__DetailCode__Group__1__Impl
- rule__DetailCode__Group__2
+ rule__DetailCode__Group_0__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__Group__1__Impl
+rule__DetailCode__Group_0__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getUsedAssignment_1()); }
-(rule__DetailCode__UsedAssignment_1)
-{ after(grammarAccess.getDetailCodeAccess().getUsedAssignment_1()); }
+{ before(grammarAccess.getDetailCodeAccess().getGroup_0_1()); }
+(rule__DetailCode__Group_0_1__0)
+{ after(grammarAccess.getDetailCodeAccess().getGroup_0_1()); }
)
;
@@ -3988,27 +4009,31 @@ finally {
}
-rule__DetailCode__Group__2
+
+
+
+
+rule__DetailCode__Group_0_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__DetailCode__Group__2__Impl
- rule__DetailCode__Group__3
+ rule__DetailCode__Group_0_1__0__Impl
+ rule__DetailCode__Group_0_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__Group__2__Impl
+rule__DetailCode__Group_0_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getLinesAssignment_2()); }
-(rule__DetailCode__LinesAssignment_2)*
-{ after(grammarAccess.getDetailCodeAccess().getLinesAssignment_2()); }
+{ before(grammarAccess.getDetailCodeAccess().getUsedAssignment_0_1_0()); }
+(rule__DetailCode__UsedAssignment_0_1_0)
+{ after(grammarAccess.getDetailCodeAccess().getUsedAssignment_0_1_0()); }
)
;
@@ -4017,36 +4042,63 @@ finally {
}
-rule__DetailCode__Group__3
+rule__DetailCode__Group_0_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__DetailCode__Group__3__Impl
+ rule__DetailCode__Group_0_1__1__Impl
+ rule__DetailCode__Group_0_1__2
;
finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__Group__3__Impl
+rule__DetailCode__Group_0_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_3()); }
+{ before(grammarAccess.getDetailCodeAccess().getLinesAssignment_0_1_1()); }
+(rule__DetailCode__LinesAssignment_0_1_1)*
+{ after(grammarAccess.getDetailCodeAccess().getLinesAssignment_0_1_1()); }
+)
- '}'
+;
+finally {
+ restoreStackSize(stackSize);
+}
-{ after(grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_3()); }
-)
+rule__DetailCode__Group_0_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DetailCode__Group_0_1__2__Impl
;
finally {
restoreStackSize(stackSize);
}
+rule__DetailCode__Group_0_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_0_1_2()); }
+
+ '}'
+
+{ after(grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_0_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
@@ -10379,22 +10431,37 @@ finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__UsedAssignment_1
+rule__DetailCode__UsedAssignment_0_1_0
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); }
+{ before(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_0_1_0_0()); }
(
-{ before(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); }
+{ before(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_0_1_0_0()); }
'{'
-{ after(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); }
+{ after(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_0_1_0_0()); }
+)
+
+{ after(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_0_1_0_0()); }
)
-{ after(grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); }
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DetailCode__LinesAssignment_0_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_0_1_1_0()); }
+ RULE_STRING{ after(grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_0_1_1_0()); }
)
;
@@ -10402,14 +10469,14 @@ finally {
restoreStackSize(stackSize);
}
-rule__DetailCode__LinesAssignment_2
+rule__DetailCode__LinesAssignment_1
@init {
int stackSize = keepStackSize();
}
:
(
-{ before(grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_2_0()); }
- RULE_STRING{ after(grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_2_0()); }
+{ before(grammarAccess.getDetailCodeAccess().getLinesCC_STRINGTerminalRuleCall_1_0()); }
+ RULE_CC_STRING{ after(grammarAccess.getDetailCodeAccess().getLinesCC_STRINGTerminalRuleCall_1_0()); }
)
;
@@ -11557,6 +11624,8 @@ finally {
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.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.tokens b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.tokens
index 31492e504..e3ebbfc9e 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.tokens
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSM.tokens
@@ -1,72 +1,72 @@
-'('=58
-')'=59
-'+'=14
-','=60
-'-'=15
-'->'=44
-'.'=67
-'.*'=64
-':'=42
-'<'=54
-'='=62
-'>'=55
-'ChoicePoint'=40
-'E'=17
-'EntryPoint'=38
-'ExitPoint'=39
-'ModelComponent'=26
-'RefinedState'=36
-'RefinedTransition'=50
-'State'=31
-'StateMachine'=30
-'Transition'=41
-'TransitionPoint'=37
-'['=65
-']'=66
-'abstract'=68
-'action'=45
-'async'=20
-'attribute'=63
-'cond'=49
-'cp'=53
-'datadriven'=19
-'do'=34
-'e'=16
-'entry'=32
-'eventdriven'=18
-'exit'=33
-'extends'=27
-'false'=13
-'guard'=48
-'handler'=69
-'in'=57
-'initial'=43
-'mandatory'=12
-'my'=51
-'of'=52
-'optional'=70
-'or'=47
-'out'=61
-'ptBoolean'=22
-'ptCharacter'=25
-'ptInteger'=23
-'ptReal'=24
-'subgraph'=35
-'sync'=21
-'triggers'=46
-'true'=71
-'{'=28
-'|'=56
-'}'=29
-RULE_ANY_OTHER=11
+'('=59
+')'=60
+'+'=15
+','=61
+'-'=16
+'->'=45
+'.'=68
+'.*'=65
+':'=43
+'<'=55
+'='=63
+'>'=56
+'ChoicePoint'=41
+'E'=18
+'EntryPoint'=39
+'ExitPoint'=40
+'ModelComponent'=27
+'RefinedState'=37
+'RefinedTransition'=51
+'State'=32
+'StateMachine'=31
+'Transition'=42
+'TransitionPoint'=38
+'['=66
+']'=67
+'abstract'=69
+'action'=46
+'async'=21
+'attribute'=64
+'cond'=50
+'cp'=54
+'datadriven'=20
+'do'=35
+'e'=17
+'entry'=33
+'eventdriven'=19
+'exit'=34
+'extends'=28
+'false'=14
+'guard'=49
+'handler'=70
+'in'=58
+'initial'=44
+'mandatory'=13
+'my'=52
+'of'=53
+'optional'=71
+'or'=48
+'out'=62
+'ptBoolean'=23
+'ptCharacter'=26
+'ptInteger'=24
+'ptReal'=25
+'subgraph'=36
+'sync'=22
+'triggers'=47
+'true'=72
+'{'=29
+'|'=57
+'}'=30
+RULE_ANY_OTHER=12
+RULE_CC_STRING=8
RULE_HEX=5
RULE_ID=4
RULE_INT=6
-RULE_ML_COMMENT=8
-RULE_SL_COMMENT=9
+RULE_ML_COMMENT=9
+RULE_SL_COMMENT=10
RULE_STRING=7
-RULE_WS=10
-T__12=12
+RULE_WS=11
T__13=13
T__14=14
T__15=15
@@ -126,3 +126,4 @@ T__68=68
T__69=69
T__70=70
T__71=71
+T__72=72
diff --git a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMLexer.java b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMLexer.java
index d72cf9b35..841484a7b 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMLexer.java
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMLexer.java
@@ -15,13 +15,13 @@ public class InternalFSMLexer extends Lexer {
public static final int RULE_HEX=5;
public static final int T__50=50;
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__59=59;
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__55=55;
- public static final int T__12=12;
public static final int T__56=56;
public static final int T__13=13;
public static final int T__57=57;
@@ -41,7 +41,7 @@ public class InternalFSMLexer extends Lexer {
public static final int T__29=29;
public static final int T__22=22;
public static final int T__66=66;
- 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__67=67;
public static final int T__24=24;
@@ -56,8 +56,9 @@ public class InternalFSMLexer extends Lexer {
public static final int T__65=65;
public static final int T__70=70;
public static final int T__71=71;
+ public static final int T__72=72;
public static final int RULE_STRING=7;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
@@ -69,8 +70,8 @@ public class InternalFSMLexer extends Lexer {
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
- 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__48=48;
public static final int T__49=49;
public static final int T__44=44;
@@ -95,36 +96,15 @@ public class InternalFSMLexer extends Lexer {
}
public String getGrammarFileName() { return "InternalFSM.g"; }
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11:7: ( 'mandatory' )
- // InternalFSM.g:11:9: 'mandatory'
- {
- match("mandatory");
-
-
- }
-
- 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;
- // InternalFSM.g:12:7: ( 'false' )
- // InternalFSM.g:12:9: 'false'
+ // InternalFSM.g:11:7: ( 'mandatory' )
+ // InternalFSM.g:11:9: 'mandatory'
{
- match("false");
+ match("mandatory");
}
@@ -142,10 +122,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:13:7: ( '+' )
- // InternalFSM.g:13:9: '+'
+ // InternalFSM.g:12:7: ( 'false' )
+ // InternalFSM.g:12:9: 'false'
{
- match('+');
+ match("false");
+
}
@@ -162,10 +143,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:14:7: ( '-' )
- // InternalFSM.g:14:9: '-'
+ // InternalFSM.g:13:7: ( '+' )
+ // InternalFSM.g:13:9: '+'
{
- match('-');
+ match('+');
}
@@ -182,10 +163,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:15:7: ( 'e' )
- // InternalFSM.g:15:9: 'e'
+ // InternalFSM.g:14:7: ( '-' )
+ // InternalFSM.g:14:9: '-'
{
- match('e');
+ match('-');
}
@@ -202,10 +183,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:16:7: ( 'E' )
- // InternalFSM.g:16:9: 'E'
+ // InternalFSM.g:15:7: ( 'e' )
+ // InternalFSM.g:15:9: 'e'
{
- match('E');
+ match('e');
}
@@ -222,11 +203,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:17:7: ( 'eventdriven' )
- // InternalFSM.g:17:9: 'eventdriven'
+ // InternalFSM.g:16:7: ( 'E' )
+ // InternalFSM.g:16:9: 'E'
{
- match("eventdriven");
-
+ match('E');
}
@@ -243,10 +223,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:18:7: ( 'datadriven' )
- // InternalFSM.g:18:9: 'datadriven'
+ // InternalFSM.g:17:7: ( 'eventdriven' )
+ // InternalFSM.g:17:9: 'eventdriven'
{
- match("datadriven");
+ match("eventdriven");
}
@@ -264,10 +244,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:19:7: ( 'async' )
- // InternalFSM.g:19:9: 'async'
+ // InternalFSM.g:18:7: ( 'datadriven' )
+ // InternalFSM.g:18:9: 'datadriven'
{
- match("async");
+ match("datadriven");
}
@@ -285,10 +265,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:20:7: ( 'sync' )
- // InternalFSM.g:20:9: 'sync'
+ // InternalFSM.g:19:7: ( 'async' )
+ // InternalFSM.g:19:9: 'async'
{
- match("sync");
+ match("async");
}
@@ -306,10 +286,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:21:7: ( 'ptBoolean' )
- // InternalFSM.g:21:9: 'ptBoolean'
+ // InternalFSM.g:20:7: ( 'sync' )
+ // InternalFSM.g:20:9: 'sync'
{
- match("ptBoolean");
+ match("sync");
}
@@ -327,10 +307,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:22:7: ( 'ptInteger' )
- // InternalFSM.g:22:9: 'ptInteger'
+ // InternalFSM.g:21:7: ( 'ptBoolean' )
+ // InternalFSM.g:21:9: 'ptBoolean'
{
- match("ptInteger");
+ match("ptBoolean");
}
@@ -348,10 +328,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:23:7: ( 'ptReal' )
- // InternalFSM.g:23:9: 'ptReal'
+ // InternalFSM.g:22:7: ( 'ptInteger' )
+ // InternalFSM.g:22:9: 'ptInteger'
{
- match("ptReal");
+ match("ptInteger");
}
@@ -369,10 +349,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:24:7: ( 'ptCharacter' )
- // InternalFSM.g:24:9: 'ptCharacter'
+ // InternalFSM.g:23:7: ( 'ptReal' )
+ // InternalFSM.g:23:9: 'ptReal'
{
- match("ptCharacter");
+ match("ptReal");
}
@@ -390,10 +370,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:25:7: ( 'ModelComponent' )
- // InternalFSM.g:25:9: 'ModelComponent'
+ // InternalFSM.g:24:7: ( 'ptCharacter' )
+ // InternalFSM.g:24:9: 'ptCharacter'
{
- match("ModelComponent");
+ match("ptCharacter");
}
@@ -411,10 +391,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:26:7: ( 'extends' )
- // InternalFSM.g:26:9: 'extends'
+ // InternalFSM.g:25:7: ( 'ModelComponent' )
+ // InternalFSM.g:25:9: 'ModelComponent'
{
- match("extends");
+ match("ModelComponent");
}
@@ -432,10 +412,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:27:7: ( '{' )
- // InternalFSM.g:27:9: '{'
+ // InternalFSM.g:26:7: ( 'extends' )
+ // InternalFSM.g:26:9: 'extends'
{
- match('{');
+ match("extends");
+
}
@@ -452,10 +433,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:28:7: ( '}' )
- // InternalFSM.g:28:9: '}'
+ // InternalFSM.g:27:7: ( '{' )
+ // InternalFSM.g:27:9: '{'
{
- match('}');
+ match('{');
}
@@ -472,11 +453,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:29:7: ( 'StateMachine' )
- // InternalFSM.g:29:9: 'StateMachine'
+ // InternalFSM.g:28:7: ( '}' )
+ // InternalFSM.g:28:9: '}'
{
- match("StateMachine");
-
+ match('}');
}
@@ -493,10 +473,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:30:7: ( 'State' )
- // InternalFSM.g:30:9: 'State'
+ // InternalFSM.g:29:7: ( 'StateMachine' )
+ // InternalFSM.g:29:9: 'StateMachine'
{
- match("State");
+ match("StateMachine");
}
@@ -514,10 +494,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:31:7: ( 'entry' )
- // InternalFSM.g:31:9: 'entry'
+ // InternalFSM.g:30:7: ( 'State' )
+ // InternalFSM.g:30:9: 'State'
{
- match("entry");
+ match("State");
}
@@ -535,10 +515,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:32:7: ( 'exit' )
- // InternalFSM.g:32:9: 'exit'
+ // InternalFSM.g:31:7: ( 'entry' )
+ // InternalFSM.g:31:9: 'entry'
{
- match("exit");
+ match("entry");
}
@@ -556,10 +536,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:33:7: ( 'do' )
- // InternalFSM.g:33:9: 'do'
+ // InternalFSM.g:32:7: ( 'exit' )
+ // InternalFSM.g:32:9: 'exit'
{
- match("do");
+ match("exit");
}
@@ -577,10 +557,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:34:7: ( 'subgraph' )
- // InternalFSM.g:34:9: 'subgraph'
+ // InternalFSM.g:33:7: ( 'do' )
+ // InternalFSM.g:33:9: 'do'
{
- match("subgraph");
+ match("do");
}
@@ -598,10 +578,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:35:7: ( 'RefinedState' )
- // InternalFSM.g:35:9: 'RefinedState'
+ // InternalFSM.g:34:7: ( 'subgraph' )
+ // InternalFSM.g:34:9: 'subgraph'
{
- match("RefinedState");
+ match("subgraph");
}
@@ -619,10 +599,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:36:7: ( 'TransitionPoint' )
- // InternalFSM.g:36:9: 'TransitionPoint'
+ // InternalFSM.g:35:7: ( 'RefinedState' )
+ // InternalFSM.g:35:9: 'RefinedState'
{
- match("TransitionPoint");
+ match("RefinedState");
}
@@ -640,10 +620,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:37:7: ( 'EntryPoint' )
- // InternalFSM.g:37:9: 'EntryPoint'
+ // InternalFSM.g:36:7: ( 'TransitionPoint' )
+ // InternalFSM.g:36:9: 'TransitionPoint'
{
- match("EntryPoint");
+ match("TransitionPoint");
}
@@ -661,10 +641,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__39;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:38:7: ( 'ExitPoint' )
- // InternalFSM.g:38:9: 'ExitPoint'
+ // InternalFSM.g:37:7: ( 'EntryPoint' )
+ // InternalFSM.g:37:9: 'EntryPoint'
{
- match("ExitPoint");
+ match("EntryPoint");
}
@@ -682,10 +662,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__40;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:39:7: ( 'ChoicePoint' )
- // InternalFSM.g:39:9: 'ChoicePoint'
+ // InternalFSM.g:38:7: ( 'ExitPoint' )
+ // InternalFSM.g:38:9: 'ExitPoint'
{
- match("ChoicePoint");
+ match("ExitPoint");
}
@@ -703,10 +683,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__41;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:40:7: ( 'Transition' )
- // InternalFSM.g:40:9: 'Transition'
+ // InternalFSM.g:39:7: ( 'ChoicePoint' )
+ // InternalFSM.g:39:9: 'ChoicePoint'
{
- match("Transition");
+ match("ChoicePoint");
}
@@ -724,10 +704,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__42;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:41:7: ( ':' )
- // InternalFSM.g:41:9: ':'
+ // InternalFSM.g:40:7: ( 'Transition' )
+ // InternalFSM.g:40:9: 'Transition'
{
- match(':');
+ match("Transition");
+
}
@@ -744,11 +725,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__43;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:42:7: ( 'initial' )
- // InternalFSM.g:42:9: 'initial'
+ // InternalFSM.g:41:7: ( ':' )
+ // InternalFSM.g:41:9: ':'
{
- match("initial");
-
+ match(':');
}
@@ -765,10 +745,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__44;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:43:7: ( '->' )
- // InternalFSM.g:43:9: '->'
+ // InternalFSM.g:42:7: ( 'initial' )
+ // InternalFSM.g:42:9: 'initial'
{
- match("->");
+ match("initial");
}
@@ -786,10 +766,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__45;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:44:7: ( 'action' )
- // InternalFSM.g:44:9: 'action'
+ // InternalFSM.g:43:7: ( '->' )
+ // InternalFSM.g:43:9: '->'
{
- match("action");
+ match("->");
}
@@ -807,10 +787,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__46;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:45:7: ( 'triggers' )
- // InternalFSM.g:45:9: 'triggers'
+ // InternalFSM.g:44:7: ( 'action' )
+ // InternalFSM.g:44:9: 'action'
{
- match("triggers");
+ match("action");
}
@@ -828,10 +808,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__47;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:46:7: ( 'or' )
- // InternalFSM.g:46:9: 'or'
+ // InternalFSM.g:45:7: ( 'triggers' )
+ // InternalFSM.g:45:9: 'triggers'
{
- match("or");
+ match("triggers");
}
@@ -849,10 +829,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__48;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:47:7: ( 'guard' )
- // InternalFSM.g:47:9: 'guard'
+ // InternalFSM.g:46:7: ( 'or' )
+ // InternalFSM.g:46:9: 'or'
{
- match("guard");
+ match("or");
}
@@ -870,10 +850,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__49;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:48:7: ( 'cond' )
- // InternalFSM.g:48:9: 'cond'
+ // InternalFSM.g:47:7: ( 'guard' )
+ // InternalFSM.g:47:9: 'guard'
{
- match("cond");
+ match("guard");
}
@@ -891,10 +871,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__50;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:49:7: ( 'RefinedTransition' )
- // InternalFSM.g:49:9: 'RefinedTransition'
+ // InternalFSM.g:48:7: ( 'cond' )
+ // InternalFSM.g:48:9: 'cond'
{
- match("RefinedTransition");
+ match("cond");
}
@@ -912,10 +892,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__51;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:50:7: ( 'my' )
- // InternalFSM.g:50:9: 'my'
+ // InternalFSM.g:49:7: ( 'RefinedTransition' )
+ // InternalFSM.g:49:9: 'RefinedTransition'
{
- match("my");
+ match("RefinedTransition");
}
@@ -933,10 +913,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__52;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:51:7: ( 'of' )
- // InternalFSM.g:51:9: 'of'
+ // InternalFSM.g:50:7: ( 'my' )
+ // InternalFSM.g:50:9: 'my'
{
- match("of");
+ match("my");
}
@@ -954,10 +934,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__53;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:52:7: ( 'cp' )
- // InternalFSM.g:52:9: 'cp'
+ // InternalFSM.g:51:7: ( 'of' )
+ // InternalFSM.g:51:9: 'of'
{
- match("cp");
+ match("of");
}
@@ -975,10 +955,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__54;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:53:7: ( '<' )
- // InternalFSM.g:53:9: '<'
+ // InternalFSM.g:52:7: ( 'cp' )
+ // InternalFSM.g:52:9: 'cp'
{
- match('<');
+ match("cp");
+
}
@@ -995,10 +976,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__55;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:54:7: ( '>' )
- // InternalFSM.g:54:9: '>'
+ // InternalFSM.g:53:7: ( '<' )
+ // InternalFSM.g:53:9: '<'
{
- match('>');
+ match('<');
}
@@ -1015,10 +996,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__56;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:55:7: ( '|' )
- // InternalFSM.g:55:9: '|'
+ // InternalFSM.g:54:7: ( '>' )
+ // InternalFSM.g:54:9: '>'
{
- match('|');
+ match('>');
}
@@ -1035,11 +1016,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__57;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:56:7: ( 'in' )
- // InternalFSM.g:56:9: 'in'
+ // InternalFSM.g:55:7: ( '|' )
+ // InternalFSM.g:55:9: '|'
{
- match("in");
-
+ match('|');
}
@@ -1056,10 +1036,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__58;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:57:7: ( '(' )
- // InternalFSM.g:57:9: '('
+ // InternalFSM.g:56:7: ( 'in' )
+ // InternalFSM.g:56:9: 'in'
{
- match('(');
+ match("in");
+
}
@@ -1076,10 +1057,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__59;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:58:7: ( ')' )
- // InternalFSM.g:58:9: ')'
+ // InternalFSM.g:57:7: ( '(' )
+ // InternalFSM.g:57:9: '('
{
- match(')');
+ match('(');
}
@@ -1096,10 +1077,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__60;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:59:7: ( ',' )
- // InternalFSM.g:59:9: ','
+ // InternalFSM.g:58:7: ( ')' )
+ // InternalFSM.g:58:9: ')'
{
- match(',');
+ match(')');
}
@@ -1116,11 +1097,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__61;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:60:7: ( 'out' )
- // InternalFSM.g:60:9: 'out'
+ // InternalFSM.g:59:7: ( ',' )
+ // InternalFSM.g:59:9: ','
{
- match("out");
-
+ match(',');
}
@@ -1137,10 +1117,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__62;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:61:7: ( '=' )
- // InternalFSM.g:61:9: '='
+ // InternalFSM.g:60:7: ( 'out' )
+ // InternalFSM.g:60:9: 'out'
{
- match('=');
+ match("out");
+
}
@@ -1157,11 +1138,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__63;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:62:7: ( 'attribute' )
- // InternalFSM.g:62:9: 'attribute'
+ // InternalFSM.g:61:7: ( '=' )
+ // InternalFSM.g:61:9: '='
{
- match("attribute");
-
+ match('=');
}
@@ -1178,10 +1158,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__64;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:63:7: ( '.*' )
- // InternalFSM.g:63:9: '.*'
+ // InternalFSM.g:62:7: ( 'attribute' )
+ // InternalFSM.g:62:9: 'attribute'
{
- match(".*");
+ match("attribute");
}
@@ -1199,10 +1179,11 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__65;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:64:7: ( '[' )
- // InternalFSM.g:64:9: '['
+ // InternalFSM.g:63:7: ( '.*' )
+ // InternalFSM.g:63:9: '.*'
{
- match('[');
+ match(".*");
+
}
@@ -1219,10 +1200,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__66;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:65:7: ( ']' )
- // InternalFSM.g:65:9: ']'
+ // InternalFSM.g:64:7: ( '[' )
+ // InternalFSM.g:64:9: '['
{
- match(']');
+ match('[');
}
@@ -1239,10 +1220,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__67;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:66:7: ( '.' )
- // InternalFSM.g:66:9: '.'
+ // InternalFSM.g:65:7: ( ']' )
+ // InternalFSM.g:65:9: ']'
{
- match('.');
+ match(']');
}
@@ -1259,11 +1240,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__68;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:67:7: ( 'abstract' )
- // InternalFSM.g:67:9: 'abstract'
+ // InternalFSM.g:66:7: ( '.' )
+ // InternalFSM.g:66:9: '.'
{
- match("abstract");
-
+ match('.');
}
@@ -1280,10 +1260,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__69;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:68:7: ( 'handler' )
- // InternalFSM.g:68:9: 'handler'
+ // InternalFSM.g:67:7: ( 'abstract' )
+ // InternalFSM.g:67:9: 'abstract'
{
- match("handler");
+ match("abstract");
}
@@ -1301,10 +1281,10 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__70;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:69:7: ( 'optional' )
- // InternalFSM.g:69:9: 'optional'
+ // InternalFSM.g:68:7: ( 'handler' )
+ // InternalFSM.g:68:9: 'handler'
{
- match("optional");
+ match("handler");
}
@@ -1322,6 +1302,27 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = T__71;
int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalFSM.g:69:7: ( 'optional' )
+ // InternalFSM.g:69:9: 'optional'
+ {
+ match("optional");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__71"
+
+ // $ANTLR start "T__72"
+ public final void mT__72() throws RecognitionException {
+ try {
+ int _type = T__72;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
// InternalFSM.g:70:7: ( 'true' )
// InternalFSM.g:70:9: 'true'
{
@@ -1336,17 +1337,17 @@ public class InternalFSMLexer extends Lexer {
finally {
}
}
- // $ANTLR end "T__71"
+ // $ANTLR end "T__72"
// $ANTLR start "RULE_HEX"
public final void mRULE_HEX() throws RecognitionException {
try {
int _type = RULE_HEX;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11558:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
- // InternalFSM.g:11558:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalFSM.g:11625:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
+ // InternalFSM.g:11625:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
- // InternalFSM.g:11558:12: ( '0x' | '0X' )
+ // InternalFSM.g:11625:12: ( '0x' | '0X' )
int alt1=2;
int LA1_0 = input.LA(1);
@@ -1374,7 +1375,7 @@ public class InternalFSMLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // InternalFSM.g:11558:13: '0x'
+ // InternalFSM.g:11625:13: '0x'
{
match("0x");
@@ -1382,7 +1383,7 @@ public class InternalFSMLexer extends Lexer {
}
break;
case 2 :
- // InternalFSM.g:11558:18: '0X'
+ // InternalFSM.g:11625:18: '0X'
{
match("0X");
@@ -1392,7 +1393,7 @@ public class InternalFSMLexer extends Lexer {
}
- // InternalFSM.g:11558:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalFSM.g:11625:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@@ -1441,24 +1442,93 @@ public class InternalFSMLexer 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;
+ // InternalFSM.g:11627:16: ( '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\'' )
+ // InternalFSM.g:11627:18: '\\'\\'\\'' ( options {greedy=false; } : . )* '\\'\\'\\''
+ {
+ match("'''");
+
+ // InternalFSM.g:11627: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 :
+ // InternalFSM.g:11627: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;
- // InternalFSM.g:11560:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalFSM.g:11560:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalFSM.g:11629:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalFSM.g:11629:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalFSM.g:11560:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
+ // InternalFSM.g:11629: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 :
- // InternalFSM.g:11560:11: '^'
+ // InternalFSM.g:11629:11: '^'
{
match('^');
@@ -1476,18 +1546,18 @@ public class InternalFSMLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalFSM.g:11560:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
+ // InternalFSM.g:11629: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 :
// InternalFSM.g:
{
@@ -1505,7 +1575,7 @@ public class InternalFSMLexer extends Lexer {
break;
default :
- break loop4;
+ break loop5;
}
} while (true);
@@ -1525,24 +1595,24 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11562:10: ( ( '0' .. '9' )+ )
- // InternalFSM.g:11562:12: ( '0' .. '9' )+
+ // InternalFSM.g:11631:10: ( ( '0' .. '9' )+ )
+ // InternalFSM.g:11631:12: ( '0' .. '9' )+
{
- // InternalFSM.g:11562:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
+ // InternalFSM.g:11631: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 :
- // InternalFSM.g:11562:13: '0' .. '9'
+ // InternalFSM.g:11631:13: '0' .. '9'
{
matchRange('0','9');
@@ -1550,12 +1620,12 @@ public class InternalFSMLexer 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);
@@ -1574,47 +1644,47 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11564:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // InternalFSM.g:11564:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalFSM.g:11633:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // InternalFSM.g:11633:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // InternalFSM.g:11564:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // InternalFSM.g:11633: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 :
- // InternalFSM.g:11564:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalFSM.g:11633:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalFSM.g:11564:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop6:
+ // InternalFSM.g:11633: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 :
- // InternalFSM.g:11564:21: '\\\\' .
+ // InternalFSM.g:11633:21: '\\\\' .
{
match('\\');
matchAny();
@@ -1622,7 +1692,7 @@ public class InternalFSMLexer extends Lexer {
}
break;
case 2 :
- // InternalFSM.g:11564:28: ~ ( ( '\\\\' | '\"' ) )
+ // InternalFSM.g:11633:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -1638,7 +1708,7 @@ public class InternalFSMLexer extends Lexer {
break;
default :
- break loop6;
+ break loop7;
}
} while (true);
@@ -1647,26 +1717,26 @@ public class InternalFSMLexer extends Lexer {
}
break;
case 2 :
- // InternalFSM.g:11564:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // InternalFSM.g:11633:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // InternalFSM.g:11564:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop7:
+ // InternalFSM.g:11633: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 :
- // InternalFSM.g:11564:54: '\\\\' .
+ // InternalFSM.g:11633:54: '\\\\' .
{
match('\\');
matchAny();
@@ -1674,7 +1744,7 @@ public class InternalFSMLexer extends Lexer {
}
break;
case 2 :
- // InternalFSM.g:11564:61: ~ ( ( '\\\\' | '\\'' ) )
+ // InternalFSM.g:11633:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -1690,7 +1760,7 @@ public class InternalFSMLexer extends Lexer {
break;
default :
- break loop7;
+ break loop8;
}
} while (true);
@@ -1717,37 +1787,37 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11566:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalFSM.g:11566:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalFSM.g:11635:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalFSM.g:11635:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalFSM.g:11566:24: ( options {greedy=false; } : . )*
- loop9:
+ // InternalFSM.g:11635: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 :
- // InternalFSM.g:11566:52: .
+ // InternalFSM.g:11635:52: .
{
matchAny();
@@ -1755,7 +1825,7 @@ public class InternalFSMLexer extends Lexer {
break;
default :
- break loop9;
+ break loop10;
}
} while (true);
@@ -1777,25 +1847,25 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11568:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalFSM.g:11568:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalFSM.g:11637:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalFSM.g:11637:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalFSM.g:11568:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop10:
+ // InternalFSM.g:11637: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 :
- // InternalFSM.g:11568:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalFSM.g:11637: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();
@@ -1811,31 +1881,31 @@ public class InternalFSMLexer extends Lexer {
break;
default :
- break loop10;
+ break loop11;
}
} while (true);
- // InternalFSM.g:11568:40: ( ( '\\r' )? '\\n' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalFSM.g:11637: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 :
- // InternalFSM.g:11568:41: ( '\\r' )? '\\n'
+ // InternalFSM.g:11637:41: ( '\\r' )? '\\n'
{
- // InternalFSM.g:11568:41: ( '\\r' )?
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalFSM.g:11637: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 :
- // InternalFSM.g:11568:41: '\\r'
+ // InternalFSM.g:11637:41: '\\r'
{
match('\r');
@@ -1867,22 +1937,22 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11570:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalFSM.g:11570:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalFSM.g:11639:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalFSM.g:11639:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalFSM.g:11570:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt13=0;
- loop13:
+ // InternalFSM.g:11639: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 :
// InternalFSM.g:
{
@@ -1900,12 +1970,12 @@ public class InternalFSMLexer 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);
@@ -1924,8 +1994,8 @@ public class InternalFSMLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalFSM.g:11572:16: ( . )
- // InternalFSM.g:11572:18: .
+ // InternalFSM.g:11641:16: ( . )
+ // InternalFSM.g:11641:18: .
{
matchAny();
@@ -1940,427 +2010,427 @@ public class InternalFSMLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // InternalFSM.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 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt14=68;
- alt14 = dfa14.predict(input);
- switch (alt14) {
+ // InternalFSM.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 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | RULE_HEX | RULE_CC_STRING | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt15=69;
+ alt15 = dfa15.predict(input);
+ switch (alt15) {
case 1 :
- // InternalFSM.g:1:10: T__12
+ // InternalFSM.g:1:10: T__13
{
- mT__12();
+ mT__13();
}
break;
case 2 :
- // InternalFSM.g:1:16: T__13
+ // InternalFSM.g:1:16: T__14
{
- mT__13();
+ mT__14();
}
break;
case 3 :
- // InternalFSM.g:1:22: T__14
+ // InternalFSM.g:1:22: T__15
{
- mT__14();
+ mT__15();
}
break;
case 4 :
- // InternalFSM.g:1:28: T__15
+ // InternalFSM.g:1:28: T__16
{
- mT__15();
+ mT__16();
}
break;
case 5 :
- // InternalFSM.g:1:34: T__16
+ // InternalFSM.g:1:34: T__17
{
- mT__16();
+ mT__17();
}
break;
case 6 :
- // InternalFSM.g:1:40: T__17
+ // InternalFSM.g:1:40: T__18
{
- mT__17();
+ mT__18();
}
break;
case 7 :
- // InternalFSM.g:1:46: T__18
+ // InternalFSM.g:1:46: T__19
{
- mT__18();
+ mT__19();
}
break;
case 8 :
- // InternalFSM.g:1:52: T__19
+ // InternalFSM.g:1:52: T__20
{
- mT__19();
+ mT__20();
}
break;
case 9 :
- // InternalFSM.g:1:58: T__20
+ // InternalFSM.g:1:58: T__21
{
- mT__20();
+ mT__21();
}
break;
case 10 :
- // InternalFSM.g:1:64: T__21
+ // InternalFSM.g:1:64: T__22
{
- mT__21();
+ mT__22();
}
break;
case 11 :
- // InternalFSM.g:1:70: T__22
+ // InternalFSM.g:1:70: T__23
{
- mT__22();
+ mT__23();
}
break;
case 12 :
- // InternalFSM.g:1:76: T__23
+ // InternalFSM.g:1:76: T__24
{
- mT__23();
+ mT__24();
}
break;
case 13 :
- // InternalFSM.g:1:82: T__24
+ // InternalFSM.g:1:82: T__25
{
- mT__24();
+ mT__25();
}
break;
case 14 :
- // InternalFSM.g:1:88: T__25
+ // InternalFSM.g:1:88: T__26
{
- mT__25();
+ mT__26();
}
break;
case 15 :
- // InternalFSM.g:1:94: T__26
+ // InternalFSM.g:1:94: T__27
{
- mT__26();
+ mT__27();
}
break;
case 16 :
- // InternalFSM.g:1:100: T__27
+ // InternalFSM.g:1:100: T__28
{
- mT__27();
+ mT__28();
}
break;
case 17 :
- // InternalFSM.g:1:106: T__28
+ // InternalFSM.g:1:106: T__29
{
- mT__28();
+ mT__29();
}
break;
case 18 :
- // InternalFSM.g:1:112: T__29
+ // InternalFSM.g:1:112: T__30
{
- mT__29();
+ mT__30();
}
break;
case 19 :
- // InternalFSM.g:1:118: T__30
+ // InternalFSM.g:1:118: T__31
{
- mT__30();
+ mT__31();
}
break;
case 20 :
- // InternalFSM.g:1:124: T__31
+ // InternalFSM.g:1:124: T__32
{
- mT__31();
+ mT__32();
}
break;
case 21 :
- // InternalFSM.g:1:130: T__32
+ // InternalFSM.g:1:130: T__33
{
- mT__32();
+ mT__33();
}
break;
case 22 :
- // InternalFSM.g:1:136: T__33
+ // InternalFSM.g:1:136: T__34
{
- mT__33();
+ mT__34();
}
break;
case 23 :
- // InternalFSM.g:1:142: T__34
+ // InternalFSM.g:1:142: T__35
{
- mT__34();
+ mT__35();
}
break;
case 24 :
- // InternalFSM.g:1:148: T__35
+ // InternalFSM.g:1:148: T__36
{
- mT__35();
+ mT__36();
}
break;
case 25 :
- // InternalFSM.g:1:154: T__36
+ // InternalFSM.g:1:154: T__37
{
- mT__36();
+ mT__37();
}
break;
case 26 :
- // InternalFSM.g:1:160: T__37
+ // InternalFSM.g:1:160: T__38
{
- mT__37();
+ mT__38();
}
break;
case 27 :
- // InternalFSM.g:1:166: T__38
+ // InternalFSM.g:1:166: T__39
{
- mT__38();
+ mT__39();
}
break;
case 28 :
- // InternalFSM.g:1:172: T__39
+ // InternalFSM.g:1:172: T__40
{
- mT__39();
+ mT__40();
}
break;
case 29 :
- // InternalFSM.g:1:178: T__40
+ // InternalFSM.g:1:178: T__41
{
- mT__40();
+ mT__41();
}
break;
case 30 :
- // InternalFSM.g:1:184: T__41
+ // InternalFSM.g:1:184: T__42
{
- mT__41();
+ mT__42();
}
break;
case 31 :
- // InternalFSM.g:1:190: T__42
+ // InternalFSM.g:1:190: T__43
{
- mT__42();
+ mT__43();
}
break;
case 32 :
- // InternalFSM.g:1:196: T__43
+ // InternalFSM.g:1:196: T__44
{
- mT__43();
+ mT__44();
}
break;
case 33 :
- // InternalFSM.g:1:202: T__44
+ // InternalFSM.g:1:202: T__45
{
- mT__44();
+ mT__45();
}
break;
case 34 :
- // InternalFSM.g:1:208: T__45
+ // InternalFSM.g:1:208: T__46
{
- mT__45();
+ mT__46();
}
break;
case 35 :
- // InternalFSM.g:1:214: T__46
+ // InternalFSM.g:1:214: T__47
{
- mT__46();
+ mT__47();
}
break;
case 36 :
- // InternalFSM.g:1:220: T__47
+ // InternalFSM.g:1:220: T__48
{
- mT__47();
+ mT__48();
}
break;
case 37 :
- // InternalFSM.g:1:226: T__48
+ // InternalFSM.g:1:226: T__49
{
- mT__48();
+ mT__49();
}
break;
case 38 :
- // InternalFSM.g:1:232: T__49
+ // InternalFSM.g:1:232: T__50
{
- mT__49();
+ mT__50();
}
break;
case 39 :
- // InternalFSM.g:1:238: T__50
+ // InternalFSM.g:1:238: T__51
{
- mT__50();
+ mT__51();
}
break;
case 40 :
- // InternalFSM.g:1:244: T__51
+ // InternalFSM.g:1:244: T__52
{
- mT__51();
+ mT__52();
}
break;
case 41 :
- // InternalFSM.g:1:250: T__52
+ // InternalFSM.g:1:250: T__53
{
- mT__52();
+ mT__53();
}
break;
case 42 :
- // InternalFSM.g:1:256: T__53
+ // InternalFSM.g:1:256: T__54
{
- mT__53();
+ mT__54();
}
break;
case 43 :
- // InternalFSM.g:1:262: T__54
+ // InternalFSM.g:1:262: T__55
{
- mT__54();
+ mT__55();
}
break;
case 44 :
- // InternalFSM.g:1:268: T__55
+ // InternalFSM.g:1:268: T__56
{
- mT__55();
+ mT__56();
}
break;
case 45 :
- // InternalFSM.g:1:274: T__56
+ // InternalFSM.g:1:274: T__57
{
- mT__56();
+ mT__57();
}
break;
case 46 :
- // InternalFSM.g:1:280: T__57
+ // InternalFSM.g:1:280: T__58
{
- mT__57();
+ mT__58();
}
break;
case 47 :
- // InternalFSM.g:1:286: T__58
+ // InternalFSM.g:1:286: T__59
{
- mT__58();
+ mT__59();
}
break;
case 48 :
- // InternalFSM.g:1:292: T__59
+ // InternalFSM.g:1:292: T__60
{
- mT__59();
+ mT__60();
}
break;
case 49 :
- // InternalFSM.g:1:298: T__60
+ // InternalFSM.g:1:298: T__61
{
- mT__60();
+ mT__61();
}
break;
case 50 :
- // InternalFSM.g:1:304: T__61
+ // InternalFSM.g:1:304: T__62
{
- mT__61();
+ mT__62();
}
break;
case 51 :
- // InternalFSM.g:1:310: T__62
+ // InternalFSM.g:1:310: T__63
{
- mT__62();
+ mT__63();
}
break;
case 52 :
- // InternalFSM.g:1:316: T__63
+ // InternalFSM.g:1:316: T__64
{
- mT__63();
+ mT__64();
}
break;
case 53 :
- // InternalFSM.g:1:322: T__64
+ // InternalFSM.g:1:322: T__65
{
- mT__64();
+ mT__65();
}
break;
case 54 :
- // InternalFSM.g:1:328: T__65
+ // InternalFSM.g:1:328: T__66
{
- mT__65();
+ mT__66();
}
break;
case 55 :
- // InternalFSM.g:1:334: T__66
+ // InternalFSM.g:1:334: T__67
{
- mT__66();
+ mT__67();
}
break;
case 56 :
- // InternalFSM.g:1:340: T__67
+ // InternalFSM.g:1:340: T__68
{
- mT__67();
+ mT__68();
}
break;
case 57 :
- // InternalFSM.g:1:346: T__68
+ // InternalFSM.g:1:346: T__69
{
- mT__68();
+ mT__69();
}
break;
case 58 :
- // InternalFSM.g:1:352: T__69
+ // InternalFSM.g:1:352: T__70
{
- mT__69();
+ mT__70();
}
break;
case 59 :
- // InternalFSM.g:1:358: T__70
+ // InternalFSM.g:1:358: T__71
{
- mT__70();
+ mT__71();
}
break;
case 60 :
- // InternalFSM.g:1:364: T__71
+ // InternalFSM.g:1:364: T__72
{
- mT__71();
+ mT__72();
}
break;
@@ -2372,49 +2442,56 @@ public class InternalFSMLexer extends Lexer {
}
break;
case 62 :
- // InternalFSM.g:1:379: RULE_ID
+ // InternalFSM.g:1:379: RULE_CC_STRING
{
- mRULE_ID();
+ mRULE_CC_STRING();
}
break;
case 63 :
- // InternalFSM.g:1:387: RULE_INT
+ // InternalFSM.g:1:394: RULE_ID
{
- mRULE_INT();
+ mRULE_ID();
}
break;
case 64 :
- // InternalFSM.g:1:396: RULE_STRING
+ // InternalFSM.g:1:402: RULE_INT
{
- mRULE_STRING();
+ mRULE_INT();
}
break;
case 65 :
- // InternalFSM.g:1:408: RULE_ML_COMMENT
+ // InternalFSM.g:1:411: RULE_STRING
{
- mRULE_ML_COMMENT();
+ mRULE_STRING();
}
break;
case 66 :
- // InternalFSM.g:1:424: RULE_SL_COMMENT
+ // InternalFSM.g:1:423: RULE_ML_COMMENT
{
- mRULE_SL_COMMENT();
+ mRULE_ML_COMMENT();
}
break;
case 67 :
- // InternalFSM.g:1:440: RULE_WS
+ // InternalFSM.g:1:439: RULE_SL_COMMENT
{
- mRULE_WS();
+ mRULE_SL_COMMENT();
}
break;
case 68 :
- // InternalFSM.g:1:448: RULE_ANY_OTHER
+ // InternalFSM.g:1:455: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 69 :
+ // InternalFSM.g:1:463: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -2426,21 +2503,21 @@ public class InternalFSMLexer extends Lexer {
}
- protected DFA14 dfa14 = new DFA14(this);
- static final String DFA14_eotS =
- "\1\uffff\2\56\1\uffff\1\62\1\66\1\71\5\56\2\uffff\4\56\1\uffff\5\56\7\uffff\1\134\2\uffff\1\56\1\141\1\53\2\uffff\3\53\2\uffff\1\56\1\147\1\uffff\1\56\3\uffff\3\56\1\uffff\2\56\1\uffff\1\56\1\160\10\56\2\uffff\4\56\1\uffff\1\u0081\1\56\1\u0084\1\u0085\4\56\1\u008a\13\uffff\1\56\6\uffff\1\56\1\uffff\10\56\1\uffff\20\56\1\uffff\2\56\2\uffff\1\u00a7\3\56\1\uffff\5\56\1\u00b0\10\56\1\u00b9\14\56\1\u00c6\1\uffff\2\56\1\u00c9\2\56\1\u00cc\2\56\1\uffff\1\u00cf\3\56\1\u00d3\3\56\1\uffff\6\56\1\u00de\5\56\1\uffff\1\56\1\u00e5\1\uffff\2\56\1\uffff\2\56\1\uffff\3\56\1\uffff\1\u00ed\5\56\1\u00f3\3\56\1\uffff\6\56\1\uffff\3\56\1\u0100\3\56\1\uffff\5\56\1\uffff\6\56\1\u0110\2\56\1\u0113\2\56\1\uffff\4\56\1\u011a\1\u011b\11\56\1\uffff\1\u0125\1\u0126\1\uffff\1\u0127\2\56\1\u012a\1\56\1\u012c\2\uffff\1\u012d\1\u012e\7\56\3\uffff\1\56\1\u0137\1\uffff\1\u0138\3\uffff\5\56\1\u013f\1\56\1\u0141\2\uffff\1\u0142\5\56\1\uffff\1\u0148\2\uffff\1\56\1\u014a\1\u014b\2\56\1\uffff\1\56\2\uffff\2\56\1\u0151\2\56\1\uffff\1\56\1\u0155\1\56\1\uffff\1\u0157\1\uffff";
- static final String DFA14_eofS =
- "\u0158\uffff";
- static final String DFA14_minS =
- "\1\0\2\141\1\uffff\1\76\2\60\1\141\1\142\1\165\1\164\1\157\2\uffff\1\164\1\145\1\162\1\150\1\uffff\1\156\1\162\1\146\1\165\1\157\7\uffff\1\52\2\uffff\1\141\1\130\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\60\1\uffff\1\154\3\uffff\1\145\1\151\1\164\1\uffff\1\164\1\151\1\uffff\1\164\1\60\1\171\2\164\1\163\1\156\1\142\1\102\1\144\2\uffff\1\141\1\146\1\141\1\157\1\uffff\1\60\1\151\2\60\2\164\1\141\1\156\1\60\13\uffff\1\156\6\uffff\1\144\1\uffff\1\163\1\156\1\145\1\164\2\162\1\164\1\141\1\uffff\1\156\1\151\1\162\1\164\1\143\1\147\1\157\1\156\1\145\1\150\1\145\1\164\1\151\1\156\1\151\1\164\1\uffff\1\147\1\145\2\uffff\1\60\1\151\1\162\1\144\1\uffff\1\144\1\141\1\145\1\164\1\156\1\60\2\171\1\120\1\144\1\143\1\157\1\151\1\162\1\60\1\162\1\157\1\164\2\141\1\154\1\145\1\156\1\163\1\143\1\151\1\147\1\60\1\uffff\1\157\1\144\1\60\1\154\1\164\1\60\2\144\1\uffff\1\60\1\120\1\157\1\162\1\60\1\156\1\142\1\141\1\uffff\1\141\1\154\1\145\1\154\1\162\1\103\1\60\1\145\1\151\1\145\1\141\1\145\1\uffff\1\156\1\60\1\uffff\1\145\1\157\1\uffff\1\162\1\163\1\uffff\1\157\2\151\1\uffff\1\60\1\165\1\143\1\160\1\145\1\147\1\60\1\141\1\157\1\141\1\uffff\1\144\1\164\1\120\1\154\1\162\1\141\1\uffff\2\162\1\151\1\60\1\151\1\156\1\166\1\uffff\2\164\1\150\1\141\1\145\1\uffff\1\143\1\155\1\143\1\123\1\151\1\157\1\60\1\163\1\154\1\60\1\171\1\166\1\uffff\1\156\1\164\2\145\2\60\1\156\1\162\1\164\1\160\1\150\1\164\1\162\1\157\1\151\1\uffff\2\60\1\uffff\1\60\1\145\1\164\1\60\1\156\1\60\2\uffff\2\60\1\145\1\157\1\151\2\141\2\156\3\uffff\1\156\1\60\1\uffff\1\60\3\uffff\1\162\2\156\1\164\1\156\1\60\1\164\1\60\2\uffff\1\60\3\145\1\163\1\157\1\uffff\1\60\2\uffff\1\156\2\60\2\151\1\uffff\1\164\2\uffff\1\164\1\156\1\60\1\151\1\164\1\uffff\1\157\1\60\1\156\1\uffff\1\60\1\uffff";
- static final String DFA14_maxS =
- "\1\uffff\1\171\1\141\1\uffff\1\76\2\172\1\157\1\164\1\171\1\164\1\157\2\uffff\1\164\1\145\1\162\1\150\1\uffff\1\156\1\162\2\165\1\160\7\uffff\1\52\2\uffff\1\141\1\170\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\172\1\uffff\1\154\3\uffff\1\145\2\164\1\uffff\1\164\1\151\1\uffff\1\164\1\172\1\171\2\164\1\163\1\156\1\142\1\122\1\144\2\uffff\1\141\1\146\1\141\1\157\1\uffff\1\172\1\165\2\172\2\164\1\141\1\156\1\172\13\uffff\1\156\6\uffff\1\144\1\uffff\1\163\1\156\1\145\1\164\2\162\1\164\1\141\1\uffff\1\156\1\151\1\162\1\164\1\143\1\147\1\157\1\156\1\145\1\150\1\145\1\164\1\151\1\156\1\151\1\164\1\uffff\1\147\1\145\2\uffff\1\172\1\151\1\162\1\144\1\uffff\1\144\1\141\1\145\1\164\1\156\1\172\2\171\1\120\1\144\1\143\1\157\1\151\1\162\1\172\1\162\1\157\1\164\2\141\1\154\1\145\1\156\1\163\1\143\1\151\1\147\1\172\1\uffff\1\157\1\144\1\172\1\154\1\164\1\172\2\144\1\uffff\1\172\1\120\1\157\1\162\1\172\1\156\1\142\1\141\1\uffff\1\141\1\154\1\145\1\154\1\162\1\103\1\172\1\145\1\151\1\145\1\141\1\145\1\uffff\1\156\1\172\1\uffff\1\145\1\157\1\uffff\1\162\1\163\1\uffff\1\157\2\151\1\uffff\1\172\1\165\1\143\1\160\1\145\1\147\1\172\1\141\1\157\1\141\1\uffff\1\144\1\164\1\120\1\154\1\162\1\141\1\uffff\2\162\1\151\1\172\1\151\1\156\1\166\1\uffff\2\164\1\150\1\141\1\145\1\uffff\1\143\1\155\1\143\1\124\1\151\1\157\1\172\1\163\1\154\1\172\1\171\1\166\1\uffff\1\156\1\164\2\145\2\172\1\156\1\162\1\164\1\160\1\150\1\164\1\162\1\157\1\151\1\uffff\2\172\1\uffff\1\172\1\145\1\164\1\172\1\156\1\172\2\uffff\2\172\1\145\1\157\1\151\2\141\2\156\3\uffff\1\156\1\172\1\uffff\1\172\3\uffff\1\162\2\156\1\164\1\156\1\172\1\164\1\172\2\uffff\1\172\3\145\1\163\1\157\1\uffff\1\172\2\uffff\1\156\2\172\2\151\1\uffff\1\164\2\uffff\1\164\1\156\1\172\1\151\1\164\1\uffff\1\157\1\172\1\156\1\uffff\1\172\1\uffff";
- static final String DFA14_acceptS =
- "\3\uffff\1\3\10\uffff\1\21\1\22\4\uffff\1\37\5\uffff\1\53\1\54\1\55\1\57\1\60\1\61\1\63\1\uffff\1\66\1\67\3\uffff\1\76\1\77\3\uffff\1\103\1\104\2\uffff\1\76\1\uffff\1\3\1\41\1\4\3\uffff\1\5\2\uffff\1\6\12\uffff\1\21\1\22\4\uffff\1\37\11\uffff\1\53\1\54\1\55\1\57\1\60\1\61\1\63\1\65\1\70\1\66\1\67\1\uffff\1\75\1\77\1\100\1\101\1\102\1\103\1\uffff\1\50\10\uffff\1\27\20\uffff\1\56\2\uffff\1\44\1\51\4\uffff\1\52\34\uffff\1\62\10\uffff\1\26\10\uffff\1\12\14\uffff\1\74\2\uffff\1\46\2\uffff\1\2\2\uffff\1\25\3\uffff\1\11\12\uffff\1\24\6\uffff\1\45\7\uffff\1\42\5\uffff\1\15\14\uffff\1\20\17\uffff\1\40\2\uffff\1\72\6\uffff\1\71\1\30\11\uffff\1\43\1\73\1\1\2\uffff\1\34\1\uffff\1\64\1\13\1\14\10\uffff\1\33\1\10\6\uffff\1\36\1\uffff\1\7\1\16\5\uffff\1\35\1\uffff\1\23\1\31\5\uffff\1\17\3\uffff\1\32\1\uffff\1\47";
- static final String DFA14_specialS =
- "\1\0\46\uffff\1\1\1\2\u012f\uffff}>";
- static final String[] DFA14_transitionS = {
- "\11\53\2\52\2\53\1\52\22\53\1\52\1\53\1\47\4\53\1\50\1\33\1\34\1\53\1\3\1\35\1\4\1\37\1\51\1\43\11\46\1\22\1\53\1\30\1\36\1\31\2\53\2\45\1\21\1\45\1\6\7\45\1\13\4\45\1\17\1\16\1\20\6\45\1\40\1\53\1\41\1\44\1\45\1\53\1\10\1\45\1\27\1\7\1\5\1\2\1\26\1\42\1\23\3\45\1\1\1\45\1\25\1\12\2\45\1\11\1\24\6\45\1\14\1\32\1\15\uff82\53",
+ protected DFA15 dfa15 = new DFA15(this);
+ static final String DFA15_eotS =
+ "\1\uffff\2\56\1\uffff\1\62\1\66\1\71\5\56\2\uffff\4\56\1\uffff\5\56\7\uffff\1\134\2\uffff\1\56\1\141\2\53\2\uffff\2\53\2\uffff\1\56\1\150\1\uffff\1\56\3\uffff\3\56\1\uffff\2\56\1\uffff\1\56\1\161\10\56\2\uffff\4\56\1\uffff\1\u0082\1\56\1\u0085\1\u0086\4\56\1\u008b\13\uffff\1\56\2\uffff\1\143\4\uffff\1\56\1\uffff\10\56\1\uffff\20\56\1\uffff\2\56\2\uffff\1\u00a9\3\56\1\uffff\1\56\1\uffff\4\56\1\u00b2\10\56\1\u00bb\14\56\1\u00c8\1\uffff\2\56\1\u00cb\2\56\1\u00ce\2\56\1\uffff\1\u00d1\3\56\1\u00d5\3\56\1\uffff\6\56\1\u00e0\5\56\1\uffff\1\56\1\u00e7\1\uffff\2\56\1\uffff\2\56\1\uffff\3\56\1\uffff\1\u00ef\5\56\1\u00f5\3\56\1\uffff\6\56\1\uffff\3\56\1\u0102\3\56\1\uffff\5\56\1\uffff\6\56\1\u0112\2\56\1\u0115\2\56\1\uffff\4\56\1\u011c\1\u011d\11\56\1\uffff\1\u0127\1\u0128\1\uffff\1\u0129\2\56\1\u012c\1\56\1\u012e\2\uffff\1\u012f\1\u0130\7\56\3\uffff\1\56\1\u0139\1\uffff\1\u013a\3\uffff\5\56\1\u0141\1\56\1\u0143\2\uffff\1\u0144\5\56\1\uffff\1\u014a\2\uffff\1\56\1\u014c\1\u014d\2\56\1\uffff\1\56\2\uffff\2\56\1\u0153\2\56\1\uffff\1\56\1\u0157\1\56\1\uffff\1\u0159\1\uffff";
+ static final String DFA15_eofS =
+ "\u015a\uffff";
+ static final String DFA15_minS =
+ "\1\0\2\141\1\uffff\1\76\2\60\1\141\1\142\1\165\1\164\1\157\2\uffff\1\164\1\145\1\162\1\150\1\uffff\1\156\1\162\1\146\1\165\1\157\7\uffff\1\52\2\uffff\1\141\1\130\1\0\1\101\2\uffff\1\0\1\52\2\uffff\1\156\1\60\1\uffff\1\154\3\uffff\1\145\1\151\1\164\1\uffff\1\164\1\151\1\uffff\1\164\1\60\1\171\2\164\1\163\1\156\1\142\1\102\1\144\2\uffff\1\141\1\146\1\141\1\157\1\uffff\1\60\1\151\2\60\2\164\1\141\1\156\1\60\13\uffff\1\156\2\uffff\1\47\4\uffff\1\144\1\uffff\1\163\1\156\1\145\1\164\2\162\1\164\1\141\1\uffff\1\156\1\151\1\162\1\164\1\143\1\147\1\157\1\156\1\145\1\150\1\145\1\164\1\151\1\156\1\151\1\164\1\uffff\1\147\1\145\2\uffff\1\60\1\151\1\162\1\144\1\uffff\1\144\1\uffff\1\141\1\145\1\164\1\156\1\60\2\171\1\120\1\144\1\143\1\157\1\151\1\162\1\60\1\162\1\157\1\164\2\141\1\154\1\145\1\156\1\163\1\143\1\151\1\147\1\60\1\uffff\1\157\1\144\1\60\1\154\1\164\1\60\2\144\1\uffff\1\60\1\120\1\157\1\162\1\60\1\156\1\142\1\141\1\uffff\1\141\1\154\1\145\1\154\1\162\1\103\1\60\1\145\1\151\1\145\1\141\1\145\1\uffff\1\156\1\60\1\uffff\1\145\1\157\1\uffff\1\162\1\163\1\uffff\1\157\2\151\1\uffff\1\60\1\165\1\143\1\160\1\145\1\147\1\60\1\141\1\157\1\141\1\uffff\1\144\1\164\1\120\1\154\1\162\1\141\1\uffff\2\162\1\151\1\60\1\151\1\156\1\166\1\uffff\2\164\1\150\1\141\1\145\1\uffff\1\143\1\155\1\143\1\123\1\151\1\157\1\60\1\163\1\154\1\60\1\171\1\166\1\uffff\1\156\1\164\2\145\2\60\1\156\1\162\1\164\1\160\1\150\1\164\1\162\1\157\1\151\1\uffff\2\60\1\uffff\1\60\1\145\1\164\1\60\1\156\1\60\2\uffff\2\60\1\145\1\157\1\151\2\141\2\156\3\uffff\1\156\1\60\1\uffff\1\60\3\uffff\1\162\2\156\1\164\1\156\1\60\1\164\1\60\2\uffff\1\60\3\145\1\163\1\157\1\uffff\1\60\2\uffff\1\156\2\60\2\151\1\uffff\1\164\2\uffff\1\164\1\156\1\60\1\151\1\164\1\uffff\1\157\1\60\1\156\1\uffff\1\60\1\uffff";
+ static final String DFA15_maxS =
+ "\1\uffff\1\171\1\141\1\uffff\1\76\2\172\1\157\1\164\1\171\1\164\1\157\2\uffff\1\164\1\145\1\162\1\150\1\uffff\1\156\1\162\2\165\1\160\7\uffff\1\52\2\uffff\1\141\1\170\1\uffff\1\172\2\uffff\1\uffff\1\57\2\uffff\1\156\1\172\1\uffff\1\154\3\uffff\1\145\2\164\1\uffff\1\164\1\151\1\uffff\1\164\1\172\1\171\2\164\1\163\1\156\1\142\1\122\1\144\2\uffff\1\141\1\146\1\141\1\157\1\uffff\1\172\1\165\2\172\2\164\1\141\1\156\1\172\13\uffff\1\156\2\uffff\1\47\4\uffff\1\144\1\uffff\1\163\1\156\1\145\1\164\2\162\1\164\1\141\1\uffff\1\156\1\151\1\162\1\164\1\143\1\147\1\157\1\156\1\145\1\150\1\145\1\164\1\151\1\156\1\151\1\164\1\uffff\1\147\1\145\2\uffff\1\172\1\151\1\162\1\144\1\uffff\1\144\1\uffff\1\141\1\145\1\164\1\156\1\172\2\171\1\120\1\144\1\143\1\157\1\151\1\162\1\172\1\162\1\157\1\164\2\141\1\154\1\145\1\156\1\163\1\143\1\151\1\147\1\172\1\uffff\1\157\1\144\1\172\1\154\1\164\1\172\2\144\1\uffff\1\172\1\120\1\157\1\162\1\172\1\156\1\142\1\141\1\uffff\1\141\1\154\1\145\1\154\1\162\1\103\1\172\1\145\1\151\1\145\1\141\1\145\1\uffff\1\156\1\172\1\uffff\1\145\1\157\1\uffff\1\162\1\163\1\uffff\1\157\2\151\1\uffff\1\172\1\165\1\143\1\160\1\145\1\147\1\172\1\141\1\157\1\141\1\uffff\1\144\1\164\1\120\1\154\1\162\1\141\1\uffff\2\162\1\151\1\172\1\151\1\156\1\166\1\uffff\2\164\1\150\1\141\1\145\1\uffff\1\143\1\155\1\143\1\124\1\151\1\157\1\172\1\163\1\154\1\172\1\171\1\166\1\uffff\1\156\1\164\2\145\2\172\1\156\1\162\1\164\1\160\1\150\1\164\1\162\1\157\1\151\1\uffff\2\172\1\uffff\1\172\1\145\1\164\1\172\1\156\1\172\2\uffff\2\172\1\145\1\157\1\151\2\141\2\156\3\uffff\1\156\1\172\1\uffff\1\172\3\uffff\1\162\2\156\1\164\1\156\1\172\1\164\1\172\2\uffff\1\172\3\145\1\163\1\157\1\uffff\1\172\2\uffff\1\156\2\172\2\151\1\uffff\1\164\2\uffff\1\164\1\156\1\172\1\151\1\164\1\uffff\1\157\1\172\1\156\1\uffff\1\172\1\uffff";
+ static final String DFA15_acceptS =
+ "\3\uffff\1\3\10\uffff\1\21\1\22\4\uffff\1\37\5\uffff\1\53\1\54\1\55\1\57\1\60\1\61\1\63\1\uffff\1\66\1\67\4\uffff\1\77\1\100\2\uffff\1\104\1\105\2\uffff\1\77\1\uffff\1\3\1\41\1\4\3\uffff\1\5\2\uffff\1\6\12\uffff\1\21\1\22\4\uffff\1\37\11\uffff\1\53\1\54\1\55\1\57\1\60\1\61\1\63\1\65\1\70\1\66\1\67\1\uffff\1\75\1\100\1\uffff\1\101\1\102\1\103\1\104\1\uffff\1\50\10\uffff\1\27\20\uffff\1\56\2\uffff\1\44\1\51\4\uffff\1\52\1\uffff\1\76\33\uffff\1\62\10\uffff\1\26\10\uffff\1\12\14\uffff\1\74\2\uffff\1\46\2\uffff\1\2\2\uffff\1\25\3\uffff\1\11\12\uffff\1\24\6\uffff\1\45\7\uffff\1\42\5\uffff\1\15\14\uffff\1\20\17\uffff\1\40\2\uffff\1\72\6\uffff\1\71\1\30\11\uffff\1\43\1\73\1\1\2\uffff\1\34\1\uffff\1\64\1\13\1\14\10\uffff\1\33\1\10\6\uffff\1\36\1\uffff\1\7\1\16\5\uffff\1\35\1\uffff\1\23\1\31\5\uffff\1\17\3\uffff\1\32\1\uffff\1\47";
+ static final String DFA15_specialS =
+ "\1\0\43\uffff\1\1\3\uffff\1\2\u0131\uffff}>";
+ static final String[] DFA15_transitionS = {
+ "\11\53\2\52\2\53\1\52\22\53\1\52\1\53\1\50\4\53\1\44\1\33\1\34\1\53\1\3\1\35\1\4\1\37\1\51\1\43\11\47\1\22\1\53\1\30\1\36\1\31\2\53\2\46\1\21\1\46\1\6\7\46\1\13\4\46\1\17\1\16\1\20\6\46\1\40\1\53\1\41\1\45\1\46\1\53\1\10\1\46\1\27\1\7\1\5\1\2\1\26\1\42\1\23\3\46\1\1\1\46\1\25\1\12\2\46\1\11\1\24\6\46\1\14\1\32\1\15\uff82\53",
"\1\54\27\uffff\1\55",
"\1\57",
"",
@@ -2476,53 +2553,53 @@ public class InternalFSMLexer extends Lexer {
"",
"\1\137",
"\1\140\37\uffff\1\140",
+ "\47\143\1\142\uffd8\143",
"\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
- "\0\142",
- "\0\142",
- "\1\143\4\uffff\1\144",
+ "\0\143",
+ "\1\144\4\uffff\1\145",
"",
"",
- "\1\146",
+ "\1\147",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
- "\1\150",
- "",
+ "\1\151",
"",
"",
- "\1\151",
- "\1\153\12\uffff\1\152",
- "\1\154",
"",
+ "\1\152",
+ "\1\154\12\uffff\1\153",
"\1\155",
- "\1\156",
"",
+ "\1\156",
"\1\157",
+ "",
+ "\1\160",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\161",
"\1\162",
"\1\163",
"\1\164",
"\1\165",
"\1\166",
- "\1\167\1\172\5\uffff\1\170\10\uffff\1\171",
- "\1\173",
+ "\1\167",
+ "\1\170\1\173\5\uffff\1\171\10\uffff\1\172",
+ "\1\174",
"",
"",
- "\1\174",
"\1\175",
"\1\176",
"\1\177",
+ "\1\u0080",
"",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\10\56\1\u0080\21\56",
- "\1\u0082\13\uffff\1\u0083",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\10\56\1\u0081\21\56",
+ "\1\u0083\13\uffff\1\u0084",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0086",
"\1\u0087",
"\1\u0088",
"\1\u0089",
+ "\1\u008a",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
@@ -2535,26 +2612,25 @@ public class InternalFSMLexer extends Lexer {
"",
"",
"",
- "\1\u008b",
- "",
+ "\1\u008c",
"",
"",
+ "\1\u008d",
"",
"",
"",
- "\1\u008c",
"",
- "\1\u008d",
"\1\u008e",
+ "",
"\1\u008f",
"\1\u0090",
"\1\u0091",
"\1\u0092",
"\1\u0093",
"\1\u0094",
- "",
"\1\u0095",
"\1\u0096",
+ "",
"\1\u0097",
"\1\u0098",
"\1\u0099",
@@ -2569,33 +2645,34 @@ public class InternalFSMLexer extends Lexer {
"\1\u00a2",
"\1\u00a3",
"\1\u00a4",
- "",
"\1\u00a5",
"\1\u00a6",
"",
+ "\1\u00a7",
+ "\1\u00a8",
+ "",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00a8",
- "\1\u00a9",
"\1\u00aa",
- "",
"\1\u00ab",
"\1\u00ac",
+ "",
"\1\u00ad",
+ "",
"\1\u00ae",
"\1\u00af",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00b0",
"\1\u00b1",
- "\1\u00b2",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u00b3",
"\1\u00b4",
"\1\u00b5",
"\1\u00b6",
"\1\u00b7",
"\1\u00b8",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00b9",
"\1\u00ba",
- "\1\u00bb",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u00bc",
"\1\u00bd",
"\1\u00be",
@@ -2606,105 +2683,105 @@ public class InternalFSMLexer extends Lexer {
"\1\u00c3",
"\1\u00c4",
"\1\u00c5",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "",
+ "\1\u00c6",
"\1\u00c7",
- "\1\u00c8",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "",
+ "\1\u00c9",
"\1\u00ca",
- "\1\u00cb",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00cc",
"\1\u00cd",
- "\1\u00ce",
- "",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00cf",
"\1\u00d0",
- "\1\u00d1",
- "\1\u00d2",
+ "",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00d2",
+ "\1\u00d3",
"\1\u00d4",
- "\1\u00d5",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u00d6",
- "",
"\1\u00d7",
"\1\u00d8",
+ "",
"\1\u00d9",
"\1\u00da",
"\1\u00db",
"\1\u00dc",
- "\12\56\7\uffff\14\56\1\u00dd\15\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00df",
- "\1\u00e0",
+ "\1\u00dd",
+ "\1\u00de",
+ "\12\56\7\uffff\14\56\1\u00df\15\56\4\uffff\1\56\1\uffff\32\56",
"\1\u00e1",
"\1\u00e2",
"\1\u00e3",
- "",
"\1\u00e4",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00e5",
"",
"\1\u00e6",
- "\1\u00e7",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"\1\u00e8",
"\1\u00e9",
"",
"\1\u00ea",
"\1\u00eb",
+ "",
"\1\u00ec",
+ "\1\u00ed",
+ "\1\u00ee",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00ee",
- "\1\u00ef",
"\1\u00f0",
"\1\u00f1",
"\1\u00f2",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u00f3",
"\1\u00f4",
- "\1\u00f5",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u00f6",
- "",
"\1\u00f7",
"\1\u00f8",
+ "",
"\1\u00f9",
"\1\u00fa",
"\1\u00fb",
"\1\u00fc",
- "",
"\1\u00fd",
"\1\u00fe",
+ "",
"\1\u00ff",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u0100",
"\1\u0101",
- "\1\u0102",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u0103",
- "",
"\1\u0104",
"\1\u0105",
+ "",
"\1\u0106",
"\1\u0107",
"\1\u0108",
- "",
"\1\u0109",
"\1\u010a",
+ "",
"\1\u010b",
- "\1\u010c\1\u010d",
- "\1\u010e",
- "\1\u010f",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u010c",
+ "\1\u010d",
+ "\1\u010e\1\u010f",
+ "\1\u0110",
"\1\u0111",
- "\1\u0112",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u0113",
"\1\u0114",
- "\1\u0115",
- "",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\1\u0116",
"\1\u0117",
+ "",
"\1\u0118",
"\1\u0119",
+ "\1\u011a",
+ "\1\u011b",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u011c",
- "\1\u011d",
"\1\u011e",
"\1\u011f",
"\1\u0120",
@@ -2712,223 +2789,227 @@ public class InternalFSMLexer extends Lexer {
"\1\u0122",
"\1\u0123",
"\1\u0124",
+ "\1\u0125",
+ "\1\u0126",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0128",
- "\1\u0129",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u012a",
"\1\u012b",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u012d",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u012f",
- "\1\u0130",
"\1\u0131",
"\1\u0132",
"\1\u0133",
"\1\u0134",
"\1\u0135",
+ "\1\u0136",
+ "\1\u0137",
"",
"",
"",
- "\1\u0136",
+ "\1\u0138",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
"",
- "\1\u0139",
- "\1\u013a",
"\1\u013b",
"\1\u013c",
"\1\u013d",
- "\12\56\7\uffff\17\56\1\u013e\12\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0140",
+ "\1\u013e",
+ "\1\u013f",
+ "\12\56\7\uffff\17\56\1\u0140\12\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u0142",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0143",
- "\1\u0144",
"\1\u0145",
"\1\u0146",
"\1\u0147",
+ "\1\u0148",
+ "\1\u0149",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"",
"",
- "\1\u0149",
+ "\1\u014b",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u014c",
- "\1\u014d",
- "",
"\1\u014e",
- "",
- "",
"\1\u014f",
+ "",
"\1\u0150",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0152",
- "\1\u0153",
"",
- "\1\u0154",
+ "",
+ "\1\u0151",
+ "\1\u0152",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u0154",
+ "\1\u0155",
+ "",
"\1\u0156",
+ "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
+ "\1\u0158",
"",
"\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
""
};
- 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 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | 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 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | 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_0 = input.LA(1);
s = -1;
- if ( (LA14_0=='m') ) {s = 1;}
+ if ( (LA15_0=='m') ) {s = 1;}
- else if ( (LA14_0=='f') ) {s = 2;}
+ else if ( (LA15_0=='f') ) {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=='e') ) {s = 5;}
+ else if ( (LA15_0=='e') ) {s = 5;}
- else if ( (LA14_0=='E') ) {s = 6;}
+ else if ( (LA15_0=='E') ) {s = 6;}
- else if ( (LA14_0=='d') ) {s = 7;}
+ else if ( (LA15_0=='d') ) {s = 7;}
- else if ( (LA14_0=='a') ) {s = 8;}
+ else if ( (LA15_0=='a') ) {s = 8;}
- else if ( (LA14_0=='s') ) {s = 9;}
+ else if ( (LA15_0=='s') ) {s = 9;}
- else if ( (LA14_0=='p') ) {s = 10;}
+ else if ( (LA15_0=='p') ) {s = 10;}
- else if ( (LA14_0=='M') ) {s = 11;}
+ else if ( (LA15_0=='M') ) {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') ) {s = 14;}
+ else if ( (LA15_0=='S') ) {s = 14;}
- else if ( (LA14_0=='R') ) {s = 15;}
+ else if ( (LA15_0=='R') ) {s = 15;}
- else if ( (LA14_0=='T') ) {s = 16;}
+ else if ( (LA15_0=='T') ) {s = 16;}
- else if ( (LA14_0=='C') ) {s = 17;}
+ else if ( (LA15_0=='C') ) {s = 17;}
- else if ( (LA14_0==':') ) {s = 18;}
+ else if ( (LA15_0==':') ) {s = 18;}
- else if ( (LA14_0=='i') ) {s = 19;}
+ else if ( (LA15_0=='i') ) {s = 19;}
- else if ( (LA14_0=='t') ) {s = 20;}
+ else if ( (LA15_0=='t') ) {s = 20;}
- else if ( (LA14_0=='o') ) {s = 21;}
+ else if ( (LA15_0=='o') ) {s = 21;}
- else if ( (LA14_0=='g') ) {s = 22;}
+ else if ( (LA15_0=='g') ) {s = 22;}
- else if ( (LA14_0=='c') ) {s = 23;}
+ else if ( (LA15_0=='c') ) {s = 23;}
- else if ( (LA14_0=='<') ) {s = 24;}
+ else if ( (LA15_0=='<') ) {s = 24;}
- else if ( (LA14_0=='>') ) {s = 25;}
+ else if ( (LA15_0=='>') ) {s = 25;}
- else if ( (LA14_0=='|') ) {s = 26;}
+ else if ( (LA15_0=='|') ) {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==',') ) {s = 29;}
+ else if ( (LA15_0==',') ) {s = 29;}
- else if ( (LA14_0=='=') ) {s = 30;}
+ else if ( (LA15_0=='=') ) {s = 30;}
- else if ( (LA14_0=='.') ) {s = 31;}
+ else if ( (LA15_0=='.') ) {s = 31;}
- else if ( (LA14_0=='[') ) {s = 32;}
+ else if ( (LA15_0=='[') ) {s = 32;}
- else if ( (LA14_0==']') ) {s = 33;}
+ else if ( (LA15_0==']') ) {s = 33;}
- else if ( (LA14_0=='h') ) {s = 34;}
+ else if ( (LA15_0=='h') ) {s = 34;}
- else if ( (LA14_0=='0') ) {s = 35;}
+ else if ( (LA15_0=='0') ) {s = 35;}
- else if ( (LA14_0=='^') ) {s = 36;}
+ else if ( (LA15_0=='\'') ) {s = 36;}
- else if ( ((LA14_0>='A' && LA14_0<='B')||LA14_0=='D'||(LA14_0>='F' && LA14_0<='L')||(LA14_0>='N' && LA14_0<='Q')||(LA14_0>='U' && LA14_0<='Z')||LA14_0=='_'||LA14_0=='b'||(LA14_0>='j' && LA14_0<='l')||LA14_0=='n'||(LA14_0>='q' && LA14_0<='r')||(LA14_0>='u' && LA14_0<='z')) ) {s = 37;}
+ else if ( (LA15_0=='^') ) {s = 37;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 38;}
+ else if ( ((LA15_0>='A' && LA15_0<='B')||LA15_0=='D'||(LA15_0>='F' && LA15_0<='L')||(LA15_0>='N' && LA15_0<='Q')||(LA15_0>='U' && LA15_0<='Z')||LA15_0=='_'||LA15_0=='b'||(LA15_0>='j' && LA15_0<='l')||LA15_0=='n'||(LA15_0>='q' && LA15_0<='r')||(LA15_0>='u' && LA15_0<='z')) ) {s = 38;}
- else if ( (LA14_0=='\"') ) {s = 39;}
+ else if ( ((LA15_0>='1' && LA15_0<='9')) ) {s = 39;}
- else if ( (LA14_0=='\'') ) {s = 40;}
+ else if ( (LA15_0=='\"') ) {s = 40;}
- else if ( (LA14_0=='/') ) {s = 41;}
+ else if ( (LA15_0=='/') ) {s = 41;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 42;}
+ else if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) {s = 42;}
- 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<='\uFFFF')) ) {s = 43;}
+ 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<='\uFFFF')) ) {s = 43;}
if ( s>=0 ) return s;
break;
case 1 :
- int LA14_39 = input.LA(1);
+ int LA15_36 = input.LA(1);
s = -1;
- if ( ((LA14_39>='\u0000' && LA14_39<='\uFFFF')) ) {s = 98;}
+ if ( (LA15_36=='\'') ) {s = 98;}
+
+ else if ( ((LA15_36>='\u0000' && LA15_36<='&')||(LA15_36>='(' && LA15_36<='\uFFFF')) ) {s = 99;}
else s = 43;
if ( s>=0 ) return s;
break;
case 2 :
- int LA14_40 = input.LA(1);
+ int LA15_40 = input.LA(1);
s = -1;
- if ( ((LA14_40>='\u0000' && LA14_40<='\uFFFF')) ) {s = 98;}
+ if ( ((LA15_40>='\u0000' && LA15_40<='\uFFFF')) ) {s = 99;}
else s = 43;
@@ -2936,7 +3017,7 @@ public class InternalFSMLexer 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.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMParser.java b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMParser.java
index 05ce7e221..5112da97b 100644
--- a/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMParser.java
+++ b/plugins/org.eclipse.etrice.core.fsm.ui/src-gen/org/eclipse/etrice/core/fsm/ui/contentassist/antlr/internal/InternalFSMParser.java
@@ -22,18 +22,18 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalFSMParser extends AbstractInternalContentAssistParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'mandatory'", "'false'", "'+'", "'-'", "'e'", "'E'", "'eventdriven'", "'datadriven'", "'async'", "'sync'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'", "'ModelComponent'", "'extends'", "'{'", "'}'", "'StateMachine'", "'State'", "'entry'", "'exit'", "'do'", "'subgraph'", "'RefinedState'", "'TransitionPoint'", "'EntryPoint'", "'ExitPoint'", "'ChoicePoint'", "'Transition'", "':'", "'initial'", "'->'", "'action'", "'triggers'", "'or'", "'guard'", "'cond'", "'RefinedTransition'", "'my'", "'of'", "'cp'", "'<'", "'>'", "'|'", "'in'", "'('", "')'", "','", "'out'", "'='", "'attribute'", "'.*'", "'['", "']'", "'.'", "'abstract'", "'handler'", "'optional'", "'true'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_STRING", "RULE_CC_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'mandatory'", "'false'", "'+'", "'-'", "'e'", "'E'", "'eventdriven'", "'datadriven'", "'async'", "'sync'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'", "'ModelComponent'", "'extends'", "'{'", "'}'", "'StateMachine'", "'State'", "'entry'", "'exit'", "'do'", "'subgraph'", "'RefinedState'", "'TransitionPoint'", "'EntryPoint'", "'ExitPoint'", "'ChoicePoint'", "'Transition'", "':'", "'initial'", "'->'", "'action'", "'triggers'", "'or'", "'guard'", "'cond'", "'RefinedTransition'", "'my'", "'of'", "'cp'", "'<'", "'>'", "'|'", "'in'", "'('", "')'", "','", "'out'", "'='", "'attribute'", "'.*'", "'['", "']'", "'.'", "'abstract'", "'handler'", "'optional'", "'true'"
};
public static final int RULE_HEX=5;
public static final int T__50=50;
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__59=59;
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__55=55;
- public static final int T__12=12;
public static final int T__56=56;
public static final int T__13=13;
public static final int T__57=57;
@@ -53,7 +53,7 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
public static final int T__29=29;
public static final int T__22=22;
public static final int T__66=66;
- 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__67=67;
public static final int T__24=24;
@@ -68,8 +68,9 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
public static final int T__65=65;
public static final int T__70=70;
public static final int T__71=71;
+ public static final int T__72=72;
public static final int RULE_STRING=7;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
@@ -81,8 +82,8 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
- 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__48=48;
public static final int T__49=49;
public static final int T__44=44;
@@ -181,7 +182,7 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( ((LA1_0>=18 && LA1_0<=21)||LA1_0==26||LA1_0==68) ) {
+ if ( ((LA1_0>=19 && LA1_0<=22)||LA1_0==27||LA1_0==69) ) {
alt1=1;
}
@@ -796,31 +797,31 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleDetailCode"
- // InternalFSM.g:295:1: ruleDetailCode : ( ( rule__DetailCode__Group__0 ) ) ;
+ // InternalFSM.g:295:1: ruleDetailCode : ( ( rule__DetailCode__Alternatives ) ) ;
public final void ruleDetailCode() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:299:2: ( ( ( rule__DetailCode__Group__0 ) ) )
- // InternalFSM.g:300:1: ( ( rule__DetailCode__Group__0 ) )
+ // InternalFSM.g:299:2: ( ( ( rule__DetailCode__Alternatives ) ) )
+ // InternalFSM.g:300:1: ( ( rule__DetailCode__Alternatives ) )
{
- // InternalFSM.g:300:1: ( ( rule__DetailCode__Group__0 ) )
- // InternalFSM.g:301:1: ( rule__DetailCode__Group__0 )
+ // InternalFSM.g:300:1: ( ( rule__DetailCode__Alternatives ) )
+ // InternalFSM.g:301:1: ( rule__DetailCode__Alternatives )
{
- before(grammarAccess.getDetailCodeAccess().getGroup());
- // InternalFSM.g:302:1: ( rule__DetailCode__Group__0 )
- // InternalFSM.g:302:2: rule__DetailCode__Group__0
+ before(grammarAccess.getDetailCodeAccess().getAlternatives());
+ // InternalFSM.g:302:1: ( rule__DetailCode__Alternatives )
+ // InternalFSM.g:302:2: rule__DetailCode__Alternatives
{
pushFollow(FOLLOW_2);
- rule__DetailCode__Group__0();
+ rule__DetailCode__Alternatives();
state._fsp--;
}
- after(grammarAccess.getDetailCodeAccess().getGroup());
+ after(grammarAccess.getDetailCodeAccess().getAlternatives());
}
@@ -4263,21 +4264,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// InternalFSM.g:1592:1: ( ( ruleState ) | ( ruleChoicePoint ) | ( ruleTrPoint ) )
int alt2=3;
switch ( input.LA(1) ) {
- case 31:
- case 36:
+ case 32:
+ case 37:
{
alt2=1;
}
break;
- case 40:
+ case 41:
{
alt2=2;
}
break;
- case 37:
case 38:
case 39:
- case 69:
+ case 40:
+ case 70:
{
alt2=3;
}
@@ -4374,31 +4375,31 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// InternalFSM.g:1621:1: ( ( ( rule__StateGraph__StatesAssignment_2_0 ) ) | ( ( rule__StateGraph__TrPointsAssignment_2_1 ) ) | ( ( rule__StateGraph__ChPointsAssignment_2_2 ) ) | ( ( rule__StateGraph__TransitionsAssignment_2_3 ) ) | ( ( rule__StateGraph__RefinedTransitionsAssignment_2_4 ) ) )
int alt3=5;
switch ( input.LA(1) ) {
- case 31:
- case 36:
+ case 32:
+ case 37:
{
alt3=1;
}
break;
- case 37:
case 38:
case 39:
- case 69:
+ case 40:
+ case 70:
{
alt3=2;
}
break;
- case 40:
+ case 41:
{
alt3=3;
}
break;
- case 41:
+ case 42:
{
alt3=4;
}
break;
- case 50:
+ case 51:
{
alt3=5;
}
@@ -4563,31 +4564,31 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// InternalFSM.g:1661:1: ( ( ( rule__StateMachine__StatesAssignment_3_0 ) ) | ( ( rule__StateMachine__TrPointsAssignment_3_1 ) ) | ( ( rule__StateMachine__ChPointsAssignment_3_2 ) ) | ( ( rule__StateMachine__TransitionsAssignment_3_3 ) ) | ( ( rule__StateMachine__RefinedTransitionsAssignment_3_4 ) ) )
int alt4=5;
switch ( input.LA(1) ) {
- case 31:
- case 36:
+ case 32:
+ case 37:
{
alt4=1;
}
break;
- case 37:
case 38:
case 39:
- case 69:
+ case 40:
+ case 70:
{
alt4=2;
}
break;
- case 40:
+ case 41:
{
alt4=3;
}
break;
- case 41:
+ case 42:
{
alt4=4;
}
break;
- case 50:
+ case 51:
{
alt4=5;
}
@@ -4753,10 +4754,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==31) ) {
+ if ( (LA5_0==32) ) {
alt5=1;
}
- else if ( (LA5_0==36) ) {
+ else if ( (LA5_0==37) ) {
alt5=2;
}
else {
@@ -4821,45 +4822,147 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__State__Alternatives"
+ // $ANTLR start "rule__DetailCode__Alternatives"
+ // InternalFSM.g:1719:1: rule__DetailCode__Alternatives : ( ( ( rule__DetailCode__Group_0__0 ) ) | ( ( rule__DetailCode__LinesAssignment_1 )? ) );
+ public final void rule__DetailCode__Alternatives() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalFSM.g:1723:1: ( ( ( rule__DetailCode__Group_0__0 ) ) | ( ( rule__DetailCode__LinesAssignment_1 )? ) )
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0==29) ) {
+ alt7=1;
+ }
+ else if ( (LA7_0==EOF||LA7_0==RULE_CC_STRING||LA7_0==30||(LA7_0>=34 && LA7_0<=36)||LA7_0==46||LA7_0==56) ) {
+ alt7=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 7, 0, input);
+
+ throw nvae;
+ }
+ switch (alt7) {
+ case 1 :
+ // InternalFSM.g:1724:1: ( ( rule__DetailCode__Group_0__0 ) )
+ {
+ // InternalFSM.g:1724:1: ( ( rule__DetailCode__Group_0__0 ) )
+ // InternalFSM.g:1725:1: ( rule__DetailCode__Group_0__0 )
+ {
+ before(grammarAccess.getDetailCodeAccess().getGroup_0());
+ // InternalFSM.g:1726:1: ( rule__DetailCode__Group_0__0 )
+ // InternalFSM.g:1726:2: rule__DetailCode__Group_0__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__DetailCode__Group_0__0();
+
+ state._fsp--;
+
+
+ }
+
+ after(grammarAccess.getDetailCodeAccess().getGroup_0());
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalFSM.g:1730:6: ( ( rule__DetailCode__LinesAssignment_1 )? )
+ {
+ // InternalFSM.g:1730:6: ( ( rule__DetailCode__LinesAssignment_1 )? )
+ // InternalFSM.g:1731:1: ( rule__DetailCode__LinesAssignment_1 )?
+ {
+ before(grammarAccess.getDetailCodeAccess().getLinesAssignment_1());
+ // InternalFSM.g:1732:1: ( rule__DetailCode__LinesAssignment_1 )?
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0==RULE_CC_STRING) ) {
+ alt6=1;
+ }
+ switch (alt6) {
+ case 1 :
+ // InternalFSM.g:1732:2: rule__DetailCode__LinesAssignment_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__DetailCode__LinesAssignment_1();
+
+ state._fsp--;
+
+
+ }
+ break;
+
+ }
+
+ after(grammarAccess.getDetailCodeAccess().getLinesAssignment_1());
+
+ }
+
+
+ }
+ break;
+
+ }
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__DetailCode__Alternatives"
+
+
// $ANTLR start "rule__TrPoint__Alternatives"
- // InternalFSM.g:1719:1: rule__TrPoint__Alternatives : ( ( ruleTransitionPoint ) | ( ruleEntryPoint ) | ( ruleExitPoint ) );
+ // InternalFSM.g:1741:1: rule__TrPoint__Alternatives : ( ( ruleTransitionPoint ) | ( ruleEntryPoint ) | ( ruleExitPoint ) );
public final void rule__TrPoint__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1723:1: ( ( ruleTransitionPoint ) | ( ruleEntryPoint ) | ( ruleExitPoint ) )
- int alt6=3;
+ // InternalFSM.g:1745:1: ( ( ruleTransitionPoint ) | ( ruleEntryPoint ) | ( ruleExitPoint ) )
+ int alt8=3;
switch ( input.LA(1) ) {
- case 37:
- case 69:
+ case 38:
+ case 70:
{
- alt6=1;
+ alt8=1;
}
break;
- case 38:
+ case 39:
{
- alt6=2;
+ alt8=2;
}
break;
- case 39:
+ case 40:
{
- alt6=3;
+ alt8=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 6, 0, input);
+ new NoViableAltException("", 8, 0, input);
throw nvae;
}
- switch (alt6) {
+ switch (alt8) {
case 1 :
- // InternalFSM.g:1724:1: ( ruleTransitionPoint )
+ // InternalFSM.g:1746:1: ( ruleTransitionPoint )
{
- // InternalFSM.g:1724:1: ( ruleTransitionPoint )
- // InternalFSM.g:1725:1: ruleTransitionPoint
+ // InternalFSM.g:1746:1: ( ruleTransitionPoint )
+ // InternalFSM.g:1747:1: ruleTransitionPoint
{
before(grammarAccess.getTrPointAccess().getTransitionPointParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -4875,10 +4978,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1730:6: ( ruleEntryPoint )
+ // InternalFSM.g:1752:6: ( ruleEntryPoint )
{
- // InternalFSM.g:1730:6: ( ruleEntryPoint )
- // InternalFSM.g:1731:1: ruleEntryPoint
+ // InternalFSM.g:1752:6: ( ruleEntryPoint )
+ // InternalFSM.g:1753:1: ruleEntryPoint
{
before(grammarAccess.getTrPointAccess().getEntryPointParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -4894,10 +4997,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:1736:6: ( ruleExitPoint )
+ // InternalFSM.g:1758:6: ( ruleExitPoint )
{
- // InternalFSM.g:1736:6: ( ruleExitPoint )
- // InternalFSM.g:1737:1: ruleExitPoint
+ // InternalFSM.g:1758:6: ( ruleExitPoint )
+ // InternalFSM.g:1759:1: ruleExitPoint
{
before(grammarAccess.getTrPointAccess().getExitPointParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -4930,80 +5033,80 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Transition__Alternatives"
- // InternalFSM.g:1748:1: rule__Transition__Alternatives : ( ( ruleInitialTransition ) | ( ruleNonInitialTransition ) );
+ // InternalFSM.g:1770:1: rule__Transition__Alternatives : ( ( ruleInitialTransition ) | ( ruleNonInitialTransition ) );
public final void rule__Transition__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1752:1: ( ( ruleInitialTransition ) | ( ruleNonInitialTransition ) )
- int alt7=2;
- int LA7_0 = input.LA(1);
+ // InternalFSM.g:1774:1: ( ( ruleInitialTransition ) | ( ruleNonInitialTransition ) )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA7_0==41) ) {
- int LA7_1 = input.LA(2);
+ if ( (LA9_0==42) ) {
+ int LA9_1 = input.LA(2);
- if ( (LA7_1==RULE_ID) ) {
- int LA7_2 = input.LA(3);
+ if ( (LA9_1==RULE_ID) ) {
+ int LA9_2 = input.LA(3);
- if ( (LA7_2==42) ) {
- int LA7_3 = input.LA(4);
+ if ( (LA9_2==43) ) {
+ int LA9_3 = input.LA(4);
- if ( (LA7_3==RULE_ID||LA7_3==51||LA7_3==53) ) {
- alt7=2;
+ if ( (LA9_3==44) ) {
+ alt9=1;
}
- else if ( (LA7_3==43) ) {
- alt7=1;
+ else if ( (LA9_3==RULE_ID||LA9_3==52||LA9_3==54) ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 7, 3, input);
+ new NoViableAltException("", 9, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 7, 2, input);
+ new NoViableAltException("", 9, 2, input);
throw nvae;
}
}
- else if ( (LA7_1==42) ) {
- int LA7_3 = input.LA(3);
+ else if ( (LA9_1==43) ) {
+ int LA9_3 = input.LA(3);
- if ( (LA7_3==RULE_ID||LA7_3==51||LA7_3==53) ) {
- alt7=2;
+ if ( (LA9_3==44) ) {
+ alt9=1;
}
- else if ( (LA7_3==43) ) {
- alt7=1;
+ else if ( (LA9_3==RULE_ID||LA9_3==52||LA9_3==54) ) {
+ alt9=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 7, 3, input);
+ new NoViableAltException("", 9, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
+ new NoViableAltException("", 9, 1, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
+ new NoViableAltException("", 9, 0, input);
throw nvae;
}
- switch (alt7) {
+ switch (alt9) {
case 1 :
- // InternalFSM.g:1753:1: ( ruleInitialTransition )
+ // InternalFSM.g:1775:1: ( ruleInitialTransition )
{
- // InternalFSM.g:1753:1: ( ruleInitialTransition )
- // InternalFSM.g:1754:1: ruleInitialTransition
+ // InternalFSM.g:1775:1: ( ruleInitialTransition )
+ // InternalFSM.g:1776:1: ruleInitialTransition
{
before(grammarAccess.getTransitionAccess().getInitialTransitionParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5019,10 +5122,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1759:6: ( ruleNonInitialTransition )
+ // InternalFSM.g:1781:6: ( ruleNonInitialTransition )
{
- // InternalFSM.g:1759:6: ( ruleNonInitialTransition )
- // InternalFSM.g:1760:1: ruleNonInitialTransition
+ // InternalFSM.g:1781:6: ( ruleNonInitialTransition )
+ // InternalFSM.g:1782:1: ruleNonInitialTransition
{
before(grammarAccess.getTransitionAccess().getNonInitialTransitionParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5055,21 +5158,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__NonInitialTransition__Alternatives"
- // InternalFSM.g:1770:1: rule__NonInitialTransition__Alternatives : ( ( ruleTransitionChainStartTransition ) | ( ruleContinuationTransition ) | ( ruleCPBranchTransition ) );
+ // InternalFSM.g:1792:1: rule__NonInitialTransition__Alternatives : ( ( ruleTransitionChainStartTransition ) | ( ruleContinuationTransition ) | ( ruleCPBranchTransition ) );
public final void rule__NonInitialTransition__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1774:1: ( ( ruleTransitionChainStartTransition ) | ( ruleContinuationTransition ) | ( ruleCPBranchTransition ) )
- int alt8=3;
- alt8 = dfa8.predict(input);
- switch (alt8) {
+ // InternalFSM.g:1796:1: ( ( ruleTransitionChainStartTransition ) | ( ruleContinuationTransition ) | ( ruleCPBranchTransition ) )
+ int alt10=3;
+ alt10 = dfa10.predict(input);
+ switch (alt10) {
case 1 :
- // InternalFSM.g:1775:1: ( ruleTransitionChainStartTransition )
+ // InternalFSM.g:1797:1: ( ruleTransitionChainStartTransition )
{
- // InternalFSM.g:1775:1: ( ruleTransitionChainStartTransition )
- // InternalFSM.g:1776:1: ruleTransitionChainStartTransition
+ // InternalFSM.g:1797:1: ( ruleTransitionChainStartTransition )
+ // InternalFSM.g:1798:1: ruleTransitionChainStartTransition
{
before(grammarAccess.getNonInitialTransitionAccess().getTransitionChainStartTransitionParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5085,10 +5188,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1781:6: ( ruleContinuationTransition )
+ // InternalFSM.g:1803:6: ( ruleContinuationTransition )
{
- // InternalFSM.g:1781:6: ( ruleContinuationTransition )
- // InternalFSM.g:1782:1: ruleContinuationTransition
+ // InternalFSM.g:1803:6: ( ruleContinuationTransition )
+ // InternalFSM.g:1804:1: ruleContinuationTransition
{
before(grammarAccess.getNonInitialTransitionAccess().getContinuationTransitionParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5104,10 +5207,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:1787:6: ( ruleCPBranchTransition )
+ // InternalFSM.g:1809:6: ( ruleCPBranchTransition )
{
- // InternalFSM.g:1787:6: ( ruleCPBranchTransition )
- // InternalFSM.g:1788:1: ruleCPBranchTransition
+ // InternalFSM.g:1809:6: ( ruleCPBranchTransition )
+ // InternalFSM.g:1810:1: ruleCPBranchTransition
{
before(grammarAccess.getNonInitialTransitionAccess().getCPBranchTransitionParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -5140,21 +5243,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__TransitionChainStartTransition__Alternatives"
- // InternalFSM.g:1798:1: rule__TransitionChainStartTransition__Alternatives : ( ( ruleTriggeredTransition ) | ( ruleGuardedTransition ) );
+ // InternalFSM.g:1820:1: rule__TransitionChainStartTransition__Alternatives : ( ( ruleTriggeredTransition ) | ( ruleGuardedTransition ) );
public final void rule__TransitionChainStartTransition__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1802:1: ( ( ruleTriggeredTransition ) | ( ruleGuardedTransition ) )
- int alt9=2;
- alt9 = dfa9.predict(input);
- switch (alt9) {
+ // InternalFSM.g:1824:1: ( ( ruleTriggeredTransition ) | ( ruleGuardedTransition ) )
+ int alt11=2;
+ alt11 = dfa11.predict(input);
+ switch (alt11) {
case 1 :
- // InternalFSM.g:1803:1: ( ruleTriggeredTransition )
+ // InternalFSM.g:1825:1: ( ruleTriggeredTransition )
{
- // InternalFSM.g:1803:1: ( ruleTriggeredTransition )
- // InternalFSM.g:1804:1: ruleTriggeredTransition
+ // InternalFSM.g:1825:1: ( ruleTriggeredTransition )
+ // InternalFSM.g:1826:1: ruleTriggeredTransition
{
before(grammarAccess.getTransitionChainStartTransitionAccess().getTriggeredTransitionParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5170,10 +5273,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1809:6: ( ruleGuardedTransition )
+ // InternalFSM.g:1831:6: ( ruleGuardedTransition )
{
- // InternalFSM.g:1809:6: ( ruleGuardedTransition )
- // InternalFSM.g:1810:1: ruleGuardedTransition
+ // InternalFSM.g:1831:6: ( ruleGuardedTransition )
+ // InternalFSM.g:1832:1: ruleGuardedTransition
{
before(grammarAccess.getTransitionChainStartTransitionAccess().getGuardedTransitionParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5206,56 +5309,56 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__TransitionTerminal__Alternatives"
- // InternalFSM.g:1820:1: rule__TransitionTerminal__Alternatives : ( ( ruleStateTerminal ) | ( ruleTrPointTerminal ) | ( ruleSubStateTrPointTerminal ) | ( ruleChoicepointTerminal ) );
+ // InternalFSM.g:1842:1: rule__TransitionTerminal__Alternatives : ( ( ruleStateTerminal ) | ( ruleTrPointTerminal ) | ( ruleSubStateTrPointTerminal ) | ( ruleChoicepointTerminal ) );
public final void rule__TransitionTerminal__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1824:1: ( ( ruleStateTerminal ) | ( ruleTrPointTerminal ) | ( ruleSubStateTrPointTerminal ) | ( ruleChoicepointTerminal ) )
- int alt10=4;
+ // InternalFSM.g:1846:1: ( ( ruleStateTerminal ) | ( ruleTrPointTerminal ) | ( ruleSubStateTrPointTerminal ) | ( ruleChoicepointTerminal ) )
+ int alt12=4;
switch ( input.LA(1) ) {
case RULE_ID:
{
- int LA10_1 = input.LA(2);
+ int LA12_1 = input.LA(2);
- if ( (LA10_1==52) ) {
- alt10=3;
+ if ( (LA12_1==EOF||(LA12_1>=29 && LA12_1<=30)||LA12_1==32||(LA12_1>=37 && LA12_1<=42)||LA12_1==45||LA12_1==51||LA12_1==66||LA12_1==70) ) {
+ alt12=1;
}
- else if ( (LA10_1==EOF||(LA10_1>=28 && LA10_1<=29)||LA10_1==31||(LA10_1>=36 && LA10_1<=41)||LA10_1==44||LA10_1==50||LA10_1==65||LA10_1==69) ) {
- alt10=1;
+ else if ( (LA12_1==53) ) {
+ alt12=3;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 10, 1, input);
+ new NoViableAltException("", 12, 1, input);
throw nvae;
}
}
break;
- case 51:
+ case 52:
{
- alt10=2;
+ alt12=2;
}
break;
- case 53:
+ case 54:
{
- alt10=4;
+ alt12=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 10, 0, input);
+ new NoViableAltException("", 12, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt12) {
case 1 :
- // InternalFSM.g:1825:1: ( ruleStateTerminal )
+ // InternalFSM.g:1847:1: ( ruleStateTerminal )
{
- // InternalFSM.g:1825:1: ( ruleStateTerminal )
- // InternalFSM.g:1826:1: ruleStateTerminal
+ // InternalFSM.g:1847:1: ( ruleStateTerminal )
+ // InternalFSM.g:1848:1: ruleStateTerminal
{
before(grammarAccess.getTransitionTerminalAccess().getStateTerminalParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5271,10 +5374,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1831:6: ( ruleTrPointTerminal )
+ // InternalFSM.g:1853:6: ( ruleTrPointTerminal )
{
- // InternalFSM.g:1831:6: ( ruleTrPointTerminal )
- // InternalFSM.g:1832:1: ruleTrPointTerminal
+ // InternalFSM.g:1853:6: ( ruleTrPointTerminal )
+ // InternalFSM.g:1854:1: ruleTrPointTerminal
{
before(grammarAccess.getTransitionTerminalAccess().getTrPointTerminalParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5290,10 +5393,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:1837:6: ( ruleSubStateTrPointTerminal )
+ // InternalFSM.g:1859:6: ( ruleSubStateTrPointTerminal )
{
- // InternalFSM.g:1837:6: ( ruleSubStateTrPointTerminal )
- // InternalFSM.g:1838:1: ruleSubStateTrPointTerminal
+ // InternalFSM.g:1859:6: ( ruleSubStateTrPointTerminal )
+ // InternalFSM.g:1860:1: ruleSubStateTrPointTerminal
{
before(grammarAccess.getTransitionTerminalAccess().getSubStateTrPointTerminalParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -5309,10 +5412,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalFSM.g:1843:6: ( ruleChoicepointTerminal )
+ // InternalFSM.g:1865:6: ( ruleChoicepointTerminal )
{
- // InternalFSM.g:1843:6: ( ruleChoicepointTerminal )
- // InternalFSM.g:1844:1: ruleChoicepointTerminal
+ // InternalFSM.g:1865:6: ( ruleChoicepointTerminal )
+ // InternalFSM.g:1866:1: ruleChoicepointTerminal
{
before(grammarAccess.getTransitionTerminalAccess().getChoicepointTerminalParserRuleCall_3());
pushFollow(FOLLOW_2);
@@ -5345,34 +5448,34 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SemanticsRule__Alternatives"
- // InternalFSM.g:1854:1: rule__SemanticsRule__Alternatives : ( ( ruleInSemanticsRule ) | ( ruleOutSemanticsRule ) );
+ // InternalFSM.g:1876:1: rule__SemanticsRule__Alternatives : ( ( ruleInSemanticsRule ) | ( ruleOutSemanticsRule ) );
public final void rule__SemanticsRule__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1858:1: ( ( ruleInSemanticsRule ) | ( ruleOutSemanticsRule ) )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalFSM.g:1880:1: ( ( ruleInSemanticsRule ) | ( ruleOutSemanticsRule ) )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA11_0==57) ) {
- alt11=1;
+ if ( (LA13_0==58) ) {
+ alt13=1;
}
- else if ( (LA11_0==61) ) {
- alt11=2;
+ else if ( (LA13_0==62) ) {
+ alt13=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 11, 0, input);
+ new NoViableAltException("", 13, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt13) {
case 1 :
- // InternalFSM.g:1859:1: ( ruleInSemanticsRule )
+ // InternalFSM.g:1881:1: ( ruleInSemanticsRule )
{
- // InternalFSM.g:1859:1: ( ruleInSemanticsRule )
- // InternalFSM.g:1860:1: ruleInSemanticsRule
+ // InternalFSM.g:1881:1: ( ruleInSemanticsRule )
+ // InternalFSM.g:1882:1: ruleInSemanticsRule
{
before(grammarAccess.getSemanticsRuleAccess().getInSemanticsRuleParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5388,10 +5491,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1865:6: ( ruleOutSemanticsRule )
+ // InternalFSM.g:1887:6: ( ruleOutSemanticsRule )
{
- // InternalFSM.g:1865:6: ( ruleOutSemanticsRule )
- // InternalFSM.g:1866:1: ruleOutSemanticsRule
+ // InternalFSM.g:1887:6: ( ruleOutSemanticsRule )
+ // InternalFSM.g:1888:1: ruleOutSemanticsRule
{
before(grammarAccess.getSemanticsRuleAccess().getOutSemanticsRuleParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5424,38 +5527,38 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InSemanticsRule__Alternatives_3_1"
- // InternalFSM.g:1876:1: rule__InSemanticsRule__Alternatives_3_1 : ( ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__InSemanticsRule__Group_3_1_1__0 ) ) );
+ // InternalFSM.g:1898:1: rule__InSemanticsRule__Alternatives_3_1 : ( ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__InSemanticsRule__Group_3_1_1__0 ) ) );
public final void rule__InSemanticsRule__Alternatives_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1880:1: ( ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__InSemanticsRule__Group_3_1_1__0 ) ) )
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalFSM.g:1902:1: ( ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__InSemanticsRule__Group_3_1_1__0 ) ) )
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA12_0==57||LA12_0==61) ) {
- alt12=1;
+ if ( (LA14_0==58||LA14_0==62) ) {
+ alt14=1;
}
- else if ( (LA12_0==58) ) {
- alt12=2;
+ else if ( (LA14_0==59) ) {
+ alt14=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
+ new NoViableAltException("", 14, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt14) {
case 1 :
- // InternalFSM.g:1881:1: ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) )
+ // InternalFSM.g:1903:1: ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) )
{
- // InternalFSM.g:1881:1: ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) )
- // InternalFSM.g:1882:1: ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 )
+ // InternalFSM.g:1903:1: ( ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 ) )
+ // InternalFSM.g:1904:1: ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 )
{
before(grammarAccess.getInSemanticsRuleAccess().getFollowUpsAssignment_3_1_0());
- // InternalFSM.g:1883:1: ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 )
- // InternalFSM.g:1883:2: rule__InSemanticsRule__FollowUpsAssignment_3_1_0
+ // InternalFSM.g:1905:1: ( rule__InSemanticsRule__FollowUpsAssignment_3_1_0 )
+ // InternalFSM.g:1905:2: rule__InSemanticsRule__FollowUpsAssignment_3_1_0
{
pushFollow(FOLLOW_2);
rule__InSemanticsRule__FollowUpsAssignment_3_1_0();
@@ -5473,14 +5576,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1887:6: ( ( rule__InSemanticsRule__Group_3_1_1__0 ) )
+ // InternalFSM.g:1909:6: ( ( rule__InSemanticsRule__Group_3_1_1__0 ) )
{
- // InternalFSM.g:1887:6: ( ( rule__InSemanticsRule__Group_3_1_1__0 ) )
- // InternalFSM.g:1888:1: ( rule__InSemanticsRule__Group_3_1_1__0 )
+ // InternalFSM.g:1909:6: ( ( rule__InSemanticsRule__Group_3_1_1__0 ) )
+ // InternalFSM.g:1910:1: ( rule__InSemanticsRule__Group_3_1_1__0 )
{
before(grammarAccess.getInSemanticsRuleAccess().getGroup_3_1_1());
- // InternalFSM.g:1889:1: ( rule__InSemanticsRule__Group_3_1_1__0 )
- // InternalFSM.g:1889:2: rule__InSemanticsRule__Group_3_1_1__0
+ // InternalFSM.g:1911:1: ( rule__InSemanticsRule__Group_3_1_1__0 )
+ // InternalFSM.g:1911:2: rule__InSemanticsRule__Group_3_1_1__0
{
pushFollow(FOLLOW_2);
rule__InSemanticsRule__Group_3_1_1__0();
@@ -5515,38 +5618,38 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__OutSemanticsRule__Alternatives_3_1"
- // InternalFSM.g:1898:1: rule__OutSemanticsRule__Alternatives_3_1 : ( ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) ) );
+ // InternalFSM.g:1920:1: rule__OutSemanticsRule__Alternatives_3_1 : ( ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) ) );
public final void rule__OutSemanticsRule__Alternatives_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1902:1: ( ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) ) )
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // InternalFSM.g:1924:1: ( ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) ) | ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) ) )
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA13_0==57||LA13_0==61) ) {
- alt13=1;
+ if ( (LA15_0==58||LA15_0==62) ) {
+ alt15=1;
}
- else if ( (LA13_0==58) ) {
- alt13=2;
+ else if ( (LA15_0==59) ) {
+ alt15=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
+ new NoViableAltException("", 15, 0, input);
throw nvae;
}
- switch (alt13) {
+ switch (alt15) {
case 1 :
- // InternalFSM.g:1903:1: ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) )
+ // InternalFSM.g:1925:1: ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) )
{
- // InternalFSM.g:1903:1: ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) )
- // InternalFSM.g:1904:1: ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 )
+ // InternalFSM.g:1925:1: ( ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 ) )
+ // InternalFSM.g:1926:1: ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 )
{
before(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsAssignment_3_1_0());
- // InternalFSM.g:1905:1: ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 )
- // InternalFSM.g:1905:2: rule__OutSemanticsRule__FollowUpsAssignment_3_1_0
+ // InternalFSM.g:1927:1: ( rule__OutSemanticsRule__FollowUpsAssignment_3_1_0 )
+ // InternalFSM.g:1927:2: rule__OutSemanticsRule__FollowUpsAssignment_3_1_0
{
pushFollow(FOLLOW_2);
rule__OutSemanticsRule__FollowUpsAssignment_3_1_0();
@@ -5564,14 +5667,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1909:6: ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) )
+ // InternalFSM.g:1931:6: ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) )
{
- // InternalFSM.g:1909:6: ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) )
- // InternalFSM.g:1910:1: ( rule__OutSemanticsRule__Group_3_1_1__0 )
+ // InternalFSM.g:1931:6: ( ( rule__OutSemanticsRule__Group_3_1_1__0 ) )
+ // InternalFSM.g:1932:1: ( rule__OutSemanticsRule__Group_3_1_1__0 )
{
before(grammarAccess.getOutSemanticsRuleAccess().getGroup_3_1_1());
- // InternalFSM.g:1911:1: ( rule__OutSemanticsRule__Group_3_1_1__0 )
- // InternalFSM.g:1911:2: rule__OutSemanticsRule__Group_3_1_1__0
+ // InternalFSM.g:1933:1: ( rule__OutSemanticsRule__Group_3_1_1__0 )
+ // InternalFSM.g:1933:2: rule__OutSemanticsRule__Group_3_1_1__0
{
pushFollow(FOLLOW_2);
rule__OutSemanticsRule__Group_3_1_1__0();
@@ -5606,120 +5709,120 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__AnnotationAttribute__Alternatives"
- // InternalFSM.g:1921:1: rule__AnnotationAttribute__Alternatives : ( ( ruleSimpleAnnotationAttribute ) | ( ruleEnumAnnotationAttribute ) );
+ // InternalFSM.g:1943:1: rule__AnnotationAttribute__Alternatives : ( ( ruleSimpleAnnotationAttribute ) | ( ruleEnumAnnotationAttribute ) );
public final void rule__AnnotationAttribute__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1925:1: ( ( ruleSimpleAnnotationAttribute ) | ( ruleEnumAnnotationAttribute ) )
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // InternalFSM.g:1947:1: ( ( ruleSimpleAnnotationAttribute ) | ( ruleEnumAnnotationAttribute ) )
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA14_0==70) ) {
- int LA14_1 = input.LA(2);
+ if ( (LA16_0==71) ) {
+ int LA16_1 = input.LA(2);
- if ( (LA14_1==63) ) {
- int LA14_3 = input.LA(3);
+ if ( (LA16_1==64) ) {
+ int LA16_3 = input.LA(3);
- if ( (LA14_3==RULE_ID) ) {
- int LA14_4 = input.LA(4);
+ if ( (LA16_3==RULE_ID) ) {
+ int LA16_4 = input.LA(4);
- if ( (LA14_4==42) ) {
- int LA14_5 = input.LA(5);
+ if ( (LA16_4==43) ) {
+ int LA16_5 = input.LA(5);
- if ( ((LA14_5>=22 && LA14_5<=25)) ) {
- alt14=1;
+ if ( ((LA16_5>=23 && LA16_5<=26)) ) {
+ alt16=1;
}
- else if ( (LA14_5==28) ) {
- alt14=2;
+ else if ( (LA16_5==29) ) {
+ alt16=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 5, input);
+ new NoViableAltException("", 16, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 4, input);
+ new NoViableAltException("", 16, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 3, input);
+ new NoViableAltException("", 16, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 1, input);
+ new NoViableAltException("", 16, 1, input);
throw nvae;
}
}
- else if ( (LA14_0==12) ) {
- int LA14_2 = input.LA(2);
+ else if ( (LA16_0==13) ) {
+ int LA16_2 = input.LA(2);
- if ( (LA14_2==63) ) {
- int LA14_3 = input.LA(3);
+ if ( (LA16_2==64) ) {
+ int LA16_3 = input.LA(3);
- if ( (LA14_3==RULE_ID) ) {
- int LA14_4 = input.LA(4);
+ if ( (LA16_3==RULE_ID) ) {
+ int LA16_4 = input.LA(4);
- if ( (LA14_4==42) ) {
- int LA14_5 = input.LA(5);
+ if ( (LA16_4==43) ) {
+ int LA16_5 = input.LA(5);
- if ( ((LA14_5>=22 && LA14_5<=25)) ) {
- alt14=1;
+ if ( ((LA16_5>=23 && LA16_5<=26)) ) {
+ alt16=1;
}
- else if ( (LA14_5==28) ) {
- alt14=2;
+ else if ( (LA16_5==29) ) {
+ alt16=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 5, input);
+ new NoViableAltException("", 16, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 4, input);
+ new NoViableAltException("", 16, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 3, input);
+ new NoViableAltException("", 16, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 2, input);
+ new NoViableAltException("", 16, 2, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
+ new NoViableAltException("", 16, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt16) {
case 1 :
- // InternalFSM.g:1926:1: ( ruleSimpleAnnotationAttribute )
+ // InternalFSM.g:1948:1: ( ruleSimpleAnnotationAttribute )
{
- // InternalFSM.g:1926:1: ( ruleSimpleAnnotationAttribute )
- // InternalFSM.g:1927:1: ruleSimpleAnnotationAttribute
+ // InternalFSM.g:1948:1: ( ruleSimpleAnnotationAttribute )
+ // InternalFSM.g:1949:1: ruleSimpleAnnotationAttribute
{
before(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5735,10 +5838,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1932:6: ( ruleEnumAnnotationAttribute )
+ // InternalFSM.g:1954:6: ( ruleEnumAnnotationAttribute )
{
- // InternalFSM.g:1932:6: ( ruleEnumAnnotationAttribute )
- // InternalFSM.g:1933:1: ruleEnumAnnotationAttribute
+ // InternalFSM.g:1954:6: ( ruleEnumAnnotationAttribute )
+ // InternalFSM.g:1955:1: ruleEnumAnnotationAttribute
{
before(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -5771,38 +5874,38 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleAnnotationAttribute__Alternatives_0"
- // InternalFSM.g:1943:1: rule__SimpleAnnotationAttribute__Alternatives_0 : ( ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) );
+ // InternalFSM.g:1965:1: rule__SimpleAnnotationAttribute__Alternatives_0 : ( ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) );
public final void rule__SimpleAnnotationAttribute__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1947:1: ( ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) )
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // InternalFSM.g:1969:1: ( ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) )
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA15_0==70) ) {
- alt15=1;
+ if ( (LA17_0==71) ) {
+ alt17=1;
}
- else if ( (LA15_0==12) ) {
- alt15=2;
+ else if ( (LA17_0==13) ) {
+ alt17=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ new NoViableAltException("", 17, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt17) {
case 1 :
- // InternalFSM.g:1948:1: ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) )
+ // InternalFSM.g:1970:1: ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) )
{
- // InternalFSM.g:1948:1: ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) )
- // InternalFSM.g:1949:1: ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 )
+ // InternalFSM.g:1970:1: ( ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 ) )
+ // InternalFSM.g:1971:1: ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 )
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalAssignment_0_0());
- // InternalFSM.g:1950:1: ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 )
- // InternalFSM.g:1950:2: rule__SimpleAnnotationAttribute__OptionalAssignment_0_0
+ // InternalFSM.g:1972:1: ( rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 )
+ // InternalFSM.g:1972:2: rule__SimpleAnnotationAttribute__OptionalAssignment_0_0
{
pushFollow(FOLLOW_2);
rule__SimpleAnnotationAttribute__OptionalAssignment_0_0();
@@ -5820,13 +5923,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1954:6: ( 'mandatory' )
+ // InternalFSM.g:1976:6: ( 'mandatory' )
{
- // InternalFSM.g:1954:6: ( 'mandatory' )
- // InternalFSM.g:1955:1: 'mandatory'
+ // InternalFSM.g:1976:6: ( 'mandatory' )
+ // InternalFSM.g:1977:1: 'mandatory'
{
before(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
- match(input,12,FOLLOW_2);
+ match(input,13,FOLLOW_2);
after(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
}
@@ -5852,38 +5955,38 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumAnnotationAttribute__Alternatives_0"
- // InternalFSM.g:1967:1: rule__EnumAnnotationAttribute__Alternatives_0 : ( ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) );
+ // InternalFSM.g:1989:1: rule__EnumAnnotationAttribute__Alternatives_0 : ( ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) );
public final void rule__EnumAnnotationAttribute__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1971:1: ( ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) )
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // InternalFSM.g:1993:1: ( ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) ) | ( 'mandatory' ) )
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA16_0==70) ) {
- alt16=1;
+ if ( (LA18_0==71) ) {
+ alt18=1;
}
- else if ( (LA16_0==12) ) {
- alt16=2;
+ else if ( (LA18_0==13) ) {
+ alt18=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ new NoViableAltException("", 18, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt18) {
case 1 :
- // InternalFSM.g:1972:1: ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) )
+ // InternalFSM.g:1994:1: ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) )
{
- // InternalFSM.g:1972:1: ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) )
- // InternalFSM.g:1973:1: ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 )
+ // InternalFSM.g:1994:1: ( ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 ) )
+ // InternalFSM.g:1995:1: ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 )
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalAssignment_0_0());
- // InternalFSM.g:1974:1: ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 )
- // InternalFSM.g:1974:2: rule__EnumAnnotationAttribute__OptionalAssignment_0_0
+ // InternalFSM.g:1996:1: ( rule__EnumAnnotationAttribute__OptionalAssignment_0_0 )
+ // InternalFSM.g:1996:2: rule__EnumAnnotationAttribute__OptionalAssignment_0_0
{
pushFollow(FOLLOW_2);
rule__EnumAnnotationAttribute__OptionalAssignment_0_0();
@@ -5901,13 +6004,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:1978:6: ( 'mandatory' )
+ // InternalFSM.g:2000:6: ( 'mandatory' )
{
- // InternalFSM.g:1978:6: ( 'mandatory' )
- // InternalFSM.g:1979:1: 'mandatory'
+ // InternalFSM.g:2000:6: ( 'mandatory' )
+ // InternalFSM.g:2001:1: 'mandatory'
{
before(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
- match(input,12,FOLLOW_2);
+ match(input,13,FOLLOW_2);
after(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
}
@@ -5933,47 +6036,47 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Literal__Alternatives"
- // InternalFSM.g:1993:1: rule__Literal__Alternatives : ( ( ruleBooleanLiteral ) | ( ruleNumberLiteral ) | ( ruleStringLiteral ) );
+ // InternalFSM.g:2015:1: rule__Literal__Alternatives : ( ( ruleBooleanLiteral ) | ( ruleNumberLiteral ) | ( ruleStringLiteral ) );
public final void rule__Literal__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:1997:1: ( ( ruleBooleanLiteral ) | ( ruleNumberLiteral ) | ( ruleStringLiteral ) )
- int alt17=3;
+ // InternalFSM.g:2019:1: ( ( ruleBooleanLiteral ) | ( ruleNumberLiteral ) | ( ruleStringLiteral ) )
+ int alt19=3;
switch ( input.LA(1) ) {
- case 13:
- case 71:
+ case 14:
+ case 72:
{
- alt17=1;
+ alt19=1;
}
break;
case RULE_HEX:
case RULE_INT:
- case 14:
case 15:
+ case 16:
{
- alt17=2;
+ alt19=2;
}
break;
case RULE_STRING:
{
- alt17=3;
+ alt19=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 17, 0, input);
+ new NoViableAltException("", 19, 0, input);
throw nvae;
}
- switch (alt17) {
+ switch (alt19) {
case 1 :
- // InternalFSM.g:1998:1: ( ruleBooleanLiteral )
+ // InternalFSM.g:2020:1: ( ruleBooleanLiteral )
{
- // InternalFSM.g:1998:1: ( ruleBooleanLiteral )
- // InternalFSM.g:1999:1: ruleBooleanLiteral
+ // InternalFSM.g:2020:1: ( ruleBooleanLiteral )
+ // InternalFSM.g:2021:1: ruleBooleanLiteral
{
before(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -5989,10 +6092,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2004:6: ( ruleNumberLiteral )
+ // InternalFSM.g:2026:6: ( ruleNumberLiteral )
{
- // InternalFSM.g:2004:6: ( ruleNumberLiteral )
- // InternalFSM.g:2005:1: ruleNumberLiteral
+ // InternalFSM.g:2026:6: ( ruleNumberLiteral )
+ // InternalFSM.g:2027:1: ruleNumberLiteral
{
before(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -6008,10 +6111,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:2010:6: ( ruleStringLiteral )
+ // InternalFSM.g:2032:6: ( ruleStringLiteral )
{
- // InternalFSM.g:2010:6: ( ruleStringLiteral )
- // InternalFSM.g:2011:1: ruleStringLiteral
+ // InternalFSM.g:2032:6: ( ruleStringLiteral )
+ // InternalFSM.g:2033:1: ruleStringLiteral
{
before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
pushFollow(FOLLOW_2);
@@ -6044,37 +6147,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__BooleanLiteral__Alternatives_1"
- // InternalFSM.g:2021:1: rule__BooleanLiteral__Alternatives_1 : ( ( 'false' ) | ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) ) );
+ // InternalFSM.g:2043:1: rule__BooleanLiteral__Alternatives_1 : ( ( 'false' ) | ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) ) );
public final void rule__BooleanLiteral__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2025:1: ( ( 'false' ) | ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) ) )
- int alt18=2;
- int LA18_0 = input.LA(1);
+ // InternalFSM.g:2047:1: ( ( 'false' ) | ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) ) )
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA18_0==13) ) {
- alt18=1;
+ if ( (LA20_0==14) ) {
+ alt20=1;
}
- else if ( (LA18_0==71) ) {
- alt18=2;
+ else if ( (LA20_0==72) ) {
+ alt20=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
- switch (alt18) {
+ switch (alt20) {
case 1 :
- // InternalFSM.g:2026:1: ( 'false' )
+ // InternalFSM.g:2048:1: ( 'false' )
{
- // InternalFSM.g:2026:1: ( 'false' )
- // InternalFSM.g:2027:1: 'false'
+ // InternalFSM.g:2048:1: ( 'false' )
+ // InternalFSM.g:2049:1: 'false'
{
before(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
- match(input,13,FOLLOW_2);
+ match(input,14,FOLLOW_2);
after(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
}
@@ -6083,14 +6186,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2034:6: ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) )
+ // InternalFSM.g:2056:6: ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) )
{
- // InternalFSM.g:2034:6: ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) )
- // InternalFSM.g:2035:1: ( rule__BooleanLiteral__IsTrueAssignment_1_1 )
+ // InternalFSM.g:2056:6: ( ( rule__BooleanLiteral__IsTrueAssignment_1_1 ) )
+ // InternalFSM.g:2057:1: ( rule__BooleanLiteral__IsTrueAssignment_1_1 )
{
before(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1());
- // InternalFSM.g:2036:1: ( rule__BooleanLiteral__IsTrueAssignment_1_1 )
- // InternalFSM.g:2036:2: rule__BooleanLiteral__IsTrueAssignment_1_1
+ // InternalFSM.g:2058:1: ( rule__BooleanLiteral__IsTrueAssignment_1_1 )
+ // InternalFSM.g:2058:2: rule__BooleanLiteral__IsTrueAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__BooleanLiteral__IsTrueAssignment_1_1();
@@ -6125,66 +6228,66 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__NumberLiteral__Alternatives"
- // InternalFSM.g:2045:1: rule__NumberLiteral__Alternatives : ( ( ruleIntLiteral ) | ( ruleRealLiteral ) );
+ // InternalFSM.g:2067:1: rule__NumberLiteral__Alternatives : ( ( ruleIntLiteral ) | ( ruleRealLiteral ) );
public final void rule__NumberLiteral__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2049:1: ( ( ruleIntLiteral ) | ( ruleRealLiteral ) )
- int alt19=2;
+ // InternalFSM.g:2071:1: ( ( ruleIntLiteral ) | ( ruleRealLiteral ) )
+ int alt21=2;
switch ( input.LA(1) ) {
- case 14:
+ case 15:
{
- int LA19_1 = input.LA(2);
+ int LA21_1 = input.LA(2);
- if ( (LA19_1==RULE_INT) ) {
- int LA19_3 = input.LA(3);
+ if ( (LA21_1==RULE_INT) ) {
+ int LA21_3 = input.LA(3);
- if ( (LA19_3==EOF) ) {
- alt19=1;
+ if ( (LA21_3==EOF) ) {
+ alt21=1;
}
- else if ( (LA19_3==67) ) {
- alt19=2;
+ else if ( (LA21_3==68) ) {
+ alt21=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 1, input);
+ new NoViableAltException("", 21, 1, input);
throw nvae;
}
}
break;
- case 15:
+ case 16:
{
- int LA19_2 = input.LA(2);
+ int LA21_2 = input.LA(2);
- if ( (LA19_2==RULE_INT) ) {
- int LA19_3 = input.LA(3);
+ if ( (LA21_2==RULE_INT) ) {
+ int LA21_3 = input.LA(3);
- if ( (LA19_3==EOF) ) {
- alt19=1;
+ if ( (LA21_3==EOF) ) {
+ alt21=1;
}
- else if ( (LA19_3==67) ) {
- alt19=2;
+ else if ( (LA21_3==68) ) {
+ alt21=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 2, input);
+ new NoViableAltException("", 21, 2, input);
throw nvae;
}
@@ -6192,17 +6295,17 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
case RULE_INT:
{
- int LA19_3 = input.LA(2);
+ int LA21_3 = input.LA(2);
- if ( (LA19_3==EOF) ) {
- alt19=1;
+ if ( (LA21_3==EOF) ) {
+ alt21=1;
}
- else if ( (LA19_3==67) ) {
- alt19=2;
+ else if ( (LA21_3==68) ) {
+ alt21=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
@@ -6210,22 +6313,22 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
case RULE_HEX:
{
- alt19=1;
+ alt21=1;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
+ new NoViableAltException("", 21, 0, input);
throw nvae;
}
- switch (alt19) {
+ switch (alt21) {
case 1 :
- // InternalFSM.g:2050:1: ( ruleIntLiteral )
+ // InternalFSM.g:2072:1: ( ruleIntLiteral )
{
- // InternalFSM.g:2050:1: ( ruleIntLiteral )
- // InternalFSM.g:2051:1: ruleIntLiteral
+ // InternalFSM.g:2072:1: ( ruleIntLiteral )
+ // InternalFSM.g:2073:1: ruleIntLiteral
{
before(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -6241,10 +6344,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2056:6: ( ruleRealLiteral )
+ // InternalFSM.g:2078:6: ( ruleRealLiteral )
{
- // InternalFSM.g:2056:6: ( ruleRealLiteral )
- // InternalFSM.g:2057:1: ruleRealLiteral
+ // InternalFSM.g:2078:6: ( ruleRealLiteral )
+ // InternalFSM.g:2079:1: ruleRealLiteral
{
before(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -6277,38 +6380,38 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Integer__Alternatives"
- // InternalFSM.g:2067:1: rule__Integer__Alternatives : ( ( ( rule__Integer__Group_0__0 ) ) | ( RULE_HEX ) );
+ // InternalFSM.g:2089:1: rule__Integer__Alternatives : ( ( ( rule__Integer__Group_0__0 ) ) | ( RULE_HEX ) );
public final void rule__Integer__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2071:1: ( ( ( rule__Integer__Group_0__0 ) ) | ( RULE_HEX ) )
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // InternalFSM.g:2093:1: ( ( ( rule__Integer__Group_0__0 ) ) | ( RULE_HEX ) )
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA20_0==RULE_INT||(LA20_0>=14 && LA20_0<=15)) ) {
- alt20=1;
+ if ( (LA22_0==RULE_INT||(LA22_0>=15 && LA22_0<=16)) ) {
+ alt22=1;
}
- else if ( (LA20_0==RULE_HEX) ) {
- alt20=2;
+ else if ( (LA22_0==RULE_HEX) ) {
+ alt22=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
+ new NoViableAltException("", 22, 0, input);
throw nvae;
}
- switch (alt20) {
+ switch (alt22) {
case 1 :
- // InternalFSM.g:2072:1: ( ( rule__Integer__Group_0__0 ) )
+ // InternalFSM.g:2094:1: ( ( rule__Integer__Group_0__0 ) )
{
- // InternalFSM.g:2072:1: ( ( rule__Integer__Group_0__0 ) )
- // InternalFSM.g:2073:1: ( rule__Integer__Group_0__0 )
+ // InternalFSM.g:2094:1: ( ( rule__Integer__Group_0__0 ) )
+ // InternalFSM.g:2095:1: ( rule__Integer__Group_0__0 )
{
before(grammarAccess.getIntegerAccess().getGroup_0());
- // InternalFSM.g:2074:1: ( rule__Integer__Group_0__0 )
- // InternalFSM.g:2074:2: rule__Integer__Group_0__0
+ // InternalFSM.g:2096:1: ( rule__Integer__Group_0__0 )
+ // InternalFSM.g:2096:2: rule__Integer__Group_0__0
{
pushFollow(FOLLOW_2);
rule__Integer__Group_0__0();
@@ -6326,10 +6429,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2078:6: ( RULE_HEX )
+ // InternalFSM.g:2100:6: ( RULE_HEX )
{
- // InternalFSM.g:2078:6: ( RULE_HEX )
- // InternalFSM.g:2079:1: RULE_HEX
+ // InternalFSM.g:2100:6: ( RULE_HEX )
+ // InternalFSM.g:2101:1: RULE_HEX
{
before(grammarAccess.getIntegerAccess().getHEXTerminalRuleCall_1());
match(input,RULE_HEX,FOLLOW_2);
@@ -6358,37 +6461,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Integer__Alternatives_0_0"
- // InternalFSM.g:2089:1: rule__Integer__Alternatives_0_0 : ( ( '+' ) | ( '-' ) );
+ // InternalFSM.g:2111:1: rule__Integer__Alternatives_0_0 : ( ( '+' ) | ( '-' ) );
public final void rule__Integer__Alternatives_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2093:1: ( ( '+' ) | ( '-' ) )
- int alt21=2;
- int LA21_0 = input.LA(1);
+ // InternalFSM.g:2115:1: ( ( '+' ) | ( '-' ) )
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( (LA21_0==14) ) {
- alt21=1;
+ if ( (LA23_0==15) ) {
+ alt23=1;
}
- else if ( (LA21_0==15) ) {
- alt21=2;
+ else if ( (LA23_0==16) ) {
+ alt23=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 23, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt23) {
case 1 :
- // InternalFSM.g:2094:1: ( '+' )
+ // InternalFSM.g:2116:1: ( '+' )
{
- // InternalFSM.g:2094:1: ( '+' )
- // InternalFSM.g:2095:1: '+'
+ // InternalFSM.g:2116:1: ( '+' )
+ // InternalFSM.g:2117:1: '+'
{
before(grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
}
@@ -6397,13 +6500,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2102:6: ( '-' )
+ // InternalFSM.g:2124:6: ( '-' )
{
- // InternalFSM.g:2102:6: ( '-' )
- // InternalFSM.g:2103:1: '-'
+ // InternalFSM.g:2124:6: ( '-' )
+ // InternalFSM.g:2125:1: '-'
{
before(grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
}
@@ -6429,106 +6532,106 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Real__Alternatives"
- // InternalFSM.g:2115:1: rule__Real__Alternatives : ( ( ruleDecimal ) | ( ruleDecimalExp ) );
+ // InternalFSM.g:2137:1: rule__Real__Alternatives : ( ( ruleDecimal ) | ( ruleDecimalExp ) );
public final void rule__Real__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2119:1: ( ( ruleDecimal ) | ( ruleDecimalExp ) )
- int alt22=2;
+ // InternalFSM.g:2141:1: ( ( ruleDecimal ) | ( ruleDecimalExp ) )
+ int alt24=2;
switch ( input.LA(1) ) {
- case 14:
+ case 15:
{
- int LA22_1 = input.LA(2);
+ int LA24_1 = input.LA(2);
- if ( (LA22_1==RULE_INT) ) {
- int LA22_3 = input.LA(3);
+ if ( (LA24_1==RULE_INT) ) {
+ int LA24_3 = input.LA(3);
- if ( (LA22_3==67) ) {
- int LA22_4 = input.LA(4);
+ if ( (LA24_3==68) ) {
+ int LA24_4 = input.LA(4);
- if ( (LA22_4==RULE_INT) ) {
- int LA22_5 = input.LA(5);
+ if ( (LA24_4==RULE_INT) ) {
+ int LA24_5 = input.LA(5);
- if ( (LA22_5==EOF) ) {
- alt22=1;
+ if ( (LA24_5==EOF) ) {
+ alt24=1;
}
- else if ( ((LA22_5>=16 && LA22_5<=17)) ) {
- alt22=2;
+ else if ( ((LA24_5>=17 && LA24_5<=18)) ) {
+ alt24=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 5, input);
+ new NoViableAltException("", 24, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 4, input);
+ new NoViableAltException("", 24, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 24, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 1, input);
+ new NoViableAltException("", 24, 1, input);
throw nvae;
}
}
break;
- case 15:
+ case 16:
{
- int LA22_2 = input.LA(2);
+ int LA24_2 = input.LA(2);
- if ( (LA22_2==RULE_INT) ) {
- int LA22_3 = input.LA(3);
+ if ( (LA24_2==RULE_INT) ) {
+ int LA24_3 = input.LA(3);
- if ( (LA22_3==67) ) {
- int LA22_4 = input.LA(4);
+ if ( (LA24_3==68) ) {
+ int LA24_4 = input.LA(4);
- if ( (LA22_4==RULE_INT) ) {
- int LA22_5 = input.LA(5);
+ if ( (LA24_4==RULE_INT) ) {
+ int LA24_5 = input.LA(5);
- if ( (LA22_5==EOF) ) {
- alt22=1;
+ if ( (LA24_5==EOF) ) {
+ alt24=1;
}
- else if ( ((LA22_5>=16 && LA22_5<=17)) ) {
- alt22=2;
+ else if ( ((LA24_5>=17 && LA24_5<=18)) ) {
+ alt24=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 5, input);
+ new NoViableAltException("", 24, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 4, input);
+ new NoViableAltException("", 24, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 24, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 2, input);
+ new NoViableAltException("", 24, 2, input);
throw nvae;
}
@@ -6536,37 +6639,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
case RULE_INT:
{
- int LA22_3 = input.LA(2);
+ int LA24_3 = input.LA(2);
- if ( (LA22_3==67) ) {
- int LA22_4 = input.LA(3);
+ if ( (LA24_3==68) ) {
+ int LA24_4 = input.LA(3);
- if ( (LA22_4==RULE_INT) ) {
- int LA22_5 = input.LA(4);
+ if ( (LA24_4==RULE_INT) ) {
+ int LA24_5 = input.LA(4);
- if ( (LA22_5==EOF) ) {
- alt22=1;
+ if ( (LA24_5==EOF) ) {
+ alt24=1;
}
- else if ( ((LA22_5>=16 && LA22_5<=17)) ) {
- alt22=2;
+ else if ( ((LA24_5>=17 && LA24_5<=18)) ) {
+ alt24=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 5, input);
+ new NoViableAltException("", 24, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 4, input);
+ new NoViableAltException("", 24, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 24, 3, input);
throw nvae;
}
@@ -6574,17 +6677,17 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 24, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt24) {
case 1 :
- // InternalFSM.g:2120:1: ( ruleDecimal )
+ // InternalFSM.g:2142:1: ( ruleDecimal )
{
- // InternalFSM.g:2120:1: ( ruleDecimal )
- // InternalFSM.g:2121:1: ruleDecimal
+ // InternalFSM.g:2142:1: ( ruleDecimal )
+ // InternalFSM.g:2143:1: ruleDecimal
{
before(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
pushFollow(FOLLOW_2);
@@ -6600,10 +6703,10 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2126:6: ( ruleDecimalExp )
+ // InternalFSM.g:2148:6: ( ruleDecimalExp )
{
- // InternalFSM.g:2126:6: ( ruleDecimalExp )
- // InternalFSM.g:2127:1: ruleDecimalExp
+ // InternalFSM.g:2148:6: ( ruleDecimalExp )
+ // InternalFSM.g:2149:1: ruleDecimalExp
{
before(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_1());
pushFollow(FOLLOW_2);
@@ -6636,37 +6739,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Decimal__Alternatives_0"
- // InternalFSM.g:2137:1: rule__Decimal__Alternatives_0 : ( ( '+' ) | ( '-' ) );
+ // InternalFSM.g:2159:1: rule__Decimal__Alternatives_0 : ( ( '+' ) | ( '-' ) );
public final void rule__Decimal__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2141:1: ( ( '+' ) | ( '-' ) )
- int alt23=2;
- int LA23_0 = input.LA(1);
+ // InternalFSM.g:2163:1: ( ( '+' ) | ( '-' ) )
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA23_0==14) ) {
- alt23=1;
+ if ( (LA25_0==15) ) {
+ alt25=1;
}
- else if ( (LA23_0==15) ) {
- alt23=2;
+ else if ( (LA25_0==16) ) {
+ alt25=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 23, 0, input);
+ new NoViableAltException("", 25, 0, input);
throw nvae;
}
- switch (alt23) {
+ switch (alt25) {
case 1 :
- // InternalFSM.g:2142:1: ( '+' )
+ // InternalFSM.g:2164:1: ( '+' )
{
- // InternalFSM.g:2142:1: ( '+' )
- // InternalFSM.g:2143:1: '+'
+ // InternalFSM.g:2164:1: ( '+' )
+ // InternalFSM.g:2165:1: '+'
{
before(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
}
@@ -6675,13 +6778,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2150:6: ( '-' )
+ // InternalFSM.g:2172:6: ( '-' )
{
- // InternalFSM.g:2150:6: ( '-' )
- // InternalFSM.g:2151:1: '-'
+ // InternalFSM.g:2172:6: ( '-' )
+ // InternalFSM.g:2173:1: '-'
{
before(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
}
@@ -6707,37 +6810,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DecimalExp__Alternatives_0"
- // InternalFSM.g:2163:1: rule__DecimalExp__Alternatives_0 : ( ( '+' ) | ( '-' ) );
+ // InternalFSM.g:2185:1: rule__DecimalExp__Alternatives_0 : ( ( '+' ) | ( '-' ) );
public final void rule__DecimalExp__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2167:1: ( ( '+' ) | ( '-' ) )
- int alt24=2;
- int LA24_0 = input.LA(1);
+ // InternalFSM.g:2189:1: ( ( '+' ) | ( '-' ) )
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA24_0==14) ) {
- alt24=1;
+ if ( (LA26_0==15) ) {
+ alt26=1;
}
- else if ( (LA24_0==15) ) {
- alt24=2;
+ else if ( (LA26_0==16) ) {
+ alt26=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 24, 0, input);
+ new NoViableAltException("", 26, 0, input);
throw nvae;
}
- switch (alt24) {
+ switch (alt26) {
case 1 :
- // InternalFSM.g:2168:1: ( '+' )
+ // InternalFSM.g:2190:1: ( '+' )
{
- // InternalFSM.g:2168:1: ( '+' )
- // InternalFSM.g:2169:1: '+'
+ // InternalFSM.g:2190:1: ( '+' )
+ // InternalFSM.g:2191:1: '+'
{
before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
}
@@ -6746,13 +6849,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2176:6: ( '-' )
+ // InternalFSM.g:2198:6: ( '-' )
{
- // InternalFSM.g:2176:6: ( '-' )
- // InternalFSM.g:2177:1: '-'
+ // InternalFSM.g:2198:6: ( '-' )
+ // InternalFSM.g:2199:1: '-'
{
before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
}
@@ -6778,37 +6881,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DecimalExp__Alternatives_4"
- // InternalFSM.g:2189:1: rule__DecimalExp__Alternatives_4 : ( ( 'e' ) | ( 'E' ) );
+ // InternalFSM.g:2211:1: rule__DecimalExp__Alternatives_4 : ( ( 'e' ) | ( 'E' ) );
public final void rule__DecimalExp__Alternatives_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2193:1: ( ( 'e' ) | ( 'E' ) )
- int alt25=2;
- int LA25_0 = input.LA(1);
+ // InternalFSM.g:2215:1: ( ( 'e' ) | ( 'E' ) )
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- if ( (LA25_0==16) ) {
- alt25=1;
+ if ( (LA27_0==17) ) {
+ alt27=1;
}
- else if ( (LA25_0==17) ) {
- alt25=2;
+ else if ( (LA27_0==18) ) {
+ alt27=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 0, input);
+ new NoViableAltException("", 27, 0, input);
throw nvae;
}
- switch (alt25) {
+ switch (alt27) {
case 1 :
- // InternalFSM.g:2194:1: ( 'e' )
+ // InternalFSM.g:2216:1: ( 'e' )
{
- // InternalFSM.g:2194:1: ( 'e' )
- // InternalFSM.g:2195:1: 'e'
+ // InternalFSM.g:2216:1: ( 'e' )
+ // InternalFSM.g:2217:1: 'e'
{
before(grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
- match(input,16,FOLLOW_2);
+ match(input,17,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
}
@@ -6817,13 +6920,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2202:6: ( 'E' )
+ // InternalFSM.g:2224:6: ( 'E' )
{
- // InternalFSM.g:2202:6: ( 'E' )
- // InternalFSM.g:2203:1: 'E'
+ // InternalFSM.g:2224:6: ( 'E' )
+ // InternalFSM.g:2225:1: 'E'
{
before(grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
- match(input,17,FOLLOW_2);
+ match(input,18,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
}
@@ -6849,37 +6952,37 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DecimalExp__Alternatives_5"
- // InternalFSM.g:2215:1: rule__DecimalExp__Alternatives_5 : ( ( '+' ) | ( '-' ) );
+ // InternalFSM.g:2237:1: rule__DecimalExp__Alternatives_5 : ( ( '+' ) | ( '-' ) );
public final void rule__DecimalExp__Alternatives_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2219:1: ( ( '+' ) | ( '-' ) )
- int alt26=2;
- int LA26_0 = input.LA(1);
+ // InternalFSM.g:2241:1: ( ( '+' ) | ( '-' ) )
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA26_0==14) ) {
- alt26=1;
+ if ( (LA28_0==15) ) {
+ alt28=1;
}
- else if ( (LA26_0==15) ) {
- alt26=2;
+ else if ( (LA28_0==16) ) {
+ alt28=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 26, 0, input);
+ new NoViableAltException("", 28, 0, input);
throw nvae;
}
- switch (alt26) {
+ switch (alt28) {
case 1 :
- // InternalFSM.g:2220:1: ( '+' )
+ // InternalFSM.g:2242:1: ( '+' )
{
- // InternalFSM.g:2220:1: ( '+' )
- // InternalFSM.g:2221:1: '+'
+ // InternalFSM.g:2242:1: ( '+' )
+ // InternalFSM.g:2243:1: '+'
{
before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
- match(input,14,FOLLOW_2);
+ match(input,15,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
}
@@ -6888,13 +6991,13 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2228:6: ( '-' )
+ // InternalFSM.g:2250:6: ( '-' )
{
- // InternalFSM.g:2228:6: ( '-' )
- // InternalFSM.g:2229:1: '-'
+ // InternalFSM.g:2250:6: ( '-' )
+ // InternalFSM.g:2251:1: '-'
{
before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
- match(input,15,FOLLOW_2);
+ match(input,16,FOLLOW_2);
after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
}
@@ -6920,54 +7023,54 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentCommunicationType__Alternatives"
- // InternalFSM.g:2241:1: rule__ComponentCommunicationType__Alternatives : ( ( ( 'eventdriven' ) ) | ( ( 'datadriven' ) ) | ( ( 'async' ) ) | ( ( 'sync' ) ) );
+ // InternalFSM.g:2263:1: rule__ComponentCommunicationType__Alternatives : ( ( ( 'eventdriven' ) ) | ( ( 'datadriven' ) ) | ( ( 'async' ) ) | ( ( 'sync' ) ) );
public final void rule__ComponentCommunicationType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2245:1: ( ( ( 'eventdriven' ) ) | ( ( 'datadriven' ) ) | ( ( 'async' ) ) | ( ( 'sync' ) ) )
- int alt27=4;
+ // InternalFSM.g:2267:1: ( ( ( 'eventdriven' ) ) | ( ( 'datadriven' ) ) | ( ( 'async' ) ) | ( ( 'sync' ) ) )
+ int alt29=4;
switch ( input.LA(1) ) {
- case 18:
- {
- alt27=1;
- }
- break;
case 19:
{
- alt27=2;
+ alt29=1;
}
break;
case 20:
{
- alt27=3;
+ alt29=2;
}
break;
case 21:
{
- alt27=4;
+ alt29=3;
+ }
+ break;
+ case 22:
+ {
+ alt29=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 27, 0, input);
+ new NoViableAltException("", 29, 0, input);
throw nvae;
}
- switch (alt27) {
+ switch (alt29) {
case 1 :
- // InternalFSM.g:2246:1: ( ( 'eventdriven' ) )
+ // InternalFSM.g:2268:1: ( ( 'eventdriven' ) )
{
- // InternalFSM.g:2246:1: ( ( 'eventdriven' ) )
- // InternalFSM.g:2247:1: ( 'eventdriven' )
+ // InternalFSM.g:2268:1: ( ( 'eventdriven' ) )
+ // InternalFSM.g:2269:1: ( 'eventdriven' )
{
before(grammarAccess.getComponentCommunicationTypeAccess().getEVENT_DRIVENEnumLiteralDeclaration_0());
- // InternalFSM.g:2248:1: ( 'eventdriven' )
- // InternalFSM.g:2248:3: 'eventdriven'
+ // InternalFSM.g:2270:1: ( 'eventdriven' )
+ // InternalFSM.g:2270:3: 'eventdriven'
{
- match(input,18,FOLLOW_2);
+ match(input,19,FOLLOW_2);
}
@@ -6979,16 +7082,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2253:6: ( ( 'datadriven' ) )
+ // InternalFSM.g:2275:6: ( ( 'datadriven' ) )
{
- // InternalFSM.g:2253:6: ( ( 'datadriven' ) )
- // InternalFSM.g:2254:1: ( 'datadriven' )
+ // InternalFSM.g:2275:6: ( ( 'datadriven' ) )
+ // InternalFSM.g:2276:1: ( 'datadriven' )
{
before(grammarAccess.getComponentCommunicationTypeAccess().getDATA_DRIVENEnumLiteralDeclaration_1());
- // InternalFSM.g:2255:1: ( 'datadriven' )
- // InternalFSM.g:2255:3: 'datadriven'
+ // InternalFSM.g:2277:1: ( 'datadriven' )
+ // InternalFSM.g:2277:3: 'datadriven'
{
- match(input,19,FOLLOW_2);
+ match(input,20,FOLLOW_2);
}
@@ -7000,16 +7103,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:2260:6: ( ( 'async' ) )
+ // InternalFSM.g:2282:6: ( ( 'async' ) )
{
- // InternalFSM.g:2260:6: ( ( 'async' ) )
- // InternalFSM.g:2261:1: ( 'async' )
+ // InternalFSM.g:2282:6: ( ( 'async' ) )
+ // InternalFSM.g:2283:1: ( 'async' )
{
before(grammarAccess.getComponentCommunicationTypeAccess().getASYNCHRONOUSEnumLiteralDeclaration_2());
- // InternalFSM.g:2262:1: ( 'async' )
- // InternalFSM.g:2262:3: 'async'
+ // InternalFSM.g:2284:1: ( 'async' )
+ // InternalFSM.g:2284:3: 'async'
{
- match(input,20,FOLLOW_2);
+ match(input,21,FOLLOW_2);
}
@@ -7021,16 +7124,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalFSM.g:2267:6: ( ( 'sync' ) )
+ // InternalFSM.g:2289:6: ( ( 'sync' ) )
{
- // InternalFSM.g:2267:6: ( ( 'sync' ) )
- // InternalFSM.g:2268:1: ( 'sync' )
+ // InternalFSM.g:2289:6: ( ( 'sync' ) )
+ // InternalFSM.g:2290:1: ( 'sync' )
{
before(grammarAccess.getComponentCommunicationTypeAccess().getSYNCHRONOUSEnumLiteralDeclaration_3());
- // InternalFSM.g:2269:1: ( 'sync' )
- // InternalFSM.g:2269:3: 'sync'
+ // InternalFSM.g:2291:1: ( 'sync' )
+ // InternalFSM.g:2291:3: 'sync'
{
- match(input,21,FOLLOW_2);
+ match(input,22,FOLLOW_2);
}
@@ -7059,54 +7162,54 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__LiteralType__Alternatives"
- // InternalFSM.g:2279:1: rule__LiteralType__Alternatives : ( ( ( 'ptBoolean' ) ) | ( ( 'ptInteger' ) ) | ( ( 'ptReal' ) ) | ( ( 'ptCharacter' ) ) );
+ // InternalFSM.g:2301:1: rule__LiteralType__Alternatives : ( ( ( 'ptBoolean' ) ) | ( ( 'ptInteger' ) ) | ( ( 'ptReal' ) ) | ( ( 'ptCharacter' ) ) );
public final void rule__LiteralType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2283:1: ( ( ( 'ptBoolean' ) ) | ( ( 'ptInteger' ) ) | ( ( 'ptReal' ) ) | ( ( 'ptCharacter' ) ) )
- int alt28=4;
+ // InternalFSM.g:2305:1: ( ( ( 'ptBoolean' ) ) | ( ( 'ptInteger' ) ) | ( ( 'ptReal' ) ) | ( ( 'ptCharacter' ) ) )
+ int alt30=4;
switch ( input.LA(1) ) {
- case 22:
- {
- alt28=1;
- }
- break;
case 23:
{
- alt28=2;
+ alt30=1;
}
break;
case 24:
{
- alt28=3;
+ alt30=2;
}
break;
case 25:
{
- alt28=4;
+ alt30=3;
+ }
+ break;
+ case 26:
+ {
+ alt30=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 28, 0, input);
+ new NoViableAltException("", 30, 0, input);
throw nvae;
}
- switch (alt28) {
+ switch (alt30) {
case 1 :
- // InternalFSM.g:2284:1: ( ( 'ptBoolean' ) )
+ // InternalFSM.g:2306:1: ( ( 'ptBoolean' ) )
{
- // InternalFSM.g:2284:1: ( ( 'ptBoolean' ) )
- // InternalFSM.g:2285:1: ( 'ptBoolean' )
+ // InternalFSM.g:2306:1: ( ( 'ptBoolean' ) )
+ // InternalFSM.g:2307:1: ( 'ptBoolean' )
{
before(grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
- // InternalFSM.g:2286:1: ( 'ptBoolean' )
- // InternalFSM.g:2286:3: 'ptBoolean'
+ // InternalFSM.g:2308:1: ( 'ptBoolean' )
+ // InternalFSM.g:2308:3: 'ptBoolean'
{
- match(input,22,FOLLOW_2);
+ match(input,23,FOLLOW_2);
}
@@ -7118,16 +7221,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalFSM.g:2291:6: ( ( 'ptInteger' ) )
+ // InternalFSM.g:2313:6: ( ( 'ptInteger' ) )
{
- // InternalFSM.g:2291:6: ( ( 'ptInteger' ) )
- // InternalFSM.g:2292:1: ( 'ptInteger' )
+ // InternalFSM.g:2313:6: ( ( 'ptInteger' ) )
+ // InternalFSM.g:2314:1: ( 'ptInteger' )
{
before(grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
- // InternalFSM.g:2293:1: ( 'ptInteger' )
- // InternalFSM.g:2293:3: 'ptInteger'
+ // InternalFSM.g:2315:1: ( 'ptInteger' )
+ // InternalFSM.g:2315:3: 'ptInteger'
{
- match(input,23,FOLLOW_2);
+ match(input,24,FOLLOW_2);
}
@@ -7139,16 +7242,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalFSM.g:2298:6: ( ( 'ptReal' ) )
+ // InternalFSM.g:2320:6: ( ( 'ptReal' ) )
{
- // InternalFSM.g:2298:6: ( ( 'ptReal' ) )
- // InternalFSM.g:2299:1: ( 'ptReal' )
+ // InternalFSM.g:2320:6: ( ( 'ptReal' ) )
+ // InternalFSM.g:2321:1: ( 'ptReal' )
{
before(grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
- // InternalFSM.g:2300:1: ( 'ptReal' )
- // InternalFSM.g:2300:3: 'ptReal'
+ // InternalFSM.g:2322:1: ( 'ptReal' )
+ // InternalFSM.g:2322:3: 'ptReal'
{
- match(input,24,FOLLOW_2);
+ match(input,25,FOLLOW_2);
}
@@ -7160,16 +7263,16 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalFSM.g:2305:6: ( ( 'ptCharacter' ) )
+ // InternalFSM.g:2327:6: ( ( 'ptCharacter' ) )
{
- // InternalFSM.g:2305:6: ( ( 'ptCharacter' ) )
- // InternalFSM.g:2306:1: ( 'ptCharacter' )
+ // InternalFSM.g:2327:6: ( ( 'ptCharacter' ) )
+ // InternalFSM.g:2328:1: ( 'ptCharacter' )
{
before(grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
- // InternalFSM.g:2307:1: ( 'ptCharacter' )
- // InternalFSM.g:2307:3: 'ptCharacter'
+ // InternalFSM.g:2329:1: ( 'ptCharacter' )
+ // InternalFSM.g:2329:3: 'ptCharacter'
{
- match(input,25,FOLLOW_2);
+ match(input,26,FOLLOW_2);
}
@@ -7198,14 +7301,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__0"
- // InternalFSM.g:2319:1: rule__ModelComponent__Group__0 : rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1 ;
+ // InternalFSM.g:2341:1: rule__ModelComponent__Group__0 : rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1 ;
public final void rule__ModelComponent__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2323:1: ( rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1 )
- // InternalFSM.g:2324:2: rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1
+ // InternalFSM.g:2345:1: ( rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1 )
+ // InternalFSM.g:2346:2: rule__ModelComponent__Group__0__Impl rule__ModelComponent__Group__1
{
pushFollow(FOLLOW_4);
rule__ModelComponent__Group__0__Impl();
@@ -7236,21 +7339,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__0__Impl"
- // InternalFSM.g:2331:1: rule__ModelComponent__Group__0__Impl : ( ( rule__ModelComponent__UnorderedGroup_0 ) ) ;
+ // InternalFSM.g:2353:1: rule__ModelComponent__Group__0__Impl : ( ( rule__ModelComponent__UnorderedGroup_0 ) ) ;
public final void rule__ModelComponent__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2335:1: ( ( ( rule__ModelComponent__UnorderedGroup_0 ) ) )
- // InternalFSM.g:2336:1: ( ( rule__ModelComponent__UnorderedGroup_0 ) )
+ // InternalFSM.g:2357:1: ( ( ( rule__ModelComponent__UnorderedGroup_0 ) ) )
+ // InternalFSM.g:2358:1: ( ( rule__ModelComponent__UnorderedGroup_0 ) )
{
- // InternalFSM.g:2336:1: ( ( rule__ModelComponent__UnorderedGroup_0 ) )
- // InternalFSM.g:2337:1: ( rule__ModelComponent__UnorderedGroup_0 )
+ // InternalFSM.g:2358:1: ( ( rule__ModelComponent__UnorderedGroup_0 ) )
+ // InternalFSM.g:2359:1: ( rule__ModelComponent__UnorderedGroup_0 )
{
before(grammarAccess.getModelComponentAccess().getUnorderedGroup_0());
- // InternalFSM.g:2338:1: ( rule__ModelComponent__UnorderedGroup_0 )
- // InternalFSM.g:2338:2: rule__ModelComponent__UnorderedGroup_0
+ // InternalFSM.g:2360:1: ( rule__ModelComponent__UnorderedGroup_0 )
+ // InternalFSM.g:2360:2: rule__ModelComponent__UnorderedGroup_0
{
pushFollow(FOLLOW_2);
rule__ModelComponent__UnorderedGroup_0();
@@ -7283,14 +7386,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__1"
- // InternalFSM.g:2348:1: rule__ModelComponent__Group__1 : rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2 ;
+ // InternalFSM.g:2370:1: rule__ModelComponent__Group__1 : rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2 ;
public final void rule__ModelComponent__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2352:1: ( rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2 )
- // InternalFSM.g:2353:2: rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2
+ // InternalFSM.g:2374:1: ( rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2 )
+ // InternalFSM.g:2375:2: rule__ModelComponent__Group__1__Impl rule__ModelComponent__Group__2
{
pushFollow(FOLLOW_5);
rule__ModelComponent__Group__1__Impl();
@@ -7321,20 +7424,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__1__Impl"
- // InternalFSM.g:2360:1: rule__ModelComponent__Group__1__Impl : ( 'ModelComponent' ) ;
+ // InternalFSM.g:2382:1: rule__ModelComponent__Group__1__Impl : ( 'ModelComponent' ) ;
public final void rule__ModelComponent__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2364:1: ( ( 'ModelComponent' ) )
- // InternalFSM.g:2365:1: ( 'ModelComponent' )
+ // InternalFSM.g:2386:1: ( ( 'ModelComponent' ) )
+ // InternalFSM.g:2387:1: ( 'ModelComponent' )
{
- // InternalFSM.g:2365:1: ( 'ModelComponent' )
- // InternalFSM.g:2366:1: 'ModelComponent'
+ // InternalFSM.g:2387:1: ( 'ModelComponent' )
+ // InternalFSM.g:2388:1: 'ModelComponent'
{
before(grammarAccess.getModelComponentAccess().getModelComponentKeyword_1());
- match(input,26,FOLLOW_2);
+ match(input,27,FOLLOW_2);
after(grammarAccess.getModelComponentAccess().getModelComponentKeyword_1());
}
@@ -7358,14 +7461,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__2"
- // InternalFSM.g:2379:1: rule__ModelComponent__Group__2 : rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3 ;
+ // InternalFSM.g:2401:1: rule__ModelComponent__Group__2 : rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3 ;
public final void rule__ModelComponent__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2383:1: ( rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3 )
- // InternalFSM.g:2384:2: rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3
+ // InternalFSM.g:2405:1: ( rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3 )
+ // InternalFSM.g:2406:2: rule__ModelComponent__Group__2__Impl rule__ModelComponent__Group__3
{
pushFollow(FOLLOW_6);
rule__ModelComponent__Group__2__Impl();
@@ -7396,21 +7499,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__2__Impl"
- // InternalFSM.g:2391:1: rule__ModelComponent__Group__2__Impl : ( ( rule__ModelComponent__ComponentNameAssignment_2 ) ) ;
+ // InternalFSM.g:2413:1: rule__ModelComponent__Group__2__Impl : ( ( rule__ModelComponent__ComponentNameAssignment_2 ) ) ;
public final void rule__ModelComponent__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2395:1: ( ( ( rule__ModelComponent__ComponentNameAssignment_2 ) ) )
- // InternalFSM.g:2396:1: ( ( rule__ModelComponent__ComponentNameAssignment_2 ) )
+ // InternalFSM.g:2417:1: ( ( ( rule__ModelComponent__ComponentNameAssignment_2 ) ) )
+ // InternalFSM.g:2418:1: ( ( rule__ModelComponent__ComponentNameAssignment_2 ) )
{
- // InternalFSM.g:2396:1: ( ( rule__ModelComponent__ComponentNameAssignment_2 ) )
- // InternalFSM.g:2397:1: ( rule__ModelComponent__ComponentNameAssignment_2 )
+ // InternalFSM.g:2418:1: ( ( rule__ModelComponent__ComponentNameAssignment_2 ) )
+ // InternalFSM.g:2419:1: ( rule__ModelComponent__ComponentNameAssignment_2 )
{
before(grammarAccess.getModelComponentAccess().getComponentNameAssignment_2());
- // InternalFSM.g:2398:1: ( rule__ModelComponent__ComponentNameAssignment_2 )
- // InternalFSM.g:2398:2: rule__ModelComponent__ComponentNameAssignment_2
+ // InternalFSM.g:2420:1: ( rule__ModelComponent__ComponentNameAssignment_2 )
+ // InternalFSM.g:2420:2: rule__ModelComponent__ComponentNameAssignment_2
{
pushFollow(FOLLOW_2);
rule__ModelComponent__ComponentNameAssignment_2();
@@ -7443,14 +7546,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__3"
- // InternalFSM.g:2408:1: rule__ModelComponent__Group__3 : rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4 ;
+ // InternalFSM.g:2430:1: rule__ModelComponent__Group__3 : rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4 ;
public final void rule__ModelComponent__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2412:1: ( rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4 )
- // InternalFSM.g:2413:2: rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4
+ // InternalFSM.g:2434:1: ( rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4 )
+ // InternalFSM.g:2435:2: rule__ModelComponent__Group__3__Impl rule__ModelComponent__Group__4
{
pushFollow(FOLLOW_6);
rule__ModelComponent__Group__3__Impl();
@@ -7481,29 +7584,29 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__3__Impl"
- // InternalFSM.g:2420:1: rule__ModelComponent__Group__3__Impl : ( ( rule__ModelComponent__Group_3__0 )? ) ;
+ // InternalFSM.g:2442:1: rule__ModelComponent__Group__3__Impl : ( ( rule__ModelComponent__Group_3__0 )? ) ;
public final void rule__ModelComponent__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2424:1: ( ( ( rule__ModelComponent__Group_3__0 )? ) )
- // InternalFSM.g:2425:1: ( ( rule__ModelComponent__Group_3__0 )? )
+ // InternalFSM.g:2446:1: ( ( ( rule__ModelComponent__Group_3__0 )? ) )
+ // InternalFSM.g:2447:1: ( ( rule__ModelComponent__Group_3__0 )? )
{
- // InternalFSM.g:2425:1: ( ( rule__ModelComponent__Group_3__0 )? )
- // InternalFSM.g:2426:1: ( rule__ModelComponent__Group_3__0 )?
+ // InternalFSM.g:2447:1: ( ( rule__ModelComponent__Group_3__0 )? )
+ // InternalFSM.g:2448:1: ( rule__ModelComponent__Group_3__0 )?
{
before(grammarAccess.getModelComponentAccess().getGroup_3());
- // InternalFSM.g:2427:1: ( rule__ModelComponent__Group_3__0 )?
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // InternalFSM.g:2449:1: ( rule__ModelComponent__Group_3__0 )?
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA29_0==27) ) {
- alt29=1;
+ if ( (LA31_0==28) ) {
+ alt31=1;
}
- switch (alt29) {
+ switch (alt31) {
case 1 :
- // InternalFSM.g:2427:2: rule__ModelComponent__Group_3__0
+ // InternalFSM.g:2449:2: rule__ModelComponent__Group_3__0
{
pushFollow(FOLLOW_2);
rule__ModelComponent__Group_3__0();
@@ -7539,14 +7642,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__4"
- // InternalFSM.g:2437:1: rule__ModelComponent__Group__4 : rule__ModelComponent__Group__4__Impl ;
+ // InternalFSM.g:2459:1: rule__ModelComponent__Group__4 : rule__ModelComponent__Group__4__Impl ;
public final void rule__ModelComponent__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2441:1: ( rule__ModelComponent__Group__4__Impl )
- // InternalFSM.g:2442:2: rule__ModelComponent__Group__4__Impl
+ // InternalFSM.g:2463:1: ( rule__ModelComponent__Group__4__Impl )
+ // InternalFSM.g:2464:2: rule__ModelComponent__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__ModelComponent__Group__4__Impl();
@@ -7572,21 +7675,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group__4__Impl"
- // InternalFSM.g:2448:1: rule__ModelComponent__Group__4__Impl : ( ( rule__ModelComponent__StateMachineAssignment_4 ) ) ;
+ // InternalFSM.g:2470:1: rule__ModelComponent__Group__4__Impl : ( ( rule__ModelComponent__StateMachineAssignment_4 ) ) ;
public final void rule__ModelComponent__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2452:1: ( ( ( rule__ModelComponent__StateMachineAssignment_4 ) ) )
- // InternalFSM.g:2453:1: ( ( rule__ModelComponent__StateMachineAssignment_4 ) )
+ // InternalFSM.g:2474:1: ( ( ( rule__ModelComponent__StateMachineAssignment_4 ) ) )
+ // InternalFSM.g:2475:1: ( ( rule__ModelComponent__StateMachineAssignment_4 ) )
{
- // InternalFSM.g:2453:1: ( ( rule__ModelComponent__StateMachineAssignment_4 ) )
- // InternalFSM.g:2454:1: ( rule__ModelComponent__StateMachineAssignment_4 )
+ // InternalFSM.g:2475:1: ( ( rule__ModelComponent__StateMachineAssignment_4 ) )
+ // InternalFSM.g:2476:1: ( rule__ModelComponent__StateMachineAssignment_4 )
{
before(grammarAccess.getModelComponentAccess().getStateMachineAssignment_4());
- // InternalFSM.g:2455:1: ( rule__ModelComponent__StateMachineAssignment_4 )
- // InternalFSM.g:2455:2: rule__ModelComponent__StateMachineAssignment_4
+ // InternalFSM.g:2477:1: ( rule__ModelComponent__StateMachineAssignment_4 )
+ // InternalFSM.g:2477:2: rule__ModelComponent__StateMachineAssignment_4
{
pushFollow(FOLLOW_2);
rule__ModelComponent__StateMachineAssignment_4();
@@ -7619,14 +7722,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group_3__0"
- // InternalFSM.g:2475:1: rule__ModelComponent__Group_3__0 : rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1 ;
+ // InternalFSM.g:2497:1: rule__ModelComponent__Group_3__0 : rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1 ;
public final void rule__ModelComponent__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2479:1: ( rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1 )
- // InternalFSM.g:2480:2: rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1
+ // InternalFSM.g:2501:1: ( rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1 )
+ // InternalFSM.g:2502:2: rule__ModelComponent__Group_3__0__Impl rule__ModelComponent__Group_3__1
{
pushFollow(FOLLOW_5);
rule__ModelComponent__Group_3__0__Impl();
@@ -7657,20 +7760,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group_3__0__Impl"
- // InternalFSM.g:2487:1: rule__ModelComponent__Group_3__0__Impl : ( 'extends' ) ;
+ // InternalFSM.g:2509:1: rule__ModelComponent__Group_3__0__Impl : ( 'extends' ) ;
public final void rule__ModelComponent__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2491:1: ( ( 'extends' ) )
- // InternalFSM.g:2492:1: ( 'extends' )
+ // InternalFSM.g:2513:1: ( ( 'extends' ) )
+ // InternalFSM.g:2514:1: ( 'extends' )
{
- // InternalFSM.g:2492:1: ( 'extends' )
- // InternalFSM.g:2493:1: 'extends'
+ // InternalFSM.g:2514:1: ( 'extends' )
+ // InternalFSM.g:2515:1: 'extends'
{
before(grammarAccess.getModelComponentAccess().getExtendsKeyword_3_0());
- match(input,27,FOLLOW_2);
+ match(input,28,FOLLOW_2);
after(grammarAccess.getModelComponentAccess().getExtendsKeyword_3_0());
}
@@ -7694,14 +7797,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group_3__1"
- // InternalFSM.g:2506:1: rule__ModelComponent__Group_3__1 : rule__ModelComponent__Group_3__1__Impl ;
+ // InternalFSM.g:2528:1: rule__ModelComponent__Group_3__1 : rule__ModelComponent__Group_3__1__Impl ;
public final void rule__ModelComponent__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2510:1: ( rule__ModelComponent__Group_3__1__Impl )
- // InternalFSM.g:2511:2: rule__ModelComponent__Group_3__1__Impl
+ // InternalFSM.g:2532:1: ( rule__ModelComponent__Group_3__1__Impl )
+ // InternalFSM.g:2533:2: rule__ModelComponent__Group_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__ModelComponent__Group_3__1__Impl();
@@ -7727,21 +7830,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ModelComponent__Group_3__1__Impl"
- // InternalFSM.g:2517:1: rule__ModelComponent__Group_3__1__Impl : ( ( rule__ModelComponent__BaseAssignment_3_1 ) ) ;
+ // InternalFSM.g:2539:1: rule__ModelComponent__Group_3__1__Impl : ( ( rule__ModelComponent__BaseAssignment_3_1 ) ) ;
public final void rule__ModelComponent__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2521:1: ( ( ( rule__ModelComponent__BaseAssignment_3_1 ) ) )
- // InternalFSM.g:2522:1: ( ( rule__ModelComponent__BaseAssignment_3_1 ) )
+ // InternalFSM.g:2543:1: ( ( ( rule__ModelComponent__BaseAssignment_3_1 ) ) )
+ // InternalFSM.g:2544:1: ( ( rule__ModelComponent__BaseAssignment_3_1 ) )
{
- // InternalFSM.g:2522:1: ( ( rule__ModelComponent__BaseAssignment_3_1 ) )
- // InternalFSM.g:2523:1: ( rule__ModelComponent__BaseAssignment_3_1 )
+ // InternalFSM.g:2544:1: ( ( rule__ModelComponent__BaseAssignment_3_1 ) )
+ // InternalFSM.g:2545:1: ( rule__ModelComponent__BaseAssignment_3_1 )
{
before(grammarAccess.getModelComponentAccess().getBaseAssignment_3_1());
- // InternalFSM.g:2524:1: ( rule__ModelComponent__BaseAssignment_3_1 )
- // InternalFSM.g:2524:2: rule__ModelComponent__BaseAssignment_3_1
+ // InternalFSM.g:2546:1: ( rule__ModelComponent__BaseAssignment_3_1 )
+ // InternalFSM.g:2546:2: rule__ModelComponent__BaseAssignment_3_1
{
pushFollow(FOLLOW_2);
rule__ModelComponent__BaseAssignment_3_1();
@@ -7774,14 +7877,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__0"
- // InternalFSM.g:2538:1: rule__StateGraph__Group__0 : rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1 ;
+ // InternalFSM.g:2560:1: rule__StateGraph__Group__0 : rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1 ;
public final void rule__StateGraph__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2542:1: ( rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1 )
- // InternalFSM.g:2543:2: rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1
+ // InternalFSM.g:2564:1: ( rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1 )
+ // InternalFSM.g:2565:2: rule__StateGraph__Group__0__Impl rule__StateGraph__Group__1
{
pushFollow(FOLLOW_7);
rule__StateGraph__Group__0__Impl();
@@ -7812,21 +7915,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__0__Impl"
- // InternalFSM.g:2550:1: rule__StateGraph__Group__0__Impl : ( () ) ;
+ // InternalFSM.g:2572:1: rule__StateGraph__Group__0__Impl : ( () ) ;
public final void rule__StateGraph__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2554:1: ( ( () ) )
- // InternalFSM.g:2555:1: ( () )
+ // InternalFSM.g:2576:1: ( ( () ) )
+ // InternalFSM.g:2577:1: ( () )
{
- // InternalFSM.g:2555:1: ( () )
- // InternalFSM.g:2556:1: ()
+ // InternalFSM.g:2577:1: ( () )
+ // InternalFSM.g:2578:1: ()
{
before(grammarAccess.getStateGraphAccess().getStateGraphAction_0());
- // InternalFSM.g:2557:1: ()
- // InternalFSM.g:2559:1:
+ // InternalFSM.g:2579:1: ()
+ // InternalFSM.g:2581:1:
{
}
@@ -7849,14 +7952,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__1"
- // InternalFSM.g:2569:1: rule__StateGraph__Group__1 : rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2 ;
+ // InternalFSM.g:2591:1: rule__StateGraph__Group__1 : rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2 ;
public final void rule__StateGraph__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2573:1: ( rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2 )
- // InternalFSM.g:2574:2: rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2
+ // InternalFSM.g:2595:1: ( rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2 )
+ // InternalFSM.g:2596:2: rule__StateGraph__Group__1__Impl rule__StateGraph__Group__2
{
pushFollow(FOLLOW_8);
rule__StateGraph__Group__1__Impl();
@@ -7887,20 +7990,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__1__Impl"
- // InternalFSM.g:2581:1: rule__StateGraph__Group__1__Impl : ( '{' ) ;
+ // InternalFSM.g:2603:1: rule__StateGraph__Group__1__Impl : ( '{' ) ;
public final void rule__StateGraph__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2585:1: ( ( '{' ) )
- // InternalFSM.g:2586:1: ( '{' )
+ // InternalFSM.g:2607:1: ( ( '{' ) )
+ // InternalFSM.g:2608:1: ( '{' )
{
- // InternalFSM.g:2586:1: ( '{' )
- // InternalFSM.g:2587:1: '{'
+ // InternalFSM.g:2608:1: ( '{' )
+ // InternalFSM.g:2609:1: '{'
{
before(grammarAccess.getStateGraphAccess().getLeftCurlyBracketKeyword_1());
- match(input,28,FOLLOW_2);
+ match(input,29,FOLLOW_2);
after(grammarAccess.getStateGraphAccess().getLeftCurlyBracketKeyword_1());
}
@@ -7924,14 +8027,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__2"
- // InternalFSM.g:2600:1: rule__StateGraph__Group__2 : rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3 ;
+ // InternalFSM.g:2622:1: rule__StateGraph__Group__2 : rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3 ;
public final void rule__StateGraph__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2604:1: ( rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3 )
- // InternalFSM.g:2605:2: rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3
+ // InternalFSM.g:2626:1: ( rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3 )
+ // InternalFSM.g:2627:2: rule__StateGraph__Group__2__Impl rule__StateGraph__Group__3
{
pushFollow(FOLLOW_8);
rule__StateGraph__Group__2__Impl();
@@ -7962,33 +8065,33 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__2__Impl"
- // InternalFSM.g:2612:1: rule__StateGraph__Group__2__Impl : ( ( rule__StateGraph__Alternatives_2 )* ) ;
+ // InternalFSM.g:2634:1: rule__StateGraph__Group__2__Impl : ( ( rule__StateGraph__Alternatives_2 )* ) ;
public final void rule__StateGraph__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2616:1: ( ( ( rule__StateGraph__Alternatives_2 )* ) )
- // InternalFSM.g:2617:1: ( ( rule__StateGraph__Alternatives_2 )* )
+ // InternalFSM.g:2638:1: ( ( ( rule__StateGraph__Alternatives_2 )* ) )
+ // InternalFSM.g:2639:1: ( ( rule__StateGraph__Alternatives_2 )* )
{
- // InternalFSM.g:2617:1: ( ( rule__StateGraph__Alternatives_2 )* )
- // InternalFSM.g:2618:1: ( rule__StateGraph__Alternatives_2 )*
+ // InternalFSM.g:2639:1: ( ( rule__StateGraph__Alternatives_2 )* )
+ // InternalFSM.g:2640:1: ( rule__StateGraph__Alternatives_2 )*
{
before(grammarAccess.getStateGraphAccess().getAlternatives_2());
- // InternalFSM.g:2619:1: ( rule__StateGraph__Alternatives_2 )*
- loop30:
+ // InternalFSM.g:2641:1: ( rule__StateGraph__Alternatives_2 )*
+ loop32:
do {
- int alt30=2;
- int LA30_0 = input.LA(1);
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( (LA30_0==31||(LA30_0>=36 && LA30_0<=41)||LA30_0==50||LA30_0==69) ) {
- alt30=1;
+ if ( (LA32_0==32||(LA32_0>=37 && LA32_0<=42)||LA32_0==51||LA32_0==70) ) {
+ alt32=1;
}
- switch (alt30) {
+ switch (alt32) {
case 1 :
- // InternalFSM.g:2619:2: rule__StateGraph__Alternatives_2
+ // InternalFSM.g:2641:2: rule__StateGraph__Alternatives_2
{
pushFollow(FOLLOW_9);
rule__StateGraph__Alternatives_2();
@@ -8000,7 +8103,7 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
default :
- break loop30;
+ break loop32;
}
} while (true);
@@ -8027,14 +8130,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__3"
- // InternalFSM.g:2629:1: rule__StateGraph__Group__3 : rule__StateGraph__Group__3__Impl ;
+ // InternalFSM.g:2651:1: rule__StateGraph__Group__3 : rule__StateGraph__Group__3__Impl ;
public final void rule__StateGraph__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2633:1: ( rule__StateGraph__Group__3__Impl )
- // InternalFSM.g:2634:2: rule__StateGraph__Group__3__Impl
+ // InternalFSM.g:2655:1: ( rule__StateGraph__Group__3__Impl )
+ // InternalFSM.g:2656:2: rule__StateGraph__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__StateGraph__Group__3__Impl();
@@ -8060,20 +8163,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateGraph__Group__3__Impl"
- // InternalFSM.g:2640:1: rule__StateGraph__Group__3__Impl : ( '}' ) ;
+ // InternalFSM.g:2662:1: rule__StateGraph__Group__3__Impl : ( '}' ) ;
public final void rule__StateGraph__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2644:1: ( ( '}' ) )
- // InternalFSM.g:2645:1: ( '}' )
+ // InternalFSM.g:2666:1: ( ( '}' ) )
+ // InternalFSM.g:2667:1: ( '}' )
{
- // InternalFSM.g:2645:1: ( '}' )
- // InternalFSM.g:2646:1: '}'
+ // InternalFSM.g:2667:1: ( '}' )
+ // InternalFSM.g:2668:1: '}'
{
before(grammarAccess.getStateGraphAccess().getRightCurlyBracketKeyword_3());
- match(input,29,FOLLOW_2);
+ match(input,30,FOLLOW_2);
after(grammarAccess.getStateGraphAccess().getRightCurlyBracketKeyword_3());
}
@@ -8097,14 +8200,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__0"
- // InternalFSM.g:2667:1: rule__StateMachine__Group__0 : rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1 ;
+ // InternalFSM.g:2689:1: rule__StateMachine__Group__0 : rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1 ;
public final void rule__StateMachine__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2671:1: ( rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1 )
- // InternalFSM.g:2672:2: rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1
+ // InternalFSM.g:2693:1: ( rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1 )
+ // InternalFSM.g:2694:2: rule__StateMachine__Group__0__Impl rule__StateMachine__Group__1
{
pushFollow(FOLLOW_6);
rule__StateMachine__Group__0__Impl();
@@ -8135,21 +8238,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__0__Impl"
- // InternalFSM.g:2679:1: rule__StateMachine__Group__0__Impl : ( () ) ;
+ // InternalFSM.g:2701:1: rule__StateMachine__Group__0__Impl : ( () ) ;
public final void rule__StateMachine__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2683:1: ( ( () ) )
- // InternalFSM.g:2684:1: ( () )
+ // InternalFSM.g:2705:1: ( ( () ) )
+ // InternalFSM.g:2706:1: ( () )
{
- // InternalFSM.g:2684:1: ( () )
- // InternalFSM.g:2685:1: ()
+ // InternalFSM.g:2706:1: ( () )
+ // InternalFSM.g:2707:1: ()
{
before(grammarAccess.getStateMachineAccess().getStateGraphAction_0());
- // InternalFSM.g:2686:1: ()
- // InternalFSM.g:2688:1:
+ // InternalFSM.g:2708:1: ()
+ // InternalFSM.g:2710:1:
{
}
@@ -8172,14 +8275,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__1"
- // InternalFSM.g:2698:1: rule__StateMachine__Group__1 : rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2 ;
+ // InternalFSM.g:2720:1: rule__StateMachine__Group__1 : rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2 ;
public final void rule__StateMachine__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2702:1: ( rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2 )
- // InternalFSM.g:2703:2: rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2
+ // InternalFSM.g:2724:1: ( rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2 )
+ // InternalFSM.g:2725:2: rule__StateMachine__Group__1__Impl rule__StateMachine__Group__2
{
pushFollow(FOLLOW_7);
rule__StateMachine__Group__1__Impl();
@@ -8210,20 +8313,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__1__Impl"
- // InternalFSM.g:2710:1: rule__StateMachine__Group__1__Impl : ( 'StateMachine' ) ;
+ // InternalFSM.g:2732:1: rule__StateMachine__Group__1__Impl : ( 'StateMachine' ) ;
public final void rule__StateMachine__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2714:1: ( ( 'StateMachine' ) )
- // InternalFSM.g:2715:1: ( 'StateMachine' )
+ // InternalFSM.g:2736:1: ( ( 'StateMachine' ) )
+ // InternalFSM.g:2737:1: ( 'StateMachine' )
{
- // InternalFSM.g:2715:1: ( 'StateMachine' )
- // InternalFSM.g:2716:1: 'StateMachine'
+ // InternalFSM.g:2737:1: ( 'StateMachine' )
+ // InternalFSM.g:2738:1: 'StateMachine'
{
before(grammarAccess.getStateMachineAccess().getStateMachineKeyword_1());
- match(input,30,FOLLOW_2);
+ match(input,31,FOLLOW_2);
after(grammarAccess.getStateMachineAccess().getStateMachineKeyword_1());
}
@@ -8247,14 +8350,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__2"
- // InternalFSM.g:2729:1: rule__StateMachine__Group__2 : rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3 ;
+ // InternalFSM.g:2751:1: rule__StateMachine__Group__2 : rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3 ;
public final void rule__StateMachine__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2733:1: ( rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3 )
- // InternalFSM.g:2734:2: rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3
+ // InternalFSM.g:2755:1: ( rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3 )
+ // InternalFSM.g:2756:2: rule__StateMachine__Group__2__Impl rule__StateMachine__Group__3
{
pushFollow(FOLLOW_8);
rule__StateMachine__Group__2__Impl();
@@ -8285,20 +8388,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__2__Impl"
- // InternalFSM.g:2741:1: rule__StateMachine__Group__2__Impl : ( '{' ) ;
+ // InternalFSM.g:2763:1: rule__StateMachine__Group__2__Impl : ( '{' ) ;
public final void rule__StateMachine__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2745:1: ( ( '{' ) )
- // InternalFSM.g:2746:1: ( '{' )
+ // InternalFSM.g:2767:1: ( ( '{' ) )
+ // InternalFSM.g:2768:1: ( '{' )
{
- // InternalFSM.g:2746:1: ( '{' )
- // InternalFSM.g:2747:1: '{'
+ // InternalFSM.g:2768:1: ( '{' )
+ // InternalFSM.g:2769:1: '{'
{
before(grammarAccess.getStateMachineAccess().getLeftCurlyBracketKeyword_2());
- match(input,28,FOLLOW_2);
+ match(input,29,FOLLOW_2);
after(grammarAccess.getStateMachineAccess().getLeftCurlyBracketKeyword_2());
}
@@ -8322,14 +8425,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__3"
- // InternalFSM.g:2760:1: rule__StateMachine__Group__3 : rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4 ;
+ // InternalFSM.g:2782:1: rule__StateMachine__Group__3 : rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4 ;
public final void rule__StateMachine__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2764:1: ( rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4 )
- // InternalFSM.g:2765:2: rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4
+ // InternalFSM.g:2786:1: ( rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4 )
+ // InternalFSM.g:2787:2: rule__StateMachine__Group__3__Impl rule__StateMachine__Group__4
{
pushFollow(FOLLOW_8);
rule__StateMachine__Group__3__Impl();
@@ -8360,33 +8463,33 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__3__Impl"
- // InternalFSM.g:2772:1: rule__StateMachine__Group__3__Impl : ( ( rule__StateMachine__Alternatives_3 )* ) ;
+ // InternalFSM.g:2794:1: rule__StateMachine__Group__3__Impl : ( ( rule__StateMachine__Alternatives_3 )* ) ;
public final void rule__StateMachine__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2776:1: ( ( ( rule__StateMachine__Alternatives_3 )* ) )
- // InternalFSM.g:2777:1: ( ( rule__StateMachine__Alternatives_3 )* )
+ // InternalFSM.g:2798:1: ( ( ( rule__StateMachine__Alternatives_3 )* ) )
+ // InternalFSM.g:2799:1: ( ( rule__StateMachine__Alternatives_3 )* )
{
- // InternalFSM.g:2777:1: ( ( rule__StateMachine__Alternatives_3 )* )
- // InternalFSM.g:2778:1: ( rule__StateMachine__Alternatives_3 )*
+ // InternalFSM.g:2799:1: ( ( rule__StateMachine__Alternatives_3 )* )
+ // InternalFSM.g:2800:1: ( rule__StateMachine__Alternatives_3 )*
{
before(grammarAccess.getStateMachineAccess().getAlternatives_3());
- // InternalFSM.g:2779:1: ( rule__StateMachine__Alternatives_3 )*
- loop31:
+ // InternalFSM.g:2801:1: ( rule__StateMachine__Alternatives_3 )*
+ loop33:
do {
- int alt31=2;
- int LA31_0 = input.LA(1);
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( (LA31_0==31||(LA31_0>=36 && LA31_0<=41)||LA31_0==50||LA31_0==69) ) {
- alt31=1;
+ if ( (LA33_0==32||(LA33_0>=37 && LA33_0<=42)||LA33_0==51||LA33_0==70) ) {
+ alt33=1;
}
- switch (alt31) {
+ switch (alt33) {
case 1 :
- // InternalFSM.g:2779:2: rule__StateMachine__Alternatives_3
+ // InternalFSM.g:2801:2: rule__StateMachine__Alternatives_3
{
pushFollow(FOLLOW_9);
rule__StateMachine__Alternatives_3();
@@ -8398,7 +8501,7 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
break;
default :
- break loop31;
+ break loop33;
}
} while (true);
@@ -8425,14 +8528,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__4"
- // InternalFSM.g:2789:1: rule__StateMachine__Group__4 : rule__StateMachine__Group__4__Impl ;
+ // InternalFSM.g:2811:1: rule__StateMachine__Group__4 : rule__StateMachine__Group__4__Impl ;
public final void rule__StateMachine__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2793:1: ( rule__StateMachine__Group__4__Impl )
- // InternalFSM.g:2794:2: rule__StateMachine__Group__4__Impl
+ // InternalFSM.g:2815:1: ( rule__StateMachine__Group__4__Impl )
+ // InternalFSM.g:2816:2: rule__StateMachine__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__StateMachine__Group__4__Impl();
@@ -8458,20 +8561,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__StateMachine__Group__4__Impl"
- // InternalFSM.g:2800:1: rule__StateMachine__Group__4__Impl : ( '}' ) ;
+ // InternalFSM.g:2822:1: rule__StateMachine__Group__4__Impl : ( '}' ) ;
public final void rule__StateMachine__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2804:1: ( ( '}' ) )
- // InternalFSM.g:2805:1: ( '}' )
+ // InternalFSM.g:2826:1: ( ( '}' ) )
+ // InternalFSM.g:2827:1: ( '}' )
{
- // InternalFSM.g:2805:1: ( '}' )
- // InternalFSM.g:2806:1: '}'
+ // InternalFSM.g:2827:1: ( '}' )
+ // InternalFSM.g:2828:1: '}'
{
before(grammarAccess.getStateMachineAccess().getRightCurlyBracketKeyword_4());
- match(input,29,FOLLOW_2);
+ match(input,30,FOLLOW_2);
after(grammarAccess.getStateMachineAccess().getRightCurlyBracketKeyword_4());
}
@@ -8495,14 +8598,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__0"
- // InternalFSM.g:2829:1: rule__SimpleState__Group__0 : rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1 ;
+ // InternalFSM.g:2851:1: rule__SimpleState__Group__0 : rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1 ;
public final void rule__SimpleState__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2833:1: ( rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1 )
- // InternalFSM.g:2834:2: rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1
+ // InternalFSM.g:2855:1: ( rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1 )
+ // InternalFSM.g:2856:2: rule__SimpleState__Group__0__Impl rule__SimpleState__Group__1
{
pushFollow(FOLLOW_5);
rule__SimpleState__Group__0__Impl();
@@ -8533,20 +8636,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__0__Impl"
- // InternalFSM.g:2841:1: rule__SimpleState__Group__0__Impl : ( 'State' ) ;
+ // InternalFSM.g:2863:1: rule__SimpleState__Group__0__Impl : ( 'State' ) ;
public final void rule__SimpleState__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2845:1: ( ( 'State' ) )
- // InternalFSM.g:2846:1: ( 'State' )
+ // InternalFSM.g:2867:1: ( ( 'State' ) )
+ // InternalFSM.g:2868:1: ( 'State' )
{
- // InternalFSM.g:2846:1: ( 'State' )
- // InternalFSM.g:2847:1: 'State'
+ // InternalFSM.g:2868:1: ( 'State' )
+ // InternalFSM.g:2869:1: 'State'
{
before(grammarAccess.getSimpleStateAccess().getStateKeyword_0());
- match(input,31,FOLLOW_2);
+ match(input,32,FOLLOW_2);
after(grammarAccess.getSimpleStateAccess().getStateKeyword_0());
}
@@ -8570,14 +8673,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__1"
- // InternalFSM.g:2860:1: rule__SimpleState__Group__1 : rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2 ;
+ // InternalFSM.g:2882:1: rule__SimpleState__Group__1 : rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2 ;
public final void rule__SimpleState__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2864:1: ( rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2 )
- // InternalFSM.g:2865:2: rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2
+ // InternalFSM.g:2886:1: ( rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2 )
+ // InternalFSM.g:2887:2: rule__SimpleState__Group__1__Impl rule__SimpleState__Group__2
{
pushFollow(FOLLOW_10);
rule__SimpleState__Group__1__Impl();
@@ -8608,21 +8711,21 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__1__Impl"
- // InternalFSM.g:2872:1: rule__SimpleState__Group__1__Impl : ( ( rule__SimpleState__NameAssignment_1 ) ) ;
+ // InternalFSM.g:2894:1: rule__SimpleState__Group__1__Impl : ( ( rule__SimpleState__NameAssignment_1 ) ) ;
public final void rule__SimpleState__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2876:1: ( ( ( rule__SimpleState__NameAssignment_1 ) ) )
- // InternalFSM.g:2877:1: ( ( rule__SimpleState__NameAssignment_1 ) )
+ // InternalFSM.g:2898:1: ( ( ( rule__SimpleState__NameAssignment_1 ) ) )
+ // InternalFSM.g:2899:1: ( ( rule__SimpleState__NameAssignment_1 ) )
{
- // InternalFSM.g:2877:1: ( ( rule__SimpleState__NameAssignment_1 ) )
- // InternalFSM.g:2878:1: ( rule__SimpleState__NameAssignment_1 )
+ // InternalFSM.g:2899:1: ( ( rule__SimpleState__NameAssignment_1 ) )
+ // InternalFSM.g:2900:1: ( rule__SimpleState__NameAssignment_1 )
{
before(grammarAccess.getSimpleStateAccess().getNameAssignment_1());
- // InternalFSM.g:2879:1: ( rule__SimpleState__NameAssignment_1 )
- // InternalFSM.g:2879:2: rule__SimpleState__NameAssignment_1
+ // InternalFSM.g:2901:1: ( rule__SimpleState__NameAssignment_1 )
+ // InternalFSM.g:2901:2: rule__SimpleState__NameAssignment_1
{
pushFollow(FOLLOW_2);
rule__SimpleState__NameAssignment_1();
@@ -8655,14 +8758,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__2"
- // InternalFSM.g:2889:1: rule__SimpleState__Group__2 : rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3 ;
+ // InternalFSM.g:2911:1: rule__SimpleState__Group__2 : rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3 ;
public final void rule__SimpleState__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2893:1: ( rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3 )
- // InternalFSM.g:2894:2: rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3
+ // InternalFSM.g:2915:1: ( rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3 )
+ // InternalFSM.g:2916:2: rule__SimpleState__Group__2__Impl rule__SimpleState__Group__3
{
pushFollow(FOLLOW_10);
rule__SimpleState__Group__2__Impl();
@@ -8693,29 +8796,29 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__2__Impl"
- // InternalFSM.g:2901:1: rule__SimpleState__Group__2__Impl : ( ( rule__SimpleState__DocuAssignment_2 )? ) ;
+ // InternalFSM.g:2923:1: rule__SimpleState__Group__2__Impl : ( ( rule__SimpleState__DocuAssignment_2 )? ) ;
public final void rule__SimpleState__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2905:1: ( ( ( rule__SimpleState__DocuAssignment_2 )? ) )
- // InternalFSM.g:2906:1: ( ( rule__SimpleState__DocuAssignment_2 )? )
+ // InternalFSM.g:2927:1: ( ( ( rule__SimpleState__DocuAssignment_2 )? ) )
+ // InternalFSM.g:2928:1: ( ( rule__SimpleState__DocuAssignment_2 )? )
{
- // InternalFSM.g:2906:1: ( ( rule__SimpleState__DocuAssignment_2 )? )
- // InternalFSM.g:2907:1: ( rule__SimpleState__DocuAssignment_2 )?
+ // InternalFSM.g:2928:1: ( ( rule__SimpleState__DocuAssignment_2 )? )
+ // InternalFSM.g:2929:1: ( rule__SimpleState__DocuAssignment_2 )?
{
before(grammarAccess.getSimpleStateAccess().getDocuAssignment_2());
- // InternalFSM.g:2908:1: ( rule__SimpleState__DocuAssignment_2 )?
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // InternalFSM.g:2930:1: ( rule__SimpleState__DocuAssignment_2 )?
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( (LA32_0==65) ) {
- alt32=1;
+ if ( (LA34_0==66) ) {
+ alt34=1;
}
- switch (alt32) {
+ switch (alt34) {
case 1 :
- // InternalFSM.g:2908:2: rule__SimpleState__DocuAssignment_2
+ // InternalFSM.g:2930:2: rule__SimpleState__DocuAssignment_2
{
pushFollow(FOLLOW_2);
rule__SimpleState__DocuAssignment_2();
@@ -8751,14 +8854,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__3"
- // InternalFSM.g:2918:1: rule__SimpleState__Group__3 : rule__SimpleState__Group__3__Impl ;
+ // InternalFSM.g:2940:1: rule__SimpleState__Group__3 : rule__SimpleState__Group__3__Impl ;
public final void rule__SimpleState__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2922:1: ( rule__SimpleState__Group__3__Impl )
- // InternalFSM.g:2923:2: rule__SimpleState__Group__3__Impl
+ // InternalFSM.g:2944:1: ( rule__SimpleState__Group__3__Impl )
+ // InternalFSM.g:2945:2: rule__SimpleState__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__SimpleState__Group__3__Impl();
@@ -8784,29 +8887,29 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group__3__Impl"
- // InternalFSM.g:2929:1: rule__SimpleState__Group__3__Impl : ( ( rule__SimpleState__Group_3__0 )? ) ;
+ // InternalFSM.g:2951:1: rule__SimpleState__Group__3__Impl : ( ( rule__SimpleState__Group_3__0 )? ) ;
public final void rule__SimpleState__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2933:1: ( ( ( rule__SimpleState__Group_3__0 )? ) )
- // InternalFSM.g:2934:1: ( ( rule__SimpleState__Group_3__0 )? )
+ // InternalFSM.g:2955:1: ( ( ( rule__SimpleState__Group_3__0 )? ) )
+ // InternalFSM.g:2956:1: ( ( rule__SimpleState__Group_3__0 )? )
{
- // InternalFSM.g:2934:1: ( ( rule__SimpleState__Group_3__0 )? )
- // InternalFSM.g:2935:1: ( rule__SimpleState__Group_3__0 )?
+ // InternalFSM.g:2956:1: ( ( rule__SimpleState__Group_3__0 )? )
+ // InternalFSM.g:2957:1: ( rule__SimpleState__Group_3__0 )?
{
before(grammarAccess.getSimpleStateAccess().getGroup_3());
- // InternalFSM.g:2936:1: ( rule__SimpleState__Group_3__0 )?
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // InternalFSM.g:2958:1: ( rule__SimpleState__Group_3__0 )?
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( (LA33_0==28) ) {
- alt33=1;
+ if ( (LA35_0==29) ) {
+ alt35=1;
}
- switch (alt33) {
+ switch (alt35) {
case 1 :
- // InternalFSM.g:2936:2: rule__SimpleState__Group_3__0
+ // InternalFSM.g:2958:2: rule__SimpleState__Group_3__0
{
pushFollow(FOLLOW_2);
rule__SimpleState__Group_3__0();
@@ -8842,14 +8945,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group_3__0"
- // InternalFSM.g:2954:1: rule__SimpleState__Group_3__0 : rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1 ;
+ // InternalFSM.g:2976:1: rule__SimpleState__Group_3__0 : rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1 ;
public final void rule__SimpleState__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2958:1: ( rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1 )
- // InternalFSM.g:2959:2: rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1
+ // InternalFSM.g:2980:1: ( rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1 )
+ // InternalFSM.g:2981:2: rule__SimpleState__Group_3__0__Impl rule__SimpleState__Group_3__1
{
pushFollow(FOLLOW_11);
rule__SimpleState__Group_3__0__Impl();
@@ -8880,20 +8983,20 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group_3__0__Impl"
- // InternalFSM.g:2966:1: rule__SimpleState__Group_3__0__Impl : ( '{' ) ;
+ // InternalFSM.g:2988:1: rule__SimpleState__Group_3__0__Impl : ( '{' ) ;
public final void rule__SimpleState__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2970:1: ( ( '{' ) )
- // InternalFSM.g:2971:1: ( '{' )
+ // InternalFSM.g:2992:1: ( ( '{' ) )
+ // InternalFSM.g:2993:1: ( '{' )
{
- // InternalFSM.g:2971:1: ( '{' )
- // InternalFSM.g:2972:1: '{'
+ // InternalFSM.g:2993:1: ( '{' )
+ // InternalFSM.g:2994:1: '{'
{
before(grammarAccess.getSimpleStateAccess().getLeftCurlyBracketKeyword_3_0());
- match(input,28,FOLLOW_2);
+ match(input,29,FOLLOW_2);
after(grammarAccess.getSimpleStateAccess().getLeftCurlyBracketKeyword_3_0());
}
@@ -8917,14 +9020,14 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group_3__1"
- // InternalFSM.g:2985:1: rule__SimpleState__Group_3__1 : rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2 ;
+ // InternalFSM.g:3007:1: rule__SimpleState__Group_3__1 : rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2 ;
public final void rule__SimpleState__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:2989:1: ( rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2 )
- // InternalFSM.g:2990:2: rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2
+ // InternalFSM.g:3011:1: ( rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2 )
+ // InternalFSM.g:3012:2: rule__SimpleState__Group_3__1__Impl rule__SimpleState__Group_3__2
{
pushFollow(FOLLOW_11);
rule__SimpleState__Group_3__1__Impl();
@@ -8955,29 +9058,29 @@ public class InternalFSMParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__SimpleState__Group_3__1__Impl"
- // InternalFSM.g:2997:1: rule__SimpleState__Group_3__1__Impl : ( ( rule__SimpleState__Group_3_1__0 )? ) ;
+ // InternalFSM.g:3019:1: rule__SimpleState__Group_3__1__Impl : ( ( rule__SimpleState__Group_3_1__0 )? ) ;
public final void rule__SimpleState__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalFSM.g:3001:1: ( ( ( rule__SimpleState__Group_3_1__0 )? ) )
- // InternalFSM.g:3002:1: ( ( rule__SimpleState__Group_3_1__0 )? )
+ // InternalFSM.g:3023:1: ( ( ( rule__SimpleState__Group_3_1__0 )? ) )
+ // InternalFSM.g:3024:1: ( ( rule__SimpleState__Group_3_1__0 )? )