Exemple #1
0
 /// <summary> Adds an Instance to this Instance's children </summary>
 /// <param name="child"> The child to be added </param>
 protected void AddChild(Instance child)
 {
     Children.AddFirst(child.ContainerNode);
 }
Exemple #2
0
 public void addChild(T data)
 {
     Children.AddFirst(new Node <T>(data, this));
 }
Exemple #3
0
 public void AddChild(TokenNode node)
 {
     Children.AddFirst(node);
 }