Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java1372
1 files changed, 637 insertions, 735 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java
index 45fa4066100..79583cb3a7a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java
@@ -1,7 +1,5 @@
package org.eclipse.papyrus.uml.textedit.transition.xtext.ui.contentassist.antlr.internal;
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
import org.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.DFA;
@@ -11,30 +9,32 @@ import org.antlr.runtime.MismatchedSetException;
import org.antlr.runtime.NoViableAltException;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.RecognizerSharedState;
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
@SuppressWarnings("all")
public class InternalUmlTransitionLexer extends Lexer {
- public static final int RULE_ID = 4;
- public static final int T__22 = 22;
- public static final int T__21 = 21;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__20 = 20;
- public static final int RULE_INTEGER_VALUE = 6;
- public static final int EOF = -1;
- public static final int RULE_SL_COMMENT = 8;
- public static final int RULE_ML_COMMENT = 7;
- public static final int T__19 = 19;
public static final int RULE_STRING = 5;
- public static final int T__16 = 16;
+ public static final int RULE_SL_COMMENT = 7;
+ public static final int T__19 = 19;
public static final int T__15 = 15;
- public static final int T__18 = 18;
+ 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__12 = 12;
- public static final int T__14 = 14;
public static final int T__13 = 13;
- public static final int RULE_INT = 9;
+ public static final int T__14 = 14;
+ public static final int EOF = -1;
+ 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_INT = 8;
+ public static final int T__22 = 22;
+ public static final int RULE_ML_COMMENT = 6;
+ public static final int RULE_INTEGER_VALUE = 9;
+ public static final int T__20 = 20;
+ public static final int T__21 = 21;
// delegates
// delegators
@@ -52,9 +52,8 @@ public class InternalUmlTransitionLexer extends Lexer {
}
- @Override
public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g";
+ return "InternalUmlTransition.g";
}
// $ANTLR start "T__12"
@@ -62,8 +61,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__12;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:7: ( 'Activity' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:9: 'Activity'
+ // InternalUmlTransition.g:11:7: ( 'Activity' )
+ // InternalUmlTransition.g:11:9: 'Activity'
{
match("Activity");
@@ -75,7 +74,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__12"
// $ANTLR start "T__13"
@@ -83,8 +81,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:7: ( 'StateMachine' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:9: 'StateMachine'
+ // InternalUmlTransition.g:12:7: ( 'StateMachine' )
+ // InternalUmlTransition.g:12:9: 'StateMachine'
{
match("StateMachine");
@@ -96,7 +94,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__13"
// $ANTLR start "T__14"
@@ -104,8 +101,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:7: ( 'OpaqueBehavior' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:9: 'OpaqueBehavior'
+ // InternalUmlTransition.g:13:7: ( 'OpaqueBehavior' )
+ // InternalUmlTransition.g:13:9: 'OpaqueBehavior'
{
match("OpaqueBehavior");
@@ -117,7 +114,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__14"
// $ANTLR start "T__15"
@@ -125,8 +121,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:9: ','
+ // InternalUmlTransition.g:14:7: ( ',' )
+ // InternalUmlTransition.g:14:9: ','
{
match(',');
@@ -137,7 +133,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__15"
// $ANTLR start "T__16"
@@ -145,8 +140,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:7: ( 'after' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:9: 'after'
+ // InternalUmlTransition.g:15:7: ( 'after' )
+ // InternalUmlTransition.g:15:9: 'after'
{
match("after");
@@ -158,7 +153,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__16"
// $ANTLR start "T__17"
@@ -166,8 +160,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:7: ( 'at' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:9: 'at'
+ // InternalUmlTransition.g:16:7: ( 'at' )
+ // InternalUmlTransition.g:16:9: 'at'
{
match("at");
@@ -179,7 +173,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__17"
// $ANTLR start "T__18"
@@ -187,8 +180,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:7: ( 'when' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:9: 'when'
+ // InternalUmlTransition.g:17:7: ( 'when' )
+ // InternalUmlTransition.g:17:9: 'when'
{
match("when");
@@ -200,7 +193,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__18"
// $ANTLR start "T__19"
@@ -208,8 +200,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:7: ( '[' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:9: '['
+ // InternalUmlTransition.g:18:7: ( '[' )
+ // InternalUmlTransition.g:18:9: '['
{
match('[');
@@ -220,7 +212,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__19"
// $ANTLR start "T__20"
@@ -228,8 +219,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:7: ( ']' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:9: ']'
+ // InternalUmlTransition.g:19:7: ( ']' )
+ // InternalUmlTransition.g:19:9: ']'
{
match(']');
@@ -240,7 +231,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__20"
// $ANTLR start "T__21"
@@ -248,8 +238,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:7: ( '/' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:9: '/'
+ // InternalUmlTransition.g:20:7: ( '/' )
+ // InternalUmlTransition.g:20:9: '/'
{
match('/');
@@ -260,7 +250,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__21"
// $ANTLR start "T__22"
@@ -268,8 +257,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:21:7: ( 'all' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:21:9: 'all'
+ // InternalUmlTransition.g:21:7: ( 'all' )
+ // InternalUmlTransition.g:21:9: 'all'
{
match("all");
@@ -281,497 +270,60 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__22"
- // $ANTLR start "RULE_INTEGER_VALUE"
- public final void mRULE_INTEGER_VALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGER_VALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B'
- // ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' )
- // '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' |
- // '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- int alt13 = 4;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == '0')) {
- switch (input.LA(2)) {
- case 'B':
- case 'b': {
- alt13 = 2;
- }
- break;
- case 'X':
- case 'x': {
- alt13 = 3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_': {
- alt13 = 4;
- }
- break;
- default:
- alt13 = 1;
- }
-
- }
- else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
- alt13 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == '0')) {
- alt3 = 1;
- }
- else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
- alt3 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:24: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:37: ( ( '_' )? '0' .. '9' )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:38: ( '_' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '_')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:55: ( '0b' | '0B' )
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == '0')) {
- int LA4_1 = input.LA(2);
-
- if ((LA4_1 == 'b')) {
- alt4 = 1;
- }
- else if ((LA4_1 == 'B')) {
- alt4 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 0, input);
-
- throw nvae;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:76: ( ( '_' )? '0' .. '1' )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
- alt6 = 1;
- }
-
-
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:77: ( '_' )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '_')) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( (
- // '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:93: ( '0x' | '0X' )
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '0')) {
- int LA7_1 = input.LA(2);
-
- if ((LA7_1 == 'x')) {
- alt7 = 1;
- }
- else if ((LA7_1 == 'X')) {
- alt7 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
-
- throw nvae;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:99: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- loop9: do {
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
- alt9 = 1;
- }
-
-
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:135: ( '_' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '_')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:135: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop9;
- }
- } while (true);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:175: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:189: ( ( '_' )? '0' .. '7' )*
- loop12: do {
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
- alt12 = 1;
- }
-
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:190: ( '_' )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == '_')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1237:190: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
-
- }
- break;
-
- default:
- break loop12;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGER_VALUE"
-
// $ANTLR start "RULE_ID"
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' |
- // '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' |
- // '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ // InternalUmlTransition.g:1237:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // InternalUmlTransition.g:1237:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z'
- // | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '\'')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ // InternalUmlTransition.g:1237:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if (((LA3_0 >= 'A' && LA3_0 <= 'Z') || LA3_0 == '_' || (LA3_0 >= 'a' && LA3_0 <= 'z'))) {
+ alt3 = 1;
+ } else if ((LA3_0 == '\'')) {
+ alt3 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 3, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt3) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' |
- // '_' | '0' .. '9' )*
+ // InternalUmlTransition.g:1237:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop14: do {
- int alt14 = 2;
- int LA14_0 = input.LA(1);
+ // InternalUmlTransition.g:1237:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop1: do {
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
- if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
- alt14 = 1;
+ if (((LA1_0 >= '0' && LA1_0 <= '9') || (LA1_0 >= 'A' && LA1_0 <= 'Z') || LA1_0 == '_' || (LA1_0 >= 'a' && LA1_0 <= 'z'))) {
+ alt1 = 1;
}
- switch (alt14) {
+ switch (alt1) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:
+ // InternalUmlTransition.g:
{
if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -782,7 +334,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop14;
+ break loop1;
}
} while (true);
@@ -790,25 +342,24 @@ public class InternalUmlTransitionLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:70: '\\'' ( options {greedy=false; } : . )* '\\''
+ // InternalUmlTransition.g:1237:70: '\\'' ( options {greedy=false; } : . )* '\\''
{
match('\'');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:75: ( options {greedy=false; } : . )*
- loop15: do {
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '\'')) {
- alt15 = 2;
- }
- else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
- alt15 = 1;
+ // InternalUmlTransition.g:1237:75: ( options {greedy=false; } : . )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if ((LA2_0 == '\'')) {
+ alt2 = 2;
+ } else if (((LA2_0 >= '\u0000' && LA2_0 <= '&') || (LA2_0 >= '(' && LA2_0 <= '\uFFFF'))) {
+ alt2 = 1;
}
- switch (alt15) {
+ switch (alt2) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1239:103: .
+ // InternalUmlTransition.g:1237:103: .
{
matchAny();
@@ -816,7 +367,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop15;
+ break loop2;
}
} while (true);
@@ -835,7 +386,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ID"
// $ANTLR start "RULE_STRING"
@@ -843,37 +393,31 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1241:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' |
- // '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1241:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' |
- // '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalUmlTransition.g:1239:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalUmlTransition.g:1239:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1241:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\'
- // ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop17: do {
- int alt17 = 3;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '\\')) {
- alt17 = 1;
- }
- else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
- alt17 = 2;
+ // InternalUmlTransition.g:1239:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop4: do {
+ int alt4 = 3;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == '\\')) {
+ alt4 = 1;
+ } else if (((LA4_0 >= '\u0000' && LA4_0 <= '!') || (LA4_0 >= '#' && LA4_0 <= '[') || (LA4_0 >= ']' && LA4_0 <= '\uFFFF'))) {
+ alt4 = 2;
}
- switch (alt17) {
+ switch (alt4) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1241:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' |
- // '\\\\' )
+ // InternalUmlTransition.g:1239:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -883,13 +427,12 @@ public class InternalUmlTransitionLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1241:61: ~ ( ( '\\\\' | '\"' ) )
+ // InternalUmlTransition.g:1239:61: ~ ( ( '\\\\' | '\"' ) )
{
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -900,7 +443,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop17;
+ break loop4;
}
} while (true);
@@ -913,7 +456,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_STRING"
// $ANTLR start "RULE_ML_COMMENT"
@@ -921,46 +463,43 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1243:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1243:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
+ // InternalUmlTransition.g:1241:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
+ // InternalUmlTransition.g:1241:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
{
match("/*");
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1243:31: ( options {greedy=false; } : . )*
- loop18: do {
- int alt18 = 2;
- int LA18_0 = input.LA(1);
+ // InternalUmlTransition.g:1241:31: ( options {greedy=false; } : . )*
+ loop5: do {
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
- if ((LA18_0 == '*')) {
- int LA18_1 = input.LA(2);
+ if ((LA5_0 == '*')) {
+ int LA5_1 = input.LA(2);
- if ((LA18_1 == '/')) {
- alt18 = 2;
- }
- else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
- alt18 = 1;
+ if ((LA5_1 == '/')) {
+ alt5 = 2;
+ } else if (((LA5_1 >= '\u0000' && LA5_1 <= '.') || (LA5_1 >= '0' && LA5_1 <= '\uFFFF'))) {
+ alt5 = 1;
}
- }
- else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
- alt18 = 1;
+ } else if (((LA5_0 >= '\u0000' && LA5_0 <= ')') || (LA5_0 >= '+' && LA5_0 <= '\uFFFF'))) {
+ alt5 = 1;
}
- switch (alt18) {
+ switch (alt5) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1243:59: .
+ // InternalUmlTransition.g:1241:59: .
{
matchAny();
@@ -968,7 +507,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop18;
+ break loop5;
}
} while (true);
@@ -982,7 +521,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ML_COMMENT"
// $ANTLR start "RULE_SL_COMMENT"
@@ -990,30 +528,29 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalUmlTransition.g:1243:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalUmlTransition.g:1243:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop19: do {
- int alt19 = 2;
- int LA19_0 = input.LA(1);
+ // InternalUmlTransition.g:1243:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ loop6: do {
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
- if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
- alt19 = 1;
+ if (((LA6_0 >= '\u0000' && LA6_0 <= '\t') || (LA6_0 >= '\u000B' && LA6_0 <= '\f') || (LA6_0 >= '\u000E' && LA6_0 <= '?') || (LA6_0 >= 'A' && LA6_0 <= '\uFFFF'))) {
+ alt6 = 1;
}
- switch (alt19) {
+ switch (alt6) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ // InternalUmlTransition.g:1243: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) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -1024,31 +561,31 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop19;
+ break loop6;
}
} while (true);
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:44: ( ( '\\r' )? '\\n' )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
+ // InternalUmlTransition.g:1243:44: ( ( '\\r' )? '\\n' )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
- if ((LA21_0 == '\n' || LA21_0 == '\r')) {
- alt21 = 1;
+ if ((LA8_0 == '\n' || LA8_0 == '\r')) {
+ alt8 = 1;
}
- switch (alt21) {
+ switch (alt8) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:45: ( '\\r' )? '\\n'
+ // InternalUmlTransition.g:1243:45: ( '\\r' )? '\\n'
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:45: ( '\\r' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
+ // InternalUmlTransition.g:1243:45: ( '\\r' )?
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
- if ((LA20_0 == '\r')) {
- alt20 = 1;
+ if ((LA7_0 == '\r')) {
+ alt7 = 1;
}
- switch (alt20) {
+ switch (alt7) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1245:45: '\\r'
+ // InternalUmlTransition.g:1243:45: '\\r'
{
match('\r');
@@ -1072,7 +609,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_SL_COMMENT"
// $ANTLR start "RULE_INT"
@@ -1080,23 +616,23 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1247:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1247:12: ( '0' .. '9' )+
+ // InternalUmlTransition.g:1245:10: ( ( '0' .. '9' )+ )
+ // InternalUmlTransition.g:1245:12: ( '0' .. '9' )+
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1247:12: ( '0' .. '9' )+
- int cnt22 = 0;
- loop22: do {
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
- alt22 = 1;
+ // InternalUmlTransition.g:1245:12: ( '0' .. '9' )+
+ int cnt9 = 0;
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if (((LA9_0 >= '0' && LA9_0 <= '9'))) {
+ alt9 = 1;
}
- switch (alt22) {
+ switch (alt9) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1247:13: '0' .. '9'
+ // InternalUmlTransition.g:1245:13: '0' .. '9'
{
matchRange('0', '9');
@@ -1104,14 +640,12 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- if (cnt22 >= 1) {
- break loop22;
- }
- EarlyExitException eee =
- new EarlyExitException(22, input);
+ if (cnt9 >= 1)
+ break loop9;
+ EarlyExitException eee = new EarlyExitException(9, input);
throw eee;
}
- cnt22++;
+ cnt9++;
} while (true);
@@ -1122,18 +656,424 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_INT"
+ // $ANTLR start "RULE_INTEGER_VALUE"
+ public final void mRULE_INTEGER_VALUE() throws RecognitionException {
+ try {
+ int _type = RULE_INTEGER_VALUE;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlTransition.g:1247:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F'
+ // ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
+ // InternalUmlTransition.g:1247:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ {
+ // InternalUmlTransition.g:1247:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' ..
+ // 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ int alt22 = 4;
+ int LA22_0 = input.LA(1);
+
+ if ((LA22_0 == '0')) {
+ switch (input.LA(2)) {
+ case 'B':
+ case 'b': {
+ alt22 = 2;
+ }
+ break;
+ case 'X':
+ case 'x': {
+ alt22 = 3;
+ }
+ break;
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '_': {
+ alt22 = 4;
+ }
+ break;
+ default:
+ alt22 = 1;
+ }
+
+ } else if (((LA22_0 >= '1' && LA22_0 <= '9'))) {
+ alt22 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 22, 0, input);
+
+ throw nvae;
+ }
+ switch (alt22) {
+ case 1:
+ // InternalUmlTransition.g:1247:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ {
+ // InternalUmlTransition.g:1247:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ int alt12 = 2;
+ int LA12_0 = input.LA(1);
+
+ if ((LA12_0 == '0')) {
+ alt12 = 1;
+ } else if (((LA12_0 >= '1' && LA12_0 <= '9'))) {
+ alt12 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1:
+ // InternalUmlTransition.g:1247:24: '0'
+ {
+ match('0');
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:1247:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
+ {
+ matchRange('1', '9');
+ // InternalUmlTransition.g:1247:37: ( ( '_' )? '0' .. '9' )*
+ loop11: do {
+ int alt11 = 2;
+ int LA11_0 = input.LA(1);
+
+ if (((LA11_0 >= '0' && LA11_0 <= '9') || LA11_0 == '_')) {
+ alt11 = 1;
+ }
+
+
+ switch (alt11) {
+ case 1:
+ // InternalUmlTransition.g:1247:38: ( '_' )? '0' .. '9'
+ {
+ // InternalUmlTransition.g:1247:38: ( '_' )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if ((LA10_0 == '_')) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // InternalUmlTransition.g:1247:38: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ break loop11;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:1247:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
+ {
+ // InternalUmlTransition.g:1247:55: ( '0b' | '0B' )
+ int alt13 = 2;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == '0')) {
+ int LA13_1 = input.LA(2);
+
+ if ((LA13_1 == 'b')) {
+ alt13 = 1;
+ } else if ((LA13_1 == 'B')) {
+ alt13 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1:
+ // InternalUmlTransition.g:1247:56: '0b'
+ {
+ match("0b");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:1247:61: '0B'
+ {
+ match("0B");
+
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+ // InternalUmlTransition.g:1247:76: ( ( '_' )? '0' .. '1' )*
+ loop15: do {
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if (((LA15_0 >= '0' && LA15_0 <= '1') || LA15_0 == '_')) {
+ alt15 = 1;
+ }
+
+
+ switch (alt15) {
+ case 1:
+ // InternalUmlTransition.g:1247:77: ( '_' )? '0' .. '1'
+ {
+ // InternalUmlTransition.g:1247:77: ( '_' )?
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if ((LA14_0 == '_')) {
+ alt14 = 1;
+ }
+ switch (alt14) {
+ case 1:
+ // InternalUmlTransition.g:1247:77: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+
+ }
+ break;
+
+ default:
+ break loop15;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlTransition.g:1247:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ {
+ // InternalUmlTransition.g:1247:93: ( '0x' | '0X' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if ((LA16_0 == '0')) {
+ int LA16_1 = input.LA(2);
+
+ if ((LA16_1 == 'x')) {
+ alt16 = 1;
+ } else if ((LA16_1 == 'X')) {
+ alt16 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // InternalUmlTransition.g:1247:94: '0x'
+ {
+ match("0x");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:1247:99: '0X'
+ {
+ match("0X");
+
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUmlTransition.g:1247:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ loop18: do {
+ int alt18 = 2;
+ int LA18_0 = input.LA(1);
+
+ if (((LA18_0 >= '0' && LA18_0 <= '9') || (LA18_0 >= 'A' && LA18_0 <= 'F') || LA18_0 == '_' || (LA18_0 >= 'a' && LA18_0 <= 'f'))) {
+ alt18 = 1;
+ }
+
+
+ switch (alt18) {
+ case 1:
+ // InternalUmlTransition.g:1247:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ {
+ // InternalUmlTransition.g:1247:135: ( '_' )?
+ int alt17 = 2;
+ int LA17_0 = input.LA(1);
+
+ if ((LA17_0 == '_')) {
+ alt17 = 1;
+ }
+ switch (alt17) {
+ case 1:
+ // InternalUmlTransition.g:1247:135: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlTransition.g:1247:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
+ {
+ match('0');
+ // InternalUmlTransition.g:1247:175: ( '_' )?
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
+
+ if ((LA19_0 == '_')) {
+ alt19 = 1;
+ }
+ switch (alt19) {
+ case 1:
+ // InternalUmlTransition.g:1247:175: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+ // InternalUmlTransition.g:1247:189: ( ( '_' )? '0' .. '7' )*
+ loop21: do {
+ int alt21 = 2;
+ int LA21_0 = input.LA(1);
+
+ if (((LA21_0 >= '0' && LA21_0 <= '7') || LA21_0 == '_')) {
+ alt21 = 1;
+ }
+
+
+ switch (alt21) {
+ case 1:
+ // InternalUmlTransition.g:1247:190: ( '_' )? '0' .. '7'
+ {
+ // InternalUmlTransition.g:1247:190: ( '_' )?
+ int alt20 = 2;
+ int LA20_0 = input.LA(1);
+
+ if ((LA20_0 == '_')) {
+ alt20 = 1;
+ }
+ switch (alt20) {
+ case 1:
+ // InternalUmlTransition.g:1247:190: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+
+ }
+ break;
+
+ default:
+ break loop21;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_INTEGER_VALUE"
+
// $ANTLR start "RULE_WS"
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1249:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1249:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUmlTransition.g:1249:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalUmlTransition.g:1249:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1249:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUmlTransition.g:1249:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt23 = 0;
loop23: do {
int alt23 = 2;
@@ -1146,13 +1086,12 @@ public class InternalUmlTransitionLexer extends Lexer {
switch (alt23) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:
+ // InternalUmlTransition.g:
{
if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -1163,11 +1102,9 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- if (cnt23 >= 1) {
+ if (cnt23 >= 1)
break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
+ EarlyExitException eee = new EarlyExitException(23, input);
throw eee;
}
cnt23++;
@@ -1181,7 +1118,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_WS"
// $ANTLR start "RULE_ANY_OTHER"
@@ -1189,8 +1125,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1251:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1251:18: .
+ // InternalUmlTransition.g:1251:16: ( . )
+ // InternalUmlTransition.g:1251:18: .
{
matchAny();
@@ -1201,144 +1137,141 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ANY_OTHER"
- @Override
public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.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 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
+ // InternalUmlTransition.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 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
int alt24 = 19;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:10: T__12
+ // InternalUmlTransition.g:1:10: T__12
{
mT__12();
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:16: T__13
+ // InternalUmlTransition.g:1:16: T__13
{
mT__13();
}
break;
case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:22: T__14
+ // InternalUmlTransition.g:1:22: T__14
{
mT__14();
}
break;
case 4:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:28: T__15
+ // InternalUmlTransition.g:1:28: T__15
{
mT__15();
}
break;
case 5:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:34: T__16
+ // InternalUmlTransition.g:1:34: T__16
{
mT__16();
}
break;
case 6:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:40: T__17
+ // InternalUmlTransition.g:1:40: T__17
{
mT__17();
}
break;
case 7:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:46: T__18
+ // InternalUmlTransition.g:1:46: T__18
{
mT__18();
}
break;
case 8:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:52: T__19
+ // InternalUmlTransition.g:1:52: T__19
{
mT__19();
}
break;
case 9:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:58: T__20
+ // InternalUmlTransition.g:1:58: T__20
{
mT__20();
}
break;
case 10:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:64: T__21
+ // InternalUmlTransition.g:1:64: T__21
{
mT__21();
}
break;
case 11:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:70: T__22
+ // InternalUmlTransition.g:1:70: T__22
{
mT__22();
}
break;
case 12:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:76: RULE_INTEGER_VALUE
+ // InternalUmlTransition.g:1:76: RULE_ID
{
- mRULE_INTEGER_VALUE();
+ mRULE_ID();
}
break;
case 13:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:95: RULE_ID
+ // InternalUmlTransition.g:1:84: RULE_STRING
{
- mRULE_ID();
+ mRULE_STRING();
}
break;
case 14:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:103: RULE_STRING
+ // InternalUmlTransition.g:1:96: RULE_ML_COMMENT
{
- mRULE_STRING();
+ mRULE_ML_COMMENT();
}
break;
case 15:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:115: RULE_ML_COMMENT
+ // InternalUmlTransition.g:1:112: RULE_SL_COMMENT
{
- mRULE_ML_COMMENT();
+ mRULE_SL_COMMENT();
}
break;
case 16:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:131: RULE_SL_COMMENT
+ // InternalUmlTransition.g:1:128: RULE_INT
{
- mRULE_SL_COMMENT();
+ mRULE_INT();
}
break;
case 17:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:147: RULE_INT
+ // InternalUmlTransition.g:1:137: RULE_INTEGER_VALUE
{
- mRULE_INT();
+ mRULE_INTEGER_VALUE();
}
break;
case 18:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:156: RULE_WS
+ // InternalUmlTransition.g:1:156: RULE_WS
{
mRULE_WS();
}
break;
case 19:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:164: RULE_ANY_OTHER
+ // InternalUmlTransition.g:1:164: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1351,41 +1284,14 @@ public class InternalUmlTransitionLexer extends Lexer {
protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\1\uffff\3\22\1\uffff\2\22\2\uffff\1\36\2\37\1\uffff\2\20\2\uffff" +
- "\1\22\1\uffff\2\22\1\uffff\1\22\1\51\2\22\6\uffff\1\37\1\uffff\1" +
- "\37\2\uffff\4\22\1\uffff\1\61\1\22\1\37\4\22\1\uffff\1\67\3\22\1" +
- "\73\1\uffff\3\22\1\uffff\3\22\1\102\2\22\1\uffff\6\22\1\113\1\22" +
- "\1\uffff\1\22\1\116\1\uffff";
- static final String DFA24_eofS =
- "\117\uffff";
- static final String DFA24_minS =
- "\1\0\1\143\1\164\1\160\1\uffff\1\146\1\150\2\uffff\1\52\2\60\1" +
- "\uffff\2\0\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\60\1\154" +
- "\1\145\6\uffff\1\60\1\uffff\1\60\2\uffff\1\151\1\164\1\161\1\145" +
- "\1\uffff\1\60\1\156\1\60\1\166\1\145\1\165\1\162\1\uffff\1\60\1" +
- "\151\1\115\1\145\1\60\1\uffff\1\164\1\141\1\102\1\uffff\1\171\1" +
- "\143\1\145\1\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151" +
- "\1\60\1\157\1\uffff\1\162\1\60\1\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\143\1\164\1\160\1\uffff\1\164\1\150\2\uffff\1\57\2\71" +
- "\1\uffff\2\uffff\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\172" +
- "\1\154\1\145\6\uffff\1\71\1\uffff\1\71\2\uffff\1\151\1\164\1\161" +
- "\1\145\1\uffff\1\172\1\156\1\71\1\166\1\145\1\165\1\162\1\uffff" +
- "\1\172\1\151\1\115\1\145\1\172\1\uffff\1\164\1\141\1\102\1\uffff" +
- "\1\171\1\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1" +
- "\145\1\151\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
- static final String DFA24_acceptS =
- "\4\uffff\1\4\2\uffff\1\10\1\11\3\uffff\1\15\2\uffff\1\22\1\23\1" +
- "\uffff\1\15\2\uffff\1\4\4\uffff\1\10\1\11\1\17\1\20\1\12\1\14\1" +
- "\uffff\1\21\1\uffff\1\16\1\22\4\uffff\1\6\7\uffff\1\13\5\uffff\1" +
- "\7\3\uffff\1\5\6\uffff\1\1\10\uffff\1\2\2\uffff\1\3";
- static final String DFA24_specialS =
- "\1\0\14\uffff\1\2\1\1\100\uffff}>";
+ static final String DFA24_eotS = "\1\uffff\3\22\1\uffff\2\22\2\uffff\1\36\1\uffff\2\20\2\41\2\uffff\1\22\1\uffff\2\22\1\uffff\1\22\1\51\2\22\10\uffff\2\41\1\uffff\4\22\1\uffff\1\61\1\22\1\41\4\22\1\uffff\1\67\3\22\1\73\1\uffff\3\22\1\uffff\3\22\1\102\2\22\1\uffff\6\22\1\113\1\22\1\uffff\1\22\1\116\1\uffff";
+ static final String DFA24_eofS = "\117\uffff";
+ static final String DFA24_minS = "\1\0\1\143\1\164\1\160\1\uffff\1\146\1\150\2\uffff\1\52\1\uffff\2\0\2\60\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\60\1\154\1\145\10\uffff\2\60\1\uffff\1\151\1\164\1\161\1\145\1\uffff\1\60\1\156\1\60\1\166\1\145\1\165\1\162\1\uffff\1\60\1\151\1\115\1\145\1\60\1\uffff\1\164\1\141\1\102\1\uffff\1\171\1\143\1\145\1\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\60\1\157\1\uffff\1\162\1\60\1\uffff";
+ static final String DFA24_maxS = "\1\uffff\1\143\1\164\1\160\1\uffff\1\164\1\150\2\uffff\1\57\1\uffff\2\uffff\1\170\1\137\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\172\1\154\1\145\10\uffff\2\137\1\uffff\1\151\1\164\1\161\1\145\1\uffff\1\172\1\156\1\137\1\166\1\145\1\165\1\162\1\uffff\1\172\1\151\1\115\1\145\1\172\1\uffff\1\164\1\141\1\102\1\uffff\1\171\1\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
+ static final String DFA24_acceptS = "\4\uffff\1\4\2\uffff\1\10\1\11\1\uffff\1\14\4\uffff\1\22\1\23\1\uffff\1\14\2\uffff\1\4\4\uffff\1\10\1\11\1\16\1\17\1\12\1\15\1\21\1\20\2\uffff\1\22\4\uffff\1\6\7\uffff\1\13\5\uffff\1\7\3\uffff\1\5\6\uffff\1\1\10\uffff\1\2\2\uffff\1\3";
+ static final String DFA24_specialS = "\1\1\12\uffff\1\0\1\2\102\uffff}>";
static final String[] DFA24_transitionS = {
- "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\16\4\20\1\15\4\20\1" +
- "\4\2\20\1\11\1\12\11\13\7\20\1\1\15\14\1\3\3\14\1\2\7\14\1\7" +
- "\1\20\1\10\1\20\1\14\1\20\1\5\25\14\1\6\3\14\uff85\20",
+ "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\14\4\20\1\13\4\20\1\4\2\20\1\11\1\15\11\16\7\20\1\1\15\12\1\3\3\12\1\2\7\12\1\7\1\20\1\10\1\20\1\12\1\20\1\5\25\12\1\6\3\12\uff85\20",
"\1\21",
"\1\23",
"\1\24",
@@ -1395,11 +1301,11 @@ public class InternalUmlTransitionLexer extends Lexer {
"",
"",
"\1\34\4\uffff\1\35",
- "\10\40\2\41",
- "\12\42",
"",
"\0\22",
- "\0\43",
+ "\0\37",
+ "\10\42\12\uffff\1\40\25\uffff\1\40\6\uffff\1\40\2\uffff\1\40\25\uffff\1\40",
+ "\12\43\45\uffff\1\40",
"",
"",
"\1\45",
@@ -1417,10 +1323,10 @@ public class InternalUmlTransitionLexer extends Lexer {
"",
"",
"",
- "\10\54\2\41",
"",
- "\12\42",
"",
+ "\10\54\47\uffff\1\40",
+ "\12\43\45\uffff\1\40",
"",
"\1\55",
"\1\56",
@@ -1429,7 +1335,7 @@ public class InternalUmlTransitionLexer extends Lexer {
"",
"\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
"\1\62",
- "\10\54\2\41",
+ "\10\54\47\uffff\1\40",
"\1\63",
"\1\64",
"\1\65",
@@ -1496,17 +1402,29 @@ public class InternalUmlTransitionLexer extends Lexer {
this.transition = DFA24_transition;
}
- @Override
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 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
+ 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 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER );";
}
- @Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch (s) {
case 0:
+ int LA24_11 = input.LA(1);
+
+ s = -1;
+ if (((LA24_11 >= '\u0000' && LA24_11 <= '\uFFFF'))) {
+ s = 18;
+ }
+
+ else
+ s = 16;
+
+ if (s >= 0)
+ return s;
+ break;
+ case 1:
int LA24_0 = input.LA(1);
s = -1;
@@ -1546,23 +1464,23 @@ public class InternalUmlTransitionLexer extends Lexer {
s = 9;
}
- else if ((LA24_0 == '0')) {
+ else if (((LA24_0 >= 'B' && LA24_0 <= 'N') || (LA24_0 >= 'P' && LA24_0 <= 'R') || (LA24_0 >= 'T' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'b' && LA24_0 <= 'v') || (LA24_0 >= 'x' && LA24_0 <= 'z'))) {
s = 10;
}
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
+ else if ((LA24_0 == '\'')) {
s = 11;
}
- else if (((LA24_0 >= 'B' && LA24_0 <= 'N') || (LA24_0 >= 'P' && LA24_0 <= 'R') || (LA24_0 >= 'T' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'b' && LA24_0 <= 'v') || (LA24_0 >= 'x' && LA24_0 <= 'z'))) {
+ else if ((LA24_0 == '\"')) {
s = 12;
}
- else if ((LA24_0 == '\'')) {
+ else if ((LA24_0 == '0')) {
s = 13;
}
- else if ((LA24_0 == '\"')) {
+ else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
s = 14;
}
@@ -1575,41 +1493,25 @@ public class InternalUmlTransitionLexer extends Lexer {
s = 16;
}
- if (s >= 0) {
+ if (s >= 0)
return s;
- }
break;
- case 1:
- int LA24_14 = input.LA(1);
+ case 2:
+ int LA24_12 = input.LA(1);
s = -1;
- if (((LA24_14 >= '\u0000' && LA24_14 <= '\uFFFF'))) {
- s = 35;
- } else {
- s = 16;
+ if (((LA24_12 >= '\u0000' && LA24_12 <= '\uFFFF'))) {
+ s = 31;
}
- if (s >= 0) {
- return s;
- }
- break;
- case 2:
- int LA24_13 = input.LA(1);
-
- s = -1;
- if (((LA24_13 >= '\u0000' && LA24_13 <= '\uFFFF'))) {
- s = 18;
- } else {
+ else
s = 16;
- }
- if (s >= 0) {
+ if (s >= 0)
return s;
- }
break;
}
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
+ NoViableAltException nvae = new NoViableAltException(getDescription(), 24, _s, input);
error(nvae);
throw nvae;
}

Back to the top