Table of Contents

Method GetNodeAt

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

GetNodeAt(Point)

When implemented by a class, gets SyntaxNode that corresponds to the specified position.

SyntaxNode GetNodeAt(Point position)

Parameters

position Point

Position to find node.

Returns

SyntaxNode

SyntaxNode at specified position.

GetNodeAt(int)

implemented by a class, gets Microsoft.CodeAnalysis.SyntaxNode at specified line.

SyntaxNode GetNodeAt(int line)

Parameters

line int

Line to find node.

Returns

SyntaxNode

Microsoft.CodeAnalysis.SyntaxNode at specified line.