jellyj.syntaxtree
Class CompilationUnitNode
jellyj.syntaxtree.SyntaxTreeNode
|
+--jellyj.syntaxtree.CompilationUnitNode
- public class CompilationUnitNode
- extends SyntaxTreeNode
Field Summary |
Vector | imports_d A Symbol vector with all the import declarations defined
in this module. |
(package private) final int | NUMBER_IMPORTS |
(package private) final int | NUMBER_TYPES |
Symbol | packName_d The name of the package to which the compilation unit
belongs to. |
Vector | types_d A vector of type declarations (classes or interfaces)
defined in this module. |
imports_d
public Vector imports_d
- A Symbol vector with all the import declarations defined
in this module.
NUMBER_IMPORTS
final int NUMBER_IMPORTS
NUMBER_TYPES
final int NUMBER_TYPES
packName_d
public Symbol packName_d
- The name of the package to which the compilation unit
belongs to.
types_d
public Vector types_d
- A vector of type declarations (classes or interfaces)
defined in this module.
CompilationUnitNode
public CompilationUnitNode()
translate
public void translate()
typeCheck
public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError
to Class jellyj.util.Symbol- The name of the package to which the compilation unit
belongs to.
to Class java.util.Vector
- A Symbol vector with all the import declarations defined
in this module.
to Class java.util.Vector
- A vector of type declarations (classes or interfaces)
defined in this module.