Predicates/SimpleParser/AbstractTree/NodeItem.cs
/// <summary>
/// Add a child node to the current one
/// </summary>
/// <param name="name">The name of the newly created node</param>
/// <returns>The new node</returns>
Add a child node to the current one
Add a child node to the current one
public NodeItem AddChild(string name)
        {
            var newNode = new NodeItem(this, name);
            this.NodeItems.Add(newNode);
            return newNode;
        }
public NodeItem AddChild ( string name ) { var newNode = new NodeItem ( this , name ) ; this . NodeItems . Add ( newNode ) ; return newNode ; }
Add a child node to the current one
Add a child node to the current one
The new node
The new node
name
string
The name of the newly created node
The name of the newly created node