public class Division extends BinaryExpression
myLeft, myRight, mySymbol
gelementsToValue
Constructor and Description |
---|
Division(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents a division
|
Modifier and Type | Method and Description |
---|---|
double |
value(Context c) |
leftValue, rightValue, toString
evaluate
public Division(ArithmeticBase lhs, ArithmeticBase rhs)
lhs
- the left-hand side of the division (before the /)rhs
- the right-hand side of the division (after the /)public double value(Context c)
value
in class ArithmeticInstruction