Table of Contents

Method FindDeclarationAsync

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

FindDeclarationAsync(Point, CancellationToken)

Finds the declaration location at given position.

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