|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTreeNode
Class_
class_c
CgenNode
class CgenNode
| Field Summary | |
|---|---|
(package private) static int |
Basic
Indicates a basic class |
private int |
basic_status
Does this node correspond to a basic class? |
private java.util.Vector |
children
The children of this node in the inheritance tree |
(package private) static int |
NotBasic
Indicates a class that came from a Cool program |
private CgenNode |
parent
The parent of this node in the inheritance tree |
| Fields inherited from class class_c |
|---|
features, filename, name |
| Fields inherited from class TreeNode |
|---|
lineNumber |
| Constructor Summary | |
|---|---|
CgenNode(Class_ c,
int basic_status,
CgenClassTable table)
Constructs a new CgenNode to represent class "c". |
|
| Method Summary | |
|---|---|
(package private) void |
addChild(CgenNode child)
|
(package private) boolean |
basic()
Returns true is this is a basic class. |
(package private) java.util.Enumeration |
getChildren()
Gets the children of this class |
(package private) CgenNode |
getParentNd()
Gets the parent of this class |
(package private) void |
setParentNd(CgenNode parent)
Sets the parent of this class. |
| Methods inherited from class class_c |
|---|
copy, dump_with_types, dump, getFeatures, getFilename, getName, getParent |
| Methods inherited from class TreeNode |
|---|
copy_AbstractSymbol, copy_Boolean, dump_AbstractSymbol, dump_Boolean, dump_line, getLineNumber, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private CgenNode parent
private java.util.Vector children
static final int Basic
static final int NotBasic
private int basic_status
| Constructor Detail |
|---|
CgenNode(Class_ c,
int basic_status,
CgenClassTable table)
c - the classbasic_status - is this class basic or nottable - the class table| Method Detail |
|---|
void addChild(CgenNode child)
java.util.Enumeration getChildren()
void setParentNd(CgenNode parent)
parent - the parentCgenNode getParentNd()
boolean basic()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||