public interface ExpressionParser
Modifier and Type | Method and Description |
---|---|
Expression |
parseExpression(String expressionString)
Parse the expression string and return an Expression object you can use for repeated evaluation.
|
Expression |
parseExpression(String expressionString,
ParserContext context)
Parse the expression string and return an Expression object you can use for repeated evaluation.
|
Expression parseExpression(String expressionString) throws ParseException
Some examples:
3 + 4 name.firstName
expressionString
- the raw expression string to parseParseException
- an exception occurred during parsingExpression parseExpression(String expressionString, ParserContext context) throws ParseException
Some examples:
3 + 4 name.firstName
expressionString
- the raw expression string to parsecontext
- a context for influencing this expression parsing routine (optional)ParseException
- an exception occurred during parsing