public class Attribution extends Object implements BinaryOperator
Constructor and Description |
---|
Attribution()
Creates a new attribution operator.
|
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression leftOperand,
Expression rightOperand)
applies attribution given a right and left operand
|
String |
getIdentifier()
returns identifier
|
Value.Type |
getOperandValueType()
Returns the type of value that the operator's operands can have.
|
public Attribution()
public Value applyTo(Expression leftOperand, Expression rightOperand) throws IllegalValueTypeException
applyTo
in interface BinaryOperator
leftOperand
- the operand on the leftrightOperand
- the operand on the rightIllegalValueTypeException
public String getIdentifier()
getIdentifier
in interface Operator
public Value.Type getOperandValueType()
Operator
getOperandValueType
in interface Operator