Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }