abstract class BinaryOperation extends UnitOfExpression
Modifier and Type | Field and Description |
---|---|
private Operand |
leftOperand |
private java.lang.String |
operator |
private Operand |
rightOperand |
Constructor and Description |
---|
BinaryOperation(Operand lhs,
java.lang.String operator,
Operand rhs) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
asSubstituted(SubstitutionContext context)
Returns this unit of expression as a string substituted if necessary with
tokens using the given substitution context.
|
(package private) Operand |
getLhs() |
(package private) java.lang.String |
getOperator() |
(package private) Operand |
getRhs() |
private final Operand leftOperand
private final java.lang.String operator
private final Operand rightOperand
final java.lang.String asSubstituted(SubstitutionContext context)
UnitOfExpression
asSubstituted
in class UnitOfExpression
context
- the substitution context which may get mutated as a side
effect upon completion of this methodOperand getLhs()
java.lang.String getOperator()
Operand getRhs()