public ClassType(string name, State parent, string path, ClassType superClass) : this(name, parent, path) { if (superClass != null) { addSuper(superClass); } }
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; }
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; } }