public interface UnaryOperator extends Operator
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression operand)
Applies the operator to the given operand and returns the result.
|
boolean |
isPrefix()
Returns whether the operator is a prefix operator, i.e. it appears
before its operand.
|
getIdentifier, getOperandValueType
Value applyTo(Expression operand) throws IllegalValueTypeException
IllegalValueTypeException
- if the value of the operand is not of the expected typeboolean isPrefix()