Method AddChild
AddChild(ISyntaxNode)
When implemented by a class, adds specified node to the child collection.
int AddChild(ISyntaxNode node)
Parameters
node
ISyntaxNodeSpecifies
ISyntaxNode
to add.
Returns
- int
Index of added node within the child collection.
AddChild()
When implemented by a class, creates a new ISyntaxNode
and adds it to the child collection.
ISyntaxNode AddChild()
Returns
- ISyntaxNode
ISyntaxNode
that is added.