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

Variable Index

 o imports_d
A Symbol vector with all the import declarations defined in this module.
 o NUMBER_IMPORTS
 o NUMBER_TYPES
 o packName_d
The name of the package to which the compilation unit belongs to.
 o types_d
A vector of type declarations (classes or interfaces) defined in this module.

Constructor Index

 o CompilationUnitNode()

Method Index

 o translate()
 o typeCheck(SymbolTable)

Variables

 o packName_d
 public Symbol packName_d
The name of the package to which the compilation unit belongs to.

 o imports_d
 public Vector imports_d
A Symbol vector with all the import declarations defined in this module.

 o types_d
 public Vector types_d
A vector of type declarations (classes or interfaces) defined in this module.

 o NUMBER_TYPES
 final int NUMBER_TYPES
 o NUMBER_IMPORTS
 final int NUMBER_IMPORTS

Constructors

 o CompilationUnitNode
 public CompilationUnitNode()

Methods

 o typeCheck
 public Type typeCheck(SymbolTable stable) throws TypeCheckError
Overrides:
typeCheck in class SyntaxTreeNode
 o translate
 public void translate()

All Packages  Class Hierarchy  This Package  Previous  Next  Index