A B C D E F G H I J L M N O P R S T U V W Y Z _

A

A1 - Static variable in class CgenSupport
 
AbstractSymbol - Class in <Unnamed>
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.
AbstractSymbol(String, int, int) - Constructor for class AbstractSymbol
Constructs a new table entry.
AbstractTable - Class in <Unnamed>
Abstract string table implementation.
AbstractTable() - Constructor for class AbstractTable
 
ACC - Static variable in class CgenSupport
 
action_obj - Variable in class ASTParser
Instance of action encapsulation class.
action_obj - Variable in class CoolParser
Instance of action encapsulation class.
action_table() - Method in class ASTParser
Access to parse-action table.
action_table() - Method in class CoolParser
Access to parse-action table.
actual - Variable in class dispatch
 
actual - Variable in class static_dispatch
 
ADD - Static variable in class CgenSupport
 
addChild(CgenNode) - Method in class CgenNode
 
addElement(TreeNode) - Method in class ListNode
Appends an element to the list.
ADDI - Static variable in class CgenSupport
 
addId(AbstractSymbol, Object) - Method in class SymbolTable
Adds a new entry to the symbol table.
addInt(int) - Method in class AbstractTable
Adds the string representation of the specified integer to this string table
ADDIU - Static variable in class CgenSupport
 
addString(String, int) - Method in class AbstractTable
Adds prefix of the specified length to this string table
addString(String) - Method in class AbstractTable
Adds the specified string to this string table
ADDU - Static variable in class CgenSupport
 
ALIGN - Static variable in class CgenSupport
 
appendElement(TreeNode) - Method in class Cases
Appends "Case" element to this list
appendElement(TreeNode) - Method in class Classes
Appends "Class_" element to this list
appendElement(TreeNode) - Method in class Expressions
Appends "Expression" element to this list
appendElement(TreeNode) - Method in class Features
Appends "Feature" element to this list
appendElement(TreeNode) - Method in class Formals
Appends "Formal" element to this list
arg - Static variable in class TreeConstants
 
arg2 - Static variable in class TreeConstants
 
ascii - Static variable in class CgenSupport
 
asciiMode(PrintStream) - Static method in class CgenSupport
Switch output mode to ASCII.
assign - Class in <Unnamed>
Defines AST constructor 'assign'.
assign(int, AbstractSymbol, Expression) - Constructor for class assign
Creates "assign" AST node.
ASSIGN - Static variable in class ASTConstants
 
ASSIGN - Static variable in class TokenConstants
 
ASTConstants - Class in <Unnamed>
CUP generated class containing symbol constants.
ASTConstants() - Constructor for class ASTConstants
 
ASTLexer - Class in <Unnamed>
 
ASTLexer(Reader) - Constructor for class ASTLexer
 
ASTLexer(InputStream) - Constructor for class ASTLexer
 
ASTLexer() - Constructor for class ASTLexer
 
ASTParser - Class in <Unnamed>
CUP v0.10k generated parser.
ASTParser() - Constructor for class ASTParser
Default constructor.
ASTParser(Scanner) - Constructor for class ASTParser
Constructor which sets the default scanner.
ASTTest - Class in <Unnamed>
The parser driver class
ASTTest() - Constructor for class ASTTest
 
AT - Static variable in class TokenConstants
 
ATTR - Static variable in class ASTConstants
 
attr - Class in <Unnamed>
Defines AST constructor 'attr'.
attr(int, AbstractSymbol, AbstractSymbol, Expression) - Constructor for class attr
Creates "attr" AST node.

B

Basic - Static variable in class CgenNode
Indicates a basic class
basic() - Method in class CgenNode
Returns true is this is a basic class.
basic_status - Variable in class CgenNode
Does this node correspond to a basic class?
BEQ - Static variable in class CgenSupport
 
BEQZ - Static variable in class CgenSupport
 
BGT - Static variable in class CgenSupport
 
BLEQ - Static variable in class CgenSupport
 
BLOCK - Static variable in class ASTConstants
 
block - Class in <Unnamed>
Defines AST constructor 'block'.
block(int, Expressions) - Constructor for class block
Creates "block" AST node.
BLT - Static variable in class CgenSupport
 
BNE - Static variable in class CgenSupport
 
body - Variable in class block
 
body - Variable in class let
 
body - Variable in class loop
 
BOOL - Static variable in class ASTConstants
 
BOOL - Variable in class CoolTokenLexer
 
Bool - Static variable in class TreeConstants
 
bool_const - Class in <Unnamed>
Defines AST constructor 'bool_const'.
bool_const(int, Boolean) - Constructor for class bool_const
Creates "bool_const" AST node.
BOOL_CONST - Static variable in class TokenConstants
 
BOOL_SLOTS - Static variable in class CgenSupport
 
boolclasstag - Variable in class CgenClassTable
 
BoolConst - Class in <Unnamed>
This clas encapsulates all aspects of code generation for boolean constatns.
BoolConst(boolean) - Constructor for class BoolConst
Creates a new boolean constant.
BoolConst(Boolean) - Constructor for class BoolConst
Creates a new boolean constant.
BOOLCONST_PREFIX - Static variable in class CgenSupport
 
BOOLTAG - Static variable in class CgenSupport
 
BRANCH - Static variable in class ASTConstants
 
branch - Class in <Unnamed>
Defines AST constructor 'branch'.
branch(int, AbstractSymbol, AbstractSymbol, Expression) - Constructor for class branch
Creates "branch" AST node.
BRANCH - Static variable in class CgenSupport
 
buf - Variable in class ASTLexer
 
buf - Variable in class CoolTokenLexer
 
buildInheritanceTree() - Method in class CgenClassTable
 
byteMode(PrintStream) - Static method in class CgenSupport
Switch output mode to BYTE

C

Case - Class in <Unnamed>
Defines simple phylum Case
Case(int) - Constructor for class Case
 
CASE - Static variable in class TokenConstants
 
Cases - Class in <Unnamed>
Defines list phylum Cases
Cases(int, Vector) - Constructor for class Cases
 
Cases(int) - Constructor for class Cases
Creates an empty "Cases" list
cases - Variable in class typcase
 
Cgen - Class in <Unnamed>
Static semantics driver class
Cgen() - Constructor for class Cgen
 
cgen(PrintStream) - Method in class Program
 
cgen(PrintStream) - Method in class programc
This method is the entry point to the code generator.
cgen_debug - Static variable in class Flags
Enable code gen debugging
cgen_Memmgr - Static variable in class Flags
Garbage collector flag (default GC_NOGC)
cgen_Memmgr_Debug - Static variable in class Flags
Garbage collector debugging flag (default GC_QUICK)
cgen_Memmgr_Test - Static variable in class Flags
Garbage collector testing flag (default GC_NORMAL)
cgen_optimize - Static variable in class Flags
Code optimization flag
CgenClassTable - Class in <Unnamed>
This class is used for representing the inheritance tree during code generation.
CgenClassTable(Classes, PrintStream) - Constructor for class CgenClassTable
Constructs a new class table and invokes the code generator
CgenNode - Class in <Unnamed>
 
CgenNode(Class_, int, CgenClassTable) - Constructor for class CgenNode
Constructs a new CgenNode to represent class "c".
CgenSupport - Class in <Unnamed>
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.
CgenSupport() - Constructor for class CgenSupport
 
