Interface IExpressionParser
public interface IExpressionParser
A parser that produces an expression tree based on a string representation. An
implementation will use the
IExpressionFactory
to create the actual expressions- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new expression.parseQuery
(String exprString) Create an arbitrary expression.
-
Method Details
-
parse
Create a new expression. The expression will have access to the global variable 'this' and to the context parameters.- Parameters:
exprString
- The string representing the boolean expression.- Returns:
- The resulting expression tree.
- Throws:
ExpressionParseException
- If an error occurred during parsing.
-
parseQuery
Create an arbitrary expression. The expression will have access to the global variable 'everything' and to the context parameters.- Parameters:
exprString
- The string representing the boolean expression.- Returns:
- The resulting expression tree.
- Throws:
ExpressionParseException
- If an error occurred during parsing.
-