jellyj.syntaxtree
Class CompilationUnitNode

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.CompilationUnitNode

public class CompilationUnitNode
extends SyntaxTreeNode


Field Summary
 Vectorimports_d
          A Symbol vector with all the import declarations defined in this module.
 (package private) final intNUMBER_IMPORTS
           
 (package private) final intNUMBER_TYPES
           
 SymbolpackName_d
          The name of the package to which the compilation unit belongs to.
 Vectortypes_d
          A vector of type declarations (classes or interfaces) defined in this module.

Fields inherited from class jellyj.syntaxtree.SyntaxTreeNode
column_d, line_d

Constructor Summary
CompilationUnitNode()
           

Method Summary
 voidtranslate()
           
 TypetypeCheck(SymbolTable stable)
           

Field Detail

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.
Constructor Detail

CompilationUnitNode

public CompilationUnitNode()
Method Detail

translate

public void translate()

typeCheck

public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError

Association Links

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.