Class ExpressionParser
java.lang.Object
com.randomnoun.common.jexl.parser.ExpressionParser
- All Implemented Interfaces:
ExpressionParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface com.randomnoun.common.jexl.parser.ExpressionParserConstants
CHARACTER_LITERAL, DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, FALSE, FLOATING_POINT_LITERAL, HEX_LITERAL, IDENTIFIER, INTEGER_LITERAL, LETTER, NULL, OCTAL_LITERAL, STRING_LITERAL, tokenImage, TRUE
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor with generated Token Manager.ExpressionParser
(InputStream stream) Constructor with InputStream.ExpressionParser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingExpressionParser
(Reader stream) Constructor.ExpressionParser
(String fileName) -
Method Summary
Modifier and TypeMethodDescriptionfinal AdditiveExpression
final ArgumentList
final Arguments
final BooleanLiteral
final ConditionalAndExpression
final void
Disable tracing.final void
Enable tracing.final EqualityExpression
final Expression
final FunctionCall
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final Literal
Literal()
static void
final MultiplicativeExpression
final Name
Name()
final NullLiteral
final PrimaryExpression
void
Reinitialise.void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.final RelationalExpression
final TopLevelExpression
final UnaryExpression
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
ExpressionParser
-
ExpressionParser
Constructor with InputStream. -
ExpressionParser
Constructor with InputStream and supplied encoding -
ExpressionParser
Constructor. -
ExpressionParser
Constructor with generated Token Manager.
-
-
Method Details
-
main
-
TopLevelExpression
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
ConditionalAndExpression
- Throws:
ParseException
-
EqualityExpression
- Throws:
ParseException
-
RelationalExpression
- Throws:
ParseException
-
AdditiveExpression
- Throws:
ParseException
-
MultiplicativeExpression
- Throws:
ParseException
-
UnaryExpression
- Throws:
ParseException
-
PrimaryExpression
- Throws:
ParseException
-
Name
- Throws:
ParseException
-
FunctionCall
- Throws:
ParseException
-
Arguments
- Throws:
ParseException
-
ArgumentList
- Throws:
ParseException
-
Literal
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
NullLiteral
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
Enable tracing. -
disable_tracing
Disable tracing.
-