All Packages Class Hierarchy This Package Previous Next Index
Class lib.ClassNode
java.lang.Object
|
+----lib.ClassNode
- public class ClassNode
- extends Object
The ClassNode
object is used at compile time, to store
information about the classes present in a given file. It is used to
resolve overloading.
-
className
- the name of the class
-
memberTable
- the set of all variables declared in this class
-
methodTable
- the set of all methods declared in this class
-
parent
- points to the parent of the class, i.e.
-
ClassNode(String)
- This constructor simply initializes the object fields.
parent
public ClassNode parent
- points to the parent of the class, i.e. the superclass
className
public String className
- the name of the class
methodTable
public Hashtable methodTable
- the set of all methods declared in this class
memberTable
public Hashtable memberTable
- the set of all variables declared in this class
ClassNode
public ClassNode(String name)
- This constructor simply initializes the object fields.
- Parameters:
- name - the name of the class
All Packages Class Hierarchy This Package Previous Next Index