public class ELParser extends Object implements ELParserTreeConstants, ELParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTELParserState |
jjtree |
Token |
token
Current token.
|
ELParserTokenManager |
token_source
Generated Token Manager.
|
JJTAND, JJTBRACKETSUFFIX, JJTCHOICE, JJTCOMPOSITEEXPRESSION, JJTDEFERREDEXPRESSION, JJTDIV, JJTDOTSUFFIX, JJTDYNAMICEXPRESSION, JJTEMPTY, JJTEQUAL, JJTFALSE, JJTFLOATINGPOINT, JJTFUNCTION, JJTGREATERTHAN, JJTGREATERTHANEQUAL, JJTIDENTIFIER, JJTINTEGER, JJTLESSTHAN, JJTLESSTHANEQUAL, JJTLITERALEXPRESSION, JJTMETHODPARAMETERS, JJTMINUS, JJTMOD, JJTMULT, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUAL, JJTNULL, JJTOR, JJTPLUS, JJTSTRING, JJTTRUE, JJTVALUE, JJTVOID
AND0, AND1, COLON, COMMA, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, END_EXPRESSION, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FUNCTIONSUFFIX, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, INSTANCEOF, INTEGER_LITERAL, LBRACK, LE0, LE1, LETTER, LITERAL_EXPRESSION, LPAREN, LT0, LT1, MINUS, MOD0, MOD1, MULT, NE0, NE1, NOT0, NOT1, NULL, OR0, OR1, PLUS, QUESTIONMARK, RBRACK, RPAREN, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, STRING_LITERAL, tokenImage, TRUE
Constructor and Description |
---|
ELParser(ELParserTokenManager tm)
Constructor with generated Token Manager.
|
ELParser(InputStream stream)
Constructor with InputStream.
|
ELParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
ELParser(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
And() |
void |
Boolean() |
void |
BracketSuffix() |
void |
Choice() |
void |
Compare() |
AstCompositeExpression |
CompositeExpression() |
void |
DeferredExpression() |
void |
disable_tracing()
Disable tracing.
|
void |
DotSuffix() |
void |
DynamicExpression() |
void |
enable_tracing()
Enable tracing.
|
void |
Equality() |
void |
Expression() |
void |
FloatingPoint() |
void |
Function() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
Identifier() |
void |
Integer() |
void |
Literal() |
void |
LiteralExpression() |
void |
Math() |
void |
MethodParameters() |
void |
Multiplication() |
void |
NonLiteral() |
void |
Null() |
void |
Or() |
static Node |
parse(String ref) |
void |
ReInit(ELParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
String() |
void |
Unary() |
void |
Value() |
void |
ValuePrefix() |
void |
ValueSuffix() |
protected JJTELParserState jjtree
public ELParserTokenManager token_source
public Token token
public Token jj_nt
public ELParser(InputStream stream)
public ELParser(InputStream stream, String encoding)
public ELParser(Reader stream)
public ELParser(ELParserTokenManager tm)
public static Node parse(String ref) throws ELException
ELException
public final AstCompositeExpression CompositeExpression() throws ParseException
ParseException
public final void LiteralExpression() throws ParseException
ParseException
public final void DeferredExpression() throws ParseException
ParseException
public final void DynamicExpression() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void Choice() throws ParseException
ParseException
public final void Or() throws ParseException
ParseException
public final void And() throws ParseException
ParseException
public final void Equality() throws ParseException
ParseException
public final void Compare() throws ParseException
ParseException
public final void Math() throws ParseException
ParseException
public final void Multiplication() throws ParseException
ParseException
public final void Unary() throws ParseException
ParseException
public final void Value() throws ParseException
ParseException
public final void ValuePrefix() throws ParseException
ParseException
public final void ValueSuffix() throws ParseException
ParseException
public final void DotSuffix() throws ParseException
ParseException
public final void BracketSuffix() throws ParseException
ParseException
public final void MethodParameters() throws ParseException
ParseException
public final void NonLiteral() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void Function() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void Boolean() throws ParseException
ParseException
public final void FloatingPoint() throws ParseException
ParseException
public final void Integer() throws ParseException
ParseException
public final void String() throws ParseException
ParseException
public final void Null() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ELParserTokenManager 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.