|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.IR.Tree.TreeFactory
public abstract class TreeFactory
A TreeFactory is responsible for assigning unique numbers
to the Tree Exps and Stms in
a method, and for maintaining method-wide information (a pointer to
the parent HCode, a pointer to a
harpoon.Backend.Generic.Frame, etc.).
| Constructor Summary | |
|---|---|
TreeFactory()
|
|
| Method Summary | |
|---|---|
abstract Frame |
getFrame()
Returns the Frame to be used to resolve
machine-dependent issues for this TreeFactory. |
abstract int |
hashCode()
Generates a repeatable hashcode for this factory. |
abstract TempFactory |
tempFactory()
Returns the TempFactory to use for Temp
arguments to Exps and Stms generated by
this factory. |
abstract 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 |
| Constructor Detail |
|---|
public TreeFactory()
| Method Detail |
|---|
public abstract TempFactory tempFactory()
TempFactory to use for Temp
arguments to Exps and Stms generated by
this factory.
public abstract Frame getFrame()
Frame to be used to resolve
machine-dependent issues for this TreeFactory.
public abstract String toString()
TreeFactory.
toString in class Objectpublic abstract int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||