check_string_overflow() - Method in class CoolLexer
 
checkTables - Static variable in class Utilities
 
children - Variable in class CgenNode
The children of this node in the inheritance tree
CLASS - Static variable in class ASTConstants
 
CLASS - Static variable in class TokenConstants
 
Class_ - Class in <Unnamed>
Defines simple phylum Class_
Class_(int) - Constructor for class Class_
 
class_c - Class in <Unnamed>
Defines AST constructor 'class_c'.
class_c(int, AbstractSymbol, AbstractSymbol, Features, AbstractSymbol) - Constructor for class class_c
Creates "class_c" AST node.
Classes - Class in <Unnamed>
Defines list phylum Classes
Classes(int, Vector) - Constructor for class Classes
 
Classes(int) - Constructor for class Classes
Creates an empty "Classes" list
classes - Variable in class programc
 
CLASSINIT_SUFFIX - Static variable in class CgenSupport
 
CLASSNAMETAB - Static variable in class CgenSupport
 
CLASSOBJTAB - Static variable in class CgenSupport
 
ClassTable - Class in <Unnamed>
This class may be used to contain the semantic information such as the inheritance graph.
ClassTable(Classes) - Constructor for class ClassTable
 
clone() - Method in class AbstractSymbol
Returns a copy of this symbol
clone() - Method in class IdSymbol
Returns a copy of this symbol
clone() - Method in class IntSymbol
Returns a copy of this symbol
clone() - Method in class StringSymbol
Returns a copy of this symbol
code(PrintStream) - Method in class assign
Generates code for this expression.
code(PrintStream) - Method in class block
Generates code for this expression.
code(PrintStream) - Method in class bool_const
Generates code for this expression.
code() - Method in class CgenClassTable
This method is the meat of the code generator.
code(PrintStream) - Method in class comp
Generates code for this expression.
code(PrintStream) - Method in class cond
Generates code for this expression.
code(PrintStream) - Method in class dispatch
Generates code for this expression.
code(PrintStream) - Method in class divide
Generates code for this expression.
code(PrintStream) - Method in class eq
Generates code for this expression.
code(PrintStream) - Method in class Expression
 
code(PrintStream) - Method in class int_const
Generates code for this expression.
code(PrintStream) - Method in class isvoid
Generates code for this expression.
code(PrintStream) - Method in class leq
Generates code for this expression.
code(PrintStream) - Method in class let
Generates code for this expression.
code(PrintStream) - Method in class loop
Generates code for this expression.
code(PrintStream) - Method in class lt
Generates code for this expression.
code(PrintStream) - Method in class mul
Generates code for this expression.
code(PrintStream) - Method in class neg
Generates code for this expression.
code(PrintStream) - Method in class new_
Generates code for this expression.
code(PrintStream) - Method in class no_expr
Generates code for this expression.
code(PrintStream) - Method in class object
Generates code for this expression.
code(PrintStream) - Method in class plus
Generates code for this expression.
code(PrintStream) - Method in class static_dispatch
Generates code for this expression.
code(PrintStream) - Method in class string_const
Generates code for this expression.
code(PrintStream) - Method in class sub
Generates code for this expression.
code(PrintStream) - Method in class typcase
Generates code for this expression.
codeBools(int) - Method in class CgenClassTable
Emits code definitions for boolean constants.
codeConstants() - Method in class CgenClassTable
Emits code to reserve space for and initialize all of the constants.
codeDef(int, PrintStream) - Method in class BoolConst
Generates code for the boolean constant definition.
codeDef(int, PrintStream) - Method in class IntSymbol
Generates code for the integer constant definition.
codeDef(int, PrintStream) - Method in class StringSymbol
Generates code for the string constant definition.
codeGlobalData() - Method in class CgenClassTable
Emits code to start the .data segment and to declare the global names.
codeGlobalText() - Method in class CgenClassTable
Emits code to start the .text segment and to declare the global names.
codeRef(PrintStream) - Method in class BoolConst
Emits a reference to this boolean constant.
codeRef(PrintStream) - Method in class IntSymbol
Emits a reference to this integer constant.
codeRef(PrintStream) - Method in class StringSymbol
Emits a reference to this string constant.
codeSelectGc() - Method in class CgenClassTable
Generates GC choice constants (pointers to GC functions)
codeStringTable(int, PrintStream) - Method in class IntTable
Generates code for all int constants in the int table.
codeStringTable(int, PrintStream) - Method in class StringTable
Generates code for all string constants in the string table.
COLON - Static variable in class ASTConstants
 
COLON - Static variable in class TokenConstants
 
COMMA - Static variable in class TokenConstants
 
COMMENT - Variable in class CoolLexer
 
comment_nesting - Variable in class CoolLexer
 
COMP - Static variable in class ASTConstants
 
comp - Class in <Unnamed>
Defines AST constructor 'comp'.
comp(int, Expression) - Constructor for class comp
Creates "comp" AST node.
concat - Static variable in class TreeConstants
 
COND - Static variable in class ASTConstants
 
cond - Class in <Unnamed>
Defines AST constructor 'cond'.
cond(int, Expression, Expression, Expression) - Constructor for class cond
Creates "cond" AST node.
cool_abort - Static variable in class TreeConstants
 
CoolLexer - Class in <Unnamed>
 
CoolLexer(Reader) - Constructor for class CoolLexer
 
CoolLexer(InputStream) - Constructor for class CoolLexer
 
CoolLexer() - Constructor for class CoolLexer
 
CoolParser - Class in <Unnamed>
CUP v0.10k generated parser.
CoolParser() - Constructor for class CoolParser
Default constructor.
CoolParser(Scanner) - Constructor for class CoolParser
Constructor which sets the default scanner.
CoolTokenLexer - Class in <Unnamed>
 
CoolTokenLexer(Reader) - Constructor for class CoolTokenLexer
 
CoolTokenLexer(InputStream) - Constructor for class CoolTokenLexer
 
CoolTokenLexer() - Constructor for class CoolTokenLexer
 
copy() - Method in class assign
 
copy() - Method in class attr
 
copy() - Method in class block
 
copy() - Method in class bool_const
 
copy() - Method in class branch
 
copy() - Method in class Cases
 
copy() - Method in class class_c
 
copy() - Method in class Classes
 
copy() - Method in class comp
 
copy() - Method in class cond
 
copy() - Method in class dispatch
 
copy() - Method in class divide
 
copy() - Method in class eq
 
copy() - Method in class Expressions
 
copy() - Method in class Features
 
copy() - Method in class formalc
 
copy() - Method in class Formals
 
copy() - Method in class int_const
 
copy() - Method in class isvoid
 
copy() - Method in class leq
 
copy() - Method in class let
 
copy() - Method in class loop
 
copy() - Method in class lt
 
copy() - Method in class method
 
copy() - Method in class mul
 
copy() - Method in class neg
 
copy() - Method in class new_
 
copy() - Method in class no_expr
 
copy() - Method in class object
 
copy() - Method in class plus
 
copy() - Method in class programc
 
copy() - Method in class static_dispatch
 
copy() - Method in class string_const
 
copy() - Method in class sub
 
