All Packages Class Hierarchy This Package Previous Next Index
Class espresso.syntaxtree.CompilationUnitNode
java.lang.Object
|
+----espresso.syntaxtree.SyntaxTreeNode
|
+----espresso.syntaxtree.CompilationUnitNode
- public class CompilationUnitNode
- extends SyntaxTreeNode
-
imports_d
- A Symbol vector with all the import declarations defined
in this module.
-
NUMBER_IMPORTS
-
-
NUMBER_TYPES
-
-
packName_d
- The name of the package to which the compilation unit
belongs to.
-
types_d
- A vector of type declarations (classes or interfaces)
defined in this module.
-
CompilationUnitNode()
-
-
translate()
-
-
typeCheck(SymbolTable)
-
packName_d
public Symbol packName_d
- The name of the package to which the compilation unit
belongs to.
imports_d
public Vector imports_d
- A Symbol vector with all the import declarations defined
in this module.
types_d
public Vector types_d
- A vector of type declarations (classes or interfaces)
defined in this module.
NUMBER_TYPES
final int NUMBER_TYPES
NUMBER_IMPORTS
final int NUMBER_IMPORTS
CompilationUnitNode
public CompilationUnitNode()
typeCheck
public Type typeCheck(SymbolTable stable) throws TypeCheckError
- Overrides:
- typeCheck in class SyntaxTreeNode
translate
public void translate()
All Packages Class Hierarchy This Package Previous Next Index