harpoon.IR.Tree
Class Code.TreeFactory

java.lang.Object
  extended by harpoon.IR.Tree.TreeFactory
      extended by harpoon.IR.Tree.Code.TreeFactory
All Implemented Interfaces:
ReferenceUnique
Enclosing class:
Code

public class Code.TreeFactory
extends TreeFactory

Create a proper TreeFactory.


Method Summary
 Frame getFrame()
          Returns the Frame to be used to resolve machine-dependent issues for this TreeFactory.
 HMethod getMethod()
          Returns the HMethod to which all Exps and Stms generated by this factory belong.
 Code getParent()
          Returns the HCode to which all Exps and Stms generated by this factory belong.
 int hashCode()
          Generates a repeatable hashcode for this factory.
 TempFactory tempFactory()
          Returns the TempFactory to use for Temp arguments to Exps and Stms generated by this factory.
 String toString()
          Returns a human-readable representation for this TreeFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

tempFactory

public TempFactory tempFactory()
Description copied from class: TreeFactory
Returns the TempFactory to use for Temp arguments to Exps and Stms generated by this factory.

Specified by:
tempFactory in class TreeFactory

getParent

public Code getParent()
Returns the HCode to which all Exps and Stms generated by this factory belong.


getMethod

public HMethod getMethod()
Returns the HMethod to which all Exps and Stms generated by this factory belong.


getFrame

public Frame getFrame()
Description copied from class: TreeFactory
Returns the Frame to be used to resolve machine-dependent issues for this TreeFactory.

Specified by:
getFrame in class TreeFactory

toString

public String toString()
Description copied from class: TreeFactory
Returns a human-readable representation for this TreeFactory.

Specified by:
toString in class TreeFactory

hashCode

public int hashCode()
Description copied from class: TreeFactory
Generates a repeatable hashcode for this factory.

Specified by:
hashCode in class TreeFactory