// $ANTLR 3.1.1 C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g 2014-10-16 21:07:36
package com.google.gwtorm.schema;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
public class QueryLexer extends Lexer {
public static final int LT=8;
public static final int LIMIT=18;
public static final int DESC=17;
public static final int ORDER=5;
public static final int ASC=16;
public static final int BY=6;
public static final int ID=13;
public static final int WS=24;
public static final int EOF=-1;
public static final int GE=11;
public static final int COMMA=15;
public static final int DOT=23;
public static final int TRUE=21;
public static final int CONSTANT_STRING=20;
public static final int WHERE=4;
public static final int EQ=12;
public static final int GT=10;
public static final int PLACEHOLDER=14;
public static final int CONSTANT_INTEGER=19;
public static final int AND=7;
public static final int LE=9;
public static final int FALSE=22;
public void displayRecognitionError(String[] tokenNames,
RecognitionException e) {
String hdr = getErrorHeader(e);
String msg = getErrorMessage(e, tokenNames);
throw new QueryParseInternalException(hdr + " " + msg);
}
// delegates
// delegators
public QueryLexer() {;}
public QueryLexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public QueryLexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
public String getGrammarFileName() { return "C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g"; }
// $ANTLR start "WHERE"
public final void mWHERE() throws RecognitionException {
try {
int _type = WHERE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:211:6: ( 'WHERE' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:211:8: 'WHERE'
{
match("WHERE");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "WHERE"
// $ANTLR start "ORDER"
public final void mORDER() throws RecognitionException {
try {
int _type = ORDER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:212:6: ( 'ORDER' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:212:8: 'ORDER'
{
match("ORDER");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ORDER"
// $ANTLR start "BY"
public final void mBY() throws RecognitionException {
try {
int _type = BY;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:213:3: ( 'BY' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:213:8: 'BY'
{
match("BY");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "BY"
// $ANTLR start "AND"
public final void mAND() throws RecognitionException {
try {
int _type = AND;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:214:4: ( 'AND' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:214:8: 'AND'
{
match("AND");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "AND"
// $ANTLR start "ASC"
public final void mASC() throws RecognitionException {
try {
int _type = ASC;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:215:4: ( 'ASC' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:215:8: 'ASC'
{
match("ASC");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ASC"
// $ANTLR start "DESC"
public final void mDESC() throws RecognitionException {
try {
int _type = DESC;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:216:5: ( 'DESC' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:216:8: 'DESC'
{
match("DESC");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "DESC"
// $ANTLR start "LIMIT"
public final void mLIMIT() throws RecognitionException {
try {
int _type = LIMIT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:217:6: ( 'LIMIT' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:217:8: 'LIMIT'
{
match("LIMIT");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "LIMIT"
// $ANTLR start "TRUE"
public final void mTRUE() throws RecognitionException {
try {
int _type = TRUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:218:5: ( 'true' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:218:8: 'true'
{
match("true");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "TRUE"
// $ANTLR start "FALSE"
public final void mFALSE() throws RecognitionException {
try {
int _type = FALSE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:219:6: ( 'false' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:219:8: 'false'
{
match("false");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "FALSE"
// $ANTLR start "LT"
public final void mLT() throws RecognitionException {
try {
int _type = LT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:221:4: ( '<' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:221:6: '<'
{
match('<');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "LT"
// $ANTLR start "LE"
public final void mLE() throws RecognitionException {
try {
int _type = LE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:222:4: ( '<=' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:222:6: '<='
{
match("<=");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "LE"
// $ANTLR start "GT"
public final void mGT() throws RecognitionException {
try {
int _type = GT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:223:4: ( '>' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:223:6: '>'
{
match('>');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "GT"
// $ANTLR start "GE"
public final void mGE() throws RecognitionException {
try {
int _type = GE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:224:4: ( '>=' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:224:6: '>='
{
match(">=");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "GE"
// $ANTLR start "EQ"
public final void mEQ() throws RecognitionException {
try {
int _type = EQ;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:225:4: ( '=' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:225:6: '='
{
match('=');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "EQ"
// $ANTLR start "PLACEHOLDER"
public final void mPLACEHOLDER() throws RecognitionException {
try {
int _type = PLACEHOLDER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:227:12: ( '?' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:227:14: '?'
{
match('?');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "PLACEHOLDER"
// $ANTLR start "COMMA"
public final void mCOMMA() throws RecognitionException {
try {
int _type = COMMA;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:228:6: ( ',' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:228:8: ','
{
match(',');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "COMMA"
// $ANTLR start "DOT"
public final void mDOT() throws RecognitionException {
try {
int _type = DOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:229:4: ( '.' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:229:6: '.'
{
match('.');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "DOT"
// $ANTLR start "CONSTANT_INTEGER"
public final void mCONSTANT_INTEGER() throws RecognitionException {
try {
int _type = CONSTANT_INTEGER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:232:3: ( '0' | '1' .. '9' ( '0' .. '9' )* )
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0=='0') ) {
alt2=1;
}
else if ( ((LA2_0>='1' && LA2_0<='9')) ) {
alt2=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 2, 0, input);
throw nvae;
}
switch (alt2) {
case 1 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:232:5: '0'
{
match('0');
}
break;
case 2 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:233:5: '1' .. '9' ( '0' .. '9' )*
{
matchRange('1','9');
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:233:14: ( '0' .. '9' )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( ((LA1_0>='0' && LA1_0<='9')) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:233:15: '0' .. '9'
{
matchRange('0','9');
}
break;
default :
break loop1;
}
} while (true);
}
break;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "CONSTANT_INTEGER"
// $ANTLR start "CONSTANT_STRING"
public final void mCONSTANT_STRING() throws RecognitionException {
try {
int _type = CONSTANT_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:237:3: ( '\\'' (~ ( '\\'' ) )* '\\'' )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:237:5: '\\'' (~ ( '\\'' ) )* '\\''
{
match('\'');
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:237:10: (~ ( '\\'' ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='\uFFFF')) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:237:12: ~ ( '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;}
}
break;
default :
break loop3;
}
} while (true);
match('\'');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "CONSTANT_STRING"
// $ANTLR start "ID"
public final void mID() throws RecognitionException {
try {
int _type = ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:241:3: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:241:5: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;}
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:241:29: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:
{
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') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;}
}
break;
default :
break loop4;
}
} while (true);
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ID"
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:245:3: ( ( ' ' | '\\r' | '\\t' | '\\n' ) )
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:245:6: ( ' ' | '\\r' | '\\t' | '\\n' )
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;}
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "WS"
public void mTokens() throws RecognitionException {
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:8: ( WHERE | ORDER | BY | AND | ASC | DESC | LIMIT | TRUE | FALSE | LT | LE | GT | GE | EQ | PLACEHOLDER | COMMA | DOT | CONSTANT_INTEGER | CONSTANT_STRING | ID | WS )
int alt5=21;
alt5 = dfa5.predict(input);
switch (alt5) {
case 1 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:10: WHERE
{
mWHERE();
}
break;
case 2 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:16: ORDER
{
mORDER();
}
break;
case 3 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:22: BY
{
mBY();
}
break;
case 4 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:25: AND
{
mAND();
}
break;
case 5 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:29: ASC
{
mASC();
}
break;
case 6 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:33: DESC
{
mDESC();
}
break;
case 7 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:38: LIMIT
{
mLIMIT();
}
break;
case 8 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:44: TRUE
{
mTRUE();
}
break;
case 9 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:49: FALSE
{
mFALSE();
}
break;
case 10 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:55: LT
{
mLT();
}
break;
case 11 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:58: LE
{
mLE();
}
break;
case 12 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:61: GT
{
mGT();
}
break;
case 13 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:64: GE
{
mGE();
}
break;
case 14 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:67: EQ
{
mEQ();
}
break;
case 15 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:70: PLACEHOLDER
{
mPLACEHOLDER();
}
break;
case 16 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:82: COMMA
{
mCOMMA();
}
break;
case 17 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:88: DOT
{
mDOT();
}
break;
case 18 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:92: CONSTANT_INTEGER
{
mCONSTANT_INTEGER();
}
break;
case 19 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:109: CONSTANT_STRING
{
mCONSTANT_STRING();
}
break;
case 20 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:125: ID
{
mID();
}
break;
case 21 :
// C:\\Evening-IDE\\libraries\\google.gwtorm\\src\\main\\antlr\\com\\google\\gwtorm\\schema\\Query.g:1:128: WS
{
mWS();
}
break;
}
}
protected DFA5 dfa5 = new DFA5(this);
static final String DFA5_eotS =
"\1\uffff\10\21\1\35\1\37\10\uffff\2\21\1\42\6\21\4\uffff\2\21\1"+
"\uffff\1\53\1\54\6\21\2\uffff\1\63\1\21\1\65\1\21\1\67\1\70\1\uffff"+
"\1\71\1\uffff\1\72\4\uffff";
static final String DFA5_eofS =
"\73\uffff";
static final String DFA5_minS =
"\1\11\1\110\1\122\1\131\1\116\1\105\1\111\1\162\1\141\2\75\10\uffff"+
"\1\105\1\104\1\60\1\104\1\103\1\123\1\115\1\165\1\154\4\uffff\1"+
"\122\1\105\1\uffff\2\60\1\103\1\111\1\145\1\163\1\105\1\122\2\uffff"+
"\1\60\1\124\1\60\1\145\2\60\1\uffff\1\60\1\uffff\1\60\4\uffff";
static final String DFA5_maxS =
"\1\172\1\110\1\122\1\131\1\123\1\105\1\111\1\162\1\141\2\75\10"+
"\uffff\1\105\1\104\1\172\1\104\1\103\1\123\1\115\1\165\1\154\4\uffff"+
"\1\122\1\105\1\uffff\2\172\1\103\1\111\1\145\1\163\1\105\1\122\2"+
"\uffff\1\172\1\124\1\172\1\145\2\172\1\uffff\1\172\1\uffff\1\172"+
"\4\uffff";
static final String DFA5_acceptS =
"\13\uffff\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\11\uffff\1\13"+
"\1\12\1\15\1\14\2\uffff\1\3\10\uffff\1\4\1\5\6\uffff\1\6\1\uffff"+
"\1\10\1\uffff\1\1\1\2\1\7\1\11";
static final String DFA5_specialS =
"\73\uffff}>";
static final String[] DFA5_transitionS = {
"\2\22\2\uffff\1\22\22\uffff\1\22\6\uffff\1\20\4\uffff\1\15"+
"\1\uffff\1\16\1\uffff\12\17\2\uffff\1\11\1\13\1\12\1\14\1\uffff"+
"\1\4\1\3\1\21\1\5\7\21\1\6\2\21\1\2\7\21\1\1\3\21\4\uffff\1"+
"\21\1\uffff\5\21\1\10\15\21\1\7\6\21",
"\1\23",
"\1\24",
"\1\25",
"\1\26\4\uffff\1\27",
"\1\30",
"\1\31",
"\1\32",
"\1\33",
"\1\34",
"\1\36",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\40",
"\1\41",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\1\43",
"\1\44",
"\1\45",
"\1\46",
"\1\47",
"\1\50",
"",
"",
"",
"",
"\1\51",
"\1\52",
"",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\1\55",
"\1\56",
"\1\57",
"\1\60",
"\1\61",
"\1\62",
"",
"",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\1\64",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\1\66",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"",
"\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21",
"",
"",
"",
""
};
static final short[] DFA5_eot = DFA.unpackEncodedString(DFA5_eotS);
static final short[] DFA5_eof = DFA.unpackEncodedString(DFA5_eofS);
static final char[] DFA5_min = DFA.unpackEncodedStringToUnsignedChars(DFA5_minS);
static final char[] DFA5_max = DFA.unpackEncodedStringToUnsignedChars(DFA5_maxS);
static final short[] DFA5_accept = DFA.unpackEncodedString(DFA5_acceptS);
static final short[] DFA5_special = DFA.unpackEncodedString(DFA5_specialS);
static final short[][] DFA5_transition;
static {
int numStates = DFA5_transitionS.length;
DFA5_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA5_transition[i] = DFA.unpackEncodedString(DFA5_transitionS[i]);
}
}
class DFA5 extends DFA {
public DFA5(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 5;
this.eot = DFA5_eot;
this.eof = DFA5_eof;
this.min = DFA5_min;
this.max = DFA5_max;
this.accept = DFA5_accept;
this.special = DFA5_special;
this.transition = DFA5_transition;
}
public String getDescription() {
return "1:1: Tokens : ( WHERE | ORDER | BY | AND | ASC | DESC | LIMIT | TRUE | FALSE | LT | LE | GT | GE | EQ | PLACEHOLDER | COMMA | DOT | CONSTANT_INTEGER | CONSTANT_STRING | ID | WS );";
}
}
}