public interface BinaryOperator extends Operator
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression leftOperand,
Expression rightOperand)
Applies the operator to the given operands and returns the result.
|
getIdentifier, getOperandValueType
Value applyTo(Expression leftOperand, Expression rightOperand) throws IllegalValueTypeException
IllegalValueTypeException
- if the value of an operand is not of the expected type