A C D E F G I L M N P R S T U V

A

a() - Static method in class geneseo.cs.compiler.TracingLRParser
Construct a parse table entry for the "accept" action.
a() - Static method in class geneseo.cs.compiler.LRParser
Construct a parse table entry for the "accept" action.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.MinimLParseNode
Uses a visitor object to process a node in some way.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.PlusNode
Allows a visitor object to process an addition node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.DeclListNode
Allows a visitor object to process a list of function declarations.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.NullActualsNode
Allow a visitor object to process an empty actual parameter list.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.IdentNode
Allow a visitor object to process an identifier node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.TailCallNode
Allow a visitor object to process a tail call.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.NullFormalsNode
Allow a visitor object to process the syntax tree for an empty formal parameter list.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.MinusNode
Allow a visitor object to process a subtraction node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.ActualsNode
Allows a visitor object to process an actual parameter list.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.FormalsNode
Allows a visitor object to process a formal parameter node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.DeclNode
Allow a visitor object to process a declaration node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.IntNode
Allow a visitor object to process an integer node.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.TailActualsNode
Allow a visitor object to process a tail call's actual parameter list.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.CallNode
Allow a visitor object to process a function call.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.LEqNode
Allow a visitor object to process a less-than-or-equal node in some way.
acceptVisit(MinimLParseVisitor) - Method in class geneseo.cs.miniml.IfNode
Allows a visitor object to process a conditional expression.
acts - Variable in class geneseo.cs.compiler.Transition
The transition's action flags.
ActualsNode - class geneseo.cs.miniml.ActualsNode.
Represents an actual parameter within an actual parameter list.
ActualsNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.ActualsNode
Initialize an actual parameter node from the actual parameter expression and the list of actuals that follow it.
auxData() - Method in class geneseo.cs.compiler.Token
Retrieve any auxiliary data associated with a token.
auxData() - Method in class geneseo.cs.miniml.IdentToken
Retrieve the name of the identifier an identifier token represents.
auxData() - Method in class geneseo.cs.miniml.IntToken
Retrieve the integer value associated with an integer token.

C

CallNode - class geneseo.cs.miniml.CallNode.
Represents syntax tree nodes for function calls in the MinimL compiler.
CallNode(String, MinimLParseNode) - Constructor for class geneseo.cs.miniml.CallNode
Initialize a function call node from the name of the function it calls and the actual parameter list.
classify(int) - Method in class geneseo.cs.compiler.FiniteTransducer
Classify a character.
classify(int) - Method in class geneseo.cs.miniml.MinimLTransducer
Get a character's class for purposes of MinimL lexical analysis.
clear() - Method in interface geneseo.cs.compiler.SymbolTable
Remove all entries from a symbol table.
clear() - Method in interface geneseo.cs.compiler.RegisterTable
Marks all registers as unused.
clear() - Method in class geneseo.cs.miniml.SparcRegisterTable
 
clear() - Method in class geneseo.cs.miniml.MinimLSymbolTable
Remove all entries from a MinimL symbol table.
COMMA - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a comma token.
CommaToken - class geneseo.cs.miniml.CommaToken.
Represents tokens for commas in the MinimL compiler.
CommaToken() - Constructor for class geneseo.cs.miniml.CommaToken
Initialize a comma token.
CompilerException - exception geneseo.cs.compiler.CompilerException.
Represents exceptions that compilers may signal.
CompilerException(String) - Constructor for class geneseo.cs.compiler.CompilerException
Initialize a compiler exception with a description of the exceptional situation it represents.

D

