$search
00001 package org.best.of.robotics.ui.contentassist.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.ui.editor.contentassist.antlr.internal.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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:11:7: ( 'succeeded' ) 00059 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:11:9: 'succeeded' 00060 { 00061 match("succeeded"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:12:7: ( 'preempted' ) 00080 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:12:9: 'preempted' 00081 { 00082 match("preempted"); 00083 00084 00085 } 00086 00087 state.type = _type; 00088 state.channel = _channel; 00089 } 00090 finally { 00091 } 00092 } 00093 // $ANTLR end "T__12" 00094 00095 // $ANTLR start "T__13" 00096 public final void mT__13() throws RecognitionException { 00097 try { 00098 int _type = T__13; 00099 int _channel = DEFAULT_TOKEN_CHANNEL; 00100 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:13:7: ( 'aborted' ) 00101 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:13:9: 'aborted' 00102 { 00103 match("aborted"); 00104 00105 00106 } 00107 00108 state.type = _type; 00109 state.channel = _channel; 00110 } 00111 finally { 00112 } 00113 } 00114 // $ANTLR end "T__13" 00115 00116 // $ANTLR start "T__14" 00117 public final void mT__14() throws RecognitionException { 00118 try { 00119 int _type = T__14; 00120 int _channel = DEFAULT_TOKEN_CHANNEL; 00121 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:14:7: ( 'statemachine' ) 00122 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:14:9: 'statemachine' 00123 { 00124 match("statemachine"); 00125 00126 00127 } 00128 00129 state.type = _type; 00130 state.channel = _channel; 00131 } 00132 finally { 00133 } 00134 } 00135 // $ANTLR end "T__14" 00136 00137 // $ANTLR start "T__15" 00138 public final void mT__15() throws RecognitionException { 00139 try { 00140 int _type = T__15; 00141 int _channel = DEFAULT_TOKEN_CHANNEL; 00142 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:15:7: ( '{' ) 00143 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:15:9: '{' 00144 { 00145 match('{'); 00146 00147 } 00148 00149 state.type = _type; 00150 state.channel = _channel; 00151 } 00152 finally { 00153 } 00154 } 00155 // $ANTLR end "T__15" 00156 00157 // $ANTLR start "T__16" 00158 public final void mT__16() throws RecognitionException { 00159 try { 00160 int _type = T__16; 00161 int _channel = DEFAULT_TOKEN_CHANNEL; 00162 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:16:7: ( '}' ) 00163 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:16:9: '}' 00164 { 00165 match('}'); 00166 00167 } 00168 00169 state.type = _type; 00170 state.channel = _channel; 00171 } 00172 finally { 00173 } 00174 } 00175 // $ANTLR end "T__16" 00176 00177 // $ANTLR start "T__17" 00178 public final void mT__17() throws RecognitionException { 00179 try { 00180 int _type = T__17; 00181 int _channel = DEFAULT_TOKEN_CHANNEL; 00182 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:17:7: ( 'ActionClient' ) 00183 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:17:9: 'ActionClient' 00184 { 00185 match("ActionClient"); 00186 00187 00188 } 00189 00190 state.type = _type; 00191 state.channel = _channel; 00192 } 00193 finally { 00194 } 00195 } 00196 // $ANTLR end "T__17" 00197 00198 // $ANTLR start "T__18" 00199 public final void mT__18() throws RecognitionException { 00200 try { 00201 int _type = T__18; 00202 int _channel = DEFAULT_TOKEN_CHANNEL; 00203 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:18:7: ( 'aname:' ) 00204 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:18:9: 'aname:' 00205 { 00206 match("aname:"); 00207 00208 00209 } 00210 00211 state.type = _type; 00212 state.channel = _channel; 00213 } 00214 finally { 00215 } 00216 } 00217 // $ANTLR end "T__18" 00218 00219 // $ANTLR start "T__19" 00220 public final void mT__19() throws RecognitionException { 00221 try { 00222 int _type = T__19; 00223 int _channel = DEFAULT_TOKEN_CHANNEL; 00224 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:19:7: ( ',' ) 00225 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:19:9: ',' 00226 { 00227 match(','); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:20:7: ( 'atype:' ) 00245 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:20:9: 'atype:' 00246 { 00247 match("atype:"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:21:7: ( 'ServiceClient' ) 00266 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:21:9: 'ServiceClient' 00267 { 00268 match("ServiceClient"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:22:7: ( 'name:' ) 00287 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:22:9: 'name:' 00288 { 00289 match("name:"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:23:7: ( 'srv:' ) 00308 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:23:9: 'srv:' 00309 { 00310 match("srv:"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:24:7: ( 'actionstate' ) 00329 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:24:9: 'actionstate' 00330 { 00331 match("actionstate"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:25:7: ( 'client:' ) 00350 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:25:9: 'client:' 00351 { 00352 match("client:"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:26:7: ( '=>' ) 00371 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:26:9: '=>' 00372 { 00373 match("=>"); 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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1763:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) 00392 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1763:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* 00393 { 00394 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1763: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1763: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1763: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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1765:10: ( ( '0' .. '9' )+ ) 00471 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1765:12: ( '0' .. '9' )+ 00472 { 00473 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1765: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1765: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) 00520 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) 00521 { 00522 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' 00541 { 00542 match('\"'); 00543 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' 00601 { 00602 match('\''); 00603 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1767: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1769:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) 00679 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1769:19: '/*' ( options {greedy=false; } : . )* '*/' 00680 { 00681 match("/*"); 00682 00683 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1769: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1769: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) 00739 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? 00740 { 00741 match("//"); 00742 00743 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771:41: ( '\\r' )? '\\n' 00786 { 00787 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1771: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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1773:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) 00829 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1773:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ 00830 { 00831 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1773: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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1775:16: ( . ) 00886 // ../org.best.of.robotics.dsl.smach.ui/src-gen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1775: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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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.ui/src-gen/org/best/of/robotics/ui/contentassist/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\3\27\2\uffff\1\27\1\uffff\3\27\2\23\2\uffff\3\23\2\uffff"+ 01075 "\3\27\1\uffff\5\27\2\uffff\1\27\1\uffff\3\27\6\uffff\16\27\1\uffff"+ 01076 "\22\27\1\uffff\5\27\2\uffff\7\27\1\142\3\27\1\uffff\3\27\1\uffff"+ 01077 "\3\27\1\154\1\27\1\156\3\27\1\uffff\1\27\1\uffff\4\27\1\167\2\27"+ 01078 "\1\172\1\uffff\1\173\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\2\162\1\142\2\uffff\1\143\1\uffff\1\145\1\141\1\154\1\76\1"+ 01083 "\101\2\uffff\2\0\1\52\2\uffff\1\143\1\141\1\166\1\uffff\1\145\1"+ 01084 "\157\1\141\1\171\1\164\2\uffff\1\164\1\uffff\1\162\1\155\1\151\6"+ 01085 "\uffff\1\143\1\164\1\72\1\145\1\162\1\155\1\160\2\151\1\166\4\145"+ 01086 "\1\uffff\1\155\1\164\2\145\2\157\1\151\1\72\1\156\1\145\1\155\1"+ 01087 "\160\1\145\2\72\2\156\1\143\1\uffff\1\164\1\144\1\141\1\164\1\144"+ 01088 "\2\uffff\1\163\1\103\1\145\1\72\1\145\1\143\1\145\1\60\1\164\1\154"+ 01089 "\1\103\1\uffff\1\144\1\150\1\144\1\uffff\1\141\1\151\1\154\1\60"+ 01090 "\1\151\1\60\1\164\1\145\1\151\1\uffff\1\156\1\uffff\1\145\1\156"+ 01091 "\2\145\1\60\1\164\1\156\1\60\1\uffff\1\60\1\164\2\uffff\1\60\1\uffff"; 01092 static final String DFA12_maxS = 01093 "\1\uffff\1\165\1\162\1\164\2\uffff\1\143\1\uffff\1\145\1\141\1\154"+ 01094 "\1\76\1\172\2\uffff\2\uffff\1\57\2\uffff\1\143\1\141\1\166\1\uffff"+ 01095 "\1\145\1\157\1\141\1\171\1\164\2\uffff\1\164\1\uffff\1\162\1\155"+ 01096 "\1\151\6\uffff\1\143\1\164\1\72\1\145\1\162\1\155\1\160\2\151\1"+ 01097 "\166\4\145\1\uffff\1\155\1\164\2\145\2\157\1\151\1\72\1\156\1\145"+ 01098 "\1\155\1\160\1\145\2\72\2\156\1\143\1\uffff\1\164\1\144\1\141\1"+ 01099 "\164\1\144\2\uffff\1\163\1\103\1\145\1\72\1\145\1\143\1\145\1\172"+ 01100 "\1\164\1\154\1\103\1\uffff\1\144\1\150\1\144\1\uffff\1\141\1\151"+ 01101 "\1\154\1\172\1\151\1\172\1\164\1\145\1\151\1\uffff\1\156\1\uffff"+ 01102 "\1\145\1\156\2\145\1\172\1\164\1\156\1\172\1\uffff\1\172\1\164\2"+ 01103 "\uffff\1\172\1\uffff"; 01104 static final String DFA12_acceptS = 01105 "\4\uffff\1\5\1\6\1\uffff\1\11\5\uffff\1\21\1\22\3\uffff\1\26\1\27"+ 01106 "\3\uffff\1\21\5\uffff\1\5\1\6\1\uffff\1\11\3\uffff\1\20\1\22\1\23"+ 01107 "\1\24\1\25\1\26\16\uffff\1\15\22\uffff\1\14\5\uffff\1\10\1\12\13"+ 01108 "\uffff\1\17\3\uffff\1\3\11\uffff\1\1\1\uffff\1\2\10\uffff\1\16\2"+ 01109 "\uffff\1\4\1\7\1\uffff\1\13"; 01110 static final String DFA12_specialS = 01111 "\1\2\16\uffff\1\1\1\0\155\uffff}>"; 01112 static final String[] DFA12_transitionS = { 01113 "\11\23\2\22\2\23\1\22\22\23\1\22\1\23\1\17\4\23\1\20\4\23\1"+ 01114 "\7\2\23\1\21\12\16\3\23\1\13\3\23\1\6\21\15\1\10\7\15\3\23\1"+ 01115 "\14\1\15\1\23\1\3\1\15\1\12\12\15\1\11\1\15\1\2\2\15\1\1\7\15"+ 01116 "\1\4\1\23\1\5\uff82\23", 01117 "\1\26\1\uffff\1\25\1\24", 01118 "\1\30", 01119 "\1\31\1\34\12\uffff\1\32\5\uffff\1\33", 01120 "", 01121 "", 01122 "\1\37", 01123 "", 01124 "\1\41", 01125 "\1\42", 01126 "\1\43", 01127 "\1\44", 01128 "\32\27\4\uffff\1\27\1\uffff\32\27", 01129 "", 01130 "", 01131 "\0\46", 01132 "\0\46", 01133 "\1\47\4\uffff\1\50", 01134 "", 01135 "", 01136 "\1\52", 01137 "\1\53", 01138 "\1\54", 01139 "", 01140 "\1\55", 01141 "\1\56", 01142 "\1\57", 01143 "\1\60", 01144 "\1\61", 01145 "", 01146 "", 01147 "\1\62", 01148 "", 01149 "\1\63", 01150 "\1\64", 01151 "\1\65", 01152 "", 01153 "", 01154 "", 01155 "", 01156 "", 01157 "", 01158 "\1\66", 01159 "\1\67", 01160 "\1\70", 01161 "\1\71", 01162 "\1\72", 01163 "\1\73", 01164 "\1\74", 01165 "\1\75", 01166 "\1\76", 01167 "\1\77", 01168 "\1\100", 01169 "\1\101", 01170 "\1\102", 01171 "\1\103", 01172 "", 01173 "\1\104", 01174 "\1\105", 01175 "\1\106", 01176 "\1\107", 01177 "\1\110", 01178 "\1\111", 01179 "\1\112", 01180 "\1\113", 01181 "\1\114", 01182 "\1\115", 01183 "\1\116", 01184 "\1\117", 01185 "\1\120", 01186 "\1\121", 01187 "\1\122", 01188 "\1\123", 01189 "\1\124", 01190 "\1\125", 01191 "", 01192 "\1\126", 01193 "\1\127", 01194 "\1\130", 01195 "\1\131", 01196 "\1\132", 01197 "", 01198 "", 01199 "\1\133", 01200 "\1\134", 01201 "\1\135", 01202 "\1\136", 01203 "\1\137", 01204 "\1\140", 01205 "\1\141", 01206 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01207 "\1\143", 01208 "\1\144", 01209 "\1\145", 01210 "", 01211 "\1\146", 01212 "\1\147", 01213 "\1\150", 01214 "", 01215 "\1\151", 01216 "\1\152", 01217 "\1\153", 01218 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01219 "\1\155", 01220 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01221 "\1\157", 01222 "\1\160", 01223 "\1\161", 01224 "", 01225 "\1\162", 01226 "", 01227 "\1\163", 01228 "\1\164", 01229 "\1\165", 01230 "\1\166", 01231 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01232 "\1\170", 01233 "\1\171", 01234 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01235 "", 01236 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01237 "\1\174", 01238 "", 01239 "", 01240 "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27", 01241 "" 01242 }; 01243 01244 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); 01245 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); 01246 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); 01247 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); 01248 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); 01249 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); 01250 static final short[][] DFA12_transition; 01251 01252 static { 01253 int numStates = DFA12_transitionS.length; 01254 DFA12_transition = new short[numStates][]; 01255 for (int i=0; i<numStates; i++) { 01256 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); 01257 } 01258 } 01259 01260 class DFA12 extends DFA { 01261 01262 public DFA12(BaseRecognizer recognizer) { 01263 this.recognizer = recognizer; 01264 this.decisionNumber = 12; 01265 this.eot = DFA12_eot; 01266 this.eof = DFA12_eof; 01267 this.min = DFA12_min; 01268 this.max = DFA12_max; 01269 this.accept = DFA12_accept; 01270 this.special = DFA12_special; 01271 this.transition = DFA12_transition; 01272 } 01273 public String getDescription() { 01274 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 );"; 01275 } 01276 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 01277 IntStream input = _input; 01278 int _s = s; 01279 switch ( s ) { 01280 case 0 : 01281 int LA12_16 = input.LA(1); 01282 01283 s = -1; 01284 if ( ((LA12_16>='\u0000' && LA12_16<='\uFFFF')) ) {s = 38;} 01285 01286 else s = 19; 01287 01288 if ( s>=0 ) return s; 01289 break; 01290 case 1 : 01291 int LA12_15 = input.LA(1); 01292 01293 s = -1; 01294 if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFF')) ) {s = 38;} 01295 01296 else s = 19; 01297 01298 if ( s>=0 ) return s; 01299 break; 01300 case 2 : 01301 int LA12_0 = input.LA(1); 01302 01303 s = -1; 01304 if ( (LA12_0=='s') ) {s = 1;} 01305 01306 else if ( (LA12_0=='p') ) {s = 2;} 01307 01308 else if ( (LA12_0=='a') ) {s = 3;} 01309 01310 else if ( (LA12_0=='{') ) {s = 4;} 01311 01312 else if ( (LA12_0=='}') ) {s = 5;} 01313 01314 else if ( (LA12_0=='A') ) {s = 6;} 01315 01316 else if ( (LA12_0==',') ) {s = 7;} 01317 01318 else if ( (LA12_0=='S') ) {s = 8;} 01319 01320 else if ( (LA12_0=='n') ) {s = 9;} 01321 01322 else if ( (LA12_0=='c') ) {s = 10;} 01323 01324 else if ( (LA12_0=='=') ) {s = 11;} 01325 01326 else if ( (LA12_0=='^') ) {s = 12;} 01327 01328 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;} 01329 01330 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 14;} 01331 01332 else if ( (LA12_0=='\"') ) {s = 15;} 01333 01334 else if ( (LA12_0=='\'') ) {s = 16;} 01335 01336 else if ( (LA12_0=='/') ) {s = 17;} 01337 01338 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 18;} 01339 01340 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;} 01341 01342 if ( s>=0 ) return s; 01343 break; 01344 } 01345 NoViableAltException nvae = 01346 new NoViableAltException(getDescription(), 12, _s, input); 01347 error(nvae); 01348 throw nvae; 01349 } 01350 } 01351 01352 01353 }