Table of Contents

Method FindNode

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

FindNode(string)

When implemented by a class, finds child node by its name.

ISyntaxNode FindNode(string name)

Parameters

name string

Specifies name of node.

Returns

ISyntaxNode

First occurrence of ISyntaxNode with specified name.

FindNode(int)

When implemented by a class, finds child node by its type.

ISyntaxNode FindNode(int nodeType)

Parameters

nodeType int

Specifies type of node.

Returns

ISyntaxNode

First occurrence of ISyntaxNode with specified type.

FindNode(ISyntaxNode, IComparer<ISyntaxNode>)

When implemented by a class, finds specified child node.

ISyntaxNode FindNode(ISyntaxNode obj, IComparer<ISyntaxNode> comparer)

Parameters

obj ISyntaxNode

Specifies node to locate.

comparer IComparer<ISyntaxNode>

Specifies method that compares nodes in the sorted child collection.

Returns

ISyntaxNode

ISyntaxNode that is located.