package org.eclipse.viatra.solver.language.ide.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.ide.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 InternalProblemLexer extends Lexer { public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; public static final int RULE_ID=6; public static final int RULE_QUOTED_ID=5; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int RULE_INT=4; public static final int T__29=29; public static final int T__22=22; public static final int RULE_ML_COMMENT=9; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; public static final int RULE_STRING=7; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; public static final int T__33=33; public static final int T__34=34; public static final int T__35=35; public static final int T__36=36; public static final int EOF=-1; public static final int T__30=30; public static final int T__31=31; public static final int T__32=32; public static final int RULE_WS=10; public static final int RULE_ANY_OTHER=11; public static final int T__44=44; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; public static final int T__43=43; // delegates // delegators public InternalProblemLexer() {;} public InternalProblemLexer(CharStream input) { this(input, new RecognizerSharedState()); } public InternalProblemLexer(CharStream input, RecognizerSharedState state) { super(input,state); } public String getGrammarFileName() { return "InternalProblem.g"; } // $ANTLR start "T__12" public final void mT__12() throws RecognitionException { try { int _type = T__12; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:11:7: ( '.' ) // InternalProblem.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; // InternalProblem.g:12:7: ( ',' ) // InternalProblem.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; // InternalProblem.g:13:7: ( ';' ) // InternalProblem.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; // InternalProblem.g:14:7: ( 'refers' ) // InternalProblem.g:14:9: 'refers' { match("refers"); } 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; // InternalProblem.g:15:7: ( 'pred' ) // InternalProblem.g:15:9: 'pred' { match("pred"); } 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; // InternalProblem.g:16:7: ( '=' ) // InternalProblem.g:16:9: '=' { match('='); } 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; // InternalProblem.g:17:7: ( '*' ) // InternalProblem.g:17:9: '*' { match('*'); } 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; // InternalProblem.g:18:7: ( 'true' ) // InternalProblem.g:18:9: 'true' { match("true"); } 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; // InternalProblem.g:19:7: ( 'false' ) // InternalProblem.g:19:9: 'false' { match("false"); } 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; // InternalProblem.g:20:7: ( 'unknown' ) // InternalProblem.g:20:9: 'unknown' { match("unknown"); } 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; // InternalProblem.g:21:7: ( '!' ) // InternalProblem.g:21:9: '!' { match('!'); } 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; // InternalProblem.g:22:7: ( '?' ) // InternalProblem.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; // InternalProblem.g:23:7: ( 'problem' ) // InternalProblem.g:23:9: 'problem' { match("problem"); } 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; // InternalProblem.g:24:7: ( 'class' ) // InternalProblem.g:24:9: 'class' { match("class"); } 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; // InternalProblem.g:25:7: ( 'extends' ) // InternalProblem.g:25:9: 'extends' { match("extends"); } 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; // InternalProblem.g:26:7: ( '{' ) // InternalProblem.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; // InternalProblem.g:27:7: ( '}' ) // InternalProblem.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; // InternalProblem.g:28:7: ( 'enum' ) // InternalProblem.g:28:9: 'enum' { match("enum"); } 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; // InternalProblem.g:29:7: ( '[' ) // InternalProblem.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; // InternalProblem.g:30:7: ( ']' ) // InternalProblem.g:30:9: ']' { match(']'); } 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; // InternalProblem.g:31:7: ( 'opposite' ) // InternalProblem.g:31:9: 'opposite' { match("opposite"); } 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; // InternalProblem.g:32:7: ( '(' ) // InternalProblem.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; // InternalProblem.g:33:7: ( ')' ) // InternalProblem.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; // InternalProblem.g:34:7: ( ':-' ) // InternalProblem.g:34:9: ':-' { match(":-"); } 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; // InternalProblem.g:35:7: ( ':' ) // InternalProblem.g:35:9: ':' { match(':'); } 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; // InternalProblem.g:36:7: ( 'scope' ) // InternalProblem.g:36:9: 'scope' { match("scope"); } 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; // InternalProblem.g:37:7: ( '..' ) // InternalProblem.g:37:9: '..' { match(".."); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__38" // $ANTLR start "T__39" public final void mT__39() throws RecognitionException { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:38:7: ( '::' ) // InternalProblem.g:38:9: '::' { match("::"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__39" // $ANTLR start "T__40" public final void mT__40() throws RecognitionException { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:39:7: ( 'abstract' ) // InternalProblem.g:39:9: 'abstract' { match("abstract"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__40" // $ANTLR start "T__41" public final void mT__41() throws RecognitionException { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:40:7: ( 'contains' ) // InternalProblem.g:40:9: 'contains' { match("contains"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__41" // $ANTLR start "T__42" public final void mT__42() throws RecognitionException { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:41:7: ( 'error' ) // InternalProblem.g:41:9: 'error' { match("error"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__42" // $ANTLR start "T__43" public final void mT__43() throws RecognitionException { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:42:7: ( '+' ) // InternalProblem.g:42:9: '+' { match('+'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__43" // $ANTLR start "T__44" public final void mT__44() throws RecognitionException { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:43:7: ( '+=' ) // InternalProblem.g:43:9: '+=' { match("+="); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "T__44" // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5024:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) // InternalProblem.g:5024:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); // InternalProblem.g:5024:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop1: do { int alt1=3; int LA1_0 = input.LA(1); if ( (LA1_0=='\\') ) { alt1=1; } else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) { alt1=2; } switch (alt1) { case 1 : // InternalProblem.g:5024:20: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // InternalProblem.g:5024:27: ~ ( ( '\\\\' | '\"' ) ) { 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 loop1; } } while (true); match('\"'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_STRING" // $ANTLR start "RULE_QUOTED_ID" public final void mRULE_QUOTED_ID() throws RecognitionException { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5026:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) // InternalProblem.g:5026:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); // InternalProblem.g:5026:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop2: do { int alt2=3; int LA2_0 = input.LA(1); if ( (LA2_0=='\\') ) { alt2=1; } else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { alt2=2; } switch (alt2) { case 1 : // InternalProblem.g:5026:24: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // InternalProblem.g:5026:31: ~ ( ( '\\\\' | '\\'' ) ) { 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 loop2; } } while (true); match('\''); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_QUOTED_ID" // $ANTLR start "RULE_SL_COMMENT" public final void mRULE_SL_COMMENT() throws RecognitionException { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5028:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) // InternalProblem.g:5028:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { // InternalProblem.g:5028:19: ( '%' | '//' ) int alt3=2; int LA3_0 = input.LA(1); if ( (LA3_0=='%') ) { alt3=1; } else if ( (LA3_0=='/') ) { alt3=2; } else { NoViableAltException nvae = new NoViableAltException("", 3, 0, input); throw nvae; } switch (alt3) { case 1 : // InternalProblem.g:5028:20: '%' { match('%'); } break; case 2 : // InternalProblem.g:5028:24: '//' { match("//"); } break; } // InternalProblem.g:5028:30: (~ ( ( '\\n' | '\\r' ) ) )* loop4: do { int alt4=2; int LA4_0 = input.LA(1); if ( ((LA4_0>='\u0000' && LA4_0<='\t')||(LA4_0>='\u000B' && LA4_0<='\f')||(LA4_0>='\u000E' && LA4_0<='\uFFFF')) ) { alt4=1; } switch (alt4) { case 1 : // InternalProblem.g:5028:30: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : break loop4; } } while (true); // InternalProblem.g:5028:46: ( ( '\\r' )? '\\n' )? int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0=='\n'||LA6_0=='\r') ) { alt6=1; } switch (alt6) { case 1 : // InternalProblem.g:5028:47: ( '\\r' )? '\\n' { // InternalProblem.g:5028:47: ( '\\r' )? int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0=='\r') ) { alt5=1; } switch (alt5) { case 1 : // InternalProblem.g:5028:47: '\\r' { match('\r'); } break; } match('\n'); } break; } } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_SL_COMMENT" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5030:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) // InternalProblem.g:5030:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { // InternalProblem.g:5030:11: ( '^' )? int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0=='^') ) { alt7=1; } switch (alt7) { case 1 : // InternalProblem.g:5030:11: '^' { match('^'); } break; } 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;} // InternalProblem.g:5030:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) { alt8=1; } switch (alt8) { case 1 : // InternalProblem.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 loop8; } } while (true); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ID" // $ANTLR start "RULE_INT" public final void mRULE_INT() throws RecognitionException { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5032:10: ( ( '0' .. '9' )+ ) // InternalProblem.g:5032:12: ( '0' .. '9' )+ { // InternalProblem.g:5032: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 : // InternalProblem.g:5032: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_ML_COMMENT" public final void mRULE_ML_COMMENT() throws RecognitionException { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5034:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) // InternalProblem.g:5034:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); // InternalProblem.g:5034:24: ( options {greedy=false; } : . )* loop10: do { int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0=='*') ) { int LA10_1 = input.LA(2); if ( (LA10_1=='/') ) { alt10=2; } else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) { alt10=1; } } else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) { alt10=1; } switch (alt10) { case 1 : // InternalProblem.g:5034:52: . { matchAny(); } break; default : break loop10; } } while (true); match("*/"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ML_COMMENT" // $ANTLR start "RULE_WS" public final void mRULE_WS() throws RecognitionException { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalProblem.g:5036:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) // InternalProblem.g:5036:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { // InternalProblem.g:5036:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { int alt11=2; int LA11_0 = input.LA(1); if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { alt11=1; } switch (alt11) { case 1 : // InternalProblem.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 ( cnt11 >= 1 ) break loop11; EarlyExitException eee = new EarlyExitException(11, input); throw eee; } cnt11++; } 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; // InternalProblem.g:5038:16: ( . ) // InternalProblem.g:5038:18: . { matchAny(); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { // InternalProblem.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) int alt12=41; alt12 = dfa12.predict(input); switch (alt12) { case 1 : // InternalProblem.g:1:10: T__12 { mT__12(); } break; case 2 : // InternalProblem.g:1:16: T__13 { mT__13(); } break; case 3 : // InternalProblem.g:1:22: T__14 { mT__14(); } break; case 4 : // InternalProblem.g:1:28: T__15 { mT__15(); } break; case 5 : // InternalProblem.g:1:34: T__16 { mT__16(); } break; case 6 : // InternalProblem.g:1:40: T__17 { mT__17(); } break; case 7 : // InternalProblem.g:1:46: T__18 { mT__18(); } break; case 8 : // InternalProblem.g:1:52: T__19 { mT__19(); } break; case 9 : // InternalProblem.g:1:58: T__20 { mT__20(); } break; case 10 : // InternalProblem.g:1:64: T__21 { mT__21(); } break; case 11 : // InternalProblem.g:1:70: T__22 { mT__22(); } break; case 12 : // InternalProblem.g:1:76: T__23 { mT__23(); } break; case 13 : // InternalProblem.g:1:82: T__24 { mT__24(); } break; case 14 : // InternalProblem.g:1:88: T__25 { mT__25(); } break; case 15 : // InternalProblem.g:1:94: T__26 { mT__26(); } break; case 16 : // InternalProblem.g:1:100: T__27 { mT__27(); } break; case 17 : // InternalProblem.g:1:106: T__28 { mT__28(); } break; case 18 : // InternalProblem.g:1:112: T__29 { mT__29(); } break; case 19 : // InternalProblem.g:1:118: T__30 { mT__30(); } break; case 20 : // InternalProblem.g:1:124: T__31 { mT__31(); } break; case 21 : // InternalProblem.g:1:130: T__32 { mT__32(); } break; case 22 : // InternalProblem.g:1:136: T__33 { mT__33(); } break; case 23 : // InternalProblem.g:1:142: T__34 { mT__34(); } break; case 24 : // InternalProblem.g:1:148: T__35 { mT__35(); } break; case 25 : // InternalProblem.g:1:154: T__36 { mT__36(); } break; case 26 : // InternalProblem.g:1:160: T__37 { mT__37(); } break; case 27 : // InternalProblem.g:1:166: T__38 { mT__38(); } break; case 28 : // InternalProblem.g:1:172: T__39 { mT__39(); } break; case 29 : // InternalProblem.g:1:178: T__40 { mT__40(); } break; case 30 : // InternalProblem.g:1:184: T__41 { mT__41(); } break; case 31 : // InternalProblem.g:1:190: T__42 { mT__42(); } break; case 32 : // InternalProblem.g:1:196: T__43 { mT__43(); } break; case 33 : // InternalProblem.g:1:202: T__44 { mT__44(); } break; case 34 : // InternalProblem.g:1:208: RULE_STRING { mRULE_STRING(); } break; case 35 : // InternalProblem.g:1:220: RULE_QUOTED_ID { mRULE_QUOTED_ID(); } break; case 36 : // InternalProblem.g:1:235: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; case 37 : // InternalProblem.g:1:251: RULE_ID { mRULE_ID(); } break; case 38 : // InternalProblem.g:1:259: RULE_INT { mRULE_INT(); } break; case 39 : // InternalProblem.g:1:268: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; case 40 : // InternalProblem.g:1:284: RULE_WS { mRULE_WS(); } break; case 41 : // InternalProblem.g:1:292: RULE_ANY_OTHER { mRULE_ANY_OTHER(); } break; } } protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = "\1\uffff\1\44\2\uffff\2\50\2\uffff\3\50\2\uffff\2\50\4\uffff\1\50\2\uffff\1\77\2\50\1\103\2\42\1\uffff\2\42\10\uffff\1\50\1\uffff\1\50\2\uffff\3\50\2\uffff\5\50\4\uffff\1\50\5\uffff\2\50\10\uffff\17\50\1\147\1\50\1\151\5\50\1\157\5\50\1\uffff\1\50\1\uffff\1\166\1\50\1\170\2\50\1\uffff\1\173\1\50\1\175\1\50\1\177\1\50\1\uffff\1\50\1\uffff\2\50\1\uffff\1\50\1\uffff\1\50\1\uffff\1\u0086\1\u0087\1\50\1\u0089\2\50\2\uffff\1\u008c\1\uffff\1\u008d\1\u008e\3\uffff"; static final String DFA12_eofS = "\u008f\uffff"; static final String DFA12_minS = "\1\0\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\154\1\156\4\uffff\1\160\2\uffff\1\55\1\143\1\142\1\75\2\0\1\uffff\1\52\1\101\10\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\165\1\162\4\uffff\1\160\5\uffff\1\157\1\163\10\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\1\155\2\157\1\160\1\164\1\162\1\60\1\154\1\60\1\145\1\157\1\163\1\141\1\156\1\60\1\162\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\60\1\167\1\60\1\151\1\144\1\uffff\1\60\1\151\1\60\1\141\1\60\1\155\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\2\60\1\163\1\60\1\145\1\164\2\uffff\1\60\1\uffff\2\60\3\uffff"; static final String DFA12_maxS = "\1\uffff\1\56\2\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\157\1\170\4\uffff\1\160\2\uffff\1\72\1\143\1\142\1\75\2\uffff\1\uffff\1\57\1\172\10\uffff\1\146\1\uffff\1\157\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\1\164\1\165\1\162\4\uffff\1\160\5\uffff\1\157\1\163\10\uffff\1\145\1\144\1\142\1\145\1\163\1\156\1\163\1\164\1\145\1\155\2\157\1\160\1\164\1\162\1\172\1\154\1\172\1\145\1\157\1\163\1\141\1\156\1\172\1\162\1\163\1\145\1\162\1\163\1\uffff\1\145\1\uffff\1\172\1\167\1\172\1\151\1\144\1\uffff\1\172\1\151\1\172\1\141\1\172\1\155\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\2\172\1\163\1\172\1\145\1\164\2\uffff\1\172\1\uffff\2\172\3\uffff"; static final String DFA12_acceptS = "\2\uffff\1\2\1\3\2\uffff\1\6\1\7\3\uffff\1\13\1\14\2\uffff\1\20\1\21\1\23\1\24\1\uffff\1\26\1\27\6\uffff\1\44\2\uffff\1\45\1\46\1\50\1\51\1\33\1\1\1\2\1\3\1\uffff\1\45\1\uffff\1\6\1\7\3\uffff\1\13\1\14\5\uffff\1\20\1\21\1\23\1\24\1\uffff\1\26\1\27\1\30\1\34\1\31\2\uffff\1\41\1\40\1\42\1\43\1\44\1\47\1\46\1\50\35\uffff\1\5\1\uffff\1\10\5\uffff\1\22\6\uffff\1\11\1\uffff\1\16\2\uffff\1\37\1\uffff\1\32\1\uffff\1\4\6\uffff\1\15\1\12\1\uffff\1\17\2\uffff\1\36\1\25\1\35"; static final String DFA12_specialS = "\1\0\31\uffff\1\2\1\1\163\uffff}>"; static final String[] DFA12_transitionS = { "\11\42\2\41\2\42\1\41\22\42\1\41\1\13\1\32\2\42\1\34\1\42\1\33\1\24\1\25\1\7\1\31\1\2\1\42\1\1\1\35\12\40\1\26\1\3\1\42\1\6\1\42\1\14\1\42\32\37\1\21\1\42\1\22\1\36\1\37\1\42\1\30\1\37\1\15\1\37\1\16\1\11\10\37\1\23\1\5\1\37\1\4\1\27\1\10\1\12\5\37\1\17\1\42\1\20\uff82\42", "\1\43", "", "", "\1\47", "\1\51", "", "", "\1\54", "\1\55", "\1\56", "", "", "\1\61\2\uffff\1\62", "\1\64\3\uffff\1\65\5\uffff\1\63", "", "", "", "", "\1\72", "", "", "\1\75\14\uffff\1\76", "\1\100", "\1\101", "\1\102", "\0\104", "\0\105", "", "\1\107\4\uffff\1\106", "\32\50\4\uffff\1\50\1\uffff\32\50", "", "", "", "", "", "", "", "", "\1\112", "", "\1\113\11\uffff\1\114", "", "", "\1\115", "\1\116", "\1\117", "", "", "\1\120", "\1\121", "\1\122", "\1\123", "\1\124", "", "", "", "", "\1\125", "", "", "", "", "", "\1\126", "\1\127", "", "", "", "", "", "", "", "", "\1\130", "\1\131", "\1\132", "\1\133", "\1\134", "\1\135", "\1\136", "\1\137", "\1\140", "\1\141", "\1\142", "\1\143", "\1\144", "\1\145", "\1\146", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\150", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\152", "\1\153", "\1\154", "\1\155", "\1\156", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\160", "\1\161", "\1\162", "\1\163", "\1\164", "", "\1\165", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\167", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\171", "\1\172", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\174", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\176", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u0080", "", "\1\u0081", "", "\1\u0082", "\1\u0083", "", "\1\u0084", "", "\1\u0085", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u0088", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u008a", "\1\u008b", "", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", "", "" }; static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); static final short[][] DFA12_transition; static { int numStates = DFA12_transitionS.length; DFA12_transition = new short[numStates][]; for (int i=0; i='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||LA12_0=='d'||(LA12_0>='g' && LA12_0<='n')||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 31;} else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 33;} else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='$')||LA12_0=='&'||LA12_0=='-'||LA12_0=='<'||LA12_0=='>'||LA12_0=='@'||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 34;} if ( s>=0 ) return s; break; case 1 : int LA12_27 = input.LA(1); s = -1; if ( ((LA12_27>='\u0000' && LA12_27<='\uFFFF')) ) {s = 69;} else s = 34; if ( s>=0 ) return s; break; case 2 : int LA12_26 = input.LA(1); s = -1; if ( ((LA12_26>='\u0000' && LA12_26<='\uFFFF')) ) {s = 68;} else s = 34; if ( s>=0 ) return s; break; } NoViableAltException nvae = new NoViableAltException(getDescription(), 12, _s, input); error(nvae); throw nvae; } } }