Class Expression
java.lang.Object
TreeNode
Expression
- Direct Known Subclasses:
- assign, block, bool_const, comp, cond, dispatch, divide, eq, int_const, isvoid, leq, let, loop, lt, mul, neg, new_, no_expr, object, plus, static_dispatch, string_const, sub, typcase
abstract class Expression
- extends TreeNode
Defines simple phylum Expression
Constructor Summary |
protected |
Expression(int lineNumber)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private AbstractSymbol type
Expression
protected Expression(int lineNumber)
get_type
public AbstractSymbol get_type()
set_type
public Expression set_type(AbstractSymbol s)
dump_with_types
public abstract void dump_with_types(java.io.PrintStream out,
int n)
dump_type
public void dump_type(java.io.PrintStream out,
int n)
code
public abstract void code(java.io.PrintStream s)