示例#1
0
 public Scope(string id, Scope father = null)
 {
     this.id     = id;
     this.father = father;
     take        = new Take_str(id);
     locals      = new Dictionary <string, string>();
 }
示例#2
0
 public CoolToCil()
 {
     method    = new Current_Method();
     take_data = new Take_str("data");
     Data      = new Dictionary <string, string>();
     Code      = new Dictionary <string, CIL_Function>();
     Types     = new Dictionary <string, CIL_OneType>();
 }
示例#3
0
 public CoolToCil()
 {
     method    = new Current_Method();
     take_data = new Take_str("data");
     Data      = new Dictionary <string, string>();
     Data[""]  = "vacio";
     Code      = SystemFunctions.GetAllSysFunctions();
     Types     = new Dictionary <string, CIL_OneType>();
 }