Table of Contents

Method FindDeclarationAsync

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

FindDeclarationAsync(Point, CancellationToken)

When implemented by a class, finds the declaration location at given position.

Task<SymbolLocation> FindDeclarationAsync(Point position, CancellationToken cancellationToken = default)

Parameters

position Point

Specifies position to find.

cancellationToken CancellationToken

Cancellation token

Returns

Task<SymbolLocation>

SymbolLocation represents location of the declaration.