org.eigenbase.lurql.parser
Class LurqlParser
java.lang.Object
org.eigenbase.lurql.parser.LurqlParser
- All Implemented Interfaces:
- LurqlParserConstants
public class LurqlParser
- extends Object
- implements LurqlParserConstants
Fields inherited from interface org.eigenbase.lurql.parser.LurqlParserConstants |
AND, AS, ASSOCIATION, BACKWARD, CLASS, COMMA, COMPOSITE, D_QUOTED_STRING, DEFAULT, DESTINATION, DIGIT, DQUOTE, END, EOF, EQUALS, EXISTS, FOLLOW, FORWARD, FROM, GATHER, IDENTIFIER, IN, LETTER, LPAREN, LSQUARE, MATCHES, NONCOMPOSITE, NOT, NULL, ORIGIN, PARENT, QMARK, RECURSIVELY, RPAREN, RSQUARE, S_QUOTED_STRING, SELECT, SEMICOLON, SQL_QUERY, SQUOTE, STAR, THEN, tokenImage, UNION, WHERE, WITH |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public LurqlParserTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_ntk
private int jj_ntk
jj_scanpos
private Token jj_scanpos
jj_lastpos
private Token jj_lastpos
jj_la
private int jj_la
lookingAhead
public boolean lookingAhead
jj_semLA
private boolean jj_semLA
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private static int[] jj_la1_0
jj_la1_1
private static int[] jj_la1_1
jj_2_rtns
private final LurqlParser.JJCalls[] jj_2_rtns
jj_rescan
private boolean jj_rescan
jj_gc
private int jj_gc
jj_ls
private final LurqlParser.LookaheadSuccess jj_ls
jj_expentries
private Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
jj_lasttokens
private int[] jj_lasttokens
jj_endpos
private int jj_endpos
LurqlParser
public LurqlParser(InputStream stream)
LurqlParser
public LurqlParser(InputStream stream,
String encoding)
LurqlParser
public LurqlParser(Reader stream)
LurqlParser
public LurqlParser(LurqlParserTokenManager tm)
LurqlQuery
public final LurqlQuery LurqlQuery()
throws ParseException
- Throws:
ParseException
SelectList
public final List SelectList()
throws ParseException
- Throws:
ParseException
IdentifierList
public final List IdentifierList()
throws ParseException
- Throws:
ParseException
Root
public final LurqlQueryNode Root()
throws ParseException
- Throws:
ParseException
WhereClause
public final List WhereClause()
throws ParseException
- Throws:
ParseException
Filter
public final LurqlFilter Filter()
throws ParseException
- Throws:
ParseException
LeafFilter
public final LurqlFilter LeafFilter()
throws ParseException
- Throws:
ParseException
SimpleRoot
public final LurqlRoot SimpleRoot()
throws ParseException
- Throws:
ParseException
CompoundRoot
public final LurqlPathSpec CompoundRoot()
throws ParseException
- Throws:
ParseException
PathSpec
public final LurqlPathSpec PathSpec()
throws ParseException
- Throws:
ParseException
PathBranch
public final LurqlPathBranch PathBranch()
throws ParseException
- Throws:
ParseException
Follow
public final LurqlFollow Follow()
throws ParseException
- Throws:
ParseException
AssociationFilter
public final void AssociationFilter(Map map)
throws ParseException
- Throws:
ParseException
Recurse
public final LurqlRecurse Recurse()
throws ParseException
- Throws:
ParseException
Identifier
public final String Identifier()
throws ParseException
- Throws:
ParseException
StringLiteral
public final String StringLiteral()
throws ParseException
- Throws:
ParseException
NullLiteral
public final Object NullLiteral()
throws ParseException
- Throws:
ParseException
FilterValueList
public final void FilterValueList(Collection collection)
throws ParseException
- Throws:
ParseException
SqlQuery
public final String SqlQuery()
throws ParseException
- Throws:
ParseException
DynamicParameter
public final LurqlDynamicParam DynamicParameter()
throws ParseException
- Throws:
ParseException
FilterValue
public final Object FilterValue()
throws ParseException
- Throws:
ParseException
jj_2_1
private final boolean jj_2_1(int xla)
jj_3R_12
private final boolean jj_3R_12()
jj_3R_10
private final boolean jj_3R_10()
jj_3R_7
private final boolean jj_3R_7()
jj_3R_11
private final boolean jj_3R_11()
jj_3R_9
private final boolean jj_3R_9()
jj_3_1
private final boolean jj_3_1()
jj_3R_8
private final boolean jj_3R_8()
jj_la1_0
private static void jj_la1_0()
jj_la1_1
private static void jj_la1_1()
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(LurqlParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
jj_scan_token
private final boolean jj_scan_token(int kind)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_ntk
private final int jj_ntk()
jj_add_error_token
private void jj_add_error_token(int kind,
int pos)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
jj_rescan_token
private final void jj_rescan_token()
jj_save
private final void jj_save(int index,
int xla)