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
JexlScript
public final SimpleNode JexlScript()
throws ParseException
Block
public final void Block()
throws ParseException
EmptyFunction
public final void EmptyFunction()
throws ParseException
SizeFunction
public final void SizeFunction()
throws ParseException
Identifier
public final void Identifier()
throws ParseException
Expression
public final void Expression()
throws ParseException
Assignment
public final void Assignment()
throws ParseException
ConditionalOrExpression
public final void ConditionalOrExpression()
throws ParseException
ConditionalAndExpression
public final void ConditionalAndExpression()
throws ParseException
InclusiveOrExpression
public final void InclusiveOrExpression()
throws ParseException
ExclusiveOrExpression
public final void ExclusiveOrExpression()
throws ParseException
AndExpression
public final void AndExpression()
throws ParseException
EqualityExpression
public final void EqualityExpression()
throws ParseException
RelationalExpression
public final void RelationalExpression()
throws ParseException
AdditiveExpression
public final void AdditiveExpression()
throws ParseException
MultiplicativeExpression
public final void MultiplicativeExpression()
throws ParseException
UnaryExpression
public final void UnaryExpression()
throws ParseException
PrimaryExpression
public final void PrimaryExpression()
throws ParseException
Literal
public final void Literal()
throws ParseException
NullLiteral
public final void NullLiteral()
throws ParseException
BooleanLiteral
public final void BooleanLiteral()
throws ParseException
IntegerLiteral
public final void IntegerLiteral()
throws ParseException
FloatLiteral
public final void FloatLiteral()
throws ParseException
StringLiteral
public final void StringLiteral()
throws ParseException
Statement
public final void Statement()
throws ParseException
ExpressionExpression
public final void ExpressionExpression()
throws ParseException
StatementExpression
public final void StatementExpression()
throws ParseException
ReferenceExpression
public final void ReferenceExpression()
throws ParseException
IfStatement
public final void IfStatement()
throws ParseException
WhileStatement
public final void WhileStatement()
throws ParseException
ForeachStatement
public final void ForeachStatement()
throws ParseException
Method
public final void Method()
throws ParseException
ArrayAccess
public final void ArrayAccess()
throws ParseException
SizeMethod
public final void SizeMethod()
throws ParseException
Reference
public final void Reference()
throws ParseException
Parameter
public final void Parameter()
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.