00001 package org.best.of.robotics.parser.antlr.internal;
00002
00003
00004
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
00041
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
00054 public final void mT__11() throws RecognitionException {
00055 try {
00056 int _type = T__11;
00057 int _channel = DEFAULT_TOKEN_CHANNEL;
00058
00059
00060 {
00061 match("statemachine");
00062
00063
00064 }
00065
00066 state.type = _type;
00067 state.channel = _channel;
00068 }
00069 finally {
00070 }
00071 }
00072
00073
00074
00075 public final void mT__12() throws RecognitionException {
00076 try {
00077 int _type = T__12;
00078 int _channel = DEFAULT_TOKEN_CHANNEL;
00079
00080
00081 {
00082 match('{');
00083
00084 }
00085
00086 state.type = _type;
00087 state.channel = _channel;
00088 }
00089 finally {
00090 }
00091 }
00092
00093
00094
00095 public final void mT__13() throws RecognitionException {
00096 try {
00097 int _type = T__13;
00098 int _channel = DEFAULT_TOKEN_CHANNEL;
00099
00100
00101 {
00102 match('}');
00103
00104 }
00105
00106 state.type = _type;
00107 state.channel = _channel;
00108 }
00109 finally {
00110 }
00111 }
00112
00113
00114
00115 public final void mT__14() throws RecognitionException {
00116 try {
00117 int _type = T__14;
00118 int _channel = DEFAULT_TOKEN_CHANNEL;
00119
00120
00121 {
00122 match("ActionClient");
00123
00124
00125 }
00126
00127 state.type = _type;
00128 state.channel = _channel;
00129 }
00130 finally {
00131 }
00132 }
00133
00134
00135
00136 public final void mT__15() throws RecognitionException {
00137 try {
00138 int _type = T__15;
00139 int _channel = DEFAULT_TOKEN_CHANNEL;
00140
00141
00142 {
00143 match("aname:");
00144
00145
00146 }
00147
00148 state.type = _type;
00149 state.channel = _channel;
00150 }
00151 finally {
00152 }
00153 }
00154
00155
00156
00157 public final void mT__16() throws RecognitionException {
00158 try {
00159 int _type = T__16;
00160 int _channel = DEFAULT_TOKEN_CHANNEL;
00161
00162
00163 {
00164 match(',');
00165
00166 }
00167
00168 state.type = _type;
00169 state.channel = _channel;
00170 }
00171 finally {
00172 }
00173 }
00174
00175
00176
00177 public final void mT__17() throws RecognitionException {
00178 try {
00179 int _type = T__17;
00180 int _channel = DEFAULT_TOKEN_CHANNEL;
00181
00182
00183 {
00184 match("atype:");
00185
00186
00187 }
00188
00189 state.type = _type;
00190 state.channel = _channel;
00191 }
00192 finally {
00193 }
00194 }
00195
00196
00197
00198 public final void mT__18() throws RecognitionException {
00199 try {
00200 int _type = T__18;
00201 int _channel = DEFAULT_TOKEN_CHANNEL;
00202
00203
00204 {
00205 match("ServiceClient");
00206
00207
00208 }
00209
00210 state.type = _type;
00211 state.channel = _channel;
00212 }
00213 finally {
00214 }
00215 }
00216
00217
00218
00219 public final void mT__19() throws RecognitionException {
00220 try {
00221 int _type = T__19;
00222 int _channel = DEFAULT_TOKEN_CHANNEL;
00223
00224
00225 {
00226 match("name:");
00227
00228
00229 }
00230
00231 state.type = _type;
00232 state.channel = _channel;
00233 }
00234 finally {
00235 }
00236 }
00237
00238
00239
00240 public final void mT__20() throws RecognitionException {
00241 try {
00242 int _type = T__20;
00243 int _channel = DEFAULT_TOKEN_CHANNEL;
00244
00245
00246 {
00247 match("srv:");
00248
00249
00250 }
00251
00252 state.type = _type;
00253 state.channel = _channel;
00254 }
00255 finally {
00256 }
00257 }
00258
00259
00260
00261 public final void mT__21() throws RecognitionException {
00262 try {
00263 int _type = T__21;
00264 int _channel = DEFAULT_TOKEN_CHANNEL;
00265
00266
00267 {
00268 match("actionstate");
00269
00270
00271 }
00272
00273 state.type = _type;
00274 state.channel = _channel;
00275 }
00276 finally {
00277 }
00278 }
00279
00280
00281
00282 public final void mT__22() throws RecognitionException {
00283 try {
00284 int _type = T__22;
00285 int _channel = DEFAULT_TOKEN_CHANNEL;
00286
00287
00288 {
00289 match("client:");
00290
00291
00292 }
00293
00294 state.type = _type;
00295 state.channel = _channel;
00296 }
00297 finally {
00298 }
00299 }
00300
00301
00302
00303 public final void mT__23() throws RecognitionException {
00304 try {
00305 int _type = T__23;
00306 int _channel = DEFAULT_TOKEN_CHANNEL;
00307
00308
00309 {
00310 match("=>");
00311
00312
00313 }
00314
00315 state.type = _type;
00316 state.channel = _channel;
00317 }
00318 finally {
00319 }
00320 }
00321
00322
00323
00324 public final void mT__24() throws RecognitionException {
00325 try {
00326 int _type = T__24;
00327 int _channel = DEFAULT_TOKEN_CHANNEL;
00328
00329
00330 {
00331 match("succeeded");
00332
00333
00334 }
00335
00336 state.type = _type;
00337 state.channel = _channel;
00338 }
00339 finally {
00340 }
00341 }
00342
00343
00344
00345 public final void mT__25() throws RecognitionException {
00346 try {
00347 int _type = T__25;
00348 int _channel = DEFAULT_TOKEN_CHANNEL;
00349
00350
00351 {
00352 match("preempted");
00353
00354
00355 }
00356
00357 state.type = _type;
00358 state.channel = _channel;
00359 }
00360 finally {
00361 }
00362 }
00363
00364
00365
00366 public final void mT__26() throws RecognitionException {
00367 try {
00368 int _type = T__26;
00369 int _channel = DEFAULT_TOKEN_CHANNEL;
00370
00371
00372 {
00373 match("aborted");
00374
00375
00376 }
00377
00378 state.type = _type;
00379 state.channel = _channel;
00380 }
00381 finally {
00382 }
00383 }
00384
00385
00386
00387 public final void mRULE_ID() throws RecognitionException {
00388 try {
00389 int _type = RULE_ID;
00390 int _channel = DEFAULT_TOKEN_CHANNEL;
00391
00392
00393 {
00394
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
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
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
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
00464
00465
00466 public final void mRULE_INT() throws RecognitionException {
00467 try {
00468 int _type = RULE_INT;
00469 int _channel = DEFAULT_TOKEN_CHANNEL;
00470
00471
00472 {
00473
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
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
00513
00514
00515 public final void mRULE_STRING() throws RecognitionException {
00516 try {
00517 int _type = RULE_STRING;
00518 int _channel = DEFAULT_TOKEN_CHANNEL;
00519
00520
00521 {
00522
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
00541 {
00542 match('\"');
00543
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
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
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
00601 {
00602 match('\'');
00603
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
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
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
00672
00673
00674 public final void mRULE_ML_COMMENT() throws RecognitionException {
00675 try {
00676 int _type = RULE_ML_COMMENT;
00677 int _channel = DEFAULT_TOKEN_CHANNEL;
00678
00679
00680 {
00681 match("/*");
00682
00683
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
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
00732
00733
00734 public final void mRULE_SL_COMMENT() throws RecognitionException {
00735 try {
00736 int _type = RULE_SL_COMMENT;
00737 int _channel = DEFAULT_TOKEN_CHANNEL;
00738
00739
00740 {
00741 match("//");
00742
00743
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
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
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
00786 {
00787
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
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
00822
00823
00824 public final void mRULE_WS() throws RecognitionException {
00825 try {
00826 int _type = RULE_WS;
00827 int _channel = DEFAULT_TOKEN_CHANNEL;
00828
00829
00830 {
00831
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
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
00879
00880
00881 public final void mRULE_ANY_OTHER() throws RecognitionException {
00882 try {
00883 int _type = RULE_ANY_OTHER;
00884 int _channel = DEFAULT_TOKEN_CHANNEL;
00885
00886
00887 {
00888 matchAny();
00889
00890 }
00891
00892 state.type = _type;
00893 state.channel = _channel;
00894 }
00895 finally {
00896 }
00897 }
00898
00899
00900 public void mTokens() throws RecognitionException {
00901
00902 int alt12=23;
00903 alt12 = dfa12.predict(input);
00904 switch (alt12) {
00905 case 1 :
00906
00907 {
00908 mT__11();
00909
00910 }
00911 break;
00912 case 2 :
00913
00914 {
00915 mT__12();
00916
00917 }
00918 break;
00919 case 3 :
00920
00921 {
00922 mT__13();
00923
00924 }
00925 break;
00926 case 4 :
00927
00928 {
00929 mT__14();
00930
00931 }
00932 break;
00933 case 5 :
00934
00935 {
00936 mT__15();
00937
00938 }
00939 break;
00940 case 6 :
00941
00942 {
00943 mT__16();
00944
00945 }
00946 break;
00947 case 7 :
00948
00949 {
00950 mT__17();
00951
00952 }
00953 break;
00954 case 8 :
00955
00956 {
00957 mT__18();
00958
00959 }
00960 break;
00961 case 9 :
00962
00963 {
00964 mT__19();
00965
00966 }
00967 break;
00968 case 10 :
00969
00970 {
00971 mT__20();
00972
00973 }
00974 break;
00975 case 11 :
00976
00977 {
00978 mT__21();
00979
00980 }
00981 break;
00982 case 12 :
00983
00984 {
00985 mT__22();
00986
00987 }
00988 break;
00989 case 13 :
00990
00991 {
00992 mT__23();
00993
00994 }
00995 break;
00996 case 14 :
00997
00998 {
00999 mT__24();
01000
01001 }
01002 break;
01003 case 15 :
01004
01005 {
01006 mT__25();
01007
01008 }
01009 break;
01010 case 16 :
01011
01012 {
01013 mT__26();
01014
01015 }
01016 break;
01017 case 17 :
01018
01019 {
01020 mRULE_ID();
01021
01022 }
01023 break;
01024 case 18 :
01025
01026 {
01027 mRULE_INT();
01028
01029 }
01030 break;
01031 case 19 :
01032
01033 {
01034 mRULE_STRING();
01035
01036 }
01037 break;
01038 case 20 :
01039
01040 {
01041 mRULE_ML_COMMENT();
01042
01043 }
01044 break;
01045 case 21 :
01046
01047 {
01048 mRULE_SL_COMMENT();
01049
01050 }
01051 break;
01052 case 22 :
01053
01054 {
01055 mRULE_WS();
01056
01057 }
01058 break;
01059 case 23 :
01060
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 }