diff options
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java')
-rw-r--r-- | plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java | 4224 |
1 files changed, 2067 insertions, 2157 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java index 73d1172a3e0..d9935d77479 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPortLexer.java @@ -1,2158 +1,2068 @@ -package org.eclipse.papyrus.uml.textedit.port.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.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
-
-import org.antlr.runtime.*;
-
-@SuppressWarnings("all")
-public class InternalUmlPortLexer extends Lexer {
- public static final int RULE_ID = 5;
- public static final int T__29 = 29;
- public static final int T__28 = 28;
- public static final int T__27 = 27;
- public static final int T__26 = 26;
- public static final int T__25 = 25;
- public static final int T__24 = 24;
- public static final int T__23 = 23;
- public static final int T__22 = 22;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__21 = 21;
- public static final int T__20 = 20;
- public static final int RULE_INTEGER_VALUE = 9;
- 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 T__30 = 30;
- public static final int T__31 = 31;
- public static final int T__32 = 32;
- public static final int RULE_STRING = 6;
- public static final int T__16 = 16;
- public static final int T__33 = 33;
- public static final int T__15 = 15;
- public static final int T__34 = 34;
- public static final int T__18 = 18;
- public static final int T__35 = 35;
- public static final int T__17 = 17;
- public static final int T__36 = 36;
- public static final int T__12 = 12;
- public static final int T__37 = 37;
- public static final int T__38 = 38;
- public static final int T__14 = 14;
- public static final int T__13 = 13;
- public static final int RULE_INT = 4;
- public static final int RULE_WS = 10;
-
- // delegates
- // delegators
-
- public InternalUmlPortLexer() {
- ;
- }
-
- public InternalUmlPortLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalUmlPortLexer(CharStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g";
- }
-
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:11:7: ( '*' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:12:7: ( '+' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:12:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__13"
-
- // $ANTLR start "T__14"
- public final void mT__14() throws RecognitionException {
- try {
- int _type = T__14;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:13:7: ( '-' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:13:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__14"
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:14:7: ( '#' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:14:9: '#'
- {
- match('#');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:15:7: ( '~' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:15:9: '~'
- {
- match('~');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:16:7: ( 'readOnly' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:16:9: 'readOnly'
- {
- match("readOnly");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:17:7: ( 'union' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:17:9: 'union'
- {
- match("union");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:18:7: ( 'ordered' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:18:9: 'ordered'
- {
- match("ordered");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:19:7: ( 'unique' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:19:9: 'unique'
- {
- match("unique");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:20:7: ( 'true' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:20:9: 'true'
- {
- match("true");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:21:7: ( 'false' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:21:9: 'false'
- {
- match("false");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:22:7: ( ':' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:22:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:23:7: ( '::' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:23:9: '::'
- {
- match("::");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:24:7: ( '[' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:24:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:25:7: ( ']' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:25:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:26:7: ( '..' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:26:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:27:7: ( '{' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:27:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:28:7: ( '}' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:28:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:29:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:29:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:30:7: ( 'redefines' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:30:9: 'redefines'
- {
- match("redefines");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:31:7: ( 'subsets' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:31:9: 'subsets'
- {
- match("subsets");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:32:7: ( '=' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:32:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:33:7: ( '.' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:33:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:34:7: ( 'null' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:34:9: 'null'
- {
- match("null");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:35:7: ( 'none' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:35:9: 'none'
- {
- match("none");
-
-
- }
-
- 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;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:36:7: ( '/' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:36:9: '/'
- {
- match('/');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:37:7: ( '<Undefined>' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:37:9: '<Undefined>'
- {
- match("<Undefined>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__38"
-
- // $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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- // | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- // | '\\'' ( options {greedy=false; } : . )* '\\'' )
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868: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 (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868: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 {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop1: do {
- int alt1 = 2;
- int LA1_0 = input.LA(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 (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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 {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop1;
- }
- } while (true);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868:70: '\\'' ( options {greedy=false; } : . )* '\\''
- {
- match('\'');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868: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 (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2868:103: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2870:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( (
- // '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2870:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\'
- // | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2870: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 (alt4) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2870: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 {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2870: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 {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop4;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2872:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2872:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2872:31: ( options {greedy=false; } : . )*
- loop5: do {
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '*')) {
- int LA5_1 = input.LA(2);
-
- if ((LA5_1 == '/')) {
- alt5 = 2;
- }
- else if (((LA5_1 >= '\u0000' && LA5_1 <= '.') || (LA5_1 >= '0' && LA5_1 <= '\uFFFF'))) {
- alt5 = 1;
- }
-
-
- }
- else if (((LA5_0 >= '\u0000' && LA5_0 <= ')') || (LA5_0 >= '+' && LA5_0 <= '\uFFFF'))) {
- alt5 = 1;
- }
-
-
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2872:59: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop5;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(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 (alt6) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874: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 {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:44: ( ( '\\r' )? '\\n' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '\n' || LA8_0 == '\r')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:45: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:45: ( '\\r' )?
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '\r')) {
- alt7 = 1;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2874:45: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2876:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2876:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2876: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 (alt9) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2876:13: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt9 >= 1) {
- break loop9;
- }
- EarlyExitException eee =
- new EarlyExitException(9, input);
- throw eee;
- }
- cnt9++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } 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;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:24: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:38: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop11;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:77: ( '_' )?
- int alt14 = 2;
- int LA14_0 = input.LA(1);
-
- if ((LA14_0 == '_')) {
- alt14 = 1;
- }
- switch (alt14) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop15;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9'
- // | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:135: ( '_' )?
- int alt17 = 2;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '_')) {
- alt17 = 1;
- }
- switch (alt17) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:175: ( '_' )?
- int alt19 = 2;
- int LA19_0 = input.LA(1);
-
- if ((LA19_0 == '_')) {
- alt19 = 1;
- }
- switch (alt19) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878:190: ( '_' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
-
- if ((LA20_0 == '_')) {
- alt20 = 1;
- }
- switch (alt20) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2878: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2880:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2880:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2880:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt23 = 0;
- loop23: do {
- int alt23 = 2;
- int LA23_0 = input.LA(1);
-
- if (((LA23_0 >= '\t' && LA23_0 <= '\n') || LA23_0 == '\r' || LA23_0 == ' ')) {
- alt23 = 1;
- }
-
-
- switch (alt23) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:
- {
- if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- if (cnt23 >= 1) {
- break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
- throw eee;
- }
- cnt23++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2882:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2882:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ANY_OTHER"
-
- @Override
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
- int alt24 = 35;
- alt24 = dfa24.predict(input);
- switch (alt24) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:10: T__12
- {
- mT__12();
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:16: T__13
- {
- mT__13();
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:22: T__14
- {
- mT__14();
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:28: T__15
- {
- mT__15();
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:34: T__16
- {
- mT__16();
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:40: T__17
- {
- mT__17();
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:46: T__18
- {
- mT__18();
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:52: T__19
- {
- mT__19();
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:58: T__20
- {
- mT__20();
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:64: T__21
- {
- mT__21();
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:70: T__22
- {
- mT__22();
-
- }
- break;
- case 12:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:76: T__23
- {
- mT__23();
-
- }
- break;
- case 13:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:82: T__24
- {
- mT__24();
-
- }
- break;
- case 14:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:88: T__25
- {
- mT__25();
-
- }
- break;
- case 15:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:94: T__26
- {
- mT__26();
-
- }
- break;
- case 16:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:100: T__27
- {
- mT__27();
-
- }
- break;
- case 17:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:106: T__28
- {
- mT__28();
-
- }
- break;
- case 18:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:112: T__29
- {
- mT__29();
-
- }
- break;
- case 19:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:118: T__30
- {
- mT__30();
-
- }
- break;
- case 20:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:124: T__31
- {
- mT__31();
-
- }
- break;
- case 21:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:130: T__32
- {
- mT__32();
-
- }
- break;
- case 22:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:136: T__33
- {
- mT__33();
-
- }
- break;
- case 23:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:142: T__34
- {
- mT__34();
-
- }
- break;
- case 24:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:148: T__35
- {
- mT__35();
-
- }
- break;
- case 25:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:154: T__36
- {
- mT__36();
-
- }
- break;
- case 26:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:160: T__37
- {
- mT__37();
-
- }
- break;
- case 27:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:166: T__38
- {
- mT__38();
-
- }
- break;
- case 28:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:172: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 29:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:180: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 30:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:192: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 31:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:208: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 32:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:224: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 33:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:233: RULE_INTEGER_VALUE
- {
- mRULE_INTEGER_VALUE();
-
- }
- break;
- case 34:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:252: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 35:
- // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:260: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\6\uffff\5\44\1\52\2\uffff\1\56\3\uffff\1\44\1\uffff\1\44\1\70" +
- "\1\35\1\uffff\2\35\2\75\7\uffff\1\44\1\uffff\4\44\11\uffff\1\44" +
- "\1\uffff\2\44\6\uffff\1\75\1\uffff\1\75\1\uffff\11\44\1\75\5\44" +
- "\1\131\2\44\1\134\1\135\2\44\1\140\2\44\1\uffff\1\143\1\44\2\uffff" +
- "\2\44\1\uffff\1\147\1\44\1\uffff\3\44\1\uffff\1\154\1\155\1\156" +
- "\1\44\3\uffff\1\160\1\uffff";
- static final String DFA24_eofS =
- "\161\uffff";
- static final String DFA24_minS =
- "\1\0\5\uffff\1\145\1\156\2\162\1\141\1\72\2\uffff\1\56\3\uffff" +
- "\1\165\1\uffff\1\157\1\52\1\125\1\uffff\2\0\2\60\7\uffff\1\141\1" +
- "\uffff\1\151\1\144\1\165\1\154\11\uffff\1\142\1\uffff\1\154\1\156" +
- "\6\uffff\1\60\1\uffff\1\60\1\uffff\1\144\1\145\1\157\2\145\2\163" +
- "\1\154\1\145\1\60\1\117\1\146\1\156\1\165\1\162\1\60\2\145\2\60" +
- "\1\156\1\151\1\60\2\145\1\uffff\1\60\1\164\2\uffff\1\154\1\156\1" +
- "\uffff\1\60\1\144\1\uffff\1\163\1\171\1\145\1\uffff\3\60\1\163\3" +
- "\uffff\1\60\1\uffff";
- static final String DFA24_maxS =
- "\1\uffff\5\uffff\1\145\1\156\2\162\1\141\1\72\2\uffff\1\56\3\uffff" +
- "\1\165\1\uffff\1\165\1\57\1\125\1\uffff\2\uffff\1\170\1\137\7\uffff" +
- "\1\144\1\uffff\1\151\1\144\1\165\1\154\11\uffff\1\142\1\uffff\1" +
- "\154\1\156\6\uffff\1\137\1\uffff\1\137\1\uffff\1\144\1\145\1\161" +
- "\2\145\2\163\1\154\1\145\1\137\1\117\1\146\1\156\1\165\1\162\1\172" +
- "\2\145\2\172\1\156\1\151\1\172\2\145\1\uffff\1\172\1\164\2\uffff" +
- "\1\154\1\156\1\uffff\1\172\1\144\1\uffff\1\163\1\171\1\145\1\uffff" +
- "\3\172\1\163\3\uffff\1\172\1\uffff";
- static final String DFA24_acceptS =
- "\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\16\1\17\1\uffff\1\21\1\22" +
- "\1\23\1\uffff\1\26\3\uffff\1\34\4\uffff\1\42\1\43\1\1\1\2\1\3\1" +
- "\4\1\5\1\uffff\1\34\4\uffff\1\15\1\14\1\16\1\17\1\20\1\27\1\21\1" +
- "\22\1\23\1\uffff\1\26\2\uffff\1\36\1\37\1\32\1\33\1\35\1\41\1\uffff" +
- "\1\40\1\uffff\1\42\31\uffff\1\12\2\uffff\1\30\1\31\2\uffff\1\7\2" +
- "\uffff\1\13\3\uffff\1\11\4\uffff\1\10\1\25\1\6\1\uffff\1\24";
- static final String DFA24_specialS =
- "\1\0\27\uffff\1\1\1\2\127\uffff}>";
- static final String[] DFA24_transitionS = {
- "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\4\3\35\1\30\2" +
- "\35\1\1\1\2\1\21\1\3\1\16\1\25\1\32\11\33\1\13\1\35\1\26\1\23" +
- "\3\35\32\27\1\14\1\35\1\15\1\35\1\27\1\35\5\27\1\12\7\27\1\24" +
- "\1\10\2\27\1\6\1\22\1\11\1\7\5\27\1\17\1\35\1\20\1\5\uff81\35",
- "",
- "",
- "",
- "",
- "",
- "\1\43",
- "\1\45",
- "\1\46",
- "\1\47",
- "\1\50",
- "\1\51",
- "",
- "",
- "\1\55",
- "",
- "",
- "",
- "\1\62",
- "",
- "\1\65\5\uffff\1\64",
- "\1\66\4\uffff\1\67",
- "\1\71",
- "",
- "\0\44",
- "\0\72",
- "\10\74\12\uffff\1\73\25\uffff\1\73\6\uffff\1\73\2\uffff\1" +
- "\73\25\uffff\1\73",
- "\12\76\45\uffff\1\73",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\100\2\uffff\1\101",
- "",
- "\1\102",
- "\1\103",
- "\1\104",
- "\1\105",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\106",
- "",
- "\1\107",
- "\1\110",
- "",
- "",
- "",
- "",
- "",
- "",
- "\10\111\47\uffff\1\73",
- "",
- "\12\76\45\uffff\1\73",
- "",
- "\1\112",
- "\1\113",
- "\1\114\1\uffff\1\115",
- "\1\116",
- "\1\117",
- "\1\120",
- "\1\121",
- "\1\122",
- "\1\123",
- "\10\111\47\uffff\1\73",
- "\1\124",
- "\1\125",
- "\1\126",
- "\1\127",
- "\1\130",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\132",
- "\1\133",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\136",
- "\1\137",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\141",
- "\1\142",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\144",
- "",
- "",
- "\1\145",
- "\1\146",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\150",
- "",
- "\1\151",
- "\1\152",
- "\1\153",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\157",
- "",
- "",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- ""
- };
-
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
-
- static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
- }
- }
-
- class DFA24 extends DFA {
-
- public DFA24(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- 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 | 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_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_0 = input.LA(1);
-
- s = -1;
- if ((LA24_0 == '*')) {
- s = 1;
- }
-
- else if ((LA24_0 == '+')) {
- s = 2;
- }
-
- else if ((LA24_0 == '-')) {
- s = 3;
- }
-
- else if ((LA24_0 == '#')) {
- s = 4;
- }
-
- else if ((LA24_0 == '~')) {
- s = 5;
- }
-
- else if ((LA24_0 == 'r')) {
- s = 6;
- }
-
- else if ((LA24_0 == 'u')) {
- s = 7;
- }
-
- else if ((LA24_0 == 'o')) {
- s = 8;
- }
-
- else if ((LA24_0 == 't')) {
- s = 9;
- }
-
- else if ((LA24_0 == 'f')) {
- s = 10;
- }
-
- else if ((LA24_0 == ':')) {
- s = 11;
- }
-
- else if ((LA24_0 == '[')) {
- s = 12;
- }
-
- else if ((LA24_0 == ']')) {
- s = 13;
- }
-
- else if ((LA24_0 == '.')) {
- s = 14;
- }
-
- else if ((LA24_0 == '{')) {
- s = 15;
- }
-
- else if ((LA24_0 == '}')) {
- s = 16;
- }
-
- else if ((LA24_0 == ',')) {
- s = 17;
- }
-
- else if ((LA24_0 == 's')) {
- s = 18;
- }
-
- else if ((LA24_0 == '=')) {
- s = 19;
- }
-
- else if ((LA24_0 == 'n')) {
- s = 20;
- }
-
- else if ((LA24_0 == '/')) {
- s = 21;
- }
-
- else if ((LA24_0 == '<')) {
- s = 22;
- }
-
- else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'e') || (LA24_0 >= 'g' && LA24_0 <= 'm') || (LA24_0 >= 'p' && LA24_0 <= 'q') || (LA24_0 >= 'v' && LA24_0 <= 'z'))) {
- s = 23;
- }
-
- else if ((LA24_0 == '\'')) {
- s = 24;
- }
-
- else if ((LA24_0 == '\"')) {
- s = 25;
- }
-
- else if ((LA24_0 == '0')) {
- s = 26;
- }
-
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
- s = 27;
- }
-
- else if (((LA24_0 >= '\t' && LA24_0 <= '\n') || LA24_0 == '\r' || LA24_0 == ' ')) {
- s = 28;
- }
-
- else if (((LA24_0 >= '\u0000' && LA24_0 <= '\b') || (LA24_0 >= '\u000B' && LA24_0 <= '\f') || (LA24_0 >= '\u000E' && LA24_0 <= '\u001F') || LA24_0 == '!' || (LA24_0 >= '$' && LA24_0 <= '&') || (LA24_0 >= '(' && LA24_0 <= ')') || LA24_0 == ';'
- || (LA24_0 >= '>' && LA24_0 <= '@') || LA24_0 == '\\' || LA24_0 == '^' || LA24_0 == '`' || LA24_0 == '|' || (LA24_0 >= '\u007F' && LA24_0 <= '\uFFFF'))) {
- s = 29;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 1:
- int LA24_24 = input.LA(1);
-
- s = -1;
- if (((LA24_24 >= '\u0000' && LA24_24 <= '\uFFFF'))) {
- s = 36;
- } else {
- s = 29;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 2:
- int LA24_25 = input.LA(1);
-
- s = -1;
- if (((LA24_25 >= '\u0000' && LA24_25 <= '\uFFFF'))) {
- s = 58;
- } else {
- s = 29;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
+package org.eclipse.papyrus.uml.textedit.port.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.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalUmlPortLexer extends Lexer { + public static final int RULE_ID=6; + public static final int T__29=29; + public static final int T__28=28; + public static final int T__27=27; + public static final int T__26=26; + public static final int T__25=25; + public static final int T__24=24; + public static final int T__23=23; + public static final int T__22=22; + public static final int RULE_ANY_OTHER=11; + public static final int T__21=21; + public static final int T__20=20; + public static final int RULE_INTEGER_VALUE=9; + 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 T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_STRING=4; + public static final int T__16=16; + public static final int T__33=33; + public static final int T__15=15; + public static final int T__34=34; + public static final int T__18=18; + public static final int T__35=35; + public static final int T__17=17; + public static final int T__36=36; + public static final int T__12=12; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__14=14; + public static final int T__13=13; + public static final int RULE_INT=5; + public static final int RULE_WS=10; + + // delegates + // delegators + + public InternalUmlPortLexer() {;} + public InternalUmlPortLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalUmlPortLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g"; } + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:11:7: ( '*' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:12:7: ( '+' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:12:9: '+' + { + match('+'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:13:7: ( '-' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:13:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:14:7: ( '#' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:14:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:15:7: ( '~' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:15:9: '~' + { + match('~'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:16:7: ( 'readOnly' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:16:9: 'readOnly' + { + match("readOnly"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:17:7: ( 'union' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:17:9: 'union' + { + match("union"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:18:7: ( 'ordered' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:18:9: 'ordered' + { + match("ordered"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:19:7: ( 'unique' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:19:9: 'unique' + { + match("unique"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:20:7: ( 'true' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:20:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:21:7: ( 'false' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:21:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:22:7: ( ':' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:22:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:23:7: ( '::' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:23:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:24:7: ( '[' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:24:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:25:7: ( ']' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:25:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:26:7: ( '..' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:26:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:27:7: ( '{' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:27:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:28:7: ( '}' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:28:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:29:7: ( ',' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:29:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:30:7: ( 'redefines' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:30:9: 'redefines' + { + match("redefines"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:31:7: ( 'subsets' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:31:9: 'subsets' + { + match("subsets"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:32:7: ( '=' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:32:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:33:7: ( '.' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:33:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:34:7: ( 'null' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:34:9: 'null' + { + match("null"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:35:7: ( 'none' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:35:9: 'none' + { + match("none"); + + + } + + 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; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:36:7: ( '/' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:36:9: '/' + { + match('/'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:37:7: ( '<Undefined>' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:37:9: '<Undefined>' + { + match("<Undefined>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919: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 (alt3) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919: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 { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(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 (alt1) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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 { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop1; + } + } while (true); + + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919:70: '\\'' ( options {greedy=false; } : . )* '\\'' + { + match('\''); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919: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 (alt2) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2919:103: . + { + matchAny(); + + } + break; + + default : + break loop2; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2921:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2921:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2921: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 (alt4) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2921: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 { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2921: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 { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2923:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2923:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + if ( (input.LA(1)>='\u0000' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2923:31: ( options {greedy=false; } : . )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='*') ) { + int LA5_1 = input.LA(2); + + if ( (LA5_1=='/') ) { + alt5=2; + } + else if ( ((LA5_1>='\u0000' && LA5_1<='.')||(LA5_1>='0' && LA5_1<='\uFFFF')) ) { + alt5=1; + } + + + } + else if ( ((LA5_0>='\u0000' && LA5_0<=')')||(LA5_0>='+' && LA5_0<='\uFFFF')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2923:59: . + { + matchAny(); + + } + break; + + default : + break loop5; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(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 (alt6) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925: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 { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop6; + } + } while (true); + + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:44: ( ( '\\r' )? '\\n' )? + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0=='\n'||LA8_0=='\r') ) { + alt8=1; + } + switch (alt8) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:45: ( '\\r' )? '\\n' + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:45: ( '\\r' )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='\r') ) { + alt7=1; + } + switch (alt7) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2925:45: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2927:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2927:12: ( '0' .. '9' )+ + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2927: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 (alt9) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2927:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt9 >= 1 ) break loop9; + EarlyExitException eee = + new EarlyExitException(9, input); + throw eee; + } + cnt9++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + 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; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:24: '0' + { + match('0'); + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:28: '1' .. '9' ( ( '_' )? '0' .. '9' )* + { + matchRange('1','9'); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:38: ( '_' )? '0' .. '9' + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:38: ( '_' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='_') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:38: '_' + { + match('_'); + + } + break; + + } + + matchRange('0','9'); + + } + break; + + default : + break loop11; + } + } while (true); + + + } + break; + + } + + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:56: '0b' + { + match("0b"); + + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:61: '0B' + { + match("0B"); + + + } + break; + + } + + matchRange('0','1'); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:77: ( '_' )? '0' .. '1' + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:77: ( '_' )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0=='_') ) { + alt14=1; + } + switch (alt14) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:77: '_' + { + match('_'); + + } + break; + + } + + matchRange('0','1'); + + } + break; + + default : + break loop15; + } + } while (true); + + + } + break; + case 3 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:94: '0x' + { + match("0x"); + + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:135: ( '_' )? + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0=='_') ) { + alt17=1; + } + switch (alt17) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* + { + match('0'); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:175: ( '_' )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0=='_') ) { + alt19=1; + } + switch (alt19) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:175: '_' + { + match('_'); + + } + break; + + } + + matchRange('0','7'); + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:190: ( '_' )? '0' .. '7' + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929:190: ( '_' )? + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0=='_') ) { + alt20=1; + } + switch (alt20) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2929: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.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2931:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2931:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2931:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt23=0; + loop23: + do { + int alt23=2; + int LA23_0 = input.LA(1); + + if ( ((LA23_0>='\t' && LA23_0<='\n')||LA23_0=='\r'||LA23_0==' ') ) { + alt23=1; + } + + + switch (alt23) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt23 >= 1 ) break loop23; + EarlyExitException eee = + new EarlyExitException(23, input); + throw eee; + } + cnt23++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2933:16: ( . ) + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:2933:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.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_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER ) + int alt24=35; + alt24 = dfa24.predict(input); + switch (alt24) { + case 1 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:10: T__12 + { + mT__12(); + + } + break; + case 2 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:16: T__13 + { + mT__13(); + + } + break; + case 3 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:22: T__14 + { + mT__14(); + + } + break; + case 4 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:28: T__15 + { + mT__15(); + + } + break; + case 5 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:34: T__16 + { + mT__16(); + + } + break; + case 6 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:40: T__17 + { + mT__17(); + + } + break; + case 7 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:46: T__18 + { + mT__18(); + + } + break; + case 8 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:52: T__19 + { + mT__19(); + + } + break; + case 9 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:58: T__20 + { + mT__20(); + + } + break; + case 10 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:64: T__21 + { + mT__21(); + + } + break; + case 11 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:70: T__22 + { + mT__22(); + + } + break; + case 12 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:76: T__23 + { + mT__23(); + + } + break; + case 13 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:82: T__24 + { + mT__24(); + + } + break; + case 14 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:88: T__25 + { + mT__25(); + + } + break; + case 15 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:94: T__26 + { + mT__26(); + + } + break; + case 16 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:100: T__27 + { + mT__27(); + + } + break; + case 17 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:106: T__28 + { + mT__28(); + + } + break; + case 18 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:112: T__29 + { + mT__29(); + + } + break; + case 19 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:118: T__30 + { + mT__30(); + + } + break; + case 20 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:124: T__31 + { + mT__31(); + + } + break; + case 21 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:130: T__32 + { + mT__32(); + + } + break; + case 22 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:136: T__33 + { + mT__33(); + + } + break; + case 23 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:142: T__34 + { + mT__34(); + + } + break; + case 24 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:148: T__35 + { + mT__35(); + + } + break; + case 25 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:154: T__36 + { + mT__36(); + + } + break; + case 26 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:160: T__37 + { + mT__37(); + + } + break; + case 27 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:166: T__38 + { + mT__38(); + + } + break; + case 28 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:172: RULE_ID + { + mRULE_ID(); + + } + break; + case 29 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:180: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 30 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:192: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 31 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:208: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 32 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:224: RULE_INT + { + mRULE_INT(); + + } + break; + case 33 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:233: RULE_INTEGER_VALUE + { + mRULE_INTEGER_VALUE(); + + } + break; + case 34 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:252: RULE_WS + { + mRULE_WS(); + + } + break; + case 35 : + // ../org.eclipse.papyrus.uml.textedit.port.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/port/xtext/ui/contentassist/antlr/internal/InternalUmlPort.g:1:260: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA24 dfa24 = new DFA24(this); + static final String DFA24_eotS = + "\6\uffff\5\44\1\52\2\uffff\1\56\3\uffff\1\44\1\uffff\1\44\1\70"+ + "\1\35\1\uffff\2\35\2\75\7\uffff\1\44\1\uffff\4\44\11\uffff\1\44"+ + "\1\uffff\2\44\6\uffff\1\75\1\uffff\1\75\1\uffff\11\44\1\75\5\44"+ + "\1\131\2\44\1\134\1\135\2\44\1\140\2\44\1\uffff\1\143\1\44\2\uffff"+ + "\2\44\1\uffff\1\147\1\44\1\uffff\3\44\1\uffff\1\154\1\155\1\156"+ + "\1\44\3\uffff\1\160\1\uffff"; + static final String DFA24_eofS = + "\161\uffff"; + static final String DFA24_minS = + "\1\0\5\uffff\1\145\1\156\2\162\1\141\1\72\2\uffff\1\56\3\uffff"+ + "\1\165\1\uffff\1\157\1\52\1\125\1\uffff\2\0\2\60\7\uffff\1\141\1"+ + "\uffff\1\151\1\144\1\165\1\154\11\uffff\1\142\1\uffff\1\154\1\156"+ + "\6\uffff\1\60\1\uffff\1\60\1\uffff\1\144\1\145\1\157\2\145\2\163"+ + "\1\154\1\145\1\60\1\117\1\146\1\156\1\165\1\162\1\60\2\145\2\60"+ + "\1\156\1\151\1\60\2\145\1\uffff\1\60\1\164\2\uffff\1\154\1\156\1"+ + "\uffff\1\60\1\144\1\uffff\1\163\1\171\1\145\1\uffff\3\60\1\163\3"+ + "\uffff\1\60\1\uffff"; + static final String DFA24_maxS = + "\1\uffff\5\uffff\1\145\1\156\2\162\1\141\1\72\2\uffff\1\56\3\uffff"+ + "\1\165\1\uffff\1\165\1\57\1\125\1\uffff\2\uffff\1\170\1\137\7\uffff"+ + "\1\144\1\uffff\1\151\1\144\1\165\1\154\11\uffff\1\142\1\uffff\1"+ + "\154\1\156\6\uffff\1\137\1\uffff\1\137\1\uffff\1\144\1\145\1\161"+ + "\2\145\2\163\1\154\1\145\1\137\1\117\1\146\1\156\1\165\1\162\1\172"+ + "\2\145\2\172\1\156\1\151\1\172\2\145\1\uffff\1\172\1\164\2\uffff"+ + "\1\154\1\156\1\uffff\1\172\1\144\1\uffff\1\163\1\171\1\145\1\uffff"+ + "\3\172\1\163\3\uffff\1\172\1\uffff"; + static final String DFA24_acceptS = + "\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\16\1\17\1\uffff\1\21\1\22"+ + "\1\23\1\uffff\1\26\3\uffff\1\34\4\uffff\1\42\1\43\1\1\1\2\1\3\1"+ + "\4\1\5\1\uffff\1\34\4\uffff\1\15\1\14\1\16\1\17\1\20\1\27\1\21\1"+ + "\22\1\23\1\uffff\1\26\2\uffff\1\36\1\37\1\32\1\33\1\35\1\41\1\uffff"+ + "\1\40\1\uffff\1\42\31\uffff\1\12\2\uffff\1\30\1\31\2\uffff\1\7\2"+ + "\uffff\1\13\3\uffff\1\11\4\uffff\1\10\1\25\1\6\1\uffff\1\24"; + static final String DFA24_specialS = + "\1\0\27\uffff\1\1\1\2\127\uffff}>"; + static final String[] DFA24_transitionS = { + "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\4\3\35\1\30\2"+ + "\35\1\1\1\2\1\21\1\3\1\16\1\25\1\32\11\33\1\13\1\35\1\26\1\23"+ + "\3\35\32\27\1\14\1\35\1\15\1\35\1\27\1\35\5\27\1\12\7\27\1\24"+ + "\1\10\2\27\1\6\1\22\1\11\1\7\5\27\1\17\1\35\1\20\1\5\uff81\35", + "", + "", + "", + "", + "", + "\1\43", + "\1\45", + "\1\46", + "\1\47", + "\1\50", + "\1\51", + "", + "", + "\1\55", + "", + "", + "", + "\1\62", + "", + "\1\65\5\uffff\1\64", + "\1\66\4\uffff\1\67", + "\1\71", + "", + "\0\44", + "\0\72", + "\10\74\12\uffff\1\73\25\uffff\1\73\6\uffff\1\73\2\uffff\1"+ + "\73\25\uffff\1\73", + "\12\76\45\uffff\1\73", + "", + "", + "", + "", + "", + "", + "", + "\1\100\2\uffff\1\101", + "", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\106", + "", + "\1\107", + "\1\110", + "", + "", + "", + "", + "", + "", + "\10\111\47\uffff\1\73", + "", + "\12\76\45\uffff\1\73", + "", + "\1\112", + "\1\113", + "\1\114\1\uffff\1\115", + "\1\116", + "\1\117", + "\1\120", + "\1\121", + "\1\122", + "\1\123", + "\10\111\47\uffff\1\73", + "\1\124", + "\1\125", + "\1\126", + "\1\127", + "\1\130", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\132", + "\1\133", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\136", + "\1\137", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\141", + "\1\142", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\144", + "", + "", + "\1\145", + "\1\146", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\150", + "", + "\1\151", + "\1\152", + "\1\153", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\157", + "", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "" + }; + + static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS); + static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS); + static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS); + static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS); + static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS); + static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS); + static final short[][] DFA24_transition; + + static { + int numStates = DFA24_transitionS.length; + DFA24_transition = new short[numStates][]; + for (int i=0; i<numStates; i++) { + DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]); + } + } + + class DFA24 extends DFA { + + public DFA24(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 24; + this.eot = DFA24_eot; + this.eof = DFA24_eof; + this.min = DFA24_min; + this.max = DFA24_max; + this.accept = DFA24_accept; + this.special = DFA24_special; + this.transition = DFA24_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_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | 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 LA24_0 = input.LA(1); + + s = -1; + if ( (LA24_0=='*') ) {s = 1;} + + else if ( (LA24_0=='+') ) {s = 2;} + + else if ( (LA24_0=='-') ) {s = 3;} + + else if ( (LA24_0=='#') ) {s = 4;} + + else if ( (LA24_0=='~') ) {s = 5;} + + else if ( (LA24_0=='r') ) {s = 6;} + + else if ( (LA24_0=='u') ) {s = 7;} + + else if ( (LA24_0=='o') ) {s = 8;} + + else if ( (LA24_0=='t') ) {s = 9;} + + else if ( (LA24_0=='f') ) {s = 10;} + + else if ( (LA24_0==':') ) {s = 11;} + + else if ( (LA24_0=='[') ) {s = 12;} + + else if ( (LA24_0==']') ) {s = 13;} + + else if ( (LA24_0=='.') ) {s = 14;} + + else if ( (LA24_0=='{') ) {s = 15;} + + else if ( (LA24_0=='}') ) {s = 16;} + + else if ( (LA24_0==',') ) {s = 17;} + + else if ( (LA24_0=='s') ) {s = 18;} + + else if ( (LA24_0=='=') ) {s = 19;} + + else if ( (LA24_0=='n') ) {s = 20;} + + else if ( (LA24_0=='/') ) {s = 21;} + + else if ( (LA24_0=='<') ) {s = 22;} + + else if ( ((LA24_0>='A' && LA24_0<='Z')||LA24_0=='_'||(LA24_0>='a' && LA24_0<='e')||(LA24_0>='g' && LA24_0<='m')||(LA24_0>='p' && LA24_0<='q')||(LA24_0>='v' && LA24_0<='z')) ) {s = 23;} + + else if ( (LA24_0=='\'') ) {s = 24;} + + else if ( (LA24_0=='\"') ) {s = 25;} + + else if ( (LA24_0=='0') ) {s = 26;} + + else if ( ((LA24_0>='1' && LA24_0<='9')) ) {s = 27;} + + else if ( ((LA24_0>='\t' && LA24_0<='\n')||LA24_0=='\r'||LA24_0==' ') ) {s = 28;} + + else if ( ((LA24_0>='\u0000' && LA24_0<='\b')||(LA24_0>='\u000B' && LA24_0<='\f')||(LA24_0>='\u000E' && LA24_0<='\u001F')||LA24_0=='!'||(LA24_0>='$' && LA24_0<='&')||(LA24_0>='(' && LA24_0<=')')||LA24_0==';'||(LA24_0>='>' && LA24_0<='@')||LA24_0=='\\'||LA24_0=='^'||LA24_0=='`'||LA24_0=='|'||(LA24_0>='\u007F' && LA24_0<='\uFFFF')) ) {s = 29;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA24_24 = input.LA(1); + + s = -1; + if ( ((LA24_24>='\u0000' && LA24_24<='\uFFFF')) ) {s = 36;} + + else s = 29; + + if ( s>=0 ) return s; + break; + case 2 : + int LA24_25 = input.LA(1); + + s = -1; + if ( ((LA24_25>='\u0000' && LA24_25<='\uFFFF')) ) {s = 58;} + + else s = 29; + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 24, _s, input); + error(nvae); + throw nvae; + } + } + + }
\ No newline at end of file |