public interface Expression extends Serializable
Modifier and Type | Method and Description |
---|---|
Object |
accept(ExpressionVisitor visitor)
Accepts to visit the given expression visitor.
|
Value |
evaluate()
Evaluates the expression and returns the result.
|
Value evaluate() throws IllegalValueTypeException
IllegalValueTypeException
- if a value of an unexpected type was
encountered when evaluating the expressionObject accept(ExpressionVisitor visitor)
visitor
- the visitor