public class Multiplication extends BinaryExpression
myLeft, myRight, mySymbolgelementsToValue| Constructor and Description |
|---|
Multiplication(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents a multiplication
|
| Modifier and Type | Method and Description |
|---|---|
double |
value(Context c) |
leftValue, rightValue, toStringevaluatepublic Multiplication(ArithmeticBase lhs, ArithmeticBase rhs)
lhs - the left-hand side of the multiplication (before the x)rhs - the right-hand side of the multiplication (after the x)public double value(Context c)
value in class ArithmeticInstruction