|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.IR.Tree.ToCanonicalTree
public class ToCanonicalTree
The ToCanonicalTree class translates tree code to
canonical tree code (no ESEQ). Based on the translator to canonical
form by Andrew Appel.
| Constructor Summary | |
|---|---|
ToCanonicalTree(TreeFactory tf,
Code code)
Class constructor. |
|
| Method Summary | |
|---|---|
Tree |
getTree()
Returns the root of the generated tree code |
TreeDerivation |
getTreeDerivation()
Returns a TreeDerivation object for the
generated Tree form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToCanonicalTree(TreeFactory tf,
Code code)
tf - The TreeFactory which will be used for all
elements of the new CanonicalTreeCode.code - The TreeCode which we wish to translate| Method Detail |
|---|
public TreeDerivation getTreeDerivation()
TreeDerivation object for the
generated Tree form.
public Tree getTree()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||