Interface for visiting concrete Expressions (Visitor
design pattern).
It defines a visit() method for each concrete
Expression, which performs some operation on it and then
returns some result.
Operations that do not return a value must return null.
ExpressionVisitors can throw
UnsupportedOperationException for visit methods that are not
supposed to be called in correctly-written code (i.e. visitors are allowed
to be aplicable only to a subset of expressions).
since: 1.0 author: Abel Muinho
Visit method for a LogicalAndExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LogicalOrExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a EqualsExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a EqualsExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LiteralBooleanExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LiteralNumericExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LiteralStringExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a PropertyListExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a MetaPropertyReferenceExpression.
Parameters: e - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a ContainsFunctionExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a StartsWithFunctionExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a GreaterThanExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LesserThanExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a GreaterOrEqualExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.
Visit method for a LesserOrEqualExpression.
Parameters: expression - the expression to visit. the result of the visit. throws: VisitorException - if errors are found during the visit.