Table of Contents

Method AddChild

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

AddChild(ISyntaxNode)

Adds specified node to the child collection.

public virtual int AddChild(ISyntaxNode node)

Parameters

node ISyntaxNode

Specifies ISyntaxNode to add.

Returns

int

Index of added node within the child collection.

AddChild()

Creates a new ISyntaxNode and adds it to the child collection.

public virtual ISyntaxNode AddChild()

Returns

ISyntaxNode

ISyntaxNode that is added.