Method InsertChild
InsertChild(ISyntaxNode, IComparer<ISyntaxNode>)
Inserts specified node to the child collection.
public virtual int InsertChild(ISyntaxNode node, IComparer<ISyntaxNode> comparer)
Parameters
node
ISyntaxNodeSpecifies node to insert.
comparer
IComparer<ISyntaxNode>Specifies method that compares nodes in the sorted child collection.
Returns
- int
Index of inserted node in the child collection.