|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.expression.ast.ExpressionParser
Field Summary | |
Token |
jj_nt
|
boolean |
lookingAhead
|
Token |
token
|
ExpressionParserTokenManager |
token_source
|
Fields inherited from interface org.codehaus.aspectwerkz.definition.expression.ast.ExpressionParserTreeConstants |
JJTANDNODE, JJTBOOLEANLITERAL, JJTEXPRESSIONSCRIPT, JJTFALSENODE, JJTIDENTIFIER, JJTINNODE, jjtNodeName, JJTNOTINNODE, JJTNOTNODE, JJTORNODE, JJTTRUENODE, JJTVOID |
Fields inherited from interface org.codehaus.aspectwerkz.definition.expression.ast.ExpressionParserConstants |
AND, DEFAULT, DIGIT, EOF, IDENTIFIER, IN, LETTER, NOT, OR, tokenImage |
Constructor Summary | |
ExpressionParser(ExpressionParserTokenManager tm)
|
|
ExpressionParser(java.io.InputStream stream)
|
|
ExpressionParser(java.io.Reader stream)
|
Method Summary | |
void |
AndExpression()
And |
void |
BooleanLiteral()
Boolean literal - only lower case is supported for now |
void |
disable_tracing()
|
void |
enable_tracing()
|
void |
Expression()
Expression NOT > AND > OR priority |
SimpleNode |
ExpressionScript()
Syntax entry |
ParseException |
generateParseException()
|
Token |
getNextToken()
|
Token |
getToken(int index)
|
void |
Identifier()
Identifier |
SimpleNode |
parse(java.io.Reader reader)
|
SimpleNode |
parse(java.lang.String expression)
|
void |
PrimaryExpression()
Expression leafs are literal and identifier Nested expression within parenthesis can be seen as anonymous identifier |
void |
ReInit(ExpressionParserTokenManager tm)
|
void |
ReInit(java.io.InputStream stream)
|
void |
ReInit(java.io.Reader stream)
|
void |
UnaryExpression()
NOT expression |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public ExpressionParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
public ExpressionParser(java.io.InputStream stream)
public ExpressionParser(java.io.Reader stream)
public ExpressionParser(ExpressionParserTokenManager tm)
Method Detail |
public SimpleNode parse(java.io.Reader reader) throws ParseException
ParseException
public SimpleNode parse(java.lang.String expression) throws ParseException
ParseException
public final SimpleNode ExpressionScript() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(ExpressionParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |