public class Parser extends Object implements ParserTreeConstants, ParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
protected org.apache.commons.jexl.parser.JJTParserState |
jjtree |
Token |
token
Current token.
|
ParserTokenManager |
token_source
Generated Token Manager.
|
JJTADDNODE, JJTANDNODE, JJTARRAYACCESS, JJTARRAYLITERAL, JJTASSIGNMENT, JJTBITWISEANDNODE, JJTBITWISECOMPLNODE, JJTBITWISEORNODE, JJTBITWISEXORNODE, JJTBLOCK, JJTDIVNODE, JJTELVISNODE, JJTEMPTYFUNCTION, JJTEQNODE, JJTEXPRESSION, JJTEXPRESSIONEXPRESSION, JJTFALSENODE, JJTFLOATLITERAL, JJTFOREACHSTATEMENT, JJTGENODE, JJTGTNODE, JJTIDENTIFIER, JJTIFSTATEMENT, JJTINTEGERLITERAL, JJTJEXLSCRIPT, JJTLENODE, JJTLTNODE, JJTMAPENTRY, JJTMAPLITERAL, JJTMETHOD, JJTMODNODE, JJTMULNODE, JJTNENODE, jjtNodeName, JJTNOTNODE, JJTNULLLITERAL, JJTORNODE, JJTREFERENCE, JJTREFERENCEEXPRESSION, JJTSIZEFUNCTION, JJTSIZEMETHOD, JJTSTATEMENTEXPRESSION, JJTSTRINGLITERAL, JJTSUBTRACTNODE, JJTTERNARYNODE, JJTTRUENODE, JJTUNARYMINUSNODE, JJTVOID, JJTWHILESTATEMENTCOMMENT, DEFAULT, DIGIT, EOF, FLOAT_LITERAL, IDENTIFIER, INTEGER_LITERAL, LETTER, STRING_LITERAL, tokenImage| Constructor and Description |
|---|
Parser(InputStream stream)
Constructor with InputStream.
|
Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
Parser(ParserTokenManager tm)
Constructor with generated Token Manager.
|
Parser(Reader stream)
Constructor.
|
protected org.apache.commons.jexl.parser.JJTParserState jjtree
public ParserTokenManager token_source
public Token token
public Token jj_nt
public Parser(InputStream stream)
public Parser(InputStream stream, String encoding)
public Parser(Reader stream)
public Parser(ParserTokenManager tm)
public void setUberspect(Uberspect uberspect)
protected Uberspect getUberspect()
public SimpleNode parse(Reader reader) throws Exception
Exceptionpublic final SimpleNode JexlScript() throws ParseException
ParseExceptionpublic final void Block()
throws ParseException
ParseExceptionpublic final void EmptyFunction()
throws ParseException
ParseExceptionpublic final void SizeFunction()
throws ParseException
ParseExceptionpublic final void Identifier()
throws ParseException
ParseExceptionpublic final void Expression()
throws ParseException
ParseExceptionpublic final void Assignment()
throws ParseException
ParseExceptionpublic final void ElvisExpression()
throws ParseException
ParseExceptionpublic final void ConditionalOrExpression()
throws ParseException
ParseExceptionpublic final void ConditionalAndExpression()
throws ParseException
ParseExceptionpublic final void InclusiveOrExpression()
throws ParseException
ParseExceptionpublic final void ExclusiveOrExpression()
throws ParseException
ParseExceptionpublic final void AndExpression()
throws ParseException
ParseExceptionpublic final void EqualityExpression()
throws ParseException
ParseExceptionpublic final void RelationalExpression()
throws ParseException
ParseExceptionpublic final void AdditiveExpression()
throws ParseException
ParseExceptionpublic final void MultiplicativeExpression()
throws ParseException
ParseExceptionpublic final void UnaryExpression()
throws ParseException
ParseExceptionpublic final void PrimaryExpression()
throws ParseException
ParseExceptionpublic final void Literal()
throws ParseException
ParseExceptionpublic final void NullLiteral()
throws ParseException
ParseExceptionpublic final void BooleanLiteral()
throws ParseException
ParseExceptionpublic final void IntegerLiteral()
throws ParseException
ParseExceptionpublic final void FloatLiteral()
throws ParseException
ParseExceptionpublic final void StringLiteral()
throws ParseException
ParseExceptionpublic final void Statement()
throws ParseException
ParseExceptionpublic final void ExpressionExpression()
throws ParseException
ParseExceptionpublic final void StatementExpression()
throws ParseException
ParseExceptionpublic final void ReferenceExpression()
throws ParseException
ParseExceptionpublic final void IfStatement()
throws ParseException
ParseExceptionpublic final void WhileStatement()
throws ParseException
ParseExceptionpublic final void ForeachStatement()
throws ParseException
ParseExceptionpublic final void MapLiteral()
throws ParseException
ParseExceptionpublic final void ArrayLiteral()
throws ParseException
ParseExceptionpublic final void MapEntry()
throws ParseException
ParseExceptionpublic final void Method()
throws ParseException
ParseExceptionpublic final void ArrayAccess()
throws ParseException
ParseExceptionpublic final void SizeMethod()
throws ParseException
ParseExceptionpublic final void Reference()
throws ParseException
ParseExceptionpublic final void Parameter()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2015 The Apache Software Foundation. All rights reserved.