Table of Contents

Method FindDeclarationAsync

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

FindDeclarationAsync(Point, CancellationToken)

Finds the declaration location at given position.

public override 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.