3 package com
.google
.appengine
.api
.search
.query
;
5 import org
.antlr
.runtime
.*;
7 public class ExpressionLexer
extends Lexer
{
8 public static final int DOLLAR
=54;
9 public static final int EXPONENT
=49;
10 public static final int LT
=11;
11 public static final int LSQUARE
=23;
12 public static final int ASCII_LETTER
=52;
13 public static final int LOG
=40;
14 public static final int SNIPPET
=44;
15 public static final int OCTAL_ESC
=57;
16 public static final int MAX
=41;
17 public static final int COUNT
=38;
18 public static final int FLOAT
=34;
19 public static final int NAME_START
=50;
20 public static final int HTML
=28;
21 public static final int NOT
=10;
22 public static final int ATOM
=29;
23 public static final int AND
=7;
24 public static final int EOF
=-1;
25 public static final int LPAREN
=21;
26 public static final int INDEX
=5;
27 public static final int QUOTE
=47;
28 public static final int RPAREN
=22;
29 public static final int DISTANCE
=39;
30 public static final int T__58
=58;
31 public static final int NAME
=26;
32 public static final int ESC_SEQ
=48;
33 public static final int POW
=43;
34 public static final int COMMA
=36;
35 public static final int PLUS
=17;
36 public static final int GEO
=32;
37 public static final int DIGIT
=46;
38 public static final int EQ
=15;
39 public static final int NE
=16;
40 public static final int GE
=14;
41 public static final int XOR
=9;
42 public static final int SWITCH
=45;
43 public static final int UNICODE_ESC
=56;
44 public static final int NUMBER
=31;
45 public static final int HEX_DIGIT
=55;
46 public static final int UNDERSCORE
=53;
47 public static final int INT
=24;
48 public static final int MIN
=42;
49 public static final int TEXT
=27;
50 public static final int RSQUARE
=25;
51 public static final int MINUS
=18;
52 public static final int GEOPOINT
=33;
53 public static final int PHRASE
=35;
54 public static final int ABS
=37;
55 public static final int WS
=51;
56 public static final int NEG
=4;
57 public static final int OR
=8;
58 public static final int GT
=13;
59 public static final int DIV
=20;
60 public static final int DATE
=30;
61 public static final int TIMES
=19;
62 public static final int COND
=6;
63 public static final int LE
=12;
65 public ExpressionLexer() {;}
66 public ExpressionLexer(CharStream input
) {
67 this(input
, new RecognizerSharedState());
69 public ExpressionLexer(CharStream input
, RecognizerSharedState state
) {
73 public String
getGrammarFileName() { return ""; }
75 public final void mT__58() throws RecognitionException
{
78 int _channel
= DEFAULT_TOKEN_CHANNEL
;
85 state
.channel
= _channel
;
91 public final void mABS() throws RecognitionException
{
94 int _channel
= DEFAULT_TOKEN_CHANNEL
;
101 state
.channel
= _channel
;
107 public final void mCOUNT() throws RecognitionException
{
110 int _channel
= DEFAULT_TOKEN_CHANNEL
;
117 state
.channel
= _channel
;
123 public final void mDISTANCE() throws RecognitionException
{
125 int _type
= DISTANCE
;
126 int _channel
= DEFAULT_TOKEN_CHANNEL
;
133 state
.channel
= _channel
;
139 public final void mGEOPOINT() throws RecognitionException
{
141 int _type
= GEOPOINT
;
142 int _channel
= DEFAULT_TOKEN_CHANNEL
;
149 state
.channel
= _channel
;
155 public final void mLOG() throws RecognitionException
{
158 int _channel
= DEFAULT_TOKEN_CHANNEL
;
165 state
.channel
= _channel
;
171 public final void mMAX() throws RecognitionException
{
174 int _channel
= DEFAULT_TOKEN_CHANNEL
;
181 state
.channel
= _channel
;
187 public final void mMIN() throws RecognitionException
{
190 int _channel
= DEFAULT_TOKEN_CHANNEL
;
197 state
.channel
= _channel
;
203 public final void mPOW() throws RecognitionException
{
206 int _channel
= DEFAULT_TOKEN_CHANNEL
;
213 state
.channel
= _channel
;
219 public final void mAND() throws RecognitionException
{
222 int _channel
= DEFAULT_TOKEN_CHANNEL
;
229 state
.channel
= _channel
;
235 public final void mOR() throws RecognitionException
{
238 int _channel
= DEFAULT_TOKEN_CHANNEL
;
245 state
.channel
= _channel
;
251 public final void mXOR() throws RecognitionException
{
254 int _channel
= DEFAULT_TOKEN_CHANNEL
;
261 state
.channel
= _channel
;
267 public final void mNOT() throws RecognitionException
{
270 int _channel
= DEFAULT_TOKEN_CHANNEL
;
277 state
.channel
= _channel
;
283 public final void mSNIPPET() throws RecognitionException
{
286 int _channel
= DEFAULT_TOKEN_CHANNEL
;
293 state
.channel
= _channel
;
299 public final void mSWITCH() throws RecognitionException
{
302 int _channel
= DEFAULT_TOKEN_CHANNEL
;
309 state
.channel
= _channel
;
315 public final void mTEXT() throws RecognitionException
{
318 int _channel
= DEFAULT_TOKEN_CHANNEL
;
325 state
.channel
= _channel
;
331 public final void mHTML() throws RecognitionException
{
334 int _channel
= DEFAULT_TOKEN_CHANNEL
;
341 state
.channel
= _channel
;
347 public final void mATOM() throws RecognitionException
{
350 int _channel
= DEFAULT_TOKEN_CHANNEL
;
357 state
.channel
= _channel
;
363 public final void mDATE() throws RecognitionException
{
366 int _channel
= DEFAULT_TOKEN_CHANNEL
;
373 state
.channel
= _channel
;
379 public final void mNUMBER() throws RecognitionException
{
382 int _channel
= DEFAULT_TOKEN_CHANNEL
;
389 state
.channel
= _channel
;
395 public final void mGEO() throws RecognitionException
{
398 int _channel
= DEFAULT_TOKEN_CHANNEL
;
405 state
.channel
= _channel
;
411 public final void mINT() throws RecognitionException
{
414 int _channel
= DEFAULT_TOKEN_CHANNEL
;
420 int LA1_0
= input
.LA(1);
422 if ( ((LA1_0
>='0' && LA1_0
<='9')) ) {
435 if ( cnt1
>= 1 ) break loop1
;
436 EarlyExitException eee
=
437 new EarlyExitException(1, input
);
446 state
.channel
= _channel
;
452 public final void mPHRASE() throws RecognitionException
{
455 int _channel
= DEFAULT_TOKEN_CHANNEL
;
461 int LA2_0
= input
.LA(1);
463 if ( (LA2_0
=='\\') ) {
466 else if ( ((LA2_0
>='\u0000' && LA2_0
<='!')||(LA2_0
>='#' && LA2_0
<='[')||(LA2_0
>=']' && LA2_0
<='\uFFFF')) ) {
479 if ( (input
.LA(1)>='\u0000' && input
.LA(1)<='!')||(input
.LA(1)>='#' && input
.LA(1)<='[')||(input
.LA(1)>=']' && input
.LA(1)<='\uFFFF') ) {
484 MismatchedSetException mse
= new MismatchedSetException(null,input
);
501 state
.channel
= _channel
;
507 public final void mFLOAT() throws RecognitionException
{
510 int _channel
= DEFAULT_TOKEN_CHANNEL
;
512 alt9
= dfa9
.predict(input
);
520 int LA3_0
= input
.LA(1);
522 if ( ((LA3_0
>='0' && LA3_0
<='9')) ) {
535 if ( cnt3
>= 1 ) break loop3
;
536 EarlyExitException eee
=
537 new EarlyExitException(3, input
);
547 int LA4_0
= input
.LA(1);
549 if ( ((LA4_0
>='0' && LA4_0
<='9')) ) {
567 int LA5_0
= input
.LA(1);
569 if ( (LA5_0
=='E'||LA5_0
=='e') ) {
591 int LA6_0
= input
.LA(1);
593 if ( ((LA6_0
>='0' && LA6_0
<='9')) ) {
606 if ( cnt6
>= 1 ) break loop6
;
607 EarlyExitException eee
=
608 new EarlyExitException(6, input
);
615 int LA7_0
= input
.LA(1);
617 if ( (LA7_0
=='E'||LA7_0
=='e') ) {
638 int LA8_0
= input
.LA(1);
640 if ( ((LA8_0
>='0' && LA8_0
<='9')) ) {
653 if ( cnt8
>= 1 ) break loop8
;
654 EarlyExitException eee
=
655 new EarlyExitException(8, input
);
668 state
.channel
= _channel
;
674 public final void mNAME() throws RecognitionException
{
677 int _channel
= DEFAULT_TOKEN_CHANNEL
;
683 int LA10_0
= input
.LA(1);
685 if ( (LA10_0
=='$'||(LA10_0
>='0' && LA10_0
<='9')||(LA10_0
>='A' && LA10_0
<='Z')||LA10_0
=='_'||(LA10_0
>='a' && LA10_0
<='z')) ) {
692 if ( input
.LA(1)=='$'||(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') ) {
697 MismatchedSetException mse
= new MismatchedSetException(null,input
);
712 state
.channel
= _channel
;
718 public final void mLPAREN() throws RecognitionException
{
721 int _channel
= DEFAULT_TOKEN_CHANNEL
;
728 state
.channel
= _channel
;
734 public final void mRPAREN() throws RecognitionException
{
737 int _channel
= DEFAULT_TOKEN_CHANNEL
;
744 state
.channel
= _channel
;
750 public final void mLSQUARE() throws RecognitionException
{
753 int _channel
= DEFAULT_TOKEN_CHANNEL
;
760 state
.channel
= _channel
;
766 public final void mRSQUARE() throws RecognitionException
{
769 int _channel
= DEFAULT_TOKEN_CHANNEL
;
776 state
.channel
= _channel
;
782 public final void mPLUS() throws RecognitionException
{
785 int _channel
= DEFAULT_TOKEN_CHANNEL
;
792 state
.channel
= _channel
;
798 public final void mMINUS() throws RecognitionException
{
801 int _channel
= DEFAULT_TOKEN_CHANNEL
;
808 state
.channel
= _channel
;
814 public final void mTIMES() throws RecognitionException
{
817 int _channel
= DEFAULT_TOKEN_CHANNEL
;
824 state
.channel
= _channel
;
830 public final void mDIV() throws RecognitionException
{
833 int _channel
= DEFAULT_TOKEN_CHANNEL
;
840 state
.channel
= _channel
;
846 public final void mLT() throws RecognitionException
{
849 int _channel
= DEFAULT_TOKEN_CHANNEL
;
856 state
.channel
= _channel
;
862 public final void mLE() throws RecognitionException
{
865 int _channel
= DEFAULT_TOKEN_CHANNEL
;
872 state
.channel
= _channel
;
878 public final void mGT() throws RecognitionException
{
881 int _channel
= DEFAULT_TOKEN_CHANNEL
;
888 state
.channel
= _channel
;
894 public final void mGE() throws RecognitionException
{
897 int _channel
= DEFAULT_TOKEN_CHANNEL
;
904 state
.channel
= _channel
;
910 public final void mEQ() throws RecognitionException
{
913 int _channel
= DEFAULT_TOKEN_CHANNEL
;
920 state
.channel
= _channel
;
926 public final void mNE() throws RecognitionException
{
929 int _channel
= DEFAULT_TOKEN_CHANNEL
;
936 state
.channel
= _channel
;
942 public final void mCOND() throws RecognitionException
{
945 int _channel
= DEFAULT_TOKEN_CHANNEL
;
952 state
.channel
= _channel
;
958 public final void mQUOTE() throws RecognitionException
{
961 int _channel
= DEFAULT_TOKEN_CHANNEL
;
968 state
.channel
= _channel
;
974 public final void mCOMMA() throws RecognitionException
{
977 int _channel
= DEFAULT_TOKEN_CHANNEL
;
984 state
.channel
= _channel
;
990 public final void mWS() throws RecognitionException
{
993 int _channel
= DEFAULT_TOKEN_CHANNEL
;
999 int LA11_0
= input
.LA(1);
1001 if ( ((LA11_0
>='\t' && LA11_0
<='\n')||LA11_0
=='\r'||LA11_0
==' ') ) {
1008 if ( (input
.LA(1)>='\t' && input
.LA(1)<='\n')||input
.LA(1)=='\r'||input
.LA(1)==' ' ) {
1013 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1021 if ( cnt11
>= 1 ) break loop11
;
1022 EarlyExitException eee
=
1023 new EarlyExitException(11, input
);
1034 state
.channel
= _channel
;
1040 public final void mEXPONENT() throws RecognitionException
{
1043 if ( input
.LA(1)=='E'||input
.LA(1)=='e' ) {
1048 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1053 int LA12_0
= input
.LA(1);
1055 if ( (LA12_0
=='+'||LA12_0
=='-') ) {
1061 if ( input
.LA(1)=='+'||input
.LA(1)=='-' ) {
1066 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1079 int LA13_0
= input
.LA(1);
1081 if ( ((LA13_0
>='0' && LA13_0
<='9')) ) {
1094 if ( cnt13
>= 1 ) break loop13
;
1095 EarlyExitException eee
=
1096 new EarlyExitException(13, input
);
1109 public final void mNAME_START() throws RecognitionException
{
1112 if ( input
.LA(1)=='$'||(input
.LA(1)>='A' && input
.LA(1)<='Z')||input
.LA(1)=='_'||(input
.LA(1)>='a' && input
.LA(1)<='z') ) {
1117 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1128 public final void mASCII_LETTER() throws RecognitionException
{
1131 if ( (input
.LA(1)>='A' && input
.LA(1)<='Z')||(input
.LA(1)>='a' && input
.LA(1)<='z') ) {
1136 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1147 public final void mDIGIT() throws RecognitionException
{
1150 matchRange('0','9');
1159 public final void mDOLLAR() throws RecognitionException
{
1171 public final void mUNDERSCORE() throws RecognitionException
{
1183 public final void mHEX_DIGIT() throws RecognitionException
{
1186 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') ) {
1191 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1202 public final void mESC_SEQ() throws RecognitionException
{
1205 int LA14_0
= input
.LA(1);
1207 if ( (LA14_0
=='\\') ) {
1208 switch ( input
.LA(2) ) {
1239 NoViableAltException nvae
=
1240 new NoViableAltException("", 14, 1, input
);
1247 NoViableAltException nvae
=
1248 new NoViableAltException("", 14, 0, input
);
1256 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' ) {
1261 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1286 public final void mOCTAL_ESC() throws RecognitionException
{
1289 int LA15_0
= input
.LA(1);
1291 if ( (LA15_0
=='\\') ) {
1292 int LA15_1
= input
.LA(2);
1294 if ( ((LA15_1
>='0' && LA15_1
<='3')) ) {
1295 int LA15_2
= input
.LA(3);
1297 if ( ((LA15_2
>='0' && LA15_2
<='7')) ) {
1298 int LA15_4
= input
.LA(4);
1300 if ( ((LA15_4
>='0' && LA15_4
<='7')) ) {
1309 else if ( ((LA15_1
>='4' && LA15_1
<='7')) ) {
1310 int LA15_3
= input
.LA(3);
1312 if ( ((LA15_3
>='0' && LA15_3
<='7')) ) {
1319 NoViableAltException nvae
=
1320 new NoViableAltException("", 15, 1, input
);
1326 NoViableAltException nvae
=
1327 new NoViableAltException("", 15, 0, input
);
1336 matchRange('0','3');
1341 matchRange('0','7');
1346 matchRange('0','7');
1356 matchRange('0','7');
1361 matchRange('0','7');
1371 matchRange('0','7');
1384 public final void mUNICODE_ESC() throws RecognitionException
{
1401 public void mTokens() throws RecognitionException
{
1403 alt16
= dfa16
.predict(input
);
1668 protected DFA9 dfa9
= new DFA9(this);
1669 protected DFA16 dfa16
= new DFA16(this);
1670 static final String DFA9_eotS
=
1672 static final String DFA9_eofS
=
1674 static final String DFA9_minS
=
1676 static final String DFA9_maxS
=
1677 "\1\71\1\145\3\uffff";
1678 static final String DFA9_acceptS
=
1679 "\2\uffff\1\2\1\1\1\3";
1680 static final String DFA9_specialS
=
1682 static final String
[] DFA9_transitionS
= {
1683 "\1\2\1\uffff\12\1",
1684 "\1\3\1\uffff\12\1\13\uffff\1\4\37\uffff\1\4",
1690 static final short[] DFA9_eot
= DFA
.unpackEncodedString(DFA9_eotS
);
1691 static final short[] DFA9_eof
= DFA
.unpackEncodedString(DFA9_eofS
);
1692 static final char[] DFA9_min
= DFA
.unpackEncodedStringToUnsignedChars(DFA9_minS
);
1693 static final char[] DFA9_max
= DFA
.unpackEncodedStringToUnsignedChars(DFA9_maxS
);
1694 static final short[] DFA9_accept
= DFA
.unpackEncodedString(DFA9_acceptS
);
1695 static final short[] DFA9_special
= DFA
.unpackEncodedString(DFA9_specialS
);
1696 static final short[][] DFA9_transition
;
1699 int numStates
= DFA9_transitionS
.length
;
1700 DFA9_transition
= new short[numStates
][];
1701 for (int i
=0; i
<numStates
; i
++) {
1702 DFA9_transition
[i
] = DFA
.unpackEncodedString(DFA9_transitionS
[i
]);
1706 class DFA9
extends DFA
{
1708 public DFA9(BaseRecognizer recognizer
) {
1709 this.recognizer
= recognizer
;
1710 this.decisionNumber
= 9;
1711 this.eot
= DFA9_eot
;
1712 this.eof
= DFA9_eof
;
1713 this.min
= DFA9_min
;
1714 this.max
= DFA9_max
;
1715 this.accept
= DFA9_accept
;
1716 this.special
= DFA9_special
;
1717 this.transition
= DFA9_transition
;
1719 public String
getDescription() {
1720 return "261:1: FLOAT : ( ( DIGIT )+ '.' ( DIGIT )* ( EXPONENT )? | '.' ( DIGIT )+ ( EXPONENT )? | ( DIGIT )+ EXPONENT );";
1723 static final String DFA16_eotS
=
1724 "\1\uffff\1\43\17\23\1\70\1\71\11\uffff\1\74\1\76\7\uffff\13\23\1"+
1725 "\112\7\23\7\uffff\1\122\4\23\1\130\1\131\1\132\1\133\1\134\1\135"+
1726 "\1\uffff\1\136\1\137\5\23\1\uffff\1\145\2\23\1\150\1\23\10\uffff"+
1727 "\2\23\1\154\1\155\1\23\1\uffff\1\157\1\23\1\uffff\3\23\2\uffff\1"+
1728 "\23\1\uffff\3\23\1\170\1\171\2\23\1\174\2\uffff\1\175\1\176\3\uffff";
1729 static final String DFA16_eofS
=
1731 static final String DFA16_minS
=
1732 "\1\11\1\60\1\142\1\157\1\141\1\145\1\157\1\141\1\157\1\116\1\122"+
1733 "\2\117\1\156\1\145\1\164\1\165\1\56\1\0\11\uffff\2\75\7\uffff\1"+
1734 "\163\1\157\1\165\1\163\1\164\1\157\1\147\1\170\1\156\1\167\1\104"+
1735 "\1\44\1\122\1\124\2\151\1\170\2\155\7\uffff\1\44\1\155\1\156\1\164"+
1736 "\1\145\6\44\1\uffff\2\44\1\160\2\164\1\154\1\142\1\uffff\1\44\1"+
1737 "\164\1\141\1\44\1\157\10\uffff\1\160\1\143\2\44\1\145\1\uffff\1"+
1738 "\44\1\156\1\uffff\1\151\1\145\1\150\2\uffff\1\162\1\uffff\1\143"+
1739 "\1\156\1\164\2\44\1\145\1\164\1\44\2\uffff\2\44\3\uffff";
1740 static final String DFA16_maxS
=
1741 "\1\172\1\71\1\164\1\157\1\151\1\145\1\157\1\151\1\157\1\116\1\122"+
1742 "\2\117\1\167\1\145\1\164\1\165\1\145\1\uffff\11\uffff\2\75\7\uffff"+
1743 "\1\163\1\157\1\165\1\163\1\164\1\157\1\147\1\170\1\156\1\167\1\104"+
1744 "\1\172\1\122\1\124\2\151\1\170\2\155\7\uffff\1\172\1\155\1\156\1"+
1745 "\164\1\145\6\172\1\uffff\2\172\1\160\2\164\1\154\1\142\1\uffff\1"+
1746 "\172\1\164\1\141\1\172\1\157\10\uffff\1\160\1\143\2\172\1\145\1"+
1747 "\uffff\1\172\1\156\1\uffff\1\151\1\145\1\150\2\uffff\1\162\1\uffff"+
1748 "\1\143\1\156\1\164\2\172\1\145\1\164\1\172\2\uffff\2\172\3\uffff";
1749 static final String DFA16_acceptS
=
1750 "\23\uffff\1\31\1\32\1\33\1\34\1\35\1\36\1\37\1\40\1\41\2\uffff\1"+
1751 "\46\1\47\1\50\1\52\1\53\1\1\1\30\23\uffff\1\26\1\51\1\27\1\43\1"+
1752 "\42\1\45\1\44\13\uffff\1\13\7\uffff\1\2\5\uffff\1\25\1\6\1\7\1\10"+
1753 "\1\11\1\12\1\14\1\15\5\uffff\1\22\2\uffff\1\23\3\uffff\1\20\1\21"+
1754 "\1\uffff\1\3\10\uffff\1\17\1\24\2\uffff\1\16\1\4\1\5";
1755 static final String DFA16_specialS
=
1756 "\22\uffff\1\0\154\uffff}>";
1757 static final String
[] DFA16_transitionS
= {
1758 "\2\42\2\uffff\1\42\22\uffff\1\42\1\37\1\22\1\uffff\1\23\3\uffff"+
1759 "\1\24\1\25\1\32\1\30\1\41\1\31\1\1\1\33\12\21\2\uffff\1\34\1"+
1760 "\36\1\35\1\40\1\uffff\1\11\14\23\1\14\1\12\10\23\1\13\2\23\1"+
1761 "\26\1\uffff\1\27\1\uffff\1\23\1\uffff\1\2\1\23\1\3\1\4\2\23"+
1762 "\1\5\1\17\3\23\1\6\1\7\1\20\1\23\1\10\2\23\1\15\1\16\6\23",
1764 "\1\45\21\uffff\1\46",
1766 "\1\51\7\uffff\1\50",
1769 "\1\54\7\uffff\1\55",
1775 "\1\63\10\uffff\1\64",
1779 "\1\44\1\uffff\12\21\13\uffff\1\44\37\uffff\1\44",
1810 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1826 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1832 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\17"+
1834 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1836 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1838 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1840 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1842 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1845 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1847 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1855 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1859 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1872 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1874 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1878 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1892 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1894 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1898 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1902 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1904 "\1\23\13\uffff\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32"+
1911 static final short[] DFA16_eot
= DFA
.unpackEncodedString(DFA16_eotS
);
1912 static final short[] DFA16_eof
= DFA
.unpackEncodedString(DFA16_eofS
);
1913 static final char[] DFA16_min
= DFA
.unpackEncodedStringToUnsignedChars(DFA16_minS
);
1914 static final char[] DFA16_max
= DFA
.unpackEncodedStringToUnsignedChars(DFA16_maxS
);
1915 static final short[] DFA16_accept
= DFA
.unpackEncodedString(DFA16_acceptS
);
1916 static final short[] DFA16_special
= DFA
.unpackEncodedString(DFA16_specialS
);
1917 static final short[][] DFA16_transition
;
1920 int numStates
= DFA16_transitionS
.length
;
1921 DFA16_transition
= new short[numStates
][];
1922 for (int i
=0; i
<numStates
; i
++) {
1923 DFA16_transition
[i
] = DFA
.unpackEncodedString(DFA16_transitionS
[i
]);
1927 class DFA16
extends DFA
{
1929 public DFA16(BaseRecognizer recognizer
) {
1930 this.recognizer
= recognizer
;
1931 this.decisionNumber
= 16;
1932 this.eot
= DFA16_eot
;
1933 this.eof
= DFA16_eof
;
1934 this.min
= DFA16_min
;
1935 this.max
= DFA16_max
;
1936 this.accept
= DFA16_accept
;
1937 this.special
= DFA16_special
;
1938 this.transition
= DFA16_transition
;
1940 public String
getDescription() {
1941 return "1:1: Tokens : ( T__58 | ABS | COUNT | DISTANCE | GEOPOINT | LOG | MAX | MIN | POW | AND | OR | XOR | NOT | SNIPPET | SWITCH | TEXT | HTML | ATOM | DATE | NUMBER | GEO | INT | PHRASE | FLOAT | NAME | LPAREN | RPAREN | LSQUARE | RSQUARE | PLUS | MINUS | TIMES | DIV | LT | LE | GT | GE | EQ | NE | COND | QUOTE | COMMA | WS );";
1943 public int specialStateTransition(int s
, IntStream _input
) throws NoViableAltException
{
1944 IntStream input
= _input
;
1948 int LA16_18
= input
.LA(1);
1951 if ( ((LA16_18
>='\u0000' && LA16_18
<='\uFFFF')) ) {s
= 58;}
1955 if ( s
>=0 ) return s
;
1958 NoViableAltException nvae
=
1959 new NoViableAltException(getDescription(), 16, _s
, input
);