Table of Contents

Method InsertChild

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

InsertChild(ISyntaxNode, IComparer<ISyntaxNode>)

When implemented by a class, inserts specified node to the child collection.

int InsertChild(ISyntaxNode node, IComparer<ISyntaxNode> comparer)

Parameters

node ISyntaxNode

Specifies 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.