DeclListNode - class geneseo.cs.miniml.DeclListNode.
Represents a list of function declarations in a MinimL syntax tree.
DeclListNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.DeclListNode
Initializes a declaration list with a first function declaration and a list of succeeding ones.
DeclNode - class geneseo.cs.miniml.DeclNode.
Represents nodes in MinimL syntax trees for function declarations.
DeclNode(String, MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.DeclNode
Initialize a function declaration node from its function's name, parameter list, and body.

E

e(int) - Static method in class geneseo.cs.compiler.TracingLRParser
Construct a parse table entry for an "error" action.
e(int) - Static method in class geneseo.cs.compiler.LRParser
Construct a parse table entry for an "error" action.
ELSE - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for the keyword "else".
ElseToken - class geneseo.cs.miniml.ElseToken.
Represents tokens for the keyword "else" in MinimL compilers.
ElseToken() - Constructor for class geneseo.cs.miniml.ElseToken
Initialize an "else" token.
ENDIF - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for the keyword "endif".
EndifToken - class geneseo.cs.miniml.EndifToken.
Represents tokens for the keyword "endif" in a MinimL compiler.
EndifToken() - Constructor for class geneseo.cs.miniml.EndifToken
Initialize an "endif" token.
EOF - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for an end-of-file token.
EOFToken - class geneseo.cs.miniml.EOFToken.
Represents end-of-file tokens for MinimL compilers.
EOFToken() - Constructor for class geneseo.cs.miniml.EOFToken
Initialize an end-of-file token.
ERR - Static variable in class geneseo.cs.miniml.MinimLTransducer
A bit to set in a transition's action flags to tell a MinimL scanner that it should signal that a lexical analysis error has been detected.
error(int, TokenSeq, Stack) - Method in class geneseo.cs.compiler.TracingLRParser
Handle an error in a tracing LR parser.
error(int, TokenSeq, Stack) - Method in class geneseo.cs.compiler.LRParser
Handle an error in an LR parser.
error(int, TokenSeq, Stack) - Method in class geneseo.cs.miniml.MinimLLRParser
Handle an error for a MinimL SLR parser.

F

find(String) - Method in interface geneseo.cs.compiler.SymbolTable
Look up a name in a symbol table.
find(String) - Method in class geneseo.cs.miniml.MinimLSymbolTable
Returns the name of the register in which a formal parameter lives.
findFree() - Method in interface geneseo.cs.compiler.RegisterTable
Find a free register.
findFree() - Method in class geneseo.cs.miniml.SparcRegisterTable
 
FiniteTransducer - class geneseo.cs.compiler.FiniteTransducer.
Represents finite transducers in a fairly general way.
FiniteTransducer(Transition[][]) - Constructor for class geneseo.cs.compiler.FiniteTransducer
Initialize a finite transducer with its transition table.
FormalsNode - class geneseo.cs.miniml.FormalsNode.
Represents a node in a MinimL syntax tree for an entry in a formal parameter list.
FormalsNode(String, MinimLParseNode) - Constructor for class geneseo.cs.miniml.FormalsNode
Initializes a formal parameter node with the name of the parameter and the subsequent node(s) in the formal parameter list.

G

geneseo.cs.compiler - package geneseo.cs.compiler
Classes that are useful in general for building compilers or other programs that use parsing, scanning, or other compiler technology.
geneseo.cs.miniml - package geneseo.cs.miniml
Classes that collectively define a compiler for a small language named "MinimL".
getActual() - Method in class geneseo.cs.miniml.ActualsNode
Retrieves the actual parameter expression from an actual parameter node.
getActual() - Method in class geneseo.cs.miniml.TailActualsNode
Retrieve the actual parameter expression from a tail call actual parameter node.
getActuals() - Method in class geneseo.cs.miniml.TailCallNode
Retrieve a tail call's actual parameter list.
getActuals() - Method in class geneseo.cs.miniml.CallNode
Retrieve a function call's actual parameter list.
getAttribute() - Method in class geneseo.cs.miniml.MinimLParseNode
Returns the attribute(s) associated with a MinimL parse tree node.
getBody() - Method in class geneseo.cs.miniml.DeclNode
Retrieve a function's body from a declaration.
getElse() - Method in class geneseo.cs.miniml.IfNode
Retrieves the alternative subexpression from a conditional expression.
getFormals() - Method in class geneseo.cs.miniml.DeclNode
Retrieve a function declaration's list of formal parameters.
getHead() - Method in class geneseo.cs.miniml.DeclListNode
Retrieves the function declaration at the head of a list of declarations.
getIdentifier() - Method in class geneseo.cs.miniml.IdentNode
Retrieve the identifier represented by an identifier node.
getIdentifier() - Method in class geneseo.cs.miniml.TailCallNode
Retrieve the name of the function that a tail call calls.
getIdentifier() - Method in class geneseo.cs.miniml.FormalsNode
Retrieves the formal parameter's name from a formal parameter node.
getIdentifier() - Method in class geneseo.cs.miniml.DeclNode
Retrieve the name of the function declared by a declaration node.
getIdentifier() - Method in class geneseo.cs.miniml.CallNode
Retrieve the name of the function that a function call calls.
getLeft() - Method in class geneseo.cs.miniml.PlusNode
Retrieves an addition's left operand.
getLeft() - Method in class geneseo.cs.miniml.MinusNode
Retrieve a subtraction's left operand.
getLeft() - Method in class geneseo.cs.miniml.LEqNode
Retrieve the left operand of a less-than-or-equal node.
getNext() - Method in class geneseo.cs.miniml.ActualsNode
Retrieves the tail of an actual parameter list.
getNext() - Method in class geneseo.cs.miniml.FormalsNode
Returns a reference to the next node in a formal parameter list.
getNext() - Method in class geneseo.cs.miniml.TailActualsNode
Retrieve the tail of a tail call's actual parameter list.
getRight() - Method in class geneseo.cs.miniml.PlusNode
Retrieves an addition node's right operand.
getRight() - Method in class geneseo.cs.miniml.MinusNode
Retrieve a subtraction's right operand.
getRight() - Method in class geneseo.cs.miniml.LEqNode
Retrieve a less-than-or-equal node's right operand.
getState() - Method in class geneseo.cs.compiler.FiniteTransducer
Find out what state a finite transducer is in.
getTail() - Method in class geneseo.cs.miniml.DeclListNode
Retrieves the sublist of declarations after the first in a list of function declarations.
getTest() - Method in class geneseo.cs.miniml.IfNode
Retrieves the test subexpression from a conditional node.
getThen() - Method in class geneseo.cs.miniml.IfNode
Retrieves the consequent subexpression from a conditional expression.
getValue() - Method in class geneseo.cs.miniml.IntNode
Retrieve the integer represented by an integer node.

I

ID - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for an identifier token.
IdentNode - class geneseo.cs.miniml.IdentNode.
Represents nodes in MinimL syntax trees for expressions that consist of just an identifier.
IdentNode(String) - Constructor for class geneseo.cs.miniml.IdentNode
Initialize an identifier node for a given identifier.
IdentToken - class geneseo.cs.miniml.IdentToken.
Represents identifier tokens for the MinimL compiler.
IdentToken(String) - Constructor for class geneseo.cs.miniml.IdentToken
Initialize an identifier token from the name of the identifier it represents.
IF - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for the keyword "if".
IfNode - class geneseo.cs.miniml.IfNode.
Represents MinimL syntax tree nodes for conditional expressions.
IfNode(MinimLParseNode, MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.IfNode
Initialize a conditional expression with a test subexpression, a consequent, and an alternative.
IfToken - class geneseo.cs.miniml.IfToken.
Represents tokens for the keyword "if" in a MinimL compiler.
IfToken() - Constructor for class geneseo.cs.miniml.IfToken
Initialize an "if" token.
insert(String, Object) - Method in interface geneseo.cs.compiler.SymbolTable
Add a name and descriptor to a symbol table.
insert(String, Object) - Method in class geneseo.cs.miniml.MinimLSymbolTable
Add a parameter name and the corresponding register name to a MinimL symbol table.
INT - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for an integer constant token.
IntNode - class geneseo.cs.miniml.IntNode.
Represents a node in a MinimL syntax tree for an integer constant.
IntNode(int) - Constructor for class geneseo.cs.miniml.IntNode
Initialize an integer constant node with a specific integer.
IntToken - class geneseo.cs.miniml.IntToken.
Represents tokens for integer constants in a MinimL compiler.
IntToken(String) - Constructor for class geneseo.cs.miniml.IntToken
Initialize an integer token from the integer value it represents.
isFree(String) - Method in interface geneseo.cs.compiler.RegisterTable
Inquire whether a register is free.
isFree(String) - Method in class geneseo.cs.miniml.SparcRegisterTable
 

L

LabelSeq - class geneseo.cs.compiler.LabelSeq.
Represents pools from which a compiler can draw unique labels for locations in an assembly language program.
LabelSeq(String) - Constructor for class geneseo.cs.compiler.LabelSeq
Initializes a sequence of labels ready to yield its first member.
leftSide(int) - Method in class geneseo.cs.compiler.TracingLRParser
Figures out the non-terminal on the left side of a production, given the production number.
leftSide(int) - Method in class geneseo.cs.compiler.LRParser
Figures out the non-terminal on the left side of a production, given the production number.
leftSide(int) - Method in class geneseo.cs.miniml.MinimLLRParser
 
LEQ - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a less-than-or-equal operator.
LEqNode - class geneseo.cs.miniml.LEqNode.
Represents nodes in MinimL syntax trees for less-than-or-equal comparisons.
LEqNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.LEqNode
Initializes a less-than-or-equal node.
LEqToken - class geneseo.cs.miniml.LEqToken.
Represents less-than-or-equal operator tokens in a MinimL compiler.
LEqToken() - Constructor for class geneseo.cs.miniml.LEqToken
Initialize a less-than-or-equal token.
LPAR - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a left parenthesis token.
LParToken - class geneseo.cs.miniml.LParToken.
Represents left parenthesis tokens in a MinimL compiler.
LParToken() - Constructor for class geneseo.cs.miniml.LParToken
Initialize a left parenthesis token.
LRParser - class geneseo.cs.compiler.LRParser.
Represents general LR parsers.
LRParser(int[][], int[][]) - Constructor for class geneseo.cs.compiler.LRParser
Initialize an LR parser from its action and goto tables.

M

main(String[]) - Static method in class geneseo.cs.miniml.MinimLCompiler
The driver for the compiler.
markFree(String) - Method in interface geneseo.cs.compiler.RegisterTable
Marks a register as free.
markFree(String) - Method in class geneseo.cs.miniml.SparcRegisterTable
 
markUsed(String) - Method in interface geneseo.cs.compiler.RegisterTable
Marks a register as used.
markUsed(String) - Method in class geneseo.cs.miniml.SparcRegisterTable
 
MinimLCompiler - class geneseo.cs.miniml.MinimLCompiler.
Provides a driver for compiling MinimL programs into Sparc assembly language.
MinimLCompiler() - Constructor for class geneseo.cs.miniml.MinimLCompiler
 
MinimLDisplayVisitor - class geneseo.cs.miniml.MinimLDisplayVisitor.
Represents objects that can "visit" each node in a MinimL syntax tree, printing each node as they come to it.
MinimLDisplayVisitor(PrintWriter) - Constructor for class geneseo.cs.miniml.MinimLDisplayVisitor
Initialize a printing visitor.
MinimLDumbCodeVisitor - class geneseo.cs.miniml.MinimLDumbCodeVisitor.
Represents visitors to MinimL syntax tree nodes that generate naive assembly code directly from the tree.
MinimLDumbCodeVisitor(PrintWriter) - Constructor for class geneseo.cs.miniml.MinimLDumbCodeVisitor
Initializes a naive code generator with a file into which to write code, but no code written yet.
MinimLLRParser - class geneseo.cs.miniml.MinimLLRParser.
Represents LR parsers for MinimL.
MinimLLRParser() - Constructor for class geneseo.cs.miniml.MinimLLRParser
Initialize an LR parser for MinimL.
MinimLParseNode - class geneseo.cs.miniml.MinimLParseNode.
Represents nodes in parse trees for MinimL programs.
MinimLParseNode() - Constructor for class geneseo.cs.miniml.MinimLParseNode
Initializes a MinimL parse tree node to have no attributes.
MinimLParseVisitor - interface geneseo.cs.miniml.MinimLParseVisitor.
Defines how visitors of MinimL syntax tree nodes behave.
MinimLSymbolTable - class geneseo.cs.miniml.MinimLSymbolTable.
Represents symbol tables in the MinimL compiler.
MinimLSymbolTable() - Constructor for class geneseo.cs.miniml.MinimLSymbolTable
Initialize a MinimL symbol table to contain no symbols.
MinimLTailVisitor - class geneseo.cs.miniml.MinimLTailVisitor.
Represents objects that can "visit" each node in a MinimL syntax tree, identifying nodes that represent tail recursive calls and replacing them and their actual parameters with special "tail call" and "tail parameter" nodes.
MinimLTailVisitor() - Constructor for class geneseo.cs.miniml.MinimLTailVisitor
Initialize a tail-recursion-optimizing visitor.
MinimLToken - class geneseo.cs.miniml.MinimLToken.
Represents tokens used in the MinimL compiler.
MinimLToken() - Constructor for class geneseo.cs.miniml.MinimLToken
 
MinimLTokenSeq - class geneseo.cs.miniml.MinimLTokenSeq.
Represents sequences of tokens in a MinimL compiler.
MinimLTokenSeq(Reader) - Constructor for class geneseo.cs.miniml.MinimLTokenSeq
Initialize a token sequence with the character source from which it should build tokens.
MinimLTransducer - class geneseo.cs.miniml.MinimLTransducer.
Represents finite transducers for lexical analysis of MinimL programs.
MinimLTransducer() - Constructor for class geneseo.cs.miniml.MinimLTransducer
Initialize a MinimL transducer.
MINUS - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a minus sign.
MinusNode - class geneseo.cs.miniml.MinusNode.
Represents nodes for subtraction operations in MinimL syntax trees.
MinusNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.MinusNode
Initialize a subtraction node from its left and right operands.
MinusToken - class geneseo.cs.miniml.MinusToken.
Represents tokens for the subtraction operator in a MinimL compiler.
MinusToken() - Constructor for class geneseo.cs.miniml.MinusToken
Initialize a subtraction token.

N

nextLabel() - Method in class geneseo.cs.compiler.LabelSeq
Retrieve the next label from a sequence.
nextState - Variable in class geneseo.cs.compiler.Transition
The state that this transition goes to.
nextToken() - Method in interface geneseo.cs.compiler.TokenSeq
Retrieve the next token from the sequence.
nextToken() - Method in class geneseo.cs.miniml.MinimLTokenSeq
Get the next token from a MinimL token sequence.
NullActualsNode - class geneseo.cs.miniml.NullActualsNode.
Represents syntax tree nodes that mark the end of an actual parameter list in a MinimL compiler.
NullActualsNode() - Constructor for class geneseo.cs.miniml.NullActualsNode
Initialize an empty actual parameter list.
NullFormalsNode - class geneseo.cs.miniml.NullFormalsNode.
Represents syntax tree nodes that mark the end of a formal parameter list in a MinimL compiler.
NullFormalsNode() - Constructor for class geneseo.cs.miniml.NullFormalsNode
Initialize an empty formal parameter list syntax tree node.

P

parse(TokenSeq) - Method in class geneseo.cs.compiler.TracingLRParser
Parse a sequence of tokens.
parse(TokenSeq) - Method in class geneseo.cs.compiler.LRParser
Parse a sequence of tokens.
parse(TokenSeq) - Method in interface geneseo.cs.compiler.Parser
Parse a sequence of tokens.
ParseNode - interface geneseo.cs.compiler.ParseNode.
The interface that any object that serves as a node in a syntax tree must present.
Parser - interface geneseo.cs.compiler.Parser.
The interface that any object that serves as a parser must present.
PLUS - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a plus sign.
PlusNode - class geneseo.cs.miniml.PlusNode.
Represents nodes for addition operations in MinimL syntax trees.
PlusNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.PlusNode
Initialize an addition node from its left and right operands.
PlusToken - class geneseo.cs.miniml.PlusToken.
Represents tokens for addition operators in MinimL compilers.
PlusToken() - Constructor for class geneseo.cs.miniml.PlusToken
Initialize an addition token.
popSymbol() - Method in class geneseo.cs.compiler.TracingLRParser
Remove and return the top-most symbol from the parser's stack.
popSymbol() - Method in class geneseo.cs.compiler.LRParser
Remove and return the top-most symbol from the parser's stack.
process(int) - Method in class geneseo.cs.compiler.FiniteTransducer
Process a character.

R

r(int) - Static method in class geneseo.cs.compiler.TracingLRParser
Construct a parse table entry for a "reduce" action.
r(int) - Static method in class geneseo.cs.compiler.LRParser
Construct a parse table entry for a "reduce" action.
reduce(int) - Method in class geneseo.cs.compiler.TracingLRParser
Reduce by a specified production during a parse.
reduce(int) - Method in class geneseo.cs.compiler.LRParser
Reduce by a specified production during a parse.
reduce(int) - Method in class geneseo.cs.miniml.MinimLLRParser
 
RegisterTable - interface geneseo.cs.compiler.RegisterTable.
This interface defines how any object that tracks register usage (i.e., which registers are in use and which free) for a compiler should behave.
reset() - Method in class geneseo.cs.compiler.FiniteTransducer
Put a finite transducer into its start state.
RETN - Static variable in class geneseo.cs.miniml.MinimLTransducer
A bit to set in a transition's action flags to tell a MinimL scanner to return a token.
RPAR - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for a right parenthesis token.
RParToken - class geneseo.cs.miniml.RParToken.
Represents tokens for right parentheses in a MinimL compiler.
RParToken() - Constructor for class geneseo.cs.miniml.RParToken
Initialize a right parenthesis token.

S

s(int) - Static method in class geneseo.cs.compiler.TracingLRParser
Construct a parse table entry for a "shift" action.
s(int) - Static method in class geneseo.cs.compiler.LRParser
Construct a parse table entry for a "shift" action.
SAVE - Static variable in class geneseo.cs.miniml.MinimLTransducer
A bit to set in a transition's action flags to tell a MinimL scanner to save the current input character for later use as part of a token's value.
setActual(MinimLParseNode) - Method in class geneseo.cs.miniml.ActualsNode
Changes the actual parameter expression contained in an actual parameter node.
setActual(MinimLParseNode) - Method in class geneseo.cs.miniml.TailActualsNode
Change the actual parameter expression contained in a tail call's actual parameter node.
setActuals(MinimLParseNode) - Method in class geneseo.cs.miniml.TailCallNode
Change a tail call's actual parameter list.
setActuals(MinimLParseNode) - Method in class geneseo.cs.miniml.CallNode
Change a function call's actual parameter list.
setAttribute(Object) - Method in class geneseo.cs.miniml.MinimLParseNode
Changes the attribute(s) associated with a MinimL parse tree node.
setBody(MinimLParseNode) - Method in class geneseo.cs.miniml.DeclNode
Change the body of a function declaration.
setElse(MinimLParseNode) - Method in class geneseo.cs.miniml.IfNode
Changes the alternative subexpression in a conditional expression.
setHead(MinimLParseNode) - Method in class geneseo.cs.miniml.DeclListNode
Changes the first declaration in a list of declarations.
setLeft(MinimLParseNode) - Method in class geneseo.cs.miniml.PlusNode
Changes an addition node's left operand.
setLeft(MinimLParseNode) - Method in class geneseo.cs.miniml.MinusNode
Change a subtraction's left operand.
setLeft(MinimLParseNode) - Method in class geneseo.cs.miniml.LEqNode
Change a less-than-or-equal node's left operand.
setNext(MinimLParseNode) - Method in class geneseo.cs.miniml.ActualsNode
Changes an actual parameter node's reference to the list of subsequent parameters.
setRight(MinimLParseNode) - Method in class geneseo.cs.miniml.PlusNode
Changes an addition node's right operand.
setRight(MinimLParseNode) - Method in class geneseo.cs.miniml.MinusNode
Change a subtraction's right operand.
setRight(MinimLParseNode) - Method in class geneseo.cs.miniml.LEqNode
Change a less-than-or-equal node's right operand.
setTail(MinimLParseNode) - Method in class geneseo.cs.miniml.DeclListNode
Changes the sublist containing the second and subsequent declarations in a list of declarations.
setTest(MinimLParseNode) - Method in class geneseo.cs.miniml.IfNode
Changes the test subexpression in a conditional expression.
setThen(MinimLParseNode) - Method in class geneseo.cs.miniml.IfNode
Changes the consequent subexpression in a conditional expression.
SparcRegisterTable - class geneseo.cs.miniml.SparcRegisterTable.
Represents tables that track the availability of "in" and "local" registers for a SPARC compiler.
SparcRegisterTable() - Constructor for class geneseo.cs.miniml.SparcRegisterTable
Initializes a SPARC register table so that all registers are free.
SymbolTable - interface geneseo.cs.compiler.SymbolTable.
The interface that an object must implement in order to be a symbol table.

T

TailActualsNode - class geneseo.cs.miniml.TailActualsNode.
Represents an actual parameter within the actual parameter list of a tail call (a function call that is the last thing the caller does).
TailActualsNode(MinimLParseNode, MinimLParseNode) - Constructor for class geneseo.cs.miniml.TailActualsNode
Initialize a tail call's actual parameter node from the actual parameter expression and the list of actuals that follow it.
TailCallNode - class geneseo.cs.miniml.TailCallNode.
Represents syntax tree nodes for tail calls (function calls that are the last thing the caller does) in the MinimL compiler.
TailCallNode(String, MinimLParseNode) - Constructor for class geneseo.cs.miniml.TailCallNode
Initialize a tail call node from the name of the function it calls and the actual parameter list.
THEN - Static variable in class geneseo.cs.miniml.MinimLToken
The type code for the keyword "then".
ThenToken - class geneseo.cs.miniml.ThenToken.
Represents tokens for the keyword "then" in a MinimL compiler.
ThenToken() - Constructor for class geneseo.cs.miniml.ThenToken
Initialize a token for the keyword "then".
Token - class geneseo.cs.compiler.Token.
Represents tokens produced by lexical analyzers.
Token() - Constructor for class geneseo.cs.compiler.Token
 
TokenSeq - interface geneseo.cs.compiler.TokenSeq.
The interface that any object that acts as a sequence of tokens (e.g., a lexical analyzer) must present.
TOKN - Static variable in class geneseo.cs.miniml.MinimLTransducer
A mask for the part of a transition's action flags that indicates the exact token type a MinimL scanner should return when the transition's RETN flag is set.
toString() - Method in class geneseo.cs.compiler.Token
Generate a string representation of a token.
toString() - Method in interface geneseo.cs.compiler.ParseNode
Generate a string representation of the node.
toString() - Method in class geneseo.cs.miniml.RParToken
Generate a string representation of a right parenthesis token.
toString() - Method in class geneseo.cs.miniml.IdentToken
Generate a string representation of an identifier token.
toString() - Method in class geneseo.cs.miniml.PlusNode
Generates a string representation of an addition node.
toString() - Method in class geneseo.cs.miniml.DeclListNode
Generates a string representation of a list of function declarations.
toString() - Method in class geneseo.cs.miniml.NullActualsNode
Generate a string representation of an empty actual parameter list syntax tree node.
toString() - Method in class geneseo.cs.miniml.IdentNode
Generate a string representation of an identifier node.
toString() - Method in class geneseo.cs.miniml.CommaToken
Generate a string representation of a comma token.
toString() - Method in class geneseo.cs.miniml.EOFToken
Generate a string representation of an end-of-file token.
toString() - Method in class geneseo.cs.miniml.TailCallNode
Generate a string representing a tail call.
toString() - Method in class geneseo.cs.miniml.ElseToken
Generate a string representation of an "else" token.
toString() - Method in class geneseo.cs.miniml.NullFormalsNode
Generate a string representation of a syntax tree node for an empty formal parameter list.
toString() - Method in class geneseo.cs.miniml.MinusNode
Generates a string representation of a subtraction node.
toString() - Method in class geneseo.cs.miniml.ActualsNode
Generates a string representing an actual parameter list.
toString() - Method in class geneseo.cs.miniml.FormalsNode
Generates a string representation of a formal parameter node.
toString() - Method in class geneseo.cs.miniml.PlusToken
Generate a string representation of an addition token.
toString() - Method in class geneseo.cs.miniml.EndifToken
Generate a string representation of an "endif" token.
toString() - Method in class geneseo.cs.miniml.LEqToken
Generate a string representation of a less-than-or-equal token.
toString() - Method in class geneseo.cs.miniml.DeclNode
Generate a string representation of a function declaration node.
toString() - Method in class geneseo.cs.miniml.IntNode
Produces a string representation of an integer node.
toString() - Method in class geneseo.cs.miniml.TailActualsNode
Generate a string representation of a tail call's actual parameter list.
toString() - Method in class geneseo.cs.miniml.LParToken
Generate a string representation of a left parenthesis token.
toString() - Method in class geneseo.cs.miniml.CallNode
Generate a string representing a function call.
toString() - Method in class geneseo.cs.miniml.LEqNode
Generate a string representation of a less-than-or-equal node.
toString() - Method in class geneseo.cs.miniml.ThenToken
Generate a string representation of a "then" token.
toString() - Method in class geneseo.cs.miniml.IfNode
Generates a string representation of a conditional expression.
toString() - Method in class geneseo.cs.miniml.IntToken
Generate a string representation of an integer token.
toString() - Method in class geneseo.cs.miniml.MinusToken
Generate a string representation of a subtraction token.
toString() - Method in class geneseo.cs.miniml.IfToken
Generate a string representation of an "if" token.
TracingLRParser - class geneseo.cs.compiler.TracingLRParser.
Represents general LR parsers that trace their actions for their users.
TracingLRParser(int[][], int[][]) - Constructor for class geneseo.cs.compiler.TracingLRParser
Initialize a tracing LR parser from its action and goto tables.
Transition - class geneseo.cs.compiler.Transition.
Represents a transition in a finite transducer.
Transition(int, int) - Constructor for class geneseo.cs.compiler.Transition
Initialize a transition going to a given state, with certain actions.
type() - Method in class geneseo.cs.compiler.Token
Return an integer code for a token's type.
type() - Method in class geneseo.cs.miniml.RParToken
Get the type of a right parenthesis token.
type() - Method in class geneseo.cs.miniml.IdentToken
Get the type of an identifier token.
type() - Method in class geneseo.cs.miniml.CommaToken
Get the type code for a comma token.
type() - Method in class geneseo.cs.miniml.EOFToken
Get the type code for an end-of-file token.
type() - Method in class geneseo.cs.miniml.ElseToken
Get the type code for an "else" token.
type() - Method in class geneseo.cs.miniml.PlusToken
Get the type code for an addition token.
type() - Method in class geneseo.cs.miniml.EndifToken
Get the type of an "endif" token.
type() - Method in class geneseo.cs.miniml.LEqToken
Get the type of a less-than-or-equal token.
type() - Method in class geneseo.cs.miniml.LParToken
Get the type of a left parenthesis token.
type() - Method in class geneseo.cs.miniml.ThenToken
Get a "then" token's type.
type() - Method in class geneseo.cs.miniml.IntToken
Get the type of an integer token.
type() - Method in class geneseo.cs.miniml.MinusToken
Get the type of a subtraction token.
type() - Method in class geneseo.cs.miniml.IfToken
Get the type of an "if" token.

U

UNGT - Static variable in class geneseo.cs.miniml.MinimLTransducer
A bit to set in a transition's action flags to tell a MinimL scanner to push its current input character back to the input buffer.

V

visitActuals(ActualsNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents an actual parameter in a list of actuals.
visitActuals(ActualsNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Mark the members of a non-empty actual parameter list as being parameters to a tail recursive call.
visitActuals(ActualsNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for a list of actual parameters.
visitActuals(ActualsNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a list of actual parameters.
visitCall(CallNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a function call.
visitCall(CallNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Replace tail recursive function call nodes with special "tail call" nodes.
visitCall(CallNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for a function call.
visitCall(CallNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents a function call.
visitDecl(DeclNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a function declaration.
visitDecl(DeclNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Eliminate tail recursive calls inside a function declaration.
visitDecl(DeclNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for a function declaration in a naive MinimL compiler.
visitDecl(DeclNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a function declaration.
visitDeclList(DeclListNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a list of function declarations.
visitDeclList(DeclListNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Eliminate tail recursive calls from a list of function declarations.
visitDeclList(DeclListNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for a list of function declarations in a naive MinimL compiler.
visitDeclList(DeclListNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Prints a list of function declarations.
visitFormals(FormalsNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a formal parameter in a list of formals.
visitFormals(FormalsNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions in a list of formal parameters.
visitFormals(FormalsNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for a syntax tree node representing an entry in a formal parameter list in a naive MinimL compiler.
visitFormals(FormalsNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a list of formal parameters.
visitIdentifier(IdentNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents an identifier used as an expression.
visitIdentifier(IdentNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from a syntax tree node that represents an identifier.
visitIdentifier(IdentNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for an expression consisting of a single identifier in a naive MinimL compiler.
visitIdentifier(IdentNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents an identifier.
visitIf(IfNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a conditional expression.
visitIf(IfNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Eliminate tail recursive calls in a syntax tree node that represents a conditional expression.
visitIf(IfNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for a conditional expression.
visitIf(IfNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents a conditional expression.
visitInt(IntNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents an integer constant.
visitInt(IntNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from an integer constant.
visitInt(IntNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for an integer constant in a naive MinimL compiler.
visitInt(IntNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print an integer constant.
visitLEq(LEqNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a less-than-or-equal comparison expression.
visitLEq(LEqNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from a syntax tree node that represents a less-than-or-equal comparison.
visitLEq(LEqNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for a less-than-or-equal comparison.
visitLEq(LEqNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents a less-than-or-equal comparison.
visitMinus(MinusNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a subtraction expression.
visitMinus(MinusNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from a syntax tree node that represents a subtraction.
visitMinus(MinusNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for a subtraction operation in a naive MinimL compiler.
visitMinus(MinusNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents a subtraction.
visitNullActuals(NullActualsNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that marks the end of an actual parameter list.
visitNullActuals(NullActualsNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
Mark the members of an empty actual parameter list as parameters to a tail recursive call.
visitNullActuals(NullActualsNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for an empty list of actual parameters.
visitNullActuals(NullActualsNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print an empty actual parameter list, or, equivalently, the end of an actual parameter list.
visitNullFormals(NullFormalsNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that marks the end of a formal parameter list.
visitNullFormals(NullFormalsNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from an empty formal parameter list.
visitNullFormals(NullFormalsNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for a node that marks the end of a formal parameter list in a naive MinimL compiler.
visitNullFormals(NullFormalsNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print an empty formal parameter list, or, equivalently, mark the end of a formal parameter list.
visitPlus(PlusNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents an addition expression.
visitPlus(PlusNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursions from a syntax tree node that represents an addition.
visitPlus(PlusNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generates code for an addition operation in a naive MinimL compiler.
visitPlus(PlusNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a syntax tree node that represents an addition.
visitTailActuals(TailActualsNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents an actual parameter to a tail call (or, technically, represents the head of a list of actual parameters).
visitTailActuals(TailActualsNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursive calls in the actual parameter list to a tail recursion.
visitTailActuals(TailActualsNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for an actual parameter to a tail call, and for subsequent actuals to that call.
visitTailActuals(TailActualsNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print an actual parameter to a tail call, and any subsequent actuals.
visitTailCall(TailCallNode) - Method in interface geneseo.cs.miniml.MinimLParseVisitor
Visit a node that represents a tail call (i.e., a function call that is the last thing the caller does).
visitTailCall(TailCallNode) - Method in class geneseo.cs.miniml.MinimLTailVisitor
"Eliminate" tail recursive calls from a syntax tree node that already represents a tail recursion.
visitTailCall(TailCallNode) - Method in class geneseo.cs.miniml.MinimLDumbCodeVisitor
Generate code for a tail call (a function call that is the last thing the caller does).
visitTailCall(TailCallNode) - Method in class geneseo.cs.miniml.MinimLDisplayVisitor
Print a tail call, i.e., a function call that is the last thing the caller does.

A C D E F G I L M N P R S T U V