Changeset 2946


Ignore:
Timestamp:
Mar 19, 2013, 4:21:35 PM (5 years ago)
Author:
ksherdy
Message:

Updated symbol table package for PabloB, PabloS and type checking support.

Location:
proto/pabloj/trunk/src/compiler/symbolTable
Files:
5 added
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/compiler/symbolTable/CarryInfoSetSymbol.java

    r2834 r2946  
    1 package compiler.symbols;
     1/*
     2 * Stream Function Carry Information set.
     3 *
     4 * TODO
     5 *
     6 * - Add to 'Binding' class for a general implementation (PabloB).
     7 * - Convenience class that assumes a Stream Function ordering.
     8 * - Poor design, will refactor/remove.
     9 *
     10 * @author Ken Herdy <ksherdy at sfu dot ca>
     11 */
     12package compiler.symbolTable;
    213
    314import java.util.ArrayList;
     
    920       
    1021        public CarryInfoSetSymbol () {
    11                 carry1 = new ArrayList<Integer>();
     22                carry1 = new ArrayList<Integer>(); 
    1223                carryN = new ArrayList<Integer>();
    1324        }
  • proto/pabloj/trunk/src/compiler/symbolTable/Symbol.java

    r2834 r2946  
    1 package compiler.symbols;
     1package compiler.symbolTable;
    22
    33public abstract class Symbol {}
  • proto/pabloj/trunk/src/compiler/symbolTable/SymbolTable.java

    r2834 r2946  
    1 package compiler.symbols;
     1package compiler.symbolTable;
    22
     3import java.util.Map;
    34import java.util.LinkedHashMap;
    45
     
    67public class SymbolTable {
    78
    8         private LinkedHashMap<String, Symbol> symbolTable;
     9        private Map<String, Symbol> symbolTable;
    910       
    1011        public SymbolTable() {
Note: See TracChangeset for help on using the changeset viewer.