Beispiel #1
0
 // An unlinked (no parent) constructor if we need to create a hanging class (ex: a reference to an undefined class)
 public ClassEntry(string name) : base(null, EntryKinds.classKind, name)
 {
     child = null;
 }
Beispiel #2
0
 public ClassEntry(string name, SymbolTable parent) : base(parent, EntryKinds.classKind, name)
 {
     // Create a symbol table for the scope of this class
     child = new SymbolTable("Class Symbol Table: " + name, this);
 }