copy - Static variable in class TreeConstants
 
copy() - Method in class TreeNode
Creates a copy of this node.
copy() - Method in class typcase
 
copy_AbstractSymbol(AbstractSymbol) - Method in class TreeNode
Copies an AbstractSymbol value.
copy_Boolean(Boolean) - Method in class TreeNode
Copies a boolean value.
copyElements() - Method in class ListNode
Creates a deep copy of this list.
CUP$ASTParser$actions - Class in <Unnamed>
Cup generated class to encapsulate user supplied action code.
CUP$ASTParser$actions(ASTParser) - Constructor for class CUP$ASTParser$actions
Constructor
CUP$ASTParser$do_action(int, lr_parser, Stack, int) - Method in class CUP$ASTParser$actions
Method with the actual generated action code.
CUP$CoolParser$actions - Class in <Unnamed>
Cup generated class to encapsulate user supplied action code.
CUP$CoolParser$actions(CoolParser) - Constructor for class CUP$CoolParser$actions
Constructor
CUP$CoolParser$do_action(int, lr_parser, Stack, int) - Method in class CUP$CoolParser$actions
Method with the actual generated action code.
curr_filename() - Method in class CoolLexer
 
curr_filename() - Method in class CoolTokenLexer
 
curr_filename() - Method in class CUP$CoolParser$actions
 
curr_lineno - Variable in class CoolLexer
 
curr_lineno() - Method in class CoolTokenLexer
 
curr_lineno - Variable in class CUP$ASTParser$actions
 
curr_lineno() - Method in class CUP$CoolParser$actions
 

D

DARROW - Static variable in class TokenConstants
 
DEFAULT_OBJFIELDS - Static variable in class CgenSupport
 
DISPATCH - Static variable in class ASTConstants
 
dispatch - Class in <Unnamed>
Defines AST constructor 'dispatch'.
dispatch(int, Expression, AbstractSymbol, Expressions) - Constructor for class dispatch
Creates "dispatch" AST node.
DISPTAB_SUFFIX - Static variable in class CgenSupport
 
DISPTABLE_OFFSET - Static variable in class CgenSupport
 
DIV - Static variable in class CgenSupport
 
DIV - Static variable in class TokenConstants
 
DIVIDE - Static variable in class ASTConstants
 
divide - Class in <Unnamed>
Defines AST constructor 'divide'.
divide(int, Expression, Expression) - Constructor for class divide
Creates "divide" AST node.
do_action(int, lr_parser, Stack, int) - Method in class ASTParser
Invoke a user supplied parse action.
do_action(int, lr_parser, Stack, int) - Method in class CoolParser
Invoke a user supplied parse action.
DOT - Static variable in class TokenConstants
 
dump(PrintStream, int) - Method in class assign
 
dump(PrintStream, int) - Method in class attr
 
dump(PrintStream, int) - Method in class block
 
dump(PrintStream, int) - Method in class bool_const
 
dump(PrintStream, int) - Method in class branch
 
dump(PrintStream, int) - Method in class class_c
 
dump(PrintStream, int) - Method in class comp
 
dump(PrintStream, int) - Method in class cond
 
dump(PrintStream, int) - Method in class dispatch
 
dump(PrintStream, int) - Method in class divide
 
dump(PrintStream, int) - Method in class eq
 
dump(PrintStream, int) - Method in class formalc
 
dump(PrintStream, int) - Method in class int_const
 
dump(PrintStream, int) - Method in class isvoid
 
dump(PrintStream, int) - Method in class leq
 
dump(PrintStream, int) - Method in class let
 
dump(PrintStream, int) - Method in class ListNode
Pretty-prints this list to this output stream.
dump(PrintStream, int) - Method in class loop
 
dump(PrintStream, int) - Method in class lt
 
dump(PrintStream, int) - Method in class method
 
dump(PrintStream, int) - Method in class mul
 
dump(PrintStream, int) - Method in class neg
 
dump(PrintStream, int) - Method in class new_
 
dump(PrintStream, int) - Method in class no_expr
 
dump(PrintStream, int) - Method in class object
 
dump(PrintStream, int) - Method in class plus
 
dump(PrintStream, int) - Method in class programc
 
dump(PrintStream, int) - Method in class static_dispatch
 
dump(PrintStream, int) - Method in class string_const
 
dump(PrintStream, int) - Method in class sub
 
dump(PrintStream, int) - Method in class TreeNode
Pretty-prints this node to this output stream.
dump(PrintStream, int) - Method in class typcase
 
dump_AbstractSymbol(PrintStream, int, AbstractSymbol) - Method in class TreeNode
Dumps a printable representation of an AbstactSymbol value.
dump_Boolean(PrintStream, int, Boolean) - Method in class TreeNode
Dumps a printable representation of a boolean value.
dump_line(PrintStream, int) - Method in class TreeNode
Dumps a printable representation of current line number This method is used internally by the generated AST classes
dump_type(PrintStream, int) - Method in class Expression
 
dump_with_types(PrintStream, int) - Method in class assign
 
dump_with_types(PrintStream, int) - Method in class attr
 
dump_with_types(PrintStream, int) - Method in class block
 
dump_with_types(PrintStream, int) - Method in class bool_const
 
dump_with_types(PrintStream, int) - Method in class branch
 
dump_with_types(PrintStream, int) - Method in class Case
 
dump_with_types(PrintStream, int) - Method in class Class_
 
dump_with_types(PrintStream, int) - Method in class class_c
 
dump_with_types(PrintStream, int) - Method in class comp
 
dump_with_types(PrintStream, int) - Method in class cond
 
dump_with_types(PrintStream, int) - Method in class dispatch
 
dump_with_types(PrintStream, int) - Method in class divide
 
dump_with_types(PrintStream, int) - Method in class eq
 
dump_with_types(PrintStream, int) - Method in class Expression
 
dump_with_types(PrintStream, int) - Method in class Feature
 
dump_with_types(PrintStream, int) - Method in class Formal
 
dump_with_types(PrintStream, int) - Method in class formalc
 
dump_with_types(PrintStream, int) - Method in class int_const
 
dump_with_types(PrintStream, int) - Method in class isvoid
 
dump_with_types(PrintStream, int) - Method in class leq
 
dump_with_types(PrintStream, int) - Method in class let
 
dump_with_types(PrintStream, int) - Method in class loop
 
dump_with_types(PrintStream, int) - Method in class lt
 
dump_with_types(PrintStream, int) - Method in class method
 
dump_with_types(PrintStream, int) - Method in class mul
 
dump_with_types(PrintStream, int) - Method in class neg
 
dump_with_types(PrintStream, int) - Method in class new_
 
dump_with_types(PrintStream, int) - Method in class no_expr
 
dump_with_types(PrintStream, int) - Method in class object
 
dump_with_types(PrintStream, int) - Method in class plus
 
dump_with_types(PrintStream, int) - Method in class Program
 
dump_with_types(PrintStream, int) - Method in class programc
 
dump_with_types(PrintStream, int) - Method in class static_dispatch
 
dump_with_types(PrintStream, int) - Method in class string_const
 
dump_with_types(PrintStream, int) - Method in class sub
 
dump_with_types(PrintStream, int) - Method in class typcase
 
