|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectsymbolHandling.SymbolTable<CgenNode>
codeGeneration.CgenClassTable
public class CgenClassTable
This class is used for representing the inheritance tree during code generation. You will need to fill in some of its Methods and potentially extend it in other useful ways.
Constructor Summary | |
---|---|
CgenClassTable(ListNode<Class_> cls,
java.io.PrintWriter str)
Constructs a new class table and invokes the code generator |
Method Summary | |
---|---|
void |
code()
This Method is the meat of the code generator. |
CgenNode |
root()
Gets the root of the inheritance tree |
Methods inherited from class symbolHandling.SymbolTable |
---|
addId, enterScope, exitScope, lookup, probe, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CgenClassTable(ListNode<Class_> cls, java.io.PrintWriter str)
Method Detail |
---|
public void code()
public CgenNode root()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |