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

S

s - Variable in class com.adamcornett.cminus.tree.CSTree
 
s - Variable in class com.adamcornett.cminus.tree.FuncTree
The scope for this function from the scope table
scanInput(String) - Method in class org.norecess.antlr.ANTLRTester
Scans the input to generate a token stream.
Scope - Class in com.adamcornett.cminus
Represents a variable scope.
Scope(Token) - Constructor for class com.adamcornett.cminus.Scope
Create a new scope.
scope - Variable in class com.adamcornett.cminus.tree.VarTree
The scope which the symbol is defined in.
scopeMap - Static variable in class com.adamcornett.cminus.Scope
A map linking a given scope number to a scope.
ScopeNode - Interface in com.adamcornett.cminus.tree
A node that has an associated scope (like a compound statement, or a function)
scopeNumber - Variable in class com.adamcornett.cminus.Scope
The scope number of this Scope.
selection_stmt() - Method in class com.adamcornett.cminus.CMinusParser
 
Semi - Static variable in class com.adamcornett.cminus.CMinusLexer
 
Semi - Static variable in class com.adamcornett.cminus.CMinusParser
 
semiTest() - Method in class com.adamcornett.cminus.LexerTest
 
serialVersionUID - Static variable in class com.adamcornett.cminus.errors.AnalyzerError
 
serialVersionUID - Static variable in exception com.adamcornett.cminus.errors.ArgumentException
 
setFlag(String) - Static method in class com.adamcornett.cminus.Compiler
Set a flag
setFunction(Function) - Method in class com.adamcornett.cminus.tree.CallTree
 
setFunction(Function) - Method in interface com.adamcornett.cminus.tree.FunctionNode
 
setFunction(Function) - Method in class com.adamcornett.cminus.tree.FuncTree
 
setLastScopeNumber(int) - Static method in class com.adamcornett.cminus.Compiler
Sets the last scope number value.
setLocals() - Method in class com.adamcornett.cminus.tree.FuncTree
Calculate the number of local variables
setNoExe() - Method in class com.adamcornett.cminus.tree.OpTree
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.CallTree
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.FuncTree
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.GlobalVarDecTree
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.LiteralTree
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.OpTree
 
setReturnType(Type) - Method in interface com.adamcornett.cminus.tree.TypeNode
 
setReturnType(Type) - Method in class com.adamcornett.cminus.tree.VarTree
 
setScope(Integer) - Static method in class com.adamcornett.cminus.Scope
Lookup a given scope and set it as the current scope.
setScope(Scope) - Method in class com.adamcornett.cminus.tree.CallTree
 
setScope(Scope) - Method in class com.adamcornett.cminus.tree.CSTree
 
setScope(Scope) - Method in class com.adamcornett.cminus.tree.FuncTree
 
setScope(Scope) - Method in interface com.adamcornett.cminus.tree.ScopeNode
 
setScope(Scope) - Method in class com.adamcornett.cminus.tree.VarTree
 
setStackSize() - Method in class com.adamcornett.cminus.tree.FuncTree
Determine the stack size recursively by looking at all child statements and finding the one with the largest stack.
setSymbol(Symbol) - Method in class com.adamcornett.cminus.tree.GlobalVarDecTree
 
setSymbol(Symbol) - Method in interface com.adamcornett.cminus.tree.SymbolNode
 
setSymbol(Symbol) - Method in class com.adamcornett.cminus.tree.VarTree
 
setSymbols(SymbolTable) - Method in class com.adamcornett.cminus.Scope
Set the symbol table for this scope.
setTraceOn(Boolean) - Method in class com.adamcornett.cminus.CMinusParser
 
setTreeAdaptor(TreeAdaptor) - Method in class com.adamcornett.cminus.CMinusParser
 
setUp() - Method in class com.adamcornett.cminus.ANTLRTestClass
 
setUpBeforeClass() - Static method in class com.adamcornett.cminus.CompilerTests
 
setUpBeforeClass() - Static method in class com.adamcornett.cminus.LexerTest
 
setUpBeforeClass() - Static method in class com.adamcornett.cminus.ParserTest
 
shortFlags - Static variable in class com.adamcornett.cminus.Compiler.flag
A collection of all flags mapped to the short string
shortName - Variable in class com.adamcornett.cminus.Compiler.flag
This is the short (single character) version of a flag.
size() - Method in class com.adamcornett.cminus.SymbolTable
 
specialStateTransition(int, IntStream) - Method in class com.adamcornett.cminus.CMinusParser.DFA10
 
stackSize - Variable in class com.adamcornett.cminus.tree.FuncTree
The amount of stack space to reserve
start - Variable in class com.adamcornett.cminus.tree.ErrorTree
 
statement() - Method in class com.adamcornett.cminus.CMinusParser
 
stmt_list() - Method in class com.adamcornett.cminus.CMinusParser
 
StmtList - Static variable in class com.adamcornett.cminus.CMinusLexer
 
StmtList - Static variable in class com.adamcornett.cminus.CMinusParser
 
stop - Variable in class com.adamcornett.cminus.tree.ErrorTree
 
Sub - Static variable in class com.adamcornett.cminus.CMinusLexer
 
Sub - Static variable in class com.adamcornett.cminus.CMinusParser
 
sym - Variable in class com.adamcornett.cminus.tree.GlobalVarDecTree
 
sym - Variable in class com.adamcornett.cminus.tree.VarTree
The associated symbol from the SymbolTable
Symbol - Class in com.adamcornett.cminus
 
Symbol(CMinusParser.type_specifier_return, Token) - Constructor for class com.adamcornett.cminus.Symbol
The non-array constructor
Symbol(CMinusParser.type_specifier_return, Token, Token) - Constructor for class com.adamcornett.cminus.Symbol
The array constructor
Symbol(Type, Token) - Constructor for class com.adamcornett.cminus.Symbol
 
SymbolNode - Interface in com.adamcornett.cminus.tree
A node that represents a symbol.
symbols - Variable in class com.adamcornett.cminus.Scope
The symbol table for this scope.
symbolsByLoc - Variable in class com.adamcornett.cminus.SymbolTable
A map keyed of the definition location of a symbol.
symbolsByName - Variable in class com.adamcornett.cminus.SymbolTable
A map keyed off the name of a symbol
SymbolTable - Class in com.adamcornett.cminus
A table for storing symbols
SymbolTable() - Constructor for class com.adamcornett.cminus.SymbolTable
 
synpred12_CMinus() - Method in class com.adamcornett.cminus.CMinusParser
 
synpred12_CMinus_fragment() - Method in class com.adamcornett.cminus.CMinusParser
 

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