treeNodes
Class AbstractExpression

java.lang.Object
  extended by generalHelpers.TreeNode
      extended by treeNodes.AbstractExpression
Direct Known Subclasses:
AbstractBinaryOperation, AbstractDispatch, AbstractUnaryOperation, Assign, Block, BoolConstant, CaseExpression, Conditional, IntegerConstant, Let, Loop, New_, NoExpression, Object_, StringConstant

public abstract class AbstractExpression
extends TreeNode

Defines simple phylum AbstractExpression


Field Summary
 
Fields inherited from class generalHelpers.TreeNode
lineNumber
 
Constructor Summary
protected AbstractExpression(int lineNumber)
           
 
Method Summary
protected  void dumpType(java.io.Writer out, int n)
           
abstract  void dumpWithTypes(java.io.Writer out, int n)
           
 AbstractSymbol getType()
           
 AbstractExpression setType(AbstractSymbol s)
           
 
Methods inherited from class generalHelpers.TreeNode
copy, copyAbstractSymbol, copyBoolean, dump, dumpAbstractSymbol, dumpBoolean, dumpLine, getLineNumber, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExpression

protected AbstractExpression(int lineNumber)
Method Detail

getType

public AbstractSymbol getType()

setType

public AbstractExpression setType(AbstractSymbol s)

dumpWithTypes

public abstract void dumpWithTypes(java.io.Writer out,
                                   int n)
                            throws java.io.IOException
Throws:
java.io.IOException

dumpType

protected void dumpType(java.io.Writer out,
                        int n)
                 throws java.io.IOException
Throws:
java.io.IOException