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

G

GE - Static variable in interface kanga.parser.KangaParserConstants
RegularExpression Id.
GE - Static variable in interface piglet.parser.PigletParserConstants
RegularExpression Id.
GE - Static variable in interface spiglet.parser.SpigletParserConstants
RegularExpression Id.
generateParseException() - Method in class kanga.parser.KangaParser
Generate ParseException.
generateParseException() - Method in class minijava.parser.MJParser
Generate ParseException.
generateParseException() - Method in class piglet.parser.PigletParser
Generate ParseException.
generateParseException() - Method in class spiglet.parser.SpigletParser
Generate ParseException.
getAdjacent() - Method in class spiglet.translate.graph.Node
Returns the set of all nodes adjacent to this node (direction blind).
getAllocation(FlowGraph<T>, Map<T, R>) - Method in class spiglet.translate.graph.LinearScanAlloc
 
getAllocation(FlowGraph<T>) - Method in class spiglet.translate.graph.RegisterAlloc
Returns the mapping of all variables to their allocated registers, given a control flow graph from which to infer.
getAllocation(FlowGraph<T>, Map<T, R>) - Method in class spiglet.translate.graph.RegisterAlloc
Returns the mapping of all variables to their allocated registers, given a control flow graph from which to infer.
getBeginColumn() - Method in class kanga.parser.JavaCharStream
 
getBeginColumn() - Method in class minijava.parser.JavaCharStream
 
getBeginColumn() - Method in class piglet.parser.JavaCharStream
 
getBeginColumn() - Method in class spiglet.parser.JavaCharStream
 
getBeginLine() - Method in class kanga.parser.JavaCharStream
 
getBeginLine() - Method in class minijava.parser.JavaCharStream
 
getBeginLine() - Method in class piglet.parser.JavaCharStream
 
getBeginLine() - Method in class spiglet.parser.JavaCharStream
 
getClass(Symbol) - Static method in class minijava.typecheck.Class
Deprecated. rather than using its own table, access class objects in the general symbol table that contains its reference
getCode() - Method in class kanga.translate.MContext
Returns the code string that has been accumulated.
getColumn() - Method in class kanga.parser.JavaCharStream
Deprecated.  
getColumn() - Method in class minijava.parser.JavaCharStream
Deprecated.  
getColumn() - Method in class piglet.parser.JavaCharStream
Deprecated.  
getColumn() - Method in class spiglet.parser.JavaCharStream
Deprecated.  
getEnd() - Method in class spiglet.translate.graph.Liveness.LiveRange
Returns the end number of the live range.
getEndColumn() - Method in class kanga.parser.JavaCharStream
Get end column.
getEndColumn() - Method in class minijava.parser.JavaCharStream
Get end column.
getEndColumn() - Method in class piglet.parser.JavaCharStream
Get end column.
getEndColumn() - Method in class spiglet.parser.JavaCharStream
Get end column.
getEndLine() - Method in class kanga.parser.JavaCharStream
Get end line.
getEndLine() - Method in class minijava.parser.JavaCharStream
Get end line.
getEndLine() - Method in class piglet.parser.JavaCharStream
Get end line.
getEndLine() - Method in class spiglet.parser.JavaCharStream
Get end line.
getEntryNode() - Method in class spiglet.translate.graph.FlowGraph
Returns the node that is mapped to the entry statement of the thread.
getExitNode() - Method in class spiglet.translate.graph.FlowGraph
Returns the node that is mapped to the exit statement of the thread.
getExp() - Method in class piglet.translate.SpigletResult
Returns the wrapped expression result.
getExp() - Method in class spiglet.translate.KangaResult
Returns the wrapped result as an expression.
getExpr() - Method in class simple.tree.ParenFact
 
getExpr() - Method in class simple.tree.Stmt
 
getExprP() - Method in class simple.tree.Expr
 
getExprP() - Method in class simple.tree.ExprP
 
getFact() - Method in class simple.tree.Term
 
getFact() - Method in class simple.tree.TermP
 
getFieldOrder(Symbol) - Method in class minijava.typecheck.Class
Looks up the order number of the given field's identifier.
getFieldOrder(String) - Method in class minijava.typecheck.Class
Looks up the order number of the given field's identifier.
getFieldsSize() - Method in class minijava.typecheck.Class
Returns the number of fields an object of this class would have.
getFieldType(Symbol) - Method in class minijava.typecheck.Class
Looks up the type of this class' field by the given identifier.
getFieldType(String) - Method in class minijava.typecheck.Class
Looks up the type of this class' field by the given identifier.
GetImage() - Method in class kanga.parser.JavaCharStream
 
GetImage() - Method in class minijava.parser.JavaCharStream
 
GetImage() - Method in class piglet.parser.JavaCharStream
 
GetImage() - Method in class spiglet.parser.JavaCharStream
 
getInSet(Node) - Method in class spiglet.translate.graph.Liveness
Returns the (modifiable) live-in set of a node.
getJump() - Method in class spiglet.meta.SpigletStatement
Returns the label of the statement to where this statement can have a control flow to jump.
getLabel() - Method in class kanga.meta.KangaLabel
Returns the string representation of this Label.
getLabel() - Method in class piglet.meta.PigletLabel
Returns the string representation of this Label.
getLabel() - Method in class spiglet.meta.SpigletLabel
Returns the string representation of this Label.
getLabel() - Method in class spiglet.meta.SpigletStatement
Returns the label that preclude this statement, if it exists.
getLine() - Method in class kanga.parser.JavaCharStream
Deprecated.  
getLine() - Method in class minijava.parser.JavaCharStream
Deprecated.  
getLine() - Method in class piglet.parser.JavaCharStream
Deprecated.  
getLine() - Method in class spiglet.parser.JavaCharStream
Deprecated.  
getLiveRanges() - Method in class spiglet.translate.graph.Liveness
Returns the set of variable live ranges (as encoded in the wrapper).
getLocalVariableIdentifiers() - Method in class minijava.typecheck.Method
 
getLocalVariableType(Symbol) - Method in class minijava.typecheck.Method
 
getLocalVariableType(String) - Method in class minijava.typecheck.Method
 
getMaxCallArgs() - Method in class spiglet.translate.KangaContext
Returns the maximum number of arguments of a call in the body of this context.
getMessage() - Method in error kanga.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in error minijava.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in error piglet.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in error spiglet.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethod(Symbol) - Method in class minijava.typecheck.Class
Looks up a method in this class with the given identifier.
getMethod(String) - Method in class minijava.typecheck.Class
Looks up a method in this class with the given identifier.
getMethodIdentifiers() - Method in class minijava.typecheck.Class
Returns the set of method identifiers (symbols) specific to this class (exluding the base class').
getMethodOrder(Symbol) - Method in class minijava.typecheck.Class
Looks up the order number of the given method's identifier.
getMethodOrder(String) - Method in class minijava.typecheck.Class
Looks up the order number of the given method's identifier.
getMethodSymbolsInOrder() - Method in class minijava.typecheck.Class
Returns a list of method symbols local to this class, in the order that they were added.
getName() - Method in enum kanga.meta.KangaReg
Returns the register name.
getNextToken() - Method in class kanga.parser.KangaParser
Get the next Token.
getNextToken() - Method in class kanga.parser.KangaParserTokenManager
Get the next Token.
getNextToken() - Method in class minijava.parser.MJParser
Get the next Token.
getNextToken() - Method in class minijava.parser.MJParserTokenManager
Get the next Token.
getNextToken() - Method in class piglet.parser.PigletParser
Get the next Token.
getNextToken() - Method in class piglet.parser.PigletParserTokenManager
Get the next Token.
getNextToken() - Method in class simple.lexer.Lexer
 
getNextToken() - Method in class spiglet.parser.SpigletParser
Get the next Token.
getNextToken() - Method in class spiglet.parser.SpigletParserTokenManager
Get the next Token.
getNode(T) - Method in class spiglet.translate.graph.InterferenceGraph
Looks up and returns the node object that is associated with the given variable.
getNodeListContext() - Method in class minijava.translate.PigletContext
 
getNodeListContext() - Method in class piglet.translate.SpigletContext
Returns the context node as a NodeListOptional node.
getNodeListContext() - Method in class spiglet.translate.KangaContext
Returns the context node as a NodeListOptional node.
getNodes() - Method in class spiglet.translate.graph.Graph
Returns the (unmodifiable) list of all the nodes defined in this graph.
getNumber() - Method in class simple.tree.NumFact
 
getOper() - Method in class simple.tree.ExprP
 
getOper() - Method in class simple.tree.TermP
 
getOrdinal() - Method in class piglet.meta.PigletTemp
 
getOrdinal() - Method in class spiglet.meta.SpigletTemp
Returns this Temp's register number.
getOutSet(Node) - Method in class spiglet.translate.graph.Liveness
Returns the (unmodifiable) live-out set of a node.
getParameterCount() - Method in class minijava.typecheck.Method
 
getParameterIdentifierAt(int) - Method in class minijava.typecheck.Method
Pre-condition: pos < getParameterCount()
getParameterTypeAt(int) - Method in class minijava.typecheck.Method
Pre-condition: pos < getParameterCount()
getParent() - Method in class minijava.typecheck.Class
 
getPredecessors() - Method in class spiglet.translate.graph.Node
Returns the set (unmodifiable) of all predecessor nodes (nodes that edges pointing to this node comes from) to this node.
getPreTemp(int) - Static method in class piglet.meta.PigletTemp
Returns pre-created, well known Temp objects with ordinals 0-19
getReg() - Method in class kanga.meta.KangaStorage
Returns the storage register.
getRegAllocation(FlowGraph<T>, Map<T, R>) - Method in class spiglet.translate.graph.LinearScanAlloc
 
getRegAllocation(FlowGraph<T>) - Method in class spiglet.translate.graph.RegisterAlloc
Returns the mapping of only those variables that are mapped to registers, given a control flow graph from which to infer.
getRegAllocation(FlowGraph<T>, Map<T, R>) - Method in class spiglet.translate.graph.RegisterAlloc
Returns the mapping of only those variables that are mapped to registers, given a control flow graph from which to infer.
getReturnType() - Method in class minijava.typecheck.Method
 
getSpecialAt(int) - Method in class kanga.syntaxtree.NodeToken
 
getSpecialAt(int) - Method in class minijava.syntaxtree.NodeToken
 
getSpecialAt(int) - Method in class piglet.syntaxtree.NodeToken
 
getSpecialAt(int) - Method in class spiglet.syntaxtree.NodeToken
 
getSpillOffset() - Method in class kanga.meta.KangaStorage
Returns the spill offset where the storage is.
getStart() - Method in class spiglet.translate.graph.Liveness.LiveRange
Returns the start number of the live range.
getStatement(Node) - Method in class spiglet.translate.graph.SpigletFlowGraph
Looks up and returns the statement that is associated with the given node.
getStmtListContext() - Method in class minijava.translate.PigletContext
 
getStmtListContext() - Method in class piglet.translate.SpigletContext
Returns the context node as a StmtList node.
getStmtListContext() - Method in class spiglet.translate.KangaContext
Returns the context node as a StmtList node.
getSuccessors() - Method in class spiglet.translate.graph.Node
Returns the set (unmodifiable) of all successor nodes (nodes that edges coming out of this node points to) to this node.
GetSuffix(int) - Method in class kanga.parser.JavaCharStream
 
GetSuffix(int) - Method in class minijava.parser.JavaCharStream
 
GetSuffix(int) - Method in class piglet.parser.JavaCharStream
 
GetSuffix(int) - Method in class spiglet.parser.JavaCharStream
 
getSuperScope() - Method in class minijava.symtable.SymbolTable
 
getSymbolTable() - Method in class minijava.symtable.SymbolTableBuilder
 
getTabSize(int) - Method in class kanga.parser.JavaCharStream
 
getTabSize(int) - Method in class minijava.parser.JavaCharStream
 
getTabSize(int) - Method in class piglet.parser.JavaCharStream
 
getTabSize(int) - Method in class spiglet.parser.JavaCharStream
 
getTerm() - Method in class simple.tree.Expr
 
getTerm() - Method in class simple.tree.ExprP
 
getTermP() - Method in class simple.tree.Term
 
getTermP() - Method in class simple.tree.TermP
 
getToken(int) - Method in class kanga.parser.KangaParser
Get the specific Token.
getToken(int) - Method in class minijava.parser.MJParser
Get the specific Token.
getToken(int) - Method in class piglet.parser.PigletParser
Get the specific Token.
getToken(int) - Method in class spiglet.parser.SpigletParser
Get the specific Token.
getType() - Method in class simple.lexer.Token
 
getType() - Method in class spiglet.meta.SpigletStatement
Returns the type of this statement.
getTypeName() - Method in class minijava.typecheck.Type
 
getValue() - Method in class kanga.parser.Token
An optional attribute value of the Token.
getValue() - Method in class kanga.translate.MResult
Returns the underlying string value of this expression result.
getValue() - Method in class minijava.parser.Token
An optional attribute value of the Token.
getValue() - Method in class piglet.parser.Token
An optional attribute value of the Token.
getValue() - Method in class simple.lexer.Token
 
getValue() - Method in class spiglet.parser.Token
An optional attribute value of the Token.
getVar() - Method in class spiglet.translate.graph.Liveness.LiveRange
Returns the variable of this range.
getVariable(Node) - Method in class spiglet.translate.graph.InterferenceGraph
Looks up and returns the variable that is associated with the given node.
getVariableIdentifiers() - Method in class minijava.typecheck.Class
Returns the set of instance variable identifiers (symbols) specific to this class (excluding the base class').
GJDepthFirst<R,A> - Class in kanga.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJDepthFirst() - Constructor for class kanga.visitor.GJDepthFirst
 
GJDepthFirst<R,A> - Class in minijava.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJDepthFirst() - Constructor for class minijava.visitor.GJDepthFirst
 
GJDepthFirst<R,A> - Class in piglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJDepthFirst() - Constructor for class piglet.visitor.GJDepthFirst
 
GJDepthFirst<R,A> - Class in spiglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJDepthFirst() - Constructor for class spiglet.visitor.GJDepthFirst
 
GJNoArguDepthFirst<R> - Class in kanga.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJNoArguDepthFirst() - Constructor for class kanga.visitor.GJNoArguDepthFirst
 
GJNoArguDepthFirst<R> - Class in minijava.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJNoArguDepthFirst() - Constructor for class minijava.visitor.GJNoArguDepthFirst
 
GJNoArguDepthFirst<R> - Class in piglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJNoArguDepthFirst() - Constructor for class piglet.visitor.GJNoArguDepthFirst
 
GJNoArguDepthFirst<R> - Class in spiglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJNoArguDepthFirst() - Constructor for class spiglet.visitor.GJNoArguDepthFirst
 
GJNoArguVisitor<R> - Interface in kanga.visitor
All GJ visitors with no argument must implement this interface.
GJNoArguVisitor<R> - Interface in minijava.visitor
All GJ visitors with no argument must implement this interface.
GJNoArguVisitor<R> - Interface in piglet.visitor
All GJ visitors with no argument must implement this interface.
GJNoArguVisitor<R> - Interface in spiglet.visitor
All GJ visitors with no argument must implement this interface.
GJVisitor<R,A> - Interface in kanga.visitor
All GJ visitors must implement this interface.
GJVisitor<R,A> - Interface in minijava.visitor
All GJ visitors must implement this interface.
GJVisitor<R,A> - Interface in piglet.visitor
All GJ visitors must implement this interface.
GJVisitor<R,A> - Interface in spiglet.visitor
All GJ visitors must implement this interface.
GJVoidDepthFirst<A> - Class in kanga.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJVoidDepthFirst() - Constructor for class kanga.visitor.GJVoidDepthFirst
 
GJVoidDepthFirst<A> - Class in minijava.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJVoidDepthFirst() - Constructor for class minijava.visitor.GJVoidDepthFirst
 
GJVoidDepthFirst<A> - Class in piglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJVoidDepthFirst() - Constructor for class piglet.visitor.GJVoidDepthFirst
 
GJVoidDepthFirst<A> - Class in spiglet.visitor
Provides default methods which visit each node in the tree in depth-first order.
GJVoidDepthFirst() - Constructor for class spiglet.visitor.GJVoidDepthFirst
 
GJVoidVisitor<A> - Interface in kanga.visitor
All GJ void visitors must implement this interface.
GJVoidVisitor<A> - Interface in minijava.visitor
All GJ void visitors must implement this interface.
GJVoidVisitor<A> - Interface in piglet.visitor
All GJ void visitors must implement this interface.
GJVoidVisitor<A> - Interface in spiglet.visitor
All GJ void visitors must implement this interface.
Goal() - Method in class kanga.parser.KangaParser
 
Goal - Class in kanga.syntaxtree
Grammar production:
Goal(NodeToken, NodeToken, IntegerLiteral, NodeToken, NodeToken, IntegerLiteral, NodeToken, NodeToken, IntegerLiteral, NodeToken, StmtList, NodeToken, NodeListOptional, NodeToken) - Constructor for class kanga.syntaxtree.Goal
 
Goal(IntegerLiteral, IntegerLiteral, IntegerLiteral, StmtList, NodeListOptional) - Constructor for class kanga.syntaxtree.Goal
 
Goal() - Method in class minijava.parser.MJParser
 
Goal - Class in minijava.syntaxtree
Grammar production:
Goal(MainClass, NodeListOptional, NodeToken) - Constructor for class minijava.syntaxtree.Goal
 
Goal(MainClass, NodeListOptional) - Constructor for class minijava.syntaxtree.Goal
 
Goal() - Method in class piglet.parser.PigletParser
 
Goal - Class in piglet.syntaxtree
Grammar production:
Goal(NodeToken, StmtList, NodeToken, NodeListOptional, NodeToken) - Constructor for class piglet.syntaxtree.Goal
 
Goal(StmtList, NodeListOptional) - Constructor for class piglet.syntaxtree.Goal
 
Goal() - Method in class spiglet.parser.SpigletParser
 
Goal - Class in spiglet.syntaxtree
Grammar production:
Goal(NodeToken, StmtList, NodeToken, NodeListOptional, NodeToken) - Constructor for class spiglet.syntaxtree.Goal
 
Goal(StmtList, NodeListOptional) - Constructor for class spiglet.syntaxtree.Goal
 
gp - Static variable in interface kanga.parser.KangaParserConstants
RegularExpression Id.
Graph - Class in spiglet.translate.graph
This abstract class defines the public API and default implementation of the primitive functions of both types of graphs (control flow and interference graphs) we are going to use in this module.
Graph() - Constructor for class spiglet.translate.graph.Graph
 
graph - Variable in class spiglet.translate.graph.Node
A reference to the graph this node belongs to.
GT - Static variable in interface kanga.parser.KangaParserConstants
RegularExpression Id.
GT - Static variable in interface piglet.parser.PigletParserConstants
RegularExpression Id.
GT - Static variable in interface spiglet.parser.SpigletParserConstants
RegularExpression Id.

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