| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
(package private) Symbol | currentClass_d Keep the name of the type that is being compiled. |
(package private) Vector | errors_d A string vector that collects errors from the various compilation phases: parsing, type checking, etc. |
(package private) ExceptionStack | exceptionStack_d A reference to the Exception stack, used for type checking thrown exceptions. |
(package private) String | fileName_d Keep the name of the source file that is being compiled. |
(package private) JellyJImportManager | importMgr_d A reference to the symbol table. |
(package private) static JellyJ | instance_d A static reference to the main object. |
(package private) JellyJParser | parser_d A reference to a JellyJParser object. |
(package private) CompilationUnitNode | root_d A pointer to the AST root node. |
(package private) SymbolTable | symbolTable_d A reference to the symbol table. |
(package private) final static int | TABLE_SIZE Initial size of the symbol table. |
Constructor Summary | |
JellyJ() The only constructor. |
Method Summary | |
static void | currentClass(Symbol name) |
static Symbol | currentClass() |
static Symbol | currentPackage() |
static Vector | errors() |
static ExceptionStack | exceptionStack() |
void | execute(String[] args) JellyJ's main loop. |
static String | fileName() |
static JellyJImportManager | importMgr() |
static void | internalError() Aborts the execution of the compiler as a result of an unrecoverable error. |
static void | main(String[] args) Entry point. |
static void | notYetImplemented() Aborts the execution of the compiler if something found in the source file can't be compiled. |
static SymbolTable | symbolTable() |
Field Detail |
Symbol currentClass_d
Vector errors_d
ExceptionStack exceptionStack_d
String fileName_d
JellyJImportManager importMgr_d
static JellyJ instance_d
JellyJParser parser_d
CompilationUnitNode root_d
SymbolTable symbolTable_d
final static int TABLE_SIZE
Constructor Detail |
public JellyJ()
Method Detail |
public static void currentClass(Symbol name)
public static Symbol currentClass()
public static Symbol currentPackage()
public static Vector errors()
public static ExceptionStack exceptionStack()
public void execute(String[] args)
public static String fileName()
public static JellyJImportManager importMgr()
public static void internalError()
public static void main(String[] args)
public static void notYetImplemented()
public static SymbolTable symbolTable()
Association Links |
to Class jellyj.util.ExceptionStack
to Class jellyj.parser.JellyJParser
to Class jellyj.util.SymbolTable
to Class jellyj.parser.JellyJImportManager
to Class jellyj.syntaxtree.CompilationUnitNode
to Class jellyj.util.Symbol
to Class java.lang.String
to Class jellyj.JellyJ
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |