示例#1
0
 public void SetType(ClassEntry type)
 {
     this.type = type;
 }
 public FunctionEntry(SymbolTable parent, string name, ClassEntry type) : base(parent, EntryKinds.function, name)
 {
     // Create a symbol table for the function's own scope
     child     = new SymbolTable("Function Symbol Table: " + name, this);
     this.type = type;
 }