This class represents an output token that can be handled by Parser and is not an Error or Complex. More...

Public Member Functions | |
| int | compareTo (Expression expression) |
| The comparison operator. | |
| abstract Expression | negate () |
| Return the negative of this. | |
This class represents an output token that can be handled by Parser and is not an Error or Complex.
| int jscicalc.expression.Expression.compareTo | ( | Expression | expression | ) |
The comparison operator.
| expression | The Expression to be compared. |
Referenced by jscicalc.expression.SumOrProduct.compare().
| abstract Expression jscicalc.expression.Expression.negate | ( | ) | [pure virtual] |
Return the negative of this.
Reimplemented from jscicalc.OObject.
Implemented in jscicalc.expression.Monadic, jscicalc.expression.Product, jscicalc.expression.Sum, and jscicalc.expression.Variable.
1.7.1