Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / search / query / QueryLexer.java
blobb17a0503a235621feca7cc0824b417fd73a7691a
3 package com.google.appengine.api.search.query;
5 import org.antlr.runtime.*;
7 public class QueryLexer extends Lexer {
8 public static final int FUNCTION=8;
9 public static final int FIX=30;
10 public static final int ESC=36;
11 public static final int OCTAL_ESC=35;
12 public static final int FUZZY=9;
13 public static final int NOT=28;
14 public static final int AND=26;
15 public static final int ESCAPED_CHAR=44;
16 public static final int EOF=-1;
17 public static final int LPAREN=24;
18 public static final int HAS=23;
19 public static final int QUOTE=33;
20 public static final int RPAREN=25;
21 public static final int START_CHAR=39;
22 public static final int COMMA=29;
23 public static final int ARGS=4;
24 public static final int DIGIT=43;
25 public static final int EQ=22;
26 public static final int NE=21;
27 public static final int LESSTHAN=18;
28 public static final int GE=19;
29 public static final int TEXT_ESC=41;
30 public static final int CONJUNCTION=5;
31 public static final int UNICODE_ESC=34;
32 public static final int HEX_DIGIT=45;
33 public static final int LITERAL=11;
34 public static final int VALUE=15;
35 public static final int TEXT=32;
36 public static final int MINUS=38;
37 public static final int NUMBER_PREFIX=40;
38 public static final int REWRITE=31;
39 public static final int EMPTY=7;
40 public static final int SEQUENCE=14;
41 public static final int DISJUNCTION=6;
42 public static final int WS=16;
43 public static final int NEGATION=12;
44 public static final int OR=27;
45 public static final int GT=20;
46 public static final int GLOBAL=10;
47 public static final int LE=17;
48 public static final int MID_CHAR=42;
49 public static final int STRING=13;
50 public static final int BACKSLASH=37;
52 public QueryLexer() {;}
53 public QueryLexer(CharStream input) {
54 this(input, new RecognizerSharedState());
56 public QueryLexer(CharStream input, RecognizerSharedState state) {
57 super(input,state);
60 public String getGrammarFileName() { return ""; }
62 public final void mHAS() throws RecognitionException {
63 try {
64 int _type = HAS;
65 int _channel = DEFAULT_TOKEN_CHANNEL;
67 match(':');
71 state.type = _type;
72 state.channel = _channel;
74 finally {
78 public final void mOR() throws RecognitionException {
79 try {
80 int _type = OR;
81 int _channel = DEFAULT_TOKEN_CHANNEL;
83 match("OR");
87 state.type = _type;
88 state.channel = _channel;
90 finally {
94 public final void mAND() throws RecognitionException {
95 try {
96 int _type = AND;
97 int _channel = DEFAULT_TOKEN_CHANNEL;
99 match("AND");
103 state.type = _type;
104 state.channel = _channel;
106 finally {
110 public final void mNOT() throws RecognitionException {
111 try {
112 int _type = NOT;
113 int _channel = DEFAULT_TOKEN_CHANNEL;
115 match("NOT");
119 state.type = _type;
120 state.channel = _channel;
122 finally {
126 public final void mREWRITE() throws RecognitionException {
127 try {
128 int _type = REWRITE;
129 int _channel = DEFAULT_TOKEN_CHANNEL;
131 match('~');
135 state.type = _type;
136 state.channel = _channel;
138 finally {
142 public final void mFIX() throws RecognitionException {
143 try {
144 int _type = FIX;
145 int _channel = DEFAULT_TOKEN_CHANNEL;
147 match('+');
151 state.type = _type;
152 state.channel = _channel;
154 finally {
158 public final void mESC() throws RecognitionException {
159 try {
160 int _type = ESC;
161 int _channel = DEFAULT_TOKEN_CHANNEL;
162 int alt1=3;
163 int LA1_0 = input.LA(1);
165 if ( (LA1_0=='\\') ) {
166 switch ( input.LA(2) ) {
167 case '\"':
168 case '\\':
170 alt1=1;
172 break;
173 case 'u':
175 alt1=2;
177 break;
178 case '0':
179 case '1':
180 case '2':
181 case '3':
182 case '4':
183 case '5':
184 case '6':
185 case '7':
187 alt1=3;
189 break;
190 default:
191 NoViableAltException nvae =
192 new NoViableAltException("", 1, 1, input);
194 throw nvae;
198 else {
199 NoViableAltException nvae =
200 new NoViableAltException("", 1, 0, input);
202 throw nvae;
204 switch (alt1) {
205 case 1 :
207 match('\\');
208 if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) {
209 input.consume();
212 else {
213 MismatchedSetException mse = new MismatchedSetException(null,input);
214 recover(mse);
215 throw mse;}
218 break;
219 case 2 :
221 mUNICODE_ESC();
224 break;
225 case 3 :
227 mOCTAL_ESC();
230 break;
233 state.type = _type;
234 state.channel = _channel;
236 finally {
240 public final void mWS() throws RecognitionException {
241 try {
242 int _type = WS;
243 int _channel = DEFAULT_TOKEN_CHANNEL;
245 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||(input.LA(1)>='\f' && input.LA(1)<='\r')||input.LA(1)==' ' ) {
246 input.consume();
249 else {
250 MismatchedSetException mse = new MismatchedSetException(null,input);
251 recover(mse);
252 throw mse;}
256 state.type = _type;
257 state.channel = _channel;
259 finally {
263 public final void mLPAREN() throws RecognitionException {
264 try {
265 int _type = LPAREN;
266 int _channel = DEFAULT_TOKEN_CHANNEL;
268 match('(');
272 state.type = _type;
273 state.channel = _channel;
275 finally {
279 public final void mRPAREN() throws RecognitionException {
280 try {
281 int _type = RPAREN;
282 int _channel = DEFAULT_TOKEN_CHANNEL;
284 match(')');
288 state.type = _type;
289 state.channel = _channel;
291 finally {
295 public final void mCOMMA() throws RecognitionException {
296 try {
297 int _type = COMMA;
298 int _channel = DEFAULT_TOKEN_CHANNEL;
300 match(',');
304 state.type = _type;
305 state.channel = _channel;
307 finally {
311 public final void mBACKSLASH() throws RecognitionException {
312 try {
313 int _type = BACKSLASH;
314 int _channel = DEFAULT_TOKEN_CHANNEL;
316 match('\\');
320 state.type = _type;
321 state.channel = _channel;
323 finally {
327 public final void mLESSTHAN() throws RecognitionException {
328 try {
329 int _type = LESSTHAN;
330 int _channel = DEFAULT_TOKEN_CHANNEL;
332 match('<');
336 state.type = _type;
337 state.channel = _channel;
339 finally {
343 public final void mGT() throws RecognitionException {
344 try {
345 int _type = GT;
346 int _channel = DEFAULT_TOKEN_CHANNEL;
348 match('>');
352 state.type = _type;
353 state.channel = _channel;
355 finally {
359 public final void mGE() throws RecognitionException {
360 try {
361 int _type = GE;
362 int _channel = DEFAULT_TOKEN_CHANNEL;
364 match(">=");
368 state.type = _type;
369 state.channel = _channel;
371 finally {
375 public final void mLE() throws RecognitionException {
376 try {
377 int _type = LE;
378 int _channel = DEFAULT_TOKEN_CHANNEL;
380 match("<=");
384 state.type = _type;
385 state.channel = _channel;
387 finally {
391 public final void mNE() throws RecognitionException {
392 try {
393 int _type = NE;
394 int _channel = DEFAULT_TOKEN_CHANNEL;
396 match("!=");
400 state.type = _type;
401 state.channel = _channel;
403 finally {
407 public final void mEQ() throws RecognitionException {
408 try {
409 int _type = EQ;
410 int _channel = DEFAULT_TOKEN_CHANNEL;
412 match('=');
416 state.type = _type;
417 state.channel = _channel;
419 finally {
423 public final void mMINUS() throws RecognitionException {
424 try {
425 int _type = MINUS;
426 int _channel = DEFAULT_TOKEN_CHANNEL;
428 match('-');
432 state.type = _type;
433 state.channel = _channel;
435 finally {
439 public final void mQUOTE() throws RecognitionException {
440 try {
441 int _type = QUOTE;
442 int _channel = DEFAULT_TOKEN_CHANNEL;
444 match('\"');
448 state.type = _type;
449 state.channel = _channel;
451 finally {
455 public final void mTEXT() throws RecognitionException {
456 try {
457 int _type = TEXT;
458 int _channel = DEFAULT_TOKEN_CHANNEL;
460 int alt2=3;
461 int LA2_0 = input.LA(1);
463 if ( (LA2_0=='!'||(LA2_0>='#' && LA2_0<='\'')||LA2_0=='*'||(LA2_0>='.' && LA2_0<='/')||LA2_0==';'||(LA2_0>='?' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='}')||(LA2_0>='\u00A1' && LA2_0<='\uFFEE')) ) {
464 alt2=1;
466 else if ( (LA2_0=='-'||(LA2_0>='0' && LA2_0<='9')) ) {
467 alt2=2;
469 else if ( (LA2_0=='\\') ) {
470 alt2=3;
472 else {
473 NoViableAltException nvae =
474 new NoViableAltException("", 2, 0, input);
476 throw nvae;
478 switch (alt2) {
479 case 1 :
481 mSTART_CHAR();
484 break;
485 case 2 :
487 mNUMBER_PREFIX();
490 break;
491 case 3 :
493 mTEXT_ESC();
496 break;
500 loop3:
501 do {
502 int alt3=3;
503 int LA3_0 = input.LA(1);
505 if ( (LA3_0=='!'||(LA3_0>='#' && LA3_0<='\'')||(LA3_0>='*' && LA3_0<='+')||(LA3_0>='-' && LA3_0<='9')||LA3_0==';'||(LA3_0>='?' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='}')||(LA3_0>='\u00A1' && LA3_0<='\uFFEE')) ) {
506 alt3=1;
508 else if ( (LA3_0=='\\') ) {
509 alt3=2;
512 switch (alt3) {
513 case 1 :
515 mMID_CHAR();
518 break;
519 case 2 :
521 mTEXT_ESC();
524 break;
526 default :
527 break loop3;
529 } while (true);
533 state.type = _type;
534 state.channel = _channel;
536 finally {
540 public final void mNUMBER_PREFIX() throws RecognitionException {
541 try {
543 int alt4=2;
544 int LA4_0 = input.LA(1);
546 if ( (LA4_0=='-') ) {
547 alt4=1;
549 switch (alt4) {
550 case 1 :
552 mMINUS();
555 break;
559 mDIGIT();
564 finally {
568 public final void mTEXT_ESC() throws RecognitionException {
569 try {
570 int alt5=3;
571 int LA5_0 = input.LA(1);
573 if ( (LA5_0=='\\') ) {
574 switch ( input.LA(2) ) {
575 case '\"':
576 case '+':
577 case ',':
578 case ':':
579 case '<':
580 case '=':
581 case '>':
582 case '\\':
583 case '~':
585 alt5=1;
587 break;
588 case 'u':
590 alt5=2;
592 break;
593 case '0':
594 case '1':
595 case '2':
596 case '3':
597 case '4':
598 case '5':
599 case '6':
600 case '7':
602 alt5=3;
604 break;
605 default:
606 NoViableAltException nvae =
607 new NoViableAltException("", 5, 1, input);
609 throw nvae;
613 else {
614 NoViableAltException nvae =
615 new NoViableAltException("", 5, 0, input);
617 throw nvae;
619 switch (alt5) {
620 case 1 :
622 mESCAPED_CHAR();
625 break;
626 case 2 :
628 mUNICODE_ESC();
631 break;
632 case 3 :
634 mOCTAL_ESC();
637 break;
641 finally {
645 public final void mUNICODE_ESC() throws RecognitionException {
646 try {
648 match('\\');
649 match('u');
650 mHEX_DIGIT();
651 mHEX_DIGIT();
652 mHEX_DIGIT();
653 mHEX_DIGIT();
658 finally {
662 public final void mOCTAL_ESC() throws RecognitionException {
663 try {
664 int alt6=3;
665 int LA6_0 = input.LA(1);
667 if ( (LA6_0=='\\') ) {
668 int LA6_1 = input.LA(2);
670 if ( ((LA6_1>='0' && LA6_1<='3')) ) {
671 int LA6_2 = input.LA(3);
673 if ( ((LA6_2>='0' && LA6_2<='7')) ) {
674 int LA6_4 = input.LA(4);
676 if ( ((LA6_4>='0' && LA6_4<='7')) ) {
677 alt6=1;
679 else {
680 alt6=2;}
682 else {
683 alt6=3;}
685 else if ( ((LA6_1>='4' && LA6_1<='7')) ) {
686 int LA6_3 = input.LA(3);
688 if ( ((LA6_3>='0' && LA6_3<='7')) ) {
689 alt6=2;
691 else {
692 alt6=3;}
694 else {
695 NoViableAltException nvae =
696 new NoViableAltException("", 6, 1, input);
698 throw nvae;
701 else {
702 NoViableAltException nvae =
703 new NoViableAltException("", 6, 0, input);
705 throw nvae;
707 switch (alt6) {
708 case 1 :
710 match('\\');
712 matchRange('0','3');
717 matchRange('0','7');
722 matchRange('0','7');
727 break;
728 case 2 :
730 match('\\');
732 matchRange('0','7');
737 matchRange('0','7');
742 break;
743 case 3 :
745 match('\\');
747 matchRange('0','7');
752 break;
756 finally {
760 public final void mDIGIT() throws RecognitionException {
761 try {
763 matchRange('0','9');
768 finally {
772 public final void mHEX_DIGIT() throws RecognitionException {
773 try {
775 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
776 input.consume();
779 else {
780 MismatchedSetException mse = new MismatchedSetException(null,input);
781 recover(mse);
782 throw mse;}
787 finally {
791 public final void mSTART_CHAR() throws RecognitionException {
792 try {
794 if ( input.LA(1)=='!'||(input.LA(1)>='#' && input.LA(1)<='\'')||input.LA(1)=='*'||(input.LA(1)>='.' && input.LA(1)<='/')||input.LA(1)==';'||(input.LA(1)>='?' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='}')||(input.LA(1)>='\u00A1' && input.LA(1)<='\uFFEE') ) {
795 input.consume();
798 else {
799 MismatchedSetException mse = new MismatchedSetException(null,input);
800 recover(mse);
801 throw mse;}
806 finally {
810 public final void mMID_CHAR() throws RecognitionException {
811 try {
813 if ( input.LA(1)=='!'||(input.LA(1)>='#' && input.LA(1)<='\'')||(input.LA(1)>='*' && input.LA(1)<='+')||(input.LA(1)>='-' && input.LA(1)<='9')||input.LA(1)==';'||(input.LA(1)>='?' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='}')||(input.LA(1)>='\u00A1' && input.LA(1)<='\uFFEE') ) {
814 input.consume();
817 else {
818 MismatchedSetException mse = new MismatchedSetException(null,input);
819 recover(mse);
820 throw mse;}
825 finally {
829 public final void mESCAPED_CHAR() throws RecognitionException {
830 try {
831 int alt7=9;
832 alt7 = dfa7.predict(input);
833 switch (alt7) {
834 case 1 :
836 match("\\,");
839 break;
840 case 2 :
842 match("\\:");
845 break;
846 case 3 :
848 match("\\=");
851 break;
852 case 4 :
854 match("\\<");
857 break;
858 case 5 :
860 match("\\>");
863 break;
864 case 6 :
866 match("\\+");
869 break;
870 case 7 :
872 match("\\~");
875 break;
876 case 8 :
878 match("\\\"");
881 break;
882 case 9 :
884 match("\\\\");
887 break;
891 finally {
895 public void mTokens() throws RecognitionException {
896 int alt8=21;
897 alt8 = dfa8.predict(input);
898 switch (alt8) {
899 case 1 :
901 mHAS();
904 break;
905 case 2 :
907 mOR();
910 break;
911 case 3 :
913 mAND();
916 break;
917 case 4 :
919 mNOT();
922 break;
923 case 5 :
925 mREWRITE();
928 break;
929 case 6 :
931 mFIX();
934 break;
935 case 7 :
937 mESC();
940 break;
941 case 8 :
943 mWS();
946 break;
947 case 9 :
949 mLPAREN();
952 break;
953 case 10 :
955 mRPAREN();
958 break;
959 case 11 :
961 mCOMMA();
964 break;
965 case 12 :
967 mBACKSLASH();
970 break;
971 case 13 :
973 mLESSTHAN();
976 break;
977 case 14 :
979 mGT();
982 break;
983 case 15 :
985 mGE();
988 break;
989 case 16 :
991 mLE();
994 break;
995 case 17 :
997 mNE();
1000 break;
1001 case 18 :
1003 mEQ();
1006 break;
1007 case 19 :
1009 mMINUS();
1012 break;
1013 case 20 :
1015 mQUOTE();
1018 break;
1019 case 21 :
1021 mTEXT();
1024 break;
1030 protected DFA7 dfa7 = new DFA7(this);
1031 protected DFA8 dfa8 = new DFA8(this);
1032 static final String DFA7_eotS =
1033 "\13\uffff";
1034 static final String DFA7_eofS =
1035 "\13\uffff";
1036 static final String DFA7_minS =
1037 "\1\134\1\42\11\uffff";
1038 static final String DFA7_maxS =
1039 "\1\134\1\176\11\uffff";
1040 static final String DFA7_acceptS =
1041 "\2\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11";
1042 static final String DFA7_specialS =
1043 "\13\uffff}>";
1044 static final String[] DFA7_transitionS = {
1045 "\1\1",
1046 "\1\11\10\uffff\1\7\1\2\15\uffff\1\3\1\uffff\1\5\1\4\1\6\35"+
1047 "\uffff\1\12\41\uffff\1\10",
1059 static final short[] DFA7_eot = DFA.unpackEncodedString(DFA7_eotS);
1060 static final short[] DFA7_eof = DFA.unpackEncodedString(DFA7_eofS);
1061 static final char[] DFA7_min = DFA.unpackEncodedStringToUnsignedChars(DFA7_minS);
1062 static final char[] DFA7_max = DFA.unpackEncodedStringToUnsignedChars(DFA7_maxS);
1063 static final short[] DFA7_accept = DFA.unpackEncodedString(DFA7_acceptS);
1064 static final short[] DFA7_special = DFA.unpackEncodedString(DFA7_specialS);
1065 static final short[][] DFA7_transition;
1067 static {
1068 int numStates = DFA7_transitionS.length;
1069 DFA7_transition = new short[numStates][];
1070 for (int i=0; i<numStates; i++) {
1071 DFA7_transition[i] = DFA.unpackEncodedString(DFA7_transitionS[i]);
1075 class DFA7 extends DFA {
1077 public DFA7(BaseRecognizer recognizer) {
1078 this.recognizer = recognizer;
1079 this.decisionNumber = 7;
1080 this.eot = DFA7_eot;
1081 this.eof = DFA7_eof;
1082 this.min = DFA7_min;
1083 this.max = DFA7_max;
1084 this.accept = DFA7_accept;
1085 this.special = DFA7_special;
1086 this.transition = DFA7_transition;
1088 public String getDescription() {
1089 return "348:10: fragment ESCAPED_CHAR : ( '\\\\,' | '\\\\:' | '\\\\=' | '\\\\<' | '\\\\>' | '\\\\+' | '\\\\~' | '\\\\\\\"' | '\\\\\\\\' );";
1092 static final String DFA8_eotS =
1093 "\2\uffff\3\22\2\uffff\1\33\4\uffff\1\35\1\37\1\22\1\uffff\1\41\2"+
1094 "\uffff\1\42\2\22\1\45\1\uffff\3\45\10\uffff\1\51\1\52\2\uffff\2"+
1095 "\45\3\uffff\1\45\1\uffff\1\45";
1096 static final String DFA8_eofS =
1097 "\57\uffff";
1098 static final String DFA8_minS =
1099 "\1\11\1\uffff\1\122\1\116\1\117\2\uffff\1\42\4\uffff\3\75\1\uffff"+
1100 "\1\60\2\uffff\1\41\1\104\1\124\1\41\1\60\3\41\10\uffff\2\41\1\uffff"+
1101 "\1\60\2\41\2\uffff\1\60\1\41\1\60\1\41";
1102 static final String DFA8_maxS =
1103 "\1\uffee\1\uffff\1\122\1\116\1\117\2\uffff\1\176\4\uffff\3\75\1"+
1104 "\uffff\1\71\2\uffff\1\uffee\1\104\1\124\1\uffee\1\146\3\uffee\10"+
1105 "\uffff\2\uffee\1\uffff\1\146\2\uffee\2\uffff\1\146\1\uffee\1\146"+
1106 "\1\uffee";
1107 static final String DFA8_acceptS =
1108 "\1\uffff\1\1\3\uffff\1\5\1\6\1\uffff\1\10\1\11\1\12\1\13\3\uffff"+
1109 "\1\22\1\uffff\1\24\1\25\10\uffff\1\14\1\20\1\15\1\17\1\16\1\21\1"+
1110 "\23\1\2\2\uffff\1\7\3\uffff\1\3\1\4\4\uffff";
1111 static final String DFA8_specialS =
1112 "\57\uffff}>";
1113 static final String[] DFA8_transitionS = {
1114 "\2\10\1\uffff\2\10\22\uffff\1\10\1\16\1\21\5\22\1\11\1\12\1"+
1115 "\22\1\6\1\13\1\20\14\22\1\1\1\22\1\14\1\17\1\15\2\22\1\3\14"+
1116 "\22\1\4\1\2\14\22\1\7\41\22\1\5\42\uffff\uff4e\22",
1118 "\1\23",
1119 "\1\24",
1120 "\1\25",
1123 "\1\26\10\uffff\2\22\3\uffff\4\31\4\32\2\uffff\1\22\1\uffff"+
1124 "\3\22\35\uffff\1\30\30\uffff\1\27\10\uffff\1\22",
1129 "\1\34",
1130 "\1\36",
1131 "\1\40",
1133 "\12\22",
1136 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1137 "\3\uffff\77\22\43\uffff\uff4e\22",
1138 "\1\43",
1139 "\1\44",
1140 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1141 "\3\uffff\77\22\43\uffff\uff4e\22",
1142 "\12\46\7\uffff\6\46\32\uffff\6\46",
1143 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1144 "\3\uffff\77\22\43\uffff\uff4e\22",
1145 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\3\22\10\47\2\22\1\uffff"+
1146 "\1\22\3\uffff\77\22\43\uffff\uff4e\22",
1147 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\3\22\10\50\2\22\1\uffff"+
1148 "\1\22\3\uffff\77\22\43\uffff\uff4e\22",
1157 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1158 "\3\uffff\77\22\43\uffff\uff4e\22",
1159 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1160 "\3\uffff\77\22\43\uffff\uff4e\22",
1162 "\12\53\7\uffff\6\53\32\uffff\6\53",
1163 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\3\22\10\54\2\22\1\uffff"+
1164 "\1\22\3\uffff\77\22\43\uffff\uff4e\22",
1165 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1166 "\3\uffff\77\22\43\uffff\uff4e\22",
1169 "\12\55\7\uffff\6\55\32\uffff\6\55",
1170 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1171 "\3\uffff\77\22\43\uffff\uff4e\22",
1172 "\12\56\7\uffff\6\56\32\uffff\6\56",
1173 "\1\22\1\uffff\5\22\2\uffff\2\22\1\uffff\15\22\1\uffff\1\22"+
1174 "\3\uffff\77\22\43\uffff\uff4e\22"
1177 static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS);
1178 static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS);
1179 static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS);
1180 static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS);
1181 static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS);
1182 static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS);
1183 static final short[][] DFA8_transition;
1185 static {
1186 int numStates = DFA8_transitionS.length;
1187 DFA8_transition = new short[numStates][];
1188 for (int i=0; i<numStates; i++) {
1189 DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]);
1193 class DFA8 extends DFA {
1195 public DFA8(BaseRecognizer recognizer) {
1196 this.recognizer = recognizer;
1197 this.decisionNumber = 8;
1198 this.eot = DFA8_eot;
1199 this.eof = DFA8_eof;
1200 this.min = DFA8_min;
1201 this.max = DFA8_max;
1202 this.accept = DFA8_accept;
1203 this.special = DFA8_special;
1204 this.transition = DFA8_transition;
1206 public String getDescription() {
1207 return "1:1: Tokens : ( HAS | OR | AND | NOT | REWRITE | FIX | ESC | WS | LPAREN | RPAREN | COMMA | BACKSLASH | LESSTHAN | GT | GE | LE | NE | EQ | MINUS | QUOTE | TEXT );";