Predicates/SimpleParser/AbstractTree/NodeItem.cs
/// <summary>
/// Add a sibling node of type function to the current one
/// </summary>
/// <param name="name">The name of the newly created node</param>
/// <returns>The new node</returns>
Add a sibling node of type function to the current one
Add a sibling node of type function to the current one
public NodeItem AddSiblingFunction(string name)
        {
            var newNode = new NodeFunction(this.Parent, name);
            newNode.Kind = NodeKind.Unknown;
            Parent.NodeItems.Add(newNode);
            return newNode;
        }
public NodeItem AddSiblingFunction ( string name ) { var newNode = new NodeFunction ( this . Parent , name ) ; newNode . Kind = NodeKind . Unknown ; Parent . NodeItems . Add ( newNode ) ; return newNode ; }
Add a sibling node of type function to the current one
Add a sibling node of type function 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