$search
00001 package org.best.of.robotics.parser.antlr.internal; 00002 00003 // Hack: Use our own Lexer superclass by means of import. 00004 // Currently there is no other way to specify the superclass for the lexer. 00005 import org.eclipse.xtext.parser.antlr.Lexer; 00006 00007 00008 import org.antlr.runtime.*; 00009 import java.util.Stack; 00010 import java.util.List; 00011 import java.util.ArrayList; 00012 00013 @SuppressWarnings("all") 00014 public class InternalSmachDSLLexer extends Lexer { 00015 public static final int RULE_ID=4; 00016 public static final int T__26=26; 00017 public static final int T__25=25; 00018 public static final int T__24=24; 00019 public static final int T__23=23; 00020 public static final int T__22=22; 00021 public static final int RULE_ANY_OTHER=10; 00022 public static final int T__21=21; 00023 public static final int T__20=20; 00024 public static final int EOF=-1; 00025 public static final int RULE_SL_COMMENT=8; 00026 public static final int RULE_ML_COMMENT=7; 00027 public static final int T__19=19; 00028 public static final int RULE_STRING=5; 00029 public static final int T__16=16; 00030 public static final int T__15=15; 00031 public static final int T__18=18; 00032 public static final int T__17=17; 00033 public static final int T__12=12; 00034 public static final int T__11=11; 00035 public static final int T__14=14; 00036 public static final int T__13=13; 00037 public static final int RULE_INT=6; 00038 public static final int RULE_WS=9; 00039 00040 // delegates 00041 // delegators 00042 00043 public InternalSmachDSLLexer() {;} 00044 public InternalSmachDSLLexer(CharStream input) { 00045 this(input, new RecognizerSharedState()); 00046 } 00047 public InternalSmachDSLLexer(CharStream input, RecognizerSharedState state) { 00048 super(input,state); 00049 00050 } 00051 public String getGrammarFileName() { return "../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g"; } 00052 00053 // $ANTLR start "T__11" 00054 public final void mT__11() throws RecognitionException { 00055 try { 00056 int _type = T__11; 00057 int _channel = DEFAULT_TOKEN_CHANNEL; 00058 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:11:7: ( 'statemachine' ) 00059 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:11:9: 'statemachine' 00060 { 00061 match("statemachine"); 00062 00063 00064 } 00065 00066 state.type = _type; 00067 state.channel = _channel; 00068 } 00069 finally { 00070 } 00071 } 00072 // $ANTLR end "T__11" 00073 00074 // $ANTLR start "T__12" 00075 public final void mT__12() throws RecognitionException { 00076 try { 00077 int _type = T__12; 00078 int _channel = DEFAULT_TOKEN_CHANNEL; 00079 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:12:7: ( '{' ) 00080 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:12:9: '{' 00081 { 00082 match('{'); 00083 00084 } 00085 00086 state.type = _type; 00087 state.channel = _channel; 00088 } 00089 finally { 00090 } 00091 } 00092 // $ANTLR end "T__12" 00093 00094 // $ANTLR start "T__13" 00095 public final void mT__13() throws RecognitionException { 00096 try { 00097 int _type = T__13; 00098 int _channel = DEFAULT_TOKEN_CHANNEL; 00099 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:13:7: ( '}' ) 00100 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:13:9: '}' 00101 { 00102 match('}'); 00103 00104 } 00105 00106 state.type = _type; 00107 state.channel = _channel; 00108 } 00109 finally { 00110 } 00111 } 00112 // $ANTLR end "T__13" 00113 00114 // $ANTLR start "T__14" 00115 public final void mT__14() throws RecognitionException { 00116 try { 00117 int _type = T__14; 00118 int _channel = DEFAULT_TOKEN_CHANNEL; 00119 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:14:7: ( 'ActionClient' ) 00120 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:14:9: 'ActionClient' 00121 { 00122 match("ActionClient"); 00123 00124 00125 } 00126 00127 state.type = _type; 00128 state.channel = _channel; 00129 } 00130 finally { 00131 } 00132 } 00133 // $ANTLR end "T__14" 00134 00135 // $ANTLR start "T__15" 00136 public final void mT__15() throws RecognitionException { 00137 try { 00138 int _type = T__15; 00139 int _channel = DEFAULT_TOKEN_CHANNEL; 00140 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:15:7: ( 'aname:' ) 00141 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:15:9: 'aname:' 00142 { 00143 match("aname:"); 00144 00145 00146 } 00147 00148 state.type = _type; 00149 state.channel = _channel; 00150 } 00151 finally { 00152 } 00153 } 00154 // $ANTLR end "T__15" 00155 00156 // $ANTLR start "T__16" 00157 public final void mT__16() throws RecognitionException { 00158 try { 00159 int _type = T__16; 00160 int _channel = DEFAULT_TOKEN_CHANNEL; 00161 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:16:7: ( ',' ) 00162 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:16:9: ',' 00163 { 00164 match(','); 00165 00166 } 00167 00168 state.type = _type; 00169 state.channel = _channel; 00170 } 00171 finally { 00172 } 00173 } 00174 // $ANTLR end "T__16" 00175 00176 // $ANTLR start "T__17" 00177 public final void mT__17() throws RecognitionException { 00178 try { 00179 int _type = T__17; 00180 int _channel = DEFAULT_TOKEN_CHANNEL; 00181 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:17:7: ( 'atype:' ) 00182 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:17:9: 'atype:' 00183 { 00184 match("atype:"); 00185 00186 00187 } 00188 00189 state.type = _type; 00190 state.channel = _channel; 00191 } 00192 finally { 00193 } 00194 } 00195 // $ANTLR end "T__17" 00196 00197 // $ANTLR start "T__18" 00198 public final void mT__18() throws RecognitionException { 00199 try { 00200 int _type = T__18; 00201 int _channel = DEFAULT_TOKEN_CHANNEL; 00202 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:18:7: ( 'ServiceClient' ) 00203 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:18:9: 'ServiceClient' 00204 { 00205 match("ServiceClient"); 00206 00207 00208 } 00209 00210 state.type = _type; 00211 state.channel = _channel; 00212 } 00213 finally { 00214 } 00215 } 00216 // $ANTLR end "T__18" 00217 00218 // $ANTLR start "T__19" 00219 public final void mT__19() throws RecognitionException { 00220 try { 00221 int _type = T__19; 00222 int _channel = DEFAULT_TOKEN_CHANNEL; 00223 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:19:7: ( 'name:' ) 00224 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:19:9: 'name:' 00225 { 00226 match("name:"); 00227 00228 00229 } 00230 00231 state.type = _type; 00232 state.channel = _channel; 00233 } 00234 finally { 00235 } 00236 } 00237 // $ANTLR end "T__19" 00238 00239 // $ANTLR start "T__20" 00240 public final void mT__20() throws RecognitionException { 00241 try { 00242 int _type = T__20; 00243 int _channel = DEFAULT_TOKEN_CHANNEL; 00244 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:20:7: ( 'srv:' ) 00245 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:20:9: 'srv:' 00246 { 00247 match("srv:"); 00248 00249 00250 } 00251 00252 state.type = _type; 00253 state.channel = _channel; 00254 } 00255 finally { 00256 } 00257 } 00258 // $ANTLR end "T__20" 00259 00260 // $ANTLR start "T__21" 00261 public final void mT__21() throws RecognitionException { 00262 try { 00263 int _type = T__21; 00264 int _channel = DEFAULT_TOKEN_CHANNEL; 00265 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:21:7: ( 'actionstate' ) 00266 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:21:9: 'actionstate' 00267 { 00268 match("actionstate"); 00269 00270 00271 } 00272 00273 state.type = _type; 00274 state.channel = _channel; 00275 } 00276 finally { 00277 } 00278 } 00279 // $ANTLR end "T__21" 00280 00281 // $ANTLR start "T__22" 00282 public final void mT__22() throws RecognitionException { 00283 try { 00284 int _type = T__22; 00285 int _channel = DEFAULT_TOKEN_CHANNEL; 00286 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:22:7: ( 'client:' ) 00287 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:22:9: 'client:' 00288 { 00289 match("client:"); 00290 00291 00292 } 00293 00294 state.type = _type; 00295 state.channel = _channel; 00296 } 00297 finally { 00298 } 00299 } 00300 // $ANTLR end "T__22" 00301 00302 // $ANTLR start "T__23" 00303 public final void mT__23() throws RecognitionException { 00304 try { 00305 int _type = T__23; 00306 int _channel = DEFAULT_TOKEN_CHANNEL; 00307 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:23:7: ( '=>' ) 00308 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:23:9: '=>' 00309 { 00310 match("=>"); 00311 00312 00313 } 00314 00315 state.type = _type; 00316 state.channel = _channel; 00317 } 00318 finally { 00319 } 00320 } 00321 // $ANTLR end "T__23" 00322 00323 // $ANTLR start "T__24" 00324 public final void mT__24() throws RecognitionException { 00325 try { 00326 int _type = T__24; 00327 int _channel = DEFAULT_TOKEN_CHANNEL; 00328 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:24:7: ( 'succeeded' ) 00329 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:24:9: 'succeeded' 00330 { 00331 match("succeeded"); 00332 00333 00334 } 00335 00336 state.type = _type; 00337 state.channel = _channel; 00338 } 00339 finally { 00340 } 00341 } 00342 // $ANTLR end "T__24" 00343 00344 // $ANTLR start "T__25" 00345 public final void mT__25() throws RecognitionException { 00346 try { 00347 int _type = T__25; 00348 int _channel = DEFAULT_TOKEN_CHANNEL; 00349 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:25:7: ( 'preempted' ) 00350 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:25:9: 'preempted' 00351 { 00352 match("preempted"); 00353 00354 00355 } 00356 00357 state.type = _type; 00358 state.channel = _channel; 00359 } 00360 finally { 00361 } 00362 } 00363 // $ANTLR end "T__25" 00364 00365 // $ANTLR start "T__26" 00366 public final void mT__26() throws RecognitionException { 00367 try { 00368 int _type = T__26; 00369 int _channel = DEFAULT_TOKEN_CHANNEL; 00370 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:26:7: ( 'aborted' ) 00371 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:26:9: 'aborted' 00372 { 00373 match("aborted"); 00374 00375 00376 } 00377 00378 state.type = _type; 00379 state.channel = _channel; 00380 } 00381 finally { 00382 } 00383 } 00384 // $ANTLR end "T__26" 00385 00386 // $ANTLR start "RULE_ID" 00387 public final void mRULE_ID() throws RecognitionException { 00388 try { 00389 int _type = RULE_ID; 00390 int _channel = DEFAULT_TOKEN_CHANNEL; 00391 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:603:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) 00392 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:603:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* 00393 { 00394 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:603:11: ( '^' )? 00395 int alt1=2; 00396 int LA1_0 = input.LA(1); 00397 00398 if ( (LA1_0=='^') ) { 00399 alt1=1; 00400 } 00401 switch (alt1) { 00402 case 1 : 00403 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:603:11: '^' 00404 { 00405 match('^'); 00406 00407 } 00408 break; 00409 00410 } 00411 00412 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { 00413 input.consume(); 00414 00415 } 00416 else { 00417 MismatchedSetException mse = new MismatchedSetException(null,input); 00418 recover(mse); 00419 throw mse;} 00420 00421 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:603:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* 00422 loop2: 00423 do { 00424 int alt2=2; 00425 int LA2_0 = input.LA(1); 00426 00427 if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { 00428 alt2=1; 00429 } 00430 00431 00432 switch (alt2) { 00433 case 1 : 00434 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g: 00435 { 00436 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') ) { 00437 input.consume(); 00438 00439 } 00440 else { 00441 MismatchedSetException mse = new MismatchedSetException(null,input); 00442 recover(mse); 00443 throw mse;} 00444 00445 00446 } 00447 break; 00448 00449 default : 00450 break loop2; 00451 } 00452 } while (true); 00453 00454 00455 } 00456 00457 state.type = _type; 00458 state.channel = _channel; 00459 } 00460 finally { 00461 } 00462 } 00463 // $ANTLR end "RULE_ID" 00464 00465 // $ANTLR start "RULE_INT" 00466 public final void mRULE_INT() throws RecognitionException { 00467 try { 00468 int _type = RULE_INT; 00469 int _channel = DEFAULT_TOKEN_CHANNEL; 00470 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:605:10: ( ( '0' .. '9' )+ ) 00471 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:605:12: ( '0' .. '9' )+ 00472 { 00473 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:605:12: ( '0' .. '9' )+ 00474 int cnt3=0; 00475 loop3: 00476 do { 00477 int alt3=2; 00478 int LA3_0 = input.LA(1); 00479 00480 if ( ((LA3_0>='0' && LA3_0<='9')) ) { 00481 alt3=1; 00482 } 00483 00484 00485 switch (alt3) { 00486 case 1 : 00487 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:605:13: '0' .. '9' 00488 { 00489 matchRange('0','9'); 00490 00491 } 00492 break; 00493 00494 default : 00495 if ( cnt3 >= 1 ) break loop3; 00496 EarlyExitException eee = 00497 new EarlyExitException(3, input); 00498 throw eee; 00499 } 00500 cnt3++; 00501 } while (true); 00502 00503 00504 } 00505 00506 state.type = _type; 00507 state.channel = _channel; 00508 } 00509 finally { 00510 } 00511 } 00512 // $ANTLR end "RULE_INT" 00513 00514 // $ANTLR start "RULE_STRING" 00515 public final void mRULE_STRING() throws RecognitionException { 00516 try { 00517 int _type = RULE_STRING; 00518 int _channel = DEFAULT_TOKEN_CHANNEL; 00519 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) 00520 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) 00521 { 00522 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) 00523 int alt6=2; 00524 int LA6_0 = input.LA(1); 00525 00526 if ( (LA6_0=='\"') ) { 00527 alt6=1; 00528 } 00529 else if ( (LA6_0=='\'') ) { 00530 alt6=2; 00531 } 00532 else { 00533 NoViableAltException nvae = 00534 new NoViableAltException("", 6, 0, input); 00535 00536 throw nvae; 00537 } 00538 switch (alt6) { 00539 case 1 : 00540 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' 00541 { 00542 match('\"'); 00543 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* 00544 loop4: 00545 do { 00546 int alt4=3; 00547 int LA4_0 = input.LA(1); 00548 00549 if ( (LA4_0=='\\') ) { 00550 alt4=1; 00551 } 00552 else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { 00553 alt4=2; 00554 } 00555 00556 00557 switch (alt4) { 00558 case 1 : 00559 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) 00560 { 00561 match('\\'); 00562 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.LA(1)<='u') ) { 00563 input.consume(); 00564 00565 } 00566 else { 00567 MismatchedSetException mse = new MismatchedSetException(null,input); 00568 recover(mse); 00569 throw mse;} 00570 00571 00572 } 00573 break; 00574 case 2 : 00575 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:66: ~ ( ( '\\\\' | '\"' ) ) 00576 { 00577 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { 00578 input.consume(); 00579 00580 } 00581 else { 00582 MismatchedSetException mse = new MismatchedSetException(null,input); 00583 recover(mse); 00584 throw mse;} 00585 00586 00587 } 00588 break; 00589 00590 default : 00591 break loop4; 00592 } 00593 } while (true); 00594 00595 match('\"'); 00596 00597 } 00598 break; 00599 case 2 : 00600 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' 00601 { 00602 match('\''); 00603 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* 00604 loop5: 00605 do { 00606 int alt5=3; 00607 int LA5_0 = input.LA(1); 00608 00609 if ( (LA5_0=='\\') ) { 00610 alt5=1; 00611 } 00612 else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { 00613 alt5=2; 00614 } 00615 00616 00617 switch (alt5) { 00618 case 1 : 00619 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) 00620 { 00621 match('\\'); 00622 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.LA(1)<='u') ) { 00623 input.consume(); 00624 00625 } 00626 else { 00627 MismatchedSetException mse = new MismatchedSetException(null,input); 00628 recover(mse); 00629 throw mse;} 00630 00631 00632 } 00633 break; 00634 case 2 : 00635 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:607:137: ~ ( ( '\\\\' | '\\'' ) ) 00636 { 00637 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { 00638 input.consume(); 00639 00640 } 00641 else { 00642 MismatchedSetException mse = new MismatchedSetException(null,input); 00643 recover(mse); 00644 throw mse;} 00645 00646 00647 } 00648 break; 00649 00650 default : 00651 break loop5; 00652 } 00653 } while (true); 00654 00655 match('\''); 00656 00657 } 00658 break; 00659 00660 } 00661 00662 00663 } 00664 00665 state.type = _type; 00666 state.channel = _channel; 00667 } 00668 finally { 00669 } 00670 } 00671 // $ANTLR end "RULE_STRING" 00672 00673 // $ANTLR start "RULE_ML_COMMENT" 00674 public final void mRULE_ML_COMMENT() throws RecognitionException { 00675 try { 00676 int _type = RULE_ML_COMMENT; 00677 int _channel = DEFAULT_TOKEN_CHANNEL; 00678 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:609:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) 00679 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:609:19: '/*' ( options {greedy=false; } : . )* '*/' 00680 { 00681 match("/*"); 00682 00683 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:609:24: ( options {greedy=false; } : . )* 00684 loop7: 00685 do { 00686 int alt7=2; 00687 int LA7_0 = input.LA(1); 00688 00689 if ( (LA7_0=='*') ) { 00690 int LA7_1 = input.LA(2); 00691 00692 if ( (LA7_1=='/') ) { 00693 alt7=2; 00694 } 00695 else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { 00696 alt7=1; 00697 } 00698 00699 00700 } 00701 else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { 00702 alt7=1; 00703 } 00704 00705 00706 switch (alt7) { 00707 case 1 : 00708 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:609:52: . 00709 { 00710 matchAny(); 00711 00712 } 00713 break; 00714 00715 default : 00716 break loop7; 00717 } 00718 } while (true); 00719 00720 match("*/"); 00721 00722 00723 } 00724 00725 state.type = _type; 00726 state.channel = _channel; 00727 } 00728 finally { 00729 } 00730 } 00731 // $ANTLR end "RULE_ML_COMMENT" 00732 00733 // $ANTLR start "RULE_SL_COMMENT" 00734 public final void mRULE_SL_COMMENT() throws RecognitionException { 00735 try { 00736 int _type = RULE_SL_COMMENT; 00737 int _channel = DEFAULT_TOKEN_CHANNEL; 00738 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) 00739 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? 00740 { 00741 match("//"); 00742 00743 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:24: (~ ( ( '\\n' | '\\r' ) ) )* 00744 loop8: 00745 do { 00746 int alt8=2; 00747 int LA8_0 = input.LA(1); 00748 00749 if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { 00750 alt8=1; 00751 } 00752 00753 00754 switch (alt8) { 00755 case 1 : 00756 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:24: ~ ( ( '\\n' | '\\r' ) ) 00757 { 00758 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') ) { 00759 input.consume(); 00760 00761 } 00762 else { 00763 MismatchedSetException mse = new MismatchedSetException(null,input); 00764 recover(mse); 00765 throw mse;} 00766 00767 00768 } 00769 break; 00770 00771 default : 00772 break loop8; 00773 } 00774 } while (true); 00775 00776 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:40: ( ( '\\r' )? '\\n' )? 00777 int alt10=2; 00778 int LA10_0 = input.LA(1); 00779 00780 if ( (LA10_0=='\n'||LA10_0=='\r') ) { 00781 alt10=1; 00782 } 00783 switch (alt10) { 00784 case 1 : 00785 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:41: ( '\\r' )? '\\n' 00786 { 00787 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:41: ( '\\r' )? 00788 int alt9=2; 00789 int LA9_0 = input.LA(1); 00790 00791 if ( (LA9_0=='\r') ) { 00792 alt9=1; 00793 } 00794 switch (alt9) { 00795 case 1 : 00796 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:611:41: '\\r' 00797 { 00798 match('\r'); 00799 00800 } 00801 break; 00802 00803 } 00804 00805 match('\n'); 00806 00807 } 00808 break; 00809 00810 } 00811 00812 00813 } 00814 00815 state.type = _type; 00816 state.channel = _channel; 00817 } 00818 finally { 00819 } 00820 } 00821 // $ANTLR end "RULE_SL_COMMENT" 00822 00823 // $ANTLR start "RULE_WS" 00824 public final void mRULE_WS() throws RecognitionException { 00825 try { 00826 int _type = RULE_WS; 00827 int _channel = DEFAULT_TOKEN_CHANNEL; 00828 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:613:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) 00829 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:613:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ 00830 { 00831 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:613:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ 00832 int cnt11=0; 00833 loop11: 00834 do { 00835 int alt11=2; 00836 int LA11_0 = input.LA(1); 00837 00838 if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { 00839 alt11=1; 00840 } 00841 00842 00843 switch (alt11) { 00844 case 1 : 00845 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g: 00846 { 00847 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { 00848 input.consume(); 00849 00850 } 00851 else { 00852 MismatchedSetException mse = new MismatchedSetException(null,input); 00853 recover(mse); 00854 throw mse;} 00855 00856 00857 } 00858 break; 00859 00860 default : 00861 if ( cnt11 >= 1 ) break loop11; 00862 EarlyExitException eee = 00863 new EarlyExitException(11, input); 00864 throw eee; 00865 } 00866 cnt11++; 00867 } while (true); 00868 00869 00870 } 00871 00872 state.type = _type; 00873 state.channel = _channel; 00874 } 00875 finally { 00876 } 00877 } 00878 // $ANTLR end "RULE_WS" 00879 00880 // $ANTLR start "RULE_ANY_OTHER" 00881 public final void mRULE_ANY_OTHER() throws RecognitionException { 00882 try { 00883 int _type = RULE_ANY_OTHER; 00884 int _channel = DEFAULT_TOKEN_CHANNEL; 00885 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:615:16: ( . ) 00886 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:615:18: . 00887 { 00888 matchAny(); 00889 00890 } 00891 00892 state.type = _type; 00893 state.channel = _channel; 00894 } 00895 finally { 00896 } 00897 } 00898 // $ANTLR end "RULE_ANY_OTHER" 00899 00900 public void mTokens() throws RecognitionException { 00901 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:8: ( T__11 | 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) 00902 int alt12=23; 00903 alt12 = dfa12.predict(input); 00904 switch (alt12) { 00905 case 1 : 00906 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:10: T__11 00907 { 00908 mT__11(); 00909 00910 } 00911 break; 00912 case 2 : 00913 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:16: T__12 00914 { 00915 mT__12(); 00916 00917 } 00918 break; 00919 case 3 : 00920 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:22: T__13 00921 { 00922 mT__13(); 00923 00924 } 00925 break; 00926 case 4 : 00927 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:28: T__14 00928 { 00929 mT__14(); 00930 00931 } 00932 break; 00933 case 5 : 00934 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:34: T__15 00935 { 00936 mT__15(); 00937 00938 } 00939 break; 00940 case 6 : 00941 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:40: T__16 00942 { 00943 mT__16(); 00944 00945 } 00946 break; 00947 case 7 : 00948 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:46: T__17 00949 { 00950 mT__17(); 00951 00952 } 00953 break; 00954 case 8 : 00955 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:52: T__18 00956 { 00957 mT__18(); 00958 00959 } 00960 break; 00961 case 9 : 00962 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:58: T__19 00963 { 00964 mT__19(); 00965 00966 } 00967 break; 00968 case 10 : 00969 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:64: T__20 00970 { 00971 mT__20(); 00972 00973 } 00974 break; 00975 case 11 : 00976 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:70: T__21 00977 { 00978 mT__21(); 00979 00980 } 00981 break; 00982 case 12 : 00983 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:76: T__22 00984 { 00985 mT__22(); 00986 00987 } 00988 break; 00989 case 13 : 00990 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:82: T__23 00991 { 00992 mT__23(); 00993 00994 } 00995 break; 00996 case 14 : 00997 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:88: T__24 00998 { 00999 mT__24(); 01000 01001 } 01002 break; 01003 case 15 : 01004 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:94: T__25 01005 { 01006 mT__25(); 01007 01008 } 01009 break; 01010 case 16 : 01011 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:100: T__26 01012 { 01013 mT__26(); 01014 01015 } 01016 break; 01017 case 17 : 01018 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:106: RULE_ID 01019 { 01020 mRULE_ID(); 01021 01022 } 01023 break; 01024 case 18 : 01025 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:114: RULE_INT 01026 { 01027 mRULE_INT(); 01028 01029 } 01030 break; 01031 case 19 : 01032 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:123: RULE_STRING 01033 { 01034 mRULE_STRING(); 01035 01036 } 01037 break; 01038 case 20 : 01039 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:135: RULE_ML_COMMENT 01040 { 01041 mRULE_ML_COMMENT(); 01042 01043 } 01044 break; 01045 case 21 : 01046 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:151: RULE_SL_COMMENT 01047 { 01048 mRULE_SL_COMMENT(); 01049 01050 } 01051 break; 01052 case 22 : 01053 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:167: RULE_WS 01054 { 01055 mRULE_WS(); 01056 01057 } 01058 break; 01059 case 23 : 01060 // ../org.best.of.robotics.dsl.smach/src-gen/org/best/of/robotics/parser/antlr/internal/InternalSmachDSL.g:1:175: RULE_ANY_OTHER 01061 { 01062 mRULE_ANY_OTHER(); 01063 01064 } 01065 break; 01066 01067 } 01068 01069 } 01070 01071 01072 protected DFA12 dfa12 = new DFA12(this); 01073 static final String DFA12_eotS = 01074 "\1\uffff\1\27\2\uffff\2\27\1\uffff\3\27\1\23\1\27\1\23\2\uffff\3"+ 01075 "\23\2\uffff\3\27\3\uffff\5\27\1\uffff\3\27\1\uffff\1\27\5\uffff"+ 01076 "\15\27\1\uffff\22\27\1\uffff\5\27\2\uffff\11\27\1\143\1\27\1\uffff"+ 01077 "\5\27\1\uffff\3\27\1\155\3\27\1\161\1\27\1\uffff\3\27\1\uffff\2"+ 01078 "\27\1\170\1\27\1\172\1\173\1\uffff\1\27\2\uffff\1\175\1\uffff"; 01079 static final String DFA12_eofS = 01080 "\176\uffff"; 01081 static final String DFA12_minS = 01082 "\1\0\1\162\2\uffff\1\143\1\142\1\uffff\1\145\1\141\1\154\1\76\1"+ 01083 "\162\1\101\2\uffff\2\0\1\52\2\uffff\1\141\1\166\1\143\3\uffff\1"+ 01084 "\164\1\141\1\171\1\164\1\157\1\uffff\1\162\1\155\1\151\1\uffff\1"+ 01085 "\145\5\uffff\1\164\1\72\1\143\1\151\1\155\1\160\1\151\1\162\1\166"+ 01086 "\4\145\1\uffff\1\145\1\157\2\145\1\157\1\164\1\151\1\72\1\156\2"+ 01087 "\155\1\145\1\156\2\72\1\156\1\145\1\143\1\uffff\1\164\1\160\1\141"+ 01088 "\1\144\1\103\2\uffff\1\163\1\144\1\145\1\72\1\164\1\143\1\145\1"+ 01089 "\154\1\164\1\60\1\103\1\uffff\1\145\1\150\1\144\1\151\1\141\1\uffff"+ 01090 "\1\154\1\144\1\151\1\60\1\145\1\164\1\151\1\60\1\156\1\uffff\1\156"+ 01091 "\2\145\1\uffff\1\145\1\164\1\60\1\156\2\60\1\uffff\1\164\2\uffff"+ 01092 "\1\60\1\uffff"; 01093 static final String DFA12_maxS = 01094 "\1\uffff\1\165\2\uffff\1\143\1\164\1\uffff\1\145\1\141\1\154\1\76"+ 01095 "\1\162\1\172\2\uffff\2\uffff\1\57\2\uffff\1\141\1\166\1\143\3\uffff"+ 01096 "\1\164\1\141\1\171\1\164\1\157\1\uffff\1\162\1\155\1\151\1\uffff"+ 01097 "\1\145\5\uffff\1\164\1\72\1\143\1\151\1\155\1\160\1\151\1\162\1"+ 01098 "\166\4\145\1\uffff\1\145\1\157\2\145\1\157\1\164\1\151\1\72\1\156"+ 01099 "\2\155\1\145\1\156\2\72\1\156\1\145\1\143\1\uffff\1\164\1\160\1"+ 01100 "\141\1\144\1\103\2\uffff\1\163\1\144\1\145\1\72\1\164\1\143\1\145"+ 01101 "\1\154\1\164\1\172\1\103\1\uffff\1\145\1\150\1\144\1\151\1\141\1"+ 01102 "\uffff\1\154\1\144\1\151\1\172\1\145\1\164\1\151\1\172\1\156\1\uffff"+ 01103 "\1\156\2\145\1\uffff\1\145\1\164\1\172\1\156\2\172\1\uffff\1\164"+ 01104 "\2\uffff\1\172\1\uffff"; 01105 static final String DFA12_acceptS = 01106 "\2\uffff\1\2\1\3\2\uffff\1\6\6\uffff\1\21\1\22\3\uffff\1\26\1\27"+ 01107 "\3\uffff\1\21\1\2\1\3\5\uffff\1\6\3\uffff\1\15\1\uffff\1\22\1\23"+ 01108 "\1\24\1\25\1\26\15\uffff\1\12\22\uffff\1\11\5\uffff\1\5\1\7\13\uffff"+ 01109 "\1\14\5\uffff\1\20\11\uffff\1\16\3\uffff\1\17\6\uffff\1\13\1\uffff"+ 01110 "\1\1\1\4\1\uffff\1\10"; 01111 static final String DFA12_specialS = 01112 "\1\0\16\uffff\1\2\1\1\155\uffff}>"; 01113 static final String[] DFA12_transitionS = { 01114 "\11\23\2\22\2\23\1\22\22\23\1\22\1\23\1\17\4\23\1\20\4\23\1"+ 01115 "\6\2\23\1\21\12\16\3\23\1\12\3\23\1\4\21\15\1\7\7\15\3\23\1"+ 01116 "\14\1\15\1\23\1\5\1\15\1\11\12\15\1\10\1\15\1\13\2\15\1\1\7"+ 01117 "\15\1\2\1\23\1\3\uff82\23", 01118 "\1\25\1\uffff\1\24\1\26", 01119 "", 01120 "", 01121 "\1\32", 01122 "\1\36\1\35\12\uffff\1\33\5\uffff\1\34", 01123 "", 01124 "\1\40", 01125 "\1\41", 01126 "\1\42", 01127 "\1\43", 01128 "\1\44", 01129 "\32\27\4\uffff\1\27\1\uffff\32\27", 01130 "", 01131 "", 01132 "\0\46", 01133 "\0\46", 01134 "\1\47\4\uffff\1\50", 01135 "", 01136 "", 01137 "\1\52", 01138 "\1\53", 01139 "\1\54", 01140 "", 01141 "", 01142 "", 01143 "\1\55", 01144 "\1\56", 01145 "\1\57", 01146 "\1\60", 01147 "\1\61", 01148 "", 01149 "\1\62", 01150 "\1\63", 01151 "\1\64", 01152 "", 01153 "\1\65", 01154 "", 01155 "", 01156 "", 01157 "", 01158 "", 01159 "\1\66", 01160 "\1\67", 01161 "\1\70", 01162 "\1\71", 01163 "\1\72", 01164 "\1\73", 01165 "\1\74", 01166 "\1\75", 01167 "\1\76", 01168 "\1\77", 01169 "\1\100", 01170 "\1\101", 01171 "\1\102", 01172 "", 01173 "\1\103", 01174 "\1\104", 01175 "\1\105", 01176 "\1\106", 01177 "\1\107", 01178 "\1\110", 01179 "\1\111", 01180 "\1\112", 01181 "\1\113", 01182 "\1\114", 01183 "\1\115", 01184 "\1\116", 01185 "\1\117", 01186 "\1\120", 01187 "\1\121", 01188 "\1\122", 01189 "\1\123", 01190 "\1\124", 01191 "", 01192 "\1\125", 01193 "\1\126", 01194 "\1\127", 01195 "\1\130", 01196 "\1\131", 01197 "", 01198 "", 01199 "\1\132", 01200 "\1\133", 01201 "\1\134", 01202 "\1\135", 01203 "\1\136", 01204 "\1\137", 01205 "\1\140", 01206 "\1\141", 01207 "\1\142", 01208 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01209 "\1\144", 01210 "", 01211 "\1\145", 01212 "\1\146", 01213 "\1\147", 01214 "\1\150", 01215 "\1\151", 01216 "", 01217 "\1\152", 01218 "\1\153", 01219 "\1\154", 01220 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01221 "\1\156", 01222 "\1\157", 01223 "\1\160", 01224 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01225 "\1\162", 01226 "", 01227 "\1\163", 01228 "\1\164", 01229 "\1\165", 01230 "", 01231 "\1\166", 01232 "\1\167", 01233 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01234 "\1\171", 01235 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01236 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01237 "", 01238 "\1\174", 01239 "", 01240 "", 01241 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01242 "" 01243 }; 01244 01245 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); 01246 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); 01247 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); 01248 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); 01249 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); 01250 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); 01251 static final short[][] DFA12_transition; 01252 01253 static { 01254 int numStates = DFA12_transitionS.length; 01255 DFA12_transition = new short[numStates][]; 01256 for (int i=0; i<numStates; i++) { 01257 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); 01258 } 01259 } 01260 01261 class DFA12 extends DFA { 01262 01263 public DFA12(BaseRecognizer recognizer) { 01264 this.recognizer = recognizer; 01265 this.decisionNumber = 12; 01266 this.eot = DFA12_eot; 01267 this.eof = DFA12_eof; 01268 this.min = DFA12_min; 01269 this.max = DFA12_max; 01270 this.accept = DFA12_accept; 01271 this.special = DFA12_special; 01272 this.transition = DFA12_transition; 01273 } 01274 public String getDescription() { 01275 return "1:1: Tokens : ( T__11 | 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; 01276 } 01277 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 01278 IntStream input = _input; 01279 int _s = s; 01280 switch ( s ) { 01281 case 0 : 01282 int LA12_0 = input.LA(1); 01283 01284 s = -1; 01285 if ( (LA12_0=='s') ) {s = 1;} 01286 01287 else if ( (LA12_0=='{') ) {s = 2;} 01288 01289 else if ( (LA12_0=='}') ) {s = 3;} 01290 01291 else if ( (LA12_0=='A') ) {s = 4;} 01292 01293 else if ( (LA12_0=='a') ) {s = 5;} 01294 01295 else if ( (LA12_0==',') ) {s = 6;} 01296 01297 else if ( (LA12_0=='S') ) {s = 7;} 01298 01299 else if ( (LA12_0=='n') ) {s = 8;} 01300 01301 else if ( (LA12_0=='c') ) {s = 9;} 01302 01303 else if ( (LA12_0=='=') ) {s = 10;} 01304 01305 else if ( (LA12_0=='p') ) {s = 11;} 01306 01307 else if ( (LA12_0=='^') ) {s = 12;} 01308 01309 else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='d' && LA12_0<='m')||LA12_0=='o'||(LA12_0>='q' && LA12_0<='r')||(LA12_0>='t' && LA12_0<='z')) ) {s = 13;} 01310 01311 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 14;} 01312 01313 else if ( (LA12_0=='\"') ) {s = 15;} 01314 01315 else if ( (LA12_0=='\'') ) {s = 16;} 01316 01317 else if ( (LA12_0=='/') ) {s = 17;} 01318 01319 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 18;} 01320 01321 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>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 19;} 01322 01323 if ( s>=0 ) return s; 01324 break; 01325 case 1 : 01326 int LA12_16 = input.LA(1); 01327 01328 s = -1; 01329 if ( ((LA12_16>='\u0000' && LA12_16<='\uFFFF')) ) {s = 38;} 01330 01331 else s = 19; 01332 01333 if ( s>=0 ) return s; 01334 break; 01335 case 2 : 01336 int LA12_15 = input.LA(1); 01337 01338 s = -1; 01339 if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFF')) ) {s = 38;} 01340 01341 else s = 19; 01342 01343 if ( s>=0 ) return s; 01344 break; 01345 } 01346 NoViableAltException nvae = 01347 new NoViableAltException(getDescription(), 12, _s, input); 01348 error(nvae); 01349 throw nvae; 01350 } 01351 } 01352 01353 01354 }