Package org.apache.el.parser
Class ELParser
java.lang.Object
org.apache.el.parser.ELParser
- All Implemented Interfaces:
ELParserConstants,ELParserTreeConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.protected JJTELParserStateCurrent token.Generated Token Manager.Fields inherited from interface org.apache.el.parser.ELParserConstants
AND0, AND1, ARROW, ASSIGN, COLON, COMMA, CONCAT, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FUNCTIONSUFFIX, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, IN_SET_OR_MAP, 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, RBRACE, RBRACK, RPAREN, SEMICOLON, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, START_SET_OR_MAP, STRING_LITERAL, tokenImage, TRUEFields inherited from interface org.apache.el.parser.ELParserTreeConstants
JJTAND, JJTASSIGN, JJTBRACKETSUFFIX, JJTCHOICE, JJTCOMPOSITEEXPRESSION, JJTCONCATENATION, JJTDEFERREDEXPRESSION, JJTDIV, JJTDOTSUFFIX, JJTDYNAMICEXPRESSION, JJTEMPTY, JJTEQUAL, JJTFALSE, JJTFLOATINGPOINT, JJTFUNCTION, JJTGREATERTHAN, JJTGREATERTHANEQUAL, JJTIDENTIFIER, JJTINTEGER, JJTLAMBDAEXPRESSION, JJTLAMBDAPARAMETERS, JJTLESSTHAN, JJTLESSTHANEQUAL, JJTLISTDATA, JJTLITERALEXPRESSION, JJTMAPDATA, JJTMAPENTRY, JJTMETHODPARAMETERS, JJTMINUS, JJTMOD, JJTMULT, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUAL, JJTNULL, JJTOR, JJTPLUS, JJTSEMICOLON, JJTSETDATA, JJTSTRING, JJTTRUE, JJTVALUE, JJTVOID -
Constructor Summary
ConstructorsConstructorDescriptionELParser(InputStream stream) Constructor with InputStream.ELParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidAnd()final voidfinal voidBoolean()final voidfinal voidChoice()final voidCompare()final AstCompositeExpressionfinal voidfinal voidfinal voidDisable tracing.final voidfinal voidfinal voidEnable tracing.final voidEquality()final voidfinal voidfinal voidFunction()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidfinal voidInteger()final voidfinal voidfinal voidfinal voidListData()final voidLiteral()final voidfinal voidMapData()final voidMapEntry()final voidMath()final voidfinal voidfinal voidfinal voidNull()final voidOr()static NodevoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final voidfinal voidSetData()final voidString()final booleanTrace enabled.final voidUnary()final voidValue()final voidfinal void
-
Field Details
-
jjtree
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
ELParser
Constructor with InputStream. -
ELParser
Constructor with InputStream and supplied encoding -
ELParser
Constructor. -
ELParser
Constructor with generated Token Manager.
-
-
Method Details
-
parse
- Throws:
ELException
-
CompositeExpression
- Throws:
ParseException
-
LiteralExpression
- Throws:
ParseException
-
DeferredExpression
- Throws:
ParseException
-
DynamicExpression
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
Semicolon
- Throws:
ParseException
-
Assignment
- Throws:
ParseException
-
LambdaExpression
- Throws:
ParseException
-
LambdaParameters
- Throws:
ParseException
-
LambdaExpressionOrInvocation
- Throws:
ParseException
-
Choice
- Throws:
ParseException
-
Or
- Throws:
ParseException
-
And
- Throws:
ParseException
-
Equality
- Throws:
ParseException
-
Compare
- Throws:
ParseException
-
Concatenation
- Throws:
ParseException
-
Math
- Throws:
ParseException
-
Multiplication
- Throws:
ParseException
-
Unary
- Throws:
ParseException
-
Value
- Throws:
ParseException
-
ValuePrefix
- Throws:
ParseException
-
ValueSuffix
- Throws:
ParseException
-
DotSuffix
- Throws:
ParseException
-
BracketSuffix
- Throws:
ParseException
-
MethodParameters
- Throws:
ParseException
-
NonLiteral
- Throws:
ParseException
-
SetData
- Throws:
ParseException
-
ListData
- Throws:
ParseException
-
MapData
- Throws:
ParseException
-
MapEntry
- Throws:
ParseException
-
Identifier
- Throws:
ParseException
-
Function
- Throws:
ParseException
-
Literal
- Throws:
ParseException
-
Boolean
- Throws:
ParseException
-
FloatingPoint
- Throws:
ParseException
-
Integer
- Throws:
ParseException
-
String
- Throws:
ParseException
-
Null
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-