Class Summary |
AbstractSymbol |
String table entry
There are three kinds of string table entries:
a true string,
a string representation of an identifier, and
a string representation of an integer. |
AbstractTable |
Abstract string table implementation. |
assign |
Defines AST constructor 'assign'. |
ASTConstants |
CUP generated class containing symbol constants. |
ASTLexer |
|
ASTParser |
CUP v0.10k generated parser. |
ASTTest |
The parser driver class |
attr |
Defines AST constructor 'attr'. |
block |
Defines AST constructor 'block'. |
bool_const |
Defines AST constructor 'bool_const'. |
BoolConst |
This clas encapsulates all aspects of code generation for boolean
constatns. |
branch |
Defines AST constructor 'branch'. |
Case |
Defines simple phylum Case |
Cases |
Defines list phylum Cases |
Cgen |
Static semantics driver class |
CgenClassTable |
This class is used for representing the inheritance tree during code
generation. |
CgenNode |
|
CgenSupport |
This class aggregates all kinds of support routines and constants
for the code generator; all routines are statics, so no instance of
this class is even created. |
Class_ |
Defines simple phylum Class_ |
class_c |
Defines AST constructor 'class_c'. |
Classes |
Defines list phylum Classes |
ClassTable |
This class may be used to contain the semantic information such as
the inheritance graph. |
comp |
Defines AST constructor 'comp'. |
cond |
Defines AST constructor 'cond'. |
CoolLexer |
|
CoolParser |
CUP v0.10k generated parser. |
CoolTokenLexer |
|
CUP$ASTParser$actions |
Cup generated class to encapsulate user supplied action code. |
CUP$CoolParser$actions |
Cup generated class to encapsulate user supplied action code. |
dispatch |
Defines AST constructor 'dispatch'. |
divide |
Defines AST constructor 'divide'. |
eq |
Defines AST constructor 'eq'. |
Expression |
Defines simple phylum Expression |
Expressions |
Defines list phylum Expressions |
Feature |
Defines simple phylum Feature |
Features |
Defines list phylum Features |
Flags |
Command line flags |
Formal |
Defines simple phylum Formal |
formalc |
Defines AST constructor 'formalc'. |
Formals |
Defines list phylum Formals |
IdSymbol |
String table entry for identifiers. |
IdTable |
|
int_const |
Defines AST constructor 'int_const'. |
IntSymbol |
String table entry for integer constants |
IntTable |
|
isvoid |
Defines AST constructor 'isvoid'. |
leq |
Defines AST constructor 'leq'. |
let |
Defines AST constructor 'let'. |
Lexer |
The lexer driver class |
ListNode |
Base class for lists of AST elements. |
loop |
Defines AST constructor 'loop'. |
lt |
Defines AST constructor 'lt'. |
method |
Defines AST constructor 'method'. |
mul |
Defines AST constructor 'mul'. |
neg |
Defines AST constructor 'neg'. |
new_ |
Defines AST constructor 'new_'. |
no_expr |
Defines AST constructor 'no_expr'. |
object |
Defines AST constructor 'object'. |
Parser |
The parser driver class |
plus |
Defines AST constructor 'plus'. |
Program |
Defines simple phylum Program |
programc |
Defines AST constructor 'programc'. |
Semant |
Static semantics driver class |
static_dispatch |
Defines AST constructor 'static_dispatch'. |
string_const |
Defines AST constructor 'string_const'. |
StringSymbol |
String table entry for string constants. |
StringTable |
|
sub |
Defines AST constructor 'sub'. |
SymbolTable |
Implements the symbol table data abstraction. |
SymtabExample |
An example of using a symbol table. |
TokenConstants |
CUP generated class containing symbol constants. |
TokenLexer |
The lexer driver class for token lexer |
TreeConstants |
For convenience, this clas defines a large number of symbols. |
TreeNode |
The base class for all AST nodes. |
typcase |
Defines AST constructor 'typcase'. |
Utilities |
|