Example #1
0
 // constructor
 public TcVisitor()
 {
     NumErrors   = 0;
     NumWarnings = 0;
     Methods = new Dictionary<string,List<CbMethod>>();
     Structs = new Dictionary<string,CbStruct>();
     Consts  = new Dictionary<string,CbType>();
     localSymbols = new SymTab();
 }
Example #2
0
 // constructor
 public TcVisitor()
 {
     NumErrors    = 0;
     NumWarnings  = 0;
     Methods      = new Dictionary <string, List <CbMethod> >();
     Structs      = new Dictionary <string, CbStruct>();
     Consts       = new Dictionary <string, CbType>();
     localSymbols = new SymTab();
 }