anl.aida.query
Class Parser
java.lang.Object
anl.aida.query.Parser
- All Implemented Interfaces:
- ParserConstants, ParserTreeConstants
public class Parser
- extends java.lang.Object
- implements ParserTreeConstants, ParserConstants
Fields inherited from interface anl.aida.query.ParserTreeConstants |
JJTADD, JJTAND, JJTCOUNT, JJTDIV, JJTE, JJTEQEQUAL, JJTGREATEREQ, JJTGREATERTHAN, JJTLESSEQ, JJTLESSTHAN, JJTMEAN, JJTMOD, JJTMUL, JJTNEG, jjtNodeName, JJTNOTEQUAL, JJTNUMBER, JJTOR, JJTPI, JJTPOW, JJTSTART, JJTSUBTRACT, JJTVAR, JJTVARLIST, JJTVOID |
Fields inherited from interface anl.aida.query.ParserConstants |
AND, COUNT, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, E, EOF, EQEQUAL, EQGREATER, EQLESS, EXPONENT, FLOAT, GREATER, IDENTIFIER, INTEGER_LITERAL, LESS, LETTER, MEAN, MINUS, MOD, NOT_EQUAL, OR, PI, PLUS, POW, TIMES, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected JJTParserState jjtree
token_source
public ParserTokenManager 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_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_expentries
private java.util.Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
Parser
public Parser(java.io.InputStream stream)
Parser
public Parser(java.io.InputStream stream,
java.lang.String encoding)
Parser
public Parser(java.io.Reader stream)
Parser
public Parser(ParserTokenManager tm)
main
public static void main(java.lang.String[] args)
start
public final ASTstart start()
throws ParseException
- Throws:
ParseException
AndOrExpression
public final void AndOrExpression()
throws ParseException
- Throws:
ParseException
EqualityExpression
public final void EqualityExpression()
throws ParseException
- Throws:
ParseException
RelationalExpression
public final void RelationalExpression()
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final void AdditiveExpression()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final void MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
powExpression
public final void powExpression()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final void UnaryExpression()
throws ParseException
- Throws:
ParseException
Var
public final void Var()
throws ParseException
- Throws:
ParseException
QuotedVar
public final void QuotedVar()
throws ParseException
- Throws:
ParseException
VarList
public final void VarList()
throws ParseException
- Throws:
ParseException
Func
public final void Func()
throws ParseException
- Throws:
ParseException
Number
public final void Number()
throws ParseException
- Throws:
ParseException
jj_la1_0
private static void jj_la1_0()
jj_la1_1
private static void jj_la1_1()
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_ntk
private final int jj_ntk()
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()