Exemple #1
0
 public ClassType(string name, State parent, string path, ClassType superClass)
     : this(name, parent, path)
 {
     if (superClass != null)
     {
         addSuper(superClass);
     }
 }
Exemple #2
0
 public ModuleType(string name, string file, string qName, State parent)
 {
     this.name  = name;
     this.file  = file; // null for builtin modules
     this.qname = qName;
     this.Table = new State(parent, State.StateType.MODULE);
     Table.Path = qname;
     Table.Type = this;
 }
Exemple #3
0
 public ClassType(string name, State parent, string path)
 {
     this.name       = name;
     this.Table      = new State(parent, State.StateType.CLASS);
     this.Table.Type = this;
     if (parent != null)
     {
         Table.Path = path;
     }
     else
     {
         Table.Path = name;
     }
 }