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.
Node representing operator in an expression tree.
Type getType()
Get type identifier.
double getValue()
get value
Plus clone()
Get a copy: a new AtomicExpression of same type/content.
type identifiers returned by getType