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