Uses of Class
com.adamcornett.cminus.Symbol

Packages that use Symbol
com.adamcornett.cminus This package contains all of the main classes for the program 
com.adamcornett.cminus.tree This package contains the classes for the tree nodes generated by the C Minus Parser. 
 

Uses of Symbol in com.adamcornett.cminus
 

Fields in com.adamcornett.cminus with type parameters of type Symbol
private  SortedSet<Symbol> Function.params
          The list of symbols that make up the function's parameters.
private  Map<TokenLocation,Symbol> SymbolTable.symbolsByLoc
          A map keyed of the definition location of a symbol.
private  Map<String,Symbol> SymbolTable.symbolsByName
          A map keyed off the name of a symbol
 

Methods in com.adamcornett.cminus that return Symbol
 Symbol SymbolTable.get(String s)
          Lookup a symbol by name
 Symbol SymbolTable.get(TokenLocation location)
          Look up a symbol by its definition location
static Symbol Scope.lookup(String s)
          Looks up a symbol with the name s in the current scope
static Symbol Scope.lookup(String s, Scope scope)
          Look up a symbol in a specified scope
 

Methods in com.adamcornett.cminus that return types with arguments of type Symbol
 SortedSet<Symbol> Function.getParams()
           
 

Methods in com.adamcornett.cminus with parameters of type Symbol
 void SymbolTable.add(Symbol symbol)
          Add a symbol to this table.
 void Function.addParam(Symbol s)
          Add a parameter to this function
static void Compiler.addSymbol(Symbol s)
          Add a symbol to the current scope's symbol table.
 void Function.addSymbol(Symbol s)
          Add a symbol to the local symbol table.
 int Symbol.compareTo(Symbol o)
           
static void Scope.pushSymbol(Symbol s)
          Add a symbol to the current scope.
 

Uses of Symbol in com.adamcornett.cminus.tree
 

Fields in com.adamcornett.cminus.tree declared as Symbol
private  Symbol VarTree.sym
          The associated symbol from the SymbolTable
private  Symbol GlobalVarDecTree.sym
           
 

Methods in com.adamcornett.cminus.tree that return Symbol
 Symbol SymbolNode.getSymbol()
           
 Symbol VarTree.getSymbol()
           
 Symbol GlobalVarDecTree.getSymbol()
           
 

Methods in com.adamcornett.cminus.tree with parameters of type Symbol
 void SymbolNode.setSymbol(Symbol s)
           
 void VarTree.setSymbol(Symbol s)
           
 void GlobalVarDecTree.setSymbol(Symbol s)