1package aud.example.expr;
16 @Override
public String
toString() {
return "-"; }
BinaryTree< T > getLeft()
get left child or null
BinaryTree< T > getRight()
get right child or null)
ExpressionTree node_
uplink reference to node: node_.getData()==this @endiliteral
Tree representation of arithmetic expression.
Minus clone()
Get a copy: a new AtomicExpression of same type/content.
double getValue()
get value
Type getType()
Get type identifier.
Node representing operator in an expression tree.
type identifiers returned by getType