Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / search / query / QueryLexer.java
blobd08196a0d5055c4c087e33fec0349e13da1f1c9a
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=7;
9 public static final int LT=17;
10 public static final int GEO_POINT_FN=29;
11 public static final int FIX=30;
12 public static final int ESC=34;
13 public static final int OCTAL_ESC=36;
14 public static final int FUZZY=8;
15 public static final int NOT=27;
16 public static final int DISTANCE_FN=28;
17 public static final int AND=25;
18 public static final int ESCAPED_CHAR=40;
19 public static final int EOF=-1;
20 public static final int LPAREN=23;
21 public static final int HAS=22;
22 public static final int CHAR_SEQ=37;
23 public static final int QUOTE=33;
24 public static final int RPAREN=24;
25 public static final int START_CHAR=41;
26 public static final int ARGS=4;
27 public static final int DIGIT=38;
28 public static final int EQ=21;
29 public static final int NE=20;
30 public static final int T__43=43;
31 public static final int GE=18;
32 public static final int T__44=44;
33 public static final int T__45=45;
34 public static final int CONJUNCTION=5;
35 public static final int UNICODE_ESC=35;
36 public static final int HEX_DIGIT=42;
37 public static final int LITERAL=10;
38 public static final int VALUE=14;
39 public static final int TEXT=32;
40 public static final int REWRITE=31;
41 public static final int SEQUENCE=13;
42 public static final int DISJUNCTION=6;
43 public static final int WS=15;
44 public static final int NEGATION=11;
45 public static final int OR=26;
46 public static final int GT=19;
47 public static final int GLOBAL=9;
48 public static final int LE=16;
49 public static final int MID_CHAR=39;
50 public static final int STRING=12;
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 "java/com/google/appengine/api/search/query/Query.g"; }
62 public final void mT__43() throws RecognitionException {
63 try {
64 int _type = T__43;
65 int _channel = DEFAULT_TOKEN_CHANNEL;
67 match('-');
71 state.type = _type;
72 state.channel = _channel;
74 finally {
78 public final void mT__44() throws RecognitionException {
79 try {
80 int _type = T__44;
81 int _channel = DEFAULT_TOKEN_CHANNEL;
83 match(',');
87 state.type = _type;
88 state.channel = _channel;
90 finally {
94 public final void mT__45() throws RecognitionException {
95 try {
96 int _type = T__45;
97 int _channel = DEFAULT_TOKEN_CHANNEL;
99 match('\\');
103 state.type = _type;
104 state.channel = _channel;
106 finally {
110 public final void mHAS() throws RecognitionException {
111 try {
112 int _type = HAS;
113 int _channel = DEFAULT_TOKEN_CHANNEL;
115 match(':');
119 state.type = _type;
120 state.channel = _channel;
122 finally {
126 public final void mOR() throws RecognitionException {
127 try {
128 int _type = OR;
129 int _channel = DEFAULT_TOKEN_CHANNEL;
131 match("OR");
135 state.type = _type;
136 state.channel = _channel;
138 finally {
142 public final void mAND() throws RecognitionException {
143 try {
144 int _type = AND;
145 int _channel = DEFAULT_TOKEN_CHANNEL;
147 match("AND");
151 state.type = _type;
152 state.channel = _channel;
154 finally {
158 public final void mNOT() throws RecognitionException {
159 try {
160 int _type = NOT;
161 int _channel = DEFAULT_TOKEN_CHANNEL;
163 match("NOT");
167 state.type = _type;
168 state.channel = _channel;
170 finally {
174 public final void mREWRITE() throws RecognitionException {
175 try {
176 int _type = REWRITE;
177 int _channel = DEFAULT_TOKEN_CHANNEL;
179 match('~');
183 state.type = _type;
184 state.channel = _channel;
186 finally {
190 public final void mFIX() throws RecognitionException {
191 try {
192 int _type = FIX;
193 int _channel = DEFAULT_TOKEN_CHANNEL;
195 match('+');
199 state.type = _type;
200 state.channel = _channel;
202 finally {
206 public final void mDISTANCE_FN() throws RecognitionException {
207 try {
208 int _type = DISTANCE_FN;
209 int _channel = DEFAULT_TOKEN_CHANNEL;
211 match("distance");
215 state.type = _type;
216 state.channel = _channel;
218 finally {
222 public final void mGEO_POINT_FN() throws RecognitionException {
223 try {
224 int _type = GEO_POINT_FN;
225 int _channel = DEFAULT_TOKEN_CHANNEL;
227 match("geopoint");
231 state.type = _type;
232 state.channel = _channel;
234 finally {
238 public final void mESC() throws RecognitionException {
239 try {
240 int _type = ESC;
241 int _channel = DEFAULT_TOKEN_CHANNEL;
242 int alt1=3;
243 int LA1_0 = input.LA(1);
245 if ( (LA1_0=='\\') ) {
246 switch ( input.LA(2) ) {
247 case '\"':
248 case '\\':
250 alt1=1;
252 break;
253 case 'u':
255 alt1=2;
257 break;
258 case '0':
259 case '1':
260 case '2':
261 case '3':
262 case '4':
263 case '5':
264 case '6':
265 case '7':
267 alt1=3;
269 break;
270 default:
271 NoViableAltException nvae =
272 new NoViableAltException("", 1, 1, input);
274 throw nvae;
278 else {
279 NoViableAltException nvae =
280 new NoViableAltException("", 1, 0, input);
282 throw nvae;
284 switch (alt1) {
285 case 1 :
287 match('\\');
288 if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) {
289 input.consume();
292 else {
293 MismatchedSetException mse = new MismatchedSetException(null,input);
294 recover(mse);
295 throw mse;}
298 break;
299 case 2 :
301 mUNICODE_ESC();
304 break;
305 case 3 :
307 mOCTAL_ESC();
310 break;
313 state.type = _type;
314 state.channel = _channel;
316 finally {
320 public final void mWS() throws RecognitionException {
321 try {
322 int _type = WS;
323 int _channel = DEFAULT_TOKEN_CHANNEL;
325 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||(input.LA(1)>='\f' && input.LA(1)<='\r')||input.LA(1)==' ' ) {
326 input.consume();
329 else {
330 MismatchedSetException mse = new MismatchedSetException(null,input);
331 recover(mse);
332 throw mse;}
336 state.type = _type;
337 state.channel = _channel;
339 finally {
343 public final void mLPAREN() throws RecognitionException {
344 try {
345 int _type = LPAREN;
346 int _channel = DEFAULT_TOKEN_CHANNEL;
348 match('(');
352 state.type = _type;
353 state.channel = _channel;
355 finally {
359 public final void mRPAREN() throws RecognitionException {
360 try {
361 int _type = RPAREN;
362 int _channel = DEFAULT_TOKEN_CHANNEL;
364 match(')');
368 state.type = _type;
369 state.channel = _channel;
371 finally {
375 public final void mLT() throws RecognitionException {
376 try {
377 int _type = LT;
378 int _channel = DEFAULT_TOKEN_CHANNEL;
380 match('<');
384 state.type = _type;
385 state.channel = _channel;
387 finally {
391 public final void mGT() throws RecognitionException {
392 try {
393 int _type = GT;
394 int _channel = DEFAULT_TOKEN_CHANNEL;
396 match('>');
400 state.type = _type;
401 state.channel = _channel;
403 finally {
407 public final void mGE() throws RecognitionException {
408 try {
409 int _type = GE;
410 int _channel = DEFAULT_TOKEN_CHANNEL;
412 match(">=");
416 state.type = _type;
417 state.channel = _channel;
419 finally {
423 public final void mLE() throws RecognitionException {
424 try {
425 int _type = LE;
426 int _channel = DEFAULT_TOKEN_CHANNEL;
428 match("<=");
432 state.type = _type;
433 state.channel = _channel;
435 finally {
439 public final void mNE() throws RecognitionException {
440 try {
441 int _type = NE;
442 int _channel = DEFAULT_TOKEN_CHANNEL;
444 match("!=");
448 state.type = _type;
449 state.channel = _channel;
451 finally {
455 public final void mEQ() throws RecognitionException {
456 try {
457 int _type = EQ;
458 int _channel = DEFAULT_TOKEN_CHANNEL;
460 match('=');
464 state.type = _type;
465 state.channel = _channel;
467 finally {
471 public final void mQUOTE() throws RecognitionException {
472 try {
473 int _type = QUOTE;
474 int _channel = DEFAULT_TOKEN_CHANNEL;
476 match('\"');
480 state.type = _type;
481 state.channel = _channel;
483 finally {
487 public final void mTEXT() throws RecognitionException {
488 try {
489 int _type = TEXT;
490 int _channel = DEFAULT_TOKEN_CHANNEL;
491 int alt4=2;
492 int LA4_0 = input.LA(1);
494 if ( (LA4_0=='!'||(LA4_0>='#' && LA4_0<='\'')||LA4_0=='*'||(LA4_0>='.' && LA4_0<='/')||LA4_0==';'||(LA4_0>='?' && LA4_0<='}')||(LA4_0>='\u00A1' && LA4_0<='\uFFEE')) ) {
495 alt4=1;
497 else if ( (LA4_0=='-'||(LA4_0>='0' && LA4_0<='9')) ) {
498 alt4=2;
500 else {
501 NoViableAltException nvae =
502 new NoViableAltException("", 4, 0, input);
504 throw nvae;
506 switch (alt4) {
507 case 1 :
509 mCHAR_SEQ();
512 break;
513 case 2 :
515 int alt2=2;
516 int LA2_0 = input.LA(1);
518 if ( (LA2_0=='-') ) {
519 alt2=1;
521 switch (alt2) {
522 case 1 :
524 match('-');
527 break;
531 mDIGIT();
532 loop3:
533 do {
534 int alt3=5;
535 int LA3_0 = input.LA(1);
537 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')) ) {
538 alt3=1;
540 else if ( (LA3_0=='\\') ) {
541 switch ( input.LA(2) ) {
542 case '\"':
543 case '+':
544 case ',':
545 case ':':
546 case '<':
547 case '=':
548 case '>':
549 case '\\':
550 case '~':
552 alt3=2;
554 break;
555 case 'u':
557 alt3=3;
559 break;
560 case '0':
561 case '1':
562 case '2':
563 case '3':
564 case '4':
565 case '5':
566 case '6':
567 case '7':
569 alt3=4;
571 break;
577 switch (alt3) {
578 case 1 :
580 mMID_CHAR();
583 break;
584 case 2 :
586 mESCAPED_CHAR();
589 break;
590 case 3 :
592 mUNICODE_ESC();
595 break;
596 case 4 :
598 mOCTAL_ESC();
601 break;
603 default :
604 break loop3;
606 } while (true);
609 break;
612 state.type = _type;
613 state.channel = _channel;
615 finally {
619 public final void mCHAR_SEQ() throws RecognitionException {
620 try {
622 int alt5=4;
623 int LA5_0 = input.LA(1);
625 if ( (LA5_0=='!'||(LA5_0>='#' && LA5_0<='\'')||LA5_0=='*'||(LA5_0>='.' && LA5_0<='/')||LA5_0==';'||(LA5_0>='?' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='}')||(LA5_0>='\u00A1' && LA5_0<='\uFFEE')) ) {
626 alt5=1;
628 else if ( (LA5_0=='\\') ) {
629 switch ( input.LA(2) ) {
630 case '\"':
631 case '+':
632 case ',':
633 case ':':
634 case '<':
635 case '=':
636 case '>':
637 case '\\':
638 case '~':
640 alt5=2;
642 break;
643 case 'u':
645 alt5=3;
647 break;
648 case '0':
649 case '1':
650 case '2':
651 case '3':
652 case '4':
653 case '5':
654 case '6':
655 case '7':
657 alt5=4;
659 break;
660 default:
661 NoViableAltException nvae =
662 new NoViableAltException("", 5, 2, input);
664 throw nvae;
668 else {
669 NoViableAltException nvae =
670 new NoViableAltException("", 5, 0, input);
672 throw nvae;
674 switch (alt5) {
675 case 1 :
677 mSTART_CHAR();
680 break;
681 case 2 :
683 mESCAPED_CHAR();
686 break;
687 case 3 :
689 mUNICODE_ESC();
692 break;
693 case 4 :
695 mOCTAL_ESC();
698 break;
702 loop6:
703 do {
704 int alt6=5;
705 int LA6_0 = input.LA(1);
707 if ( (LA6_0=='!'||(LA6_0>='#' && LA6_0<='\'')||(LA6_0>='*' && LA6_0<='+')||(LA6_0>='-' && LA6_0<='9')||LA6_0==';'||(LA6_0>='?' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='}')||(LA6_0>='\u00A1' && LA6_0<='\uFFEE')) ) {
708 alt6=1;
710 else if ( (LA6_0=='\\') ) {
711 switch ( input.LA(2) ) {
712 case '\"':
713 case '+':
714 case ',':
715 case ':':
716 case '<':
717 case '=':
718 case '>':
719 case '\\':
720 case '~':
722 alt6=2;
724 break;
725 case 'u':
727 alt6=3;
729 break;
730 case '0':
731 case '1':
732 case '2':
733 case '3':
734 case '4':
735 case '5':
736 case '6':
737 case '7':
739 alt6=4;
741 break;
747 switch (alt6) {
748 case 1 :
750 mMID_CHAR();
753 break;
754 case 2 :
756 mESCAPED_CHAR();
759 break;
760 case 3 :
762 mUNICODE_ESC();
765 break;
766 case 4 :
768 mOCTAL_ESC();
771 break;
773 default :
774 break loop6;
776 } while (true);
781 finally {
785 public final void mUNICODE_ESC() throws RecognitionException {
786 try {
788 match('\\');
789 match('u');
790 mHEX_DIGIT();
791 mHEX_DIGIT();
792 mHEX_DIGIT();
793 mHEX_DIGIT();
798 finally {
802 public final void mOCTAL_ESC() throws RecognitionException {
803 try {
804 int alt7=3;
805 int LA7_0 = input.LA(1);
807 if ( (LA7_0=='\\') ) {
808 int LA7_1 = input.LA(2);
810 if ( ((LA7_1>='0' && LA7_1<='3')) ) {
811 int LA7_2 = input.LA(3);
813 if ( ((LA7_2>='0' && LA7_2<='7')) ) {
814 int LA7_4 = input.LA(4);
816 if ( ((LA7_4>='0' && LA7_4<='7')) ) {
817 alt7=1;
819 else {
820 alt7=2;}
822 else {
823 alt7=3;}
825 else if ( ((LA7_1>='4' && LA7_1<='7')) ) {
826 int LA7_3 = input.LA(3);
828 if ( ((LA7_3>='0' && LA7_3<='7')) ) {
829 alt7=2;
831 else {
832 alt7=3;}
834 else {
835 NoViableAltException nvae =
836 new NoViableAltException("", 7, 1, input);
838 throw nvae;
841 else {
842 NoViableAltException nvae =
843 new NoViableAltException("", 7, 0, input);
845 throw nvae;
847 switch (alt7) {
848 case 1 :
850 match('\\');
852 matchRange('0','3');
857 matchRange('0','7');
862 matchRange('0','7');
867 break;
868 case 2 :
870 match('\\');
872 matchRange('0','7');
877 matchRange('0','7');
882 break;
883 case 3 :
885 match('\\');
887 matchRange('0','7');
892 break;
896 finally {
900 public final void mDIGIT() throws RecognitionException {
901 try {
903 matchRange('0','9');
908 finally {
912 public final void mHEX_DIGIT() throws RecognitionException {
913 try {
915 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') ) {
916 input.consume();
919 else {
920 MismatchedSetException mse = new MismatchedSetException(null,input);
921 recover(mse);
922 throw mse;}
927 finally {
931 public final void mSTART_CHAR() throws RecognitionException {
932 try {
934 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') ) {
935 input.consume();
938 else {
939 MismatchedSetException mse = new MismatchedSetException(null,input);
940 recover(mse);
941 throw mse;}
946 finally {
950 public final void mMID_CHAR() throws RecognitionException {
951 try {
953 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') ) {
954 input.consume();
957 else {
958 MismatchedSetException mse = new MismatchedSetException(null,input);
959 recover(mse);
960 throw mse;}
965 finally {
969 public final void mESCAPED_CHAR() throws RecognitionException {
970 try {
971 int alt8=9;
972 alt8 = dfa8.predict(input);
973 switch (alt8) {
974 case 1 :
976 match("\\,");
979 break;
980 case 2 :
982 match("\\:");
985 break;
986 case 3 :
988 match("\\=");
991 break;
992 case 4 :
994 match("\\<");
997 break;
998 case 5 :
1000 match("\\>");
1003 break;
1004 case 6 :
1006 match("\\+");
1009 break;
1010 case 7 :
1012 match("\\~");
1015 break;
1016 case 8 :
1018 match("\\\"");
1021 break;
1022 case 9 :
1024 match("\\\\");
1027 break;
1031 finally {
1035 public void mTokens() throws RecognitionException {
1036 int alt9=23;
1037 alt9 = dfa9.predict(input);
1038 switch (alt9) {
1039 case 1 :
1041 mT__43();
1044 break;
1045 case 2 :
1047 mT__44();
1050 break;
1051 case 3 :
1053 mT__45();
1056 break;
1057 case 4 :
1059 mHAS();
1062 break;
1063 case 5 :
1065 mOR();
1068 break;
1069 case 6 :
1071 mAND();
1074 break;
1075 case 7 :
1077 mNOT();
1080 break;
1081 case 8 :
1083 mREWRITE();
1086 break;
1087 case 9 :
1089 mFIX();
1092 break;
1093 case 10 :
1095 mDISTANCE_FN();
1098 break;
1099 case 11 :
1101 mGEO_POINT_FN();
1104 break;
1105 case 12 :
1107 mESC();
1110 break;
1111 case 13 :
1113 mWS();
1116 break;
1117 case 14 :
1119 mLPAREN();
1122 break;
1123 case 15 :
1125 mRPAREN();
1128 break;
1129 case 16 :
1131 mLT();
1134 break;
1135 case 17 :
1137 mGT();
1140 break;
1141 case 18 :
1143 mGE();
1146 break;
1147 case 19 :
1149 mLE();
1152 break;
1153 case 20 :
1155 mNE();
1158 break;
1159 case 21 :
1161 mEQ();
1164 break;
1165 case 22 :
1167 mQUOTE();
1170 break;
1171 case 23 :
1173 mTEXT();
1176 break;
1182 protected DFA8 dfa8 = new DFA8(this);
1183 protected DFA9 dfa9 = new DFA9(this);
1184 static final String DFA8_eotS =
1185 "\13\uffff";
1186 static final String DFA8_eofS =
1187 "\13\uffff";
1188 static final String DFA8_minS =
1189 "\1\134\1\42\11\uffff";
1190 static final String DFA8_maxS =
1191 "\1\134\1\176\11\uffff";
1192 static final String DFA8_acceptS =
1193 "\2\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11";
1194 static final String DFA8_specialS =
1195 "\13\uffff}>";
1196 static final String[] DFA8_transitionS = {
1197 "\1\1",
1198 "\1\11\10\uffff\1\7\1\2\15\uffff\1\3\1\uffff\1\5\1\4\1\6\35"+
1199 "\uffff\1\12\41\uffff\1\10",
1211 static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS);
1212 static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS);
1213 static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS);
1214 static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS);
1215 static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS);
1216 static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS);
1217 static final short[][] DFA8_transition;
1219 static {
1220 int numStates = DFA8_transitionS.length;
1221 DFA8_transition = new short[numStates][];
1222 for (int i=0; i<numStates; i++) {
1223 DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]);
1227 class DFA8 extends DFA {
1229 public DFA8(BaseRecognizer recognizer) {
1230 this.recognizer = recognizer;
1231 this.decisionNumber = 8;
1232 this.eot = DFA8_eot;
1233 this.eof = DFA8_eof;
1234 this.min = DFA8_min;
1235 this.max = DFA8_max;
1236 this.accept = DFA8_accept;
1237 this.special = DFA8_special;
1238 this.transition = DFA8_transition;
1240 public String getDescription() {
1241 return "323:10: fragment ESCAPED_CHAR : ( '\\\\,' | '\\\\:' | '\\\\=' | '\\\\<' | '\\\\>' | '\\\\+' | '\\\\~' | '\\\\\\\"' | '\\\\\\\\' );";
1244 static final String DFA9_eotS =
1245 "\1\uffff\1\25\1\uffff\1\31\1\uffff\3\24\2\uffff\2\24\3\uffff\1\42"+
1246 "\1\44\1\24\4\uffff\1\46\1\uffff\1\46\1\uffff\2\46\1\52\4\24\7\uffff"+
1247 "\2\46\1\uffff\1\61\1\62\2\24\1\uffff\1\46\2\uffff\2\24\1\uffff\2"+
1248 "\24\1\46\4\24\1\77\1\100\2\uffff";
1249 static final String DFA9_eofS =
1250 "\101\uffff";
1251 static final String DFA9_minS =
1252 "\1\11\1\60\1\uffff\1\42\1\uffff\1\122\1\116\1\117\2\uffff\1\151"+
1253 "\1\145\3\uffff\3\75\4\uffff\1\41\1\60\1\41\1\uffff\3\41\1\104\1"+
1254 "\124\1\163\1\157\6\uffff\1\60\2\41\1\uffff\2\41\1\164\1\160\1\60"+
1255 "\1\41\2\uffff\1\141\1\157\1\60\1\156\1\151\1\41\1\143\1\156\1\145"+
1256 "\1\164\2\41\2\uffff";
1257 static final String DFA9_maxS =
1258 "\1\uffee\1\71\1\uffff\1\176\1\uffff\1\122\1\116\1\117\2\uffff\1"+
1259 "\151\1\145\3\uffff\3\75\4\uffff\1\uffee\1\146\1\uffee\1\uffff\3"+
1260 "\uffee\1\104\1\124\1\163\1\157\6\uffff\1\146\2\uffee\1\uffff\2\uffee"+
1261 "\1\164\1\160\1\146\1\uffee\2\uffff\1\141\1\157\1\146\1\156\1\151"+
1262 "\1\uffee\1\143\1\156\1\145\1\164\2\uffee\2\uffff";
1263 static final String DFA9_acceptS =
1264 "\2\uffff\1\2\1\uffff\1\4\3\uffff\1\10\1\11\2\uffff\1\15\1\16\1\17"+
1265 "\3\uffff\1\25\1\26\1\27\1\1\3\uffff\1\3\7\uffff\1\23\1\20\1\22\1"+
1266 "\21\1\24\1\14\3\uffff\1\5\6\uffff\1\6\1\7\14\uffff\1\12\1\13";
1267 static final String DFA9_specialS =
1268 "\101\uffff}>";
1269 static final String[] DFA9_transitionS = {
1270 "\2\14\1\uffff\2\14\22\uffff\1\14\1\21\1\23\5\24\1\15\1\16\1"+
1271 "\24\1\11\1\2\1\1\14\24\1\4\1\24\1\17\1\22\1\20\2\24\1\6\14\24"+
1272 "\1\7\1\5\14\24\1\3\7\24\1\12\2\24\1\13\26\24\1\10\42\uffff\uff4e"+
1273 "\24",
1274 "\12\24",
1276 "\1\26\10\uffff\2\24\3\uffff\4\32\4\33\2\uffff\1\24\1\uffff"+
1277 "\3\24\35\uffff\1\30\30\uffff\1\27\10\uffff\1\24",
1279 "\1\34",
1280 "\1\35",
1281 "\1\36",
1284 "\1\37",
1285 "\1\40",
1289 "\1\41",
1290 "\1\43",
1291 "\1\45",
1296 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1297 "\3\uffff\77\24\43\uffff\uff4e\24",
1298 "\12\47\7\uffff\6\47\32\uffff\6\47",
1299 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1300 "\3\uffff\77\24\43\uffff\uff4e\24",
1302 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\3\24\10\50\2\24\1\uffff"+
1303 "\1\24\3\uffff\77\24\43\uffff\uff4e\24",
1304 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\3\24\10\51\2\24\1\uffff"+
1305 "\1\24\3\uffff\77\24\43\uffff\uff4e\24",
1306 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1307 "\3\uffff\77\24\43\uffff\uff4e\24",
1308 "\1\53",
1309 "\1\54",
1310 "\1\55",
1311 "\1\56",
1318 "\12\57\7\uffff\6\57\32\uffff\6\57",
1319 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\3\24\10\60\2\24\1\uffff"+
1320 "\1\24\3\uffff\77\24\43\uffff\uff4e\24",
1321 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1322 "\3\uffff\77\24\43\uffff\uff4e\24",
1324 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1325 "\3\uffff\77\24\43\uffff\uff4e\24",
1326 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1327 "\3\uffff\77\24\43\uffff\uff4e\24",
1328 "\1\63",
1329 "\1\64",
1330 "\12\65\7\uffff\6\65\32\uffff\6\65",
1331 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1332 "\3\uffff\77\24\43\uffff\uff4e\24",
1335 "\1\66",
1336 "\1\67",
1337 "\12\70\7\uffff\6\70\32\uffff\6\70",
1338 "\1\71",
1339 "\1\72",
1340 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1341 "\3\uffff\77\24\43\uffff\uff4e\24",
1342 "\1\73",
1343 "\1\74",
1344 "\1\75",
1345 "\1\76",
1346 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1347 "\3\uffff\77\24\43\uffff\uff4e\24",
1348 "\1\24\1\uffff\5\24\2\uffff\2\24\1\uffff\15\24\1\uffff\1\24"+
1349 "\3\uffff\77\24\43\uffff\uff4e\24",
1354 static final short[] DFA9_eot = DFA.unpackEncodedString(DFA9_eotS);
1355 static final short[] DFA9_eof = DFA.unpackEncodedString(DFA9_eofS);
1356 static final char[] DFA9_min = DFA.unpackEncodedStringToUnsignedChars(DFA9_minS);
1357 static final char[] DFA9_max = DFA.unpackEncodedStringToUnsignedChars(DFA9_maxS);
1358 static final short[] DFA9_accept = DFA.unpackEncodedString(DFA9_acceptS);
1359 static final short[] DFA9_special = DFA.unpackEncodedString(DFA9_specialS);
1360 static final short[][] DFA9_transition;
1362 static {
1363 int numStates = DFA9_transitionS.length;
1364 DFA9_transition = new short[numStates][];
1365 for (int i=0; i<numStates; i++) {
1366 DFA9_transition[i] = DFA.unpackEncodedString(DFA9_transitionS[i]);
1370 class DFA9 extends DFA {
1372 public DFA9(BaseRecognizer recognizer) {
1373 this.recognizer = recognizer;
1374 this.decisionNumber = 9;
1375 this.eot = DFA9_eot;
1376 this.eof = DFA9_eof;
1377 this.min = DFA9_min;
1378 this.max = DFA9_max;
1379 this.accept = DFA9_accept;
1380 this.special = DFA9_special;
1381 this.transition = DFA9_transition;
1383 public String getDescription() {
1384 return "1:1: Tokens : ( T__43 | T__44 | T__45 | HAS | OR | AND | NOT | REWRITE | FIX | DISTANCE_FN | GEO_POINT_FN | ESC | WS | LPAREN | RPAREN | LT | GT | GE | LE | NE | EQ | QUOTE | TEXT );";