org.apache.commons.jexl.parser
Class Parser
java.lang.Object
org.apache.commons.jexl.parser.Parser
- All Implemented Interfaces:
- ParserConstants, ParserTreeConstants
- public class Parser
- extends Object
- implements ParserTreeConstants, ParserConstants
Fields inherited from interface org.apache.commons.jexl.parser.ParserTreeConstants |
JJTADDNODE, JJTANDNODE, JJTARRAYACCESS, JJTASSIGNMENT, JJTBITWISEANDNODE, JJTBITWISECOMPLNODE, JJTBITWISEORNODE, JJTBITWISEXORNODE, JJTBLOCK, JJTDIVNODE, JJTEMPTYFUNCTION, JJTEQNODE, JJTEXPRESSION, JJTEXPRESSIONEXPRESSION, JJTFALSENODE, JJTFLOATLITERAL, JJTFOREACHSTATEMENT, JJTGENODE, JJTGTNODE, JJTIDENTIFIER, JJTIFSTATEMENT, JJTINTEGERLITERAL, JJTJEXLSCRIPT, JJTLENODE, JJTLTNODE, JJTMETHOD, JJTMODNODE, JJTMULNODE, JJTNENODE, jjtNodeName, JJTNOTNODE, JJTNULLLITERAL, JJTORNODE, JJTREFERENCE, JJTREFERENCEEXPRESSION, JJTSIZEFUNCTION, JJTSIZEMETHOD, JJTSTATEMENTEXPRESSION, JJTSTRINGLITERAL, JJTSUBTRACTNODE, JJTTRUENODE, JJTUNARYMINUSNODE, JJTVOID, JJTWHILESTATEMENT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected org.apache.commons.jexl.parser.JJTParserState jjtree
token_source
public ParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
Parser
public Parser(InputStream stream)
Parser
public Parser(Reader stream)
Parser
public Parser(ParserTokenManager tm)
parse
public SimpleNode parse(Reader reader)
throws Exception
- Throws:
Exception
JexlScript
public final SimpleNode JexlScript()
throws ParseException
- Throws:
ParseException
Block
public final void Block()
throws ParseException
- Throws:
ParseException
EmptyFunction
public final void EmptyFunction()
throws ParseException
- Throws:
ParseException
SizeFunction
public final void SizeFunction()
throws ParseException
- Throws:
ParseException
Identifier
public final void Identifier()
throws ParseException
- Throws:
ParseException
Expression
public final void Expression()
throws ParseException
- Throws:
ParseException
Assignment
public final void Assignment()
throws ParseException
- Throws:
ParseException
ConditionalOrExpression
public final void ConditionalOrExpression()
throws ParseException
- Throws:
ParseException
ConditionalAndExpression
public final void ConditionalAndExpression()
throws ParseException
- Throws:
ParseException
InclusiveOrExpression
public final void InclusiveOrExpression()
throws ParseException
- Throws:
ParseException
ExclusiveOrExpression
public final void ExclusiveOrExpression()
throws ParseException
- Throws:
ParseException
AndExpression
public final void AndExpression()
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
UnaryExpression
public final void UnaryExpression()
throws ParseException
- Throws:
ParseException
PrimaryExpression
public final void PrimaryExpression()
throws ParseException
- Throws:
ParseException
Literal
public final void Literal()
throws ParseException
- Throws:
ParseException
NullLiteral
public final void NullLiteral()
throws ParseException
- Throws:
ParseException
BooleanLiteral
public final void BooleanLiteral()
throws ParseException
- Throws:
ParseException
IntegerLiteral
public final void IntegerLiteral()
throws ParseException
- Throws:
ParseException
FloatLiteral
public final void FloatLiteral()
throws ParseException
- Throws:
ParseException
StringLiteral
public final void StringLiteral()
throws ParseException
- Throws:
ParseException
Statement
public final void Statement()
throws ParseException
- Throws:
ParseException
ExpressionExpression
public final void ExpressionExpression()
throws ParseException
- Throws:
ParseException
StatementExpression
public final void StatementExpression()
throws ParseException
- Throws:
ParseException
ReferenceExpression
public final void ReferenceExpression()
throws ParseException
- Throws:
ParseException
IfStatement
public final void IfStatement()
throws ParseException
- Throws:
ParseException
WhileStatement
public final void WhileStatement()
throws ParseException
- Throws:
ParseException
ForeachStatement
public final void ForeachStatement()
throws ParseException
- Throws:
ParseException
Method
public final void Method()
throws ParseException
- Throws:
ParseException
ArrayAccess
public final void ArrayAccess()
throws ParseException
- Throws:
ParseException
SizeMethod
public final void SizeMethod()
throws ParseException
- Throws:
ParseException
Reference
public final void Reference()
throws ParseException
- Throws:
ParseException
Parameter
public final void Parameter()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.