示例#1
0
 public void setParent(GenericTree parent)
 {
     if (parent.children == null)
     {
         parent.children = new Dictionary <string, GenericTree>();
     }
     parent.children.Add(name, this);
     this.parent = parent;
 }
 public void setOutput(GenericTree output)
 {
     this.output = output;
 }