dumpToken(PrintStream, int, Symbol) - Static method in class Utilities
Dumps a token to the specified stream

E

e1 - Variable in class comp
 
e1 - Variable in class divide
 
e1 - Variable in class eq
 
e1 - Variable in class isvoid
 
e1 - Variable in class leq
 
e1 - Variable in class lt
 
e1 - Variable in class mul
 
e1 - Variable in class neg
 
e1 - Variable in class plus
 
e1 - Variable in class sub
 
e2 - Variable in class divide
 
e2 - Variable in class eq
 
e2 - Variable in class leq
 
e2 - Variable in class lt
 
e2 - Variable in class mul
 
e2 - Variable in class plus
 
e2 - Variable in class sub
 
elementClass - Static variable in class Cases
 
elementClass - Static variable in class Classes
 
elementClass - Static variable in class Expressions
 
elementClass - Static variable in class Features
 
elementClass - Static variable in class Formals
 
elements - Variable in class ListNode
 
ELSE - Static variable in class TokenConstants
 
else_exp - Variable in class cond
 
emitAdd(String, String, String, PrintStream) - Static method in class CgenSupport
Emits an ADD instruction.
emitAddiu(String, String, int, PrintStream) - Static method in class CgenSupport
Emits an ADDIU instruction.
emitAddu(String, String, String, PrintStream) - Static method in class CgenSupport
Emits an ADDU instruction.
emitBeq(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BEQ instruction.
emitBeqz(String, int, PrintStream) - Static method in class CgenSupport
Emits a BEQZ instruction.
emitBgti(String, int, int, PrintStream) - Static method in class CgenSupport
Emits a BGTI instruction.
emitBleq(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BLEQ instruction.
emitBlt(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BLT instruction.
emitBlti(String, int, int, PrintStream) - Static method in class CgenSupport
Emits a BLTI instruction.
emitBne(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BNE instruction.
emitBranch(int, PrintStream) - Static method in class CgenSupport
Emits a BRANCH instruction.
emitDispTableRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to dispatch table.
emitDiv(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a DIV instruction.
emitFetchInt(String, String, PrintStream) - Static method in class CgenSupport
Emits code to fetch the integer value of the Integer object.
emitGCAssign(PrintStream) - Static method in class CgenSupport
Emits a call to gc_assign.
emitGCCheck(String, PrintStream) - Static method in class CgenSupport
Emits code to check the garbage collector
emitInitRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to class' init() method.
emitJal(String, PrintStream) - Static method in class CgenSupport
Emits a JAL instruction.
emitJalr(String, PrintStream) - Static method in class CgenSupport
Emits a JALR instruction.
emitLabelDef(int, PrintStream) - Static method in class CgenSupport
Emits a definition of a label
emitLabelRef(int, PrintStream) - Static method in class CgenSupport
Emits a reference to a label
emitLoad(String, int, String, PrintStream) - Static method in class CgenSupport
Emits an LW instruction.
emitLoadAddress(String, String, PrintStream) - Static method in class CgenSupport
Emits an LA instruction.
emitLoadBool(String, BoolConst, PrintStream) - Static method in class CgenSupport
Emits an instruction to load a boolean constant into a register.
emitLoadImm(String, int, PrintStream) - Static method in class CgenSupport
Emits the LI instruction.
emitLoadInt(String, IntSymbol, PrintStream) - Static method in class CgenSupport
Emits an instruction to load an integer constant into a register.
emitLoadString(String, StringSymbol, PrintStream) - Static method in class CgenSupport
Emits an instruction to load a string constant into a register.
emitMethodRef(AbstractSymbol, AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to a method in a class
emitMove(String, String, PrintStream) - Static method in class CgenSupport
Emits a MOVE instruction.
emitMul(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a MUL instruction.
emitNeg(String, String, PrintStream) - Static method in class CgenSupport
Emits a NEG instruction.
emitPartialLoadAddress(String, PrintStream) - Static method in class CgenSupport
Emits an LA instruction without the address part.
emitProtObjRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to class' prototype object.
emitPush(String, PrintStream) - Static method in class CgenSupport
Emit a sequence of instructions to push a register onto stack.
emitReturn(PrintStream) - Static method in class CgenSupport
Emits a RET instruction.
emitSll(String, String, int, PrintStream) - Static method in class CgenSupport
Emits an SLL instruction.
emitStore(String, int, String, PrintStream) - Static method in class CgenSupport
Emits an SW instruction.
emitStoreInt(String, String, PrintStream) - Static method in class CgenSupport
Emits code to store the integer value of the Integer object.
emitStringConstant(String, PrintStream) - Static method in class CgenSupport
Emits a string constant.
emitSub(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a SUB instruction.
emitTestCollector(PrintStream) - Static method in class CgenSupport
Emits code to manipulate garbage collector
EMPTYSLOT - Static variable in class CgenSupport
 
enterScope() - Method in class SymbolTable
Enters a new scope.
EOF - Static variable in class ASTConstants
 
EOF - Static variable in class TokenConstants
 
EOF_sym() - Method in class ASTParser
EOF Symbol index.
EOF_sym() - Method in class CoolParser
EOF Symbol index.
EQ - Static variable in class ASTConstants
 
eq - Class in <Unnamed>
Defines AST constructor 'eq'.
eq(int, Expression, Expression) - Constructor for class eq
Creates "eq" AST node.
EQ - Static variable in class TokenConstants
 
equals(Object) - Method in class AbstractSymbol
Tests if two symbols are equal.
equalsIndex(int) - Method in class AbstractSymbol
Tests if the index argument is equal to the index of this symbol.
equalString(String, int) - Method in class AbstractSymbol
Tests if the string argument is equal to the string in this symbol.
ERR - Variable in class CoolTokenLexer
 
error - Static variable in class ASTConstants
 
error - Static variable in class TokenConstants
 
ERROR - Static variable in class TokenConstants
 
error_sym() - Method in class ASTParser
error Symbol index.
error_sym() - Method in class CoolParser
error Symbol index.
errors() - Method in class ClassTable
Returns true if there are any static semantic errors.
errorStream - Variable in class ClassTable
 
ESAC - Static variable in class TokenConstants
 
exitScope() - Method in class SymbolTable
Exits the most recently entered scope.
expr - Variable in class assign
 
expr - Variable in class branch
 
expr - Variable in class dispatch
 
expr - Variable in class method
 
expr - Variable in class static_dispatch
 
expr - Variable in class typcase
 
Expression - Class in <Unnamed>
Defines simple phylum Expression
Expression(int) - Constructor for class Expression
 
Expressions - Class in <Unnamed>
Defines list phylum Expressions
Expressions(int, Vector) - Constructor for class Expressions
 
Expressions(int) - Constructor for class Expressions
Creates an empty "Expressions" list

F

falsebool - Static variable in class BoolConst
 
fatalError(String) - Static method in class Utilities
Prints error message and exits
Feature - Class in <Unnamed>
Defines simple phylum Feature
Feature(int) - Constructor for class Feature
 
features - Variable in class class_c
 
Features - Class in <Unnamed>
Defines list phylum Features
Features(int, Vector) - Constructor for class Features
 
Features(int) - Constructor for class Features
Creates an empty "Features" list
FI - Static variable in class TokenConstants
 
filename - Variable in class class_c
 
filename - Variable in class CoolLexer
 
filename - Variable in class CoolTokenLexer
 
Flags - Class in <Unnamed>
Command line flags
Flags() - Constructor for class Flags
 
FORMAL - Static variable in class ASTConstants
 
Formal - Class in <Unnamed>
Defines simple phylum Formal
Formal(int) - Constructor for class Formal
 
formalc - Class in <Unnamed>
Defines AST constructor 'formalc'.
formalc(int, AbstractSymbol, AbstractSymbol) - Constructor for class formalc
Creates "formalc" AST node.
Formals - Class in <Unnamed>
Defines list phylum Formals
Formals(int, Vector) - Constructor for class Formals
 
Formals(int) - Constructor for class Formals
Creates an empty "Formals" list
formals - Variable in class method
 
FP - Static variable in class CgenSupport
 

G

GC_DEBUG - Static variable in class Flags
Full GC debugging
GC_GENGC - Static variable in class Flags
Generational garbage collection
GC_NOGC - Static variable in class Flags
No garbage collection
GC_NORMAL - Static variable in class Flags
Normal GC operation
GC_QUICK - Static variable in class Flags
Quick GC debugging
GC_SNCGC - Static variable in class Flags
Stop-and-copy garbage collection
GC_TEST - Static variable in class Flags
Test GC operation
gcCollectNames - Static variable in class CgenSupport
Runtime constants for controlling the garbage collector.
gcInitNames - Static variable in class CgenSupport
Runtime constants for controlling the garbage collector.
get_curr_lineno() - Method in class CoolLexer
 
get_type() - Method in class Expression
 
getChildren() - Method in class CgenNode
Gets the children of this class
getElementClass() - Method in class Cases
Returns class of this lists's elements
getElementClass() - Method in class Classes
Returns class of this lists's elements
getElementClass() - Method in class Expressions
Returns class of this lists's elements
getElementClass() - Method in class Features
Returns class of this lists's elements
getElementClass() - Method in class Formals
Returns class of this lists's elements
getElementClass() - Method in class ListNode
Returns the class of list elements.
getElements() - Method in class ListNode
Retreives the elements of the list as Enumeration.
getFeatures() - Method in class Class_
 
getFeatures() - Method in class class_c
 
getFilename() - Method in class Class_
 
getFilename() - Method in class class_c
 
getLength() - Method in class ListNode
Retreives the length of the list.
getLineNumber() - Method in class TreeNode
Retreives the line number from which this node came.
getName() - Method in class Class_
 
getName() - Method in class class_c
 
getNewSymbol(String, int, int) - Method in class AbstractTable
Creates a new symbol of the appropriate type
getNewSymbol(String, int, int) - Method in class IdTable
Creates a new IdSymbol object.
getNewSymbol(String, int, int) - Method in class IntTable
Creates a new IntSymbol object.
getNewSymbol(String, int, int) - Method in class StringTable
Creates a new StringSymbol object.
getNth(int) - Method in class ListNode
Retreives nth element of the list.
getParent() - Method in class Class_
 
getParent() - Method in class class_c
 
getParentNd() - Method in class CgenNode
Gets the parent of this class
getString() - Method in class AbstractSymbol
Returns the string representation of this symbol.
getSymbols() - Method in class AbstractTable
Returns an enumeration of symbols in this string table
GLOBAL - Static variable in class CgenSupport
 

H

handleFlags(String[]) - Static method in class Flags
Processes command line flags and extracts filenames to be compiled
HEAP_START - Static variable in class CgenSupport
 

I

ID - Static variable in class ASTConstants
 
identifier - Variable in class let
 
IdSymbol - Class in <Unnamed>
String table entry for identifiers.
IdSymbol(String, int, int) - Constructor for class IdSymbol
 
idtable - Static variable in class AbstractTable
Global string table of identifiers
IdTable - Class in <Unnamed>
 
IdTable() - Constructor for class IdTable
 
IF - Static variable in class TokenConstants
 
IN - Static variable in class TokenConstants
 
in_filename - Static variable in class Flags
First input filename
in_int - Static variable in class TreeConstants
 
in_string - Static variable in class TreeConstants
 
index - Variable in class AbstractSymbol
The index of this entry in the string table
INHERITS - Static variable in class TokenConstants
 
init - Variable in class attr
 
init - Variable in class let
 
init_actions() - Method in class ASTParser
Action encapsulation object initializer.
init_actions() - Method in class CoolParser
Action encapsulation object initializer.
installBasicClasses() - Method in class CgenClassTable
Creates data structures representing basic Cool classes (Object, IO, Int, Bool, String).
installBasicClasses() - Method in class ClassTable
Creates data structures representing basic Cool classes (Object, IO, Int, Bool, String).
installClass(CgenNode) - Method in class CgenClassTable
 
installClasses(Classes) - Method in class CgenClassTable
 
INT - Static variable in class ASTConstants
 
INT - Variable in class CoolTokenLexer
 
Int - Static variable in class TreeConstants
 
INT_CONST - Static variable in class ASTConstants
 
int_const - Class in <Unnamed>
Defines AST constructor 'int_const'.
int_const(int, AbstractSymbol) - Constructor for class int_const
Creates "int_const" AST node.
INT_CONST - Static variable in class TokenConstants
 
INT_SLOTS - Static variable in class CgenSupport
 
intclasstag - Variable in class CgenClassTable
 
INTCONST_PREFIX - Static variable in class CgenSupport
 
IntSymbol - Class in <Unnamed>
String table entry for integer constants
IntSymbol(String, int, int) - Constructor for class IntSymbol
 
inttable - Static variable in class AbstractTable
Global string table of integer constants
IntTable - Class in <Unnamed>
 
IntTable() - Constructor for class IntTable
 
INTTAG - Static variable in class CgenSupport
 
IO - Static variable in class TreeConstants
 
ISVOID - Static variable in class ASTConstants
 
isvoid - Class in <Unnamed>
Defines AST constructor 'isvoid'.
isvoid(int, Expression) - Constructor for class isvoid
Creates "isvoid" AST node.
ISVOID - Static variable in class TokenConstants
 

J

JAL - Static variable in class CgenSupport
 
JALR - Static variable in class CgenSupport
 

L

LA - Static variable in class CgenSupport
 
LABEL - Static variable in class CgenSupport
 
LBRACE - Static variable in class TokenConstants
 
LE - Static variable in class TokenConstants
 
length - Static variable in class TreeConstants
 
LEQ - Static variable in class ASTConstants
 
leq - Class in <Unnamed>
Defines AST constructor 'leq'.
leq(int, Expression, Expression) - Constructor for class leq
Creates "leq" AST node.
LET - Static variable in class ASTConstants
 
let - Class in <Unnamed>
Defines AST constructor 'let'.
let(int, AbstractSymbol, AbstractSymbol, Expression, Expression) - Constructor for class let
Creates "let" AST node.
LET - Static variable in class TokenConstants
 
LET_STMT - Static variable in class TokenConstants
 
Lexer - Class in <Unnamed>
The lexer driver class
Lexer() - Constructor for class Lexer
 
LI - Static variable in class CgenSupport
 
line() - Method in class ASTLexer
 
line - Variable in class CoolTokenLexer
 
LINE_COMMENT - Variable in class CoolLexer
 
LINENO - Static variable in class ASTConstants
 
lineNumber - Variable in class TreeNode
line in the source file from which this node came.
ListNode - Class in <Unnamed>
Base class for lists of AST elements.
ListNode(int, Vector) - Constructor for class ListNode
 
ListNode(int) - Constructor for class ListNode
Builds a new list node
LOG_WORD_SIZE - Static variable in class CgenSupport
 
lookup(int) - Method in class AbstractTable
Looks up a symbol in this string table by its index A fatal error is signalled if the index is out of bounds.
lookup(String) - Method in class AbstractTable
Looks up a symbol in this string table by its string representation A fatal error is signalled if the string is not in the table
lookup(AbstractSymbol) - Method in class SymbolTable
Looks up an item through all scopes of the symbol table.
LOOP - Static variable in class ASTConstants
 
loop - Class in <Unnamed>
Defines AST constructor 'loop'.
loop(int, Expression, Expression) - Constructor for class loop
Creates "loop" AST node.
LOOP - Static variable in class TokenConstants
 
LPAREN - Static variable in class ASTConstants
 
LPAREN - Static variable in class TokenConstants
 
LT - Static variable in class ASTConstants
 
lt - Class in <Unnamed>
Defines AST constructor 'lt'.
lt(int, Expression, Expression) - Constructor for class lt
Creates "lt" AST node.
LT - Static variable in class TokenConstants
 
LW - Static variable in class CgenSupport
 

M

main(String[]) - Static method in class ASTTest
Reads lexed tokens from consosle, and outputs the parser tree
main(String[]) - Static method in class Cgen
Reads AST from from consosle, and outputs the assembly code
main(String[]) - Static method in class ClassTable
 
main(String[]) - Static method in class Lexer
Loops over lexed tokens, printing them out to the console
main(String[]) - Static method in class Parser
Reads lexed tokens from consosle, and outputs the parse tree
main(String[]) - Static method in class Semant
Reads AST from from consosle, and outputs the new AST
main(String[]) - Static method in class SymtabExample
 
main(String[]) - Static method in class TokenLexer
Loops over lexed tokens, printing them out to the console
Main - Static variable in class TreeConstants
 
main_meth - Static variable in class TreeConstants
 
MAX_STR_CONST - Static variable in class CoolLexer
 
MAXINT - Static variable in class CgenSupport
 
MAXSIZE - Static variable in class AbstractTable
 
METHOD - Static variable in class ASTConstants
 
method - Class in <Unnamed>
Defines AST constructor 'method'.
method(int, AbstractSymbol, Formals, AbstractSymbol, Expression) - Constructor for class method
Creates "method" AST node.
METHOD_SEP - Static variable in class CgenSupport
 
MINUS - Static variable in class TokenConstants
 
MOVE - Static variable in class CgenSupport
 
MUL - Static variable in class ASTConstants
 
MUL - Static variable in class CgenSupport
 
mul - Class in <Unnamed>
Defines AST constructor 'mul'.
mul(int, Expression, Expression) - Constructor for class mul
Creates "mul" AST node.
MULT - Static variable in class TokenConstants
 

N

name - Variable in class assign
 
name - Variable in class attr
 
name - Variable in class branch
 
name - Variable in class class_c
 
name - Variable in class dispatch
 
name - Variable in class formalc
 
name - Variable in class method
 
name - Variable in class object
 
name - Variable in class static_dispatch
 
nds - Variable in class CgenClassTable
All classes in the program, represented as CgenNode
NEG - Static variable in class ASTConstants
 
NEG - Static variable in class CgenSupport
 
neg - Class in <Unnamed>
Defines AST constructor 'neg'.
neg(int, Expression) - Constructor for class neg
Creates "neg" AST node.
NEG - Static variable in class TokenConstants
 
NEW - Static variable in class ASTConstants
 
NEW - Static variable in class TokenConstants
 
new_ - Class in <Unnamed>
Defines AST constructor 'new_'.
new_(int, AbstractSymbol) - Constructor for class new_
Creates "new_" AST node.
next_token() - Method in class ASTLexer
 
next_token() - Method in class CoolLexer
 
next_token() - Method in class CoolTokenLexer
 
No_class - Static variable in class TreeConstants
 
NO_EXPR - Static variable in class ASTConstants
 
no_expr - Class in <Unnamed>
Defines AST constructor 'no_expr'.
no_expr(int) - Constructor for class no_expr
Creates "no_expr" AST node.
NO_TYPE - Static variable in class ASTConstants
 
No_type - Static variable in class TreeConstants
 
NOT - Static variable in class TokenConstants
 
NotBasic - Static variable in class CgenNode
Indicates a class that came from a Cool program

O

OBJECT - Static variable in class ASTConstants
 
object - Class in <Unnamed>
Defines AST constructor 'object'.
object(int, AbstractSymbol) - Constructor for class object
Creates "object" AST node.
Object_ - Static variable in class TreeConstants
 
OBJECTID - Static variable in class TokenConstants
 
OBJECTPROTOBJ - Static variable in class CgenSupport
 
OBJSYM - Variable in class CoolTokenLexer
 
OF - Static variable in class TokenConstants
 
omerrs - Variable in class CoolParser
 
out_filename - Static variable in class Flags
Output filename
out_int - Static variable in class TreeConstants
 
out_string - Static variable in class TreeConstants
 

P

pad(int) - Static method in class Utilities
Returns the specified amount of space padding
padding - Static variable in class Utilities
 
parent - Variable in class CgenNode
The parent of this node in the inheritance tree
parent - Variable in class class_c
 
parser - Variable in class CUP$ASTParser$actions
 
parser - Variable in class CUP$CoolParser$actions
 
Parser - Class in <Unnamed>
The parser driver class
Parser() - Constructor for class Parser
 
parser_debug - Static variable in class Flags
Enable parser debugging
PLUS - Static variable in class ASTConstants
 
plus - Class in <Unnamed>
Defines AST constructor 'plus'.
plus(int, Expression, Expression) - Constructor for class plus
Creates "plus" AST node.
PLUS - Static variable in class TokenConstants
 
POOL - Static variable in class TokenConstants
 
pred - Variable in class cond
 
pred - Variable in class loop
 
prevstate - Variable in class CoolTokenLexer
 
prim_slot - Static variable in class TreeConstants
 
printEscapedString(PrintStream, String) - Static method in class Utilities
Prints an appropritely escaped string
printToken(Symbol) - Static method in class Utilities
Prints a token to stderr
probe(AbstractSymbol) - Method in class SymbolTable
Probes the symbol table.
production_table() - Method in class ASTParser
Access to production table.
production_table() - Method in class CoolParser
Access to production table.
PROGRAM - Static variable in class ASTConstants
 
Program - Class in <Unnamed>
Defines simple phylum Program
Program(int) - Constructor for class Program
 
programc - Class in <Unnamed>
Defines AST constructor 'programc'.
programc(int, Classes) - Constructor for class programc
Creates "programc" AST node.
PROTOBJ_SUFFIX - Static variable in class CgenSupport
 

R

RA - Static variable in class CgenSupport
 
RBRACE - Static variable in class TokenConstants
 
reduce_table() - Method in class ASTParser
Access to reduce_goto table.
reduce_table() - Method in class CoolParser
Access to reduce_goto table.
RET - Static variable in class CgenSupport
 
return_type - Variable in class method
 
root() - Method in class CgenClassTable
Gets the root of the inheritance tree
RPAREN - Static variable in class ASTConstants
 
RPAREN - Static variable in class TokenConstants
 

S

SELF - Static variable in class CgenSupport
 
self - Static variable in class TreeConstants
 
SELF_TYPE - Static variable in class TreeConstants
 
semant() - Method in class Program
 
semant() - Method in class programc
This method is the entry point to the semantic checker.
Semant - Class in <Unnamed>
Static semantics driver class
Semant() - Constructor for class Semant
 
semant_debug - Static variable in class Flags
Enable semantic analysis debugging
semantError(class_c) - Method in class ClassTable
Prints line number and file name of the given class.
semantError(AbstractSymbol, TreeNode) - Method in class ClassTable
Prints the file name and the line number of the given tree node.
semantError() - Method in class ClassTable
Increments semantic error count and returns the print stream for error messages.
semantErrors - Variable in class ClassTable
 
SEMI - Static variable in class TokenConstants
 
set(TreeNode) - Method in class TreeNode
Sets the values of this node object to the values of a given node.
set_filename(String) - Method in class CoolLexer
 
set_type(AbstractSymbol) - Method in class Expression
 
setParentNd(CgenNode) - Method in class CgenNode
Sets the parent of this class.
setRelations(CgenNode) - Method in class CgenClassTable
 
SIZE_OFFSET - Static variable in class CgenSupport
 
SLL - Static variable in class CgenSupport
 
SP - Static variable in class CgenSupport
 
start_production() - Method in class ASTParser
Indicates start production.
start_production() - Method in class CoolParser
Indicates start production.
start_state() - Method in class ASTParser
Indicates start state.
start_state() - Method in class CoolParser
Indicates start state.
STATIC_DISPATCH - Static variable in class ASTConstants
 
static_dispatch - Class in <Unnamed>
Defines AST constructor 'static_dispatch'.
static_dispatch(int, Expression, AbstractSymbol, AbstractSymbol, Expressions) - Constructor for class static_dispatch
Creates "static_dispatch" AST node.
str - Variable in class AbstractSymbol
The stored string
STR - Static variable in class ASTConstants
 
str - Variable in class CgenClassTable
This is the stream to which assembly instructions are output
STR - Variable in class CoolTokenLexer
 
Str - Static variable in class TreeConstants
 
STR_CONST - Static variable in class ASTConstants
 
STR_CONST - Static variable in class TokenConstants
 
str_field - Static variable in class TreeConstants
 
STRCONST_PREFIX - Static variable in class CgenSupport
 
STRING - Variable in class ASTLexer
 
STRING - Variable in class CoolLexer
 
STRING - Variable in class CoolTokenLexer
 
string_buf - Variable in class CoolLexer
 
string_const - Class in <Unnamed>
Defines AST constructor 'string_const'.
string_const(int, AbstractSymbol) - Constructor for class string_const
Creates "string_const" AST node.
STRING_RECOVER - Variable in class CoolLexer
 
STRING_SLOTS - Static variable in class CgenSupport
 
stringclasstag - Variable in class CgenClassTable
 
StringSymbol - Class in <Unnamed>
String table entry for string constants.
StringSymbol(String, int, int) - Constructor for class StringSymbol
 
stringtable - Static variable in class AbstractTable
Global string table of string constants
StringTable - Class in <Unnamed>
 
StringTable() - Constructor for class StringTable
 
STRINGTAG - Static variable in class CgenSupport
 
SUB - Static variable in class ASTConstants
 
SUB - Static variable in class CgenSupport
 
sub - Class in <Unnamed>
Defines AST constructor 'sub'.
sub(int, Expression, Expression) - Constructor for class sub
Creates "sub" AST node.
substr - Static variable in class TreeConstants
 
SW - Static variable in class CgenSupport
 
SymbolTable - Class in <Unnamed>
Implements the symbol table data abstraction.
SymbolTable() - Constructor for class SymbolTable
Creates an empty symbol table.
SymtabExample - Class in <Unnamed>
An example of using a symbol table.
SymtabExample() - Constructor for class SymtabExample
 
syntax_error(Symbol) - Method in class ASTParser
 
syntax_error(Symbol) - Method in class CoolParser
 

T

T1 - Static variable in class CgenSupport
 
T2 - Static variable in class CgenSupport
 
T3 - Static variable in class CgenSupport
 
TAG_OFFSET - Static variable in class CgenSupport
 
tbl - Variable in class AbstractTable
Vector of table entries
tbl - Variable in class SymbolTable
 
THEN - Static variable in class TokenConstants
 
then_exp - Variable in class cond
 
TOKEN - Variable in class CoolTokenLexer
 
token - Variable in class int_const
 
token - Variable in class string_const
 
TokenConstants - Class in <Unnamed>
CUP generated class containing symbol constants.
TokenConstants() - Constructor for class TokenConstants
 
TokenLexer - Class in <Unnamed>
The lexer driver class for token lexer
TokenLexer() - Constructor for class TokenLexer
 
tokenToString(Symbol) - Static method in class Utilities
Returns a string representation for a token
toString() - Method in class AbstractSymbol
Returns a printable representation of this symbol.
toString() - Method in class AbstractTable
Produces a printable representation of the string table
toString() - Method in class ListNode
Returns a string representation of this list.
toString() - Method in class SymbolTable
Gets the string representation of the symbol table.
TreeConstants - Class in <Unnamed>
For convenience, this clas defines a large number of symbols.
TreeConstants() - Constructor for class TreeConstants
 
TreeNode - Class in <Unnamed>
The base class for all AST nodes.
TreeNode(int) - Constructor for class TreeNode
Builds a new tree node
truebool - Static variable in class BoolConst
 
TYPCASE - Static variable in class ASTConstants
 
typcase - Class in <Unnamed>
Defines AST constructor 'typcase'.
typcase(int, Expression, Cases) - Constructor for class typcase
Creates "typcase" AST node.
type - Variable in class Expression
 
type_decl - Variable in class attr
 
type_decl - Variable in class branch
 
type_decl - Variable in class formalc
 
type_decl - Variable in class let
 
type_name - Variable in class new_
 
type_name - Variable in class static_dispatch
 
type_name - Static variable in class TreeConstants
 
TYPEID - Static variable in class TokenConstants
 
TYPSYM - Variable in class CoolTokenLexer
 

U

unpackFromString(int, int, String) - Method in class ASTLexer
 
unpackFromString(int, int, String) - Method in class CoolLexer
 
unpackFromString(int, int, String) - Method in class CoolTokenLexer
 
unrecovered_syntax_error(Symbol) - Method in class ASTParser
 
unrecovered_syntax_error(Symbol) - Method in class CoolParser
 
Utilities - Class in <Unnamed>
 
Utilities() - Constructor for class Utilities
 

V

val - Variable in class bool_const
 
val - Variable in class BoolConst
 
val - Static variable in class TreeConstants
 

W

WHILE - Static variable in class TokenConstants
 
WORD - Static variable in class CgenSupport
 
WORD_SIZE - Static variable in class CgenSupport
 

Y

yy_acpt - Variable in class ASTLexer
 
yy_acpt - Variable in class CoolLexer
 
yy_acpt - Variable in class CoolTokenLexer
 
yy_advance() - Method in class ASTLexer
 
yy_advance() - Method in class CoolLexer
 
yy_advance() - Method in class CoolTokenLexer
 
yy_at_bol - Variable in class ASTLexer
 
yy_at_bol - Variable in class CoolLexer
 
yy_at_bol - Variable in class CoolTokenLexer
 
YY_BOL - Variable in class ASTLexer
 
YY_BOL - Variable in class CoolLexer
 
YY_BOL - Variable in class CoolTokenLexer
 
yy_buffer - Variable in class ASTLexer
 
yy_buffer - Variable in class CoolLexer
 
yy_buffer - Variable in class CoolTokenLexer
 
yy_buffer_end - Variable in class ASTLexer
 
yy_buffer_end - Variable in class CoolLexer
 
yy_buffer_end - Variable in class CoolTokenLexer
 
yy_buffer_index - Variable in class ASTLexer
 
yy_buffer_index - Variable in class CoolLexer
 
yy_buffer_index - Variable in class CoolTokenLexer
 
yy_buffer_read - Variable in class ASTLexer
 
yy_buffer_read - Variable in class CoolLexer
 
yy_buffer_read - Variable in class CoolTokenLexer
 
YY_BUFFER_SIZE - Variable in class ASTLexer
 
YY_BUFFER_SIZE - Variable in class CoolLexer
 
YY_BUFFER_SIZE - Variable in class CoolTokenLexer
 
yy_buffer_start - Variable in class ASTLexer
 
yy_buffer_start - Variable in class CoolLexer
 
yy_buffer_start - Variable in class CoolTokenLexer
 
yy_cmap - Variable in class ASTLexer
 
yy_cmap - Variable in class CoolLexer
 
yy_cmap - Variable in class CoolTokenLexer
 
yy_double(char[]) - Method in class ASTLexer
 
yy_double(char[]) - Method in class CoolLexer
 
yy_double(char[]) - Method in class CoolTokenLexer
 
YY_E_INTERNAL - Variable in class ASTLexer
 
YY_E_INTERNAL - Variable in class CoolLexer
 
YY_E_INTERNAL - Variable in class CoolTokenLexer
 
YY_E_MATCH - Variable in class ASTLexer
 
YY_E_MATCH - Variable in class CoolLexer
 
YY_E_MATCH - Variable in class CoolTokenLexer
 
YY_END - Variable in class ASTLexer
 
YY_END - Variable in class CoolLexer
 
YY_END - Variable in class CoolTokenLexer
 
YY_EOF - Variable in class ASTLexer
 
YY_EOF - Variable in class CoolLexer
 
YY_EOF - Variable in class CoolTokenLexer
 
yy_eof_done - Variable in class ASTLexer
 
yy_eof_done - Variable in class CoolLexer
 
yy_eof_done - Variable in class CoolTokenLexer
 
yy_error(int, boolean) - Method in class ASTLexer
 
yy_error(int, boolean) - Method in class CoolLexer
 
yy_error(int, boolean) - Method in class CoolTokenLexer
 
yy_error_string - Variable in class ASTLexer
 
yy_error_string - Variable in class CoolLexer
 
yy_error_string - Variable in class CoolTokenLexer
 
YY_F - Variable in class ASTLexer
 
YY_F - Variable in class CoolLexer
 
YY_F - Variable in class CoolTokenLexer
 
yy_last_was_cr - Variable in class ASTLexer
 
yy_last_was_cr - Variable in class CoolLexer
 
yy_last_was_cr - Variable in class CoolTokenLexer
 
yy_lexical_state - Variable in class ASTLexer
 
yy_lexical_state - Variable in class CoolLexer
 
yy_lexical_state - Variable in class CoolTokenLexer
 
yy_mark_end() - Method in class ASTLexer
 
yy_mark_end() - Method in class CoolLexer
 
yy_mark_end() - Method in class CoolTokenLexer
 
yy_mark_start() - Method in class ASTLexer
 
yy_mark_start() - Method in class CoolLexer
 
yy_mark_start() - Method in class CoolTokenLexer
 
yy_move_end() - Method in class ASTLexer
 
yy_move_end() - Method in class CoolLexer
 
yy_move_end() - Method in class CoolTokenLexer
 
YY_NO_ANCHOR - Variable in class ASTLexer
 
YY_NO_ANCHOR - Variable in class CoolLexer
 
YY_NO_ANCHOR - Variable in class CoolTokenLexer
 
YY_NO_STATE - Variable in class ASTLexer
 
YY_NO_STATE - Variable in class CoolLexer
 
YY_NO_STATE - Variable in class CoolTokenLexer
 
YY_NOT_ACCEPT - Variable in class ASTLexer
 
YY_NOT_ACCEPT - Variable in class CoolLexer
 
YY_NOT_ACCEPT - Variable in class CoolTokenLexer
 
yy_nxt - Variable in class ASTLexer
 
yy_nxt - Variable in class CoolLexer
 
yy_nxt - Variable in class CoolTokenLexer
 
yy_reader - Variable in class ASTLexer
 
yy_reader - Variable in class CoolLexer
 
yy_reader - Variable in class CoolTokenLexer
 
yy_rmap - Variable in class ASTLexer
 
yy_rmap - Variable in class CoolLexer
 
yy_rmap - Variable in class CoolTokenLexer
 
YY_START - Variable in class ASTLexer
 
YY_START - Variable in class CoolLexer
 
YY_START - Variable in class CoolTokenLexer
 
yy_state_dtrans - Variable in class ASTLexer
 
yy_state_dtrans - Variable in class CoolLexer
 
yy_state_dtrans - Variable in class CoolTokenLexer
 
yy_to_mark() - Method in class ASTLexer
 
yy_to_mark() - Method in class CoolLexer
 
yy_to_mark() - Method in class CoolTokenLexer
 
yybegin(int) - Method in class ASTLexer
 
yybegin(int) - Method in class CoolLexer
 
yybegin(int) - Method in class CoolTokenLexer
 
YYINITIAL - Variable in class ASTLexer
 
YYINITIAL - Variable in class CoolLexer
 
YYINITIAL - Variable in class CoolTokenLexer
 
yylength() - Method in class ASTLexer
 
yylength() - Method in class CoolLexer
 
yylength() - Method in class CoolTokenLexer
 
yyline - Variable in class ASTLexer
 
yytext() - Method in class ASTLexer
 
yytext() - Method in class CoolLexer
 
yytext() - Method in class CoolTokenLexer
 

Z

ZERO - Static variable in class CgenSupport
 

_

_action_table - Static variable in class ASTParser
Parse-action table.
_action_table - Static variable in class CoolParser
Parse-action table.
_production_table - Static variable in class ASTParser
Production table.
_production_table - Static variable in class CoolParser
Production table.
_reduce_table - Static variable in class ASTParser
reduce_goto table.
_reduce_table - Static variable in class CoolParser
reduce_goto table.

A B C D E F G H I J L M N O P R S T U V W Y Z _