Table of Contents

Method GetDefinitionAtPosition

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

GetDefinitionAtPosition(string, Point)

Gets list of definitions for the symbol at the specified parameters.

public IEnumerable<DefinitionInfo> GetDefinitionAtPosition(string fileName, Point position)

Parameters

fileName string

File name containing source code.

position Point

Specifies current position (row, column) in text.

Returns

IEnumerable<DefinitionInfo>

The set of definitions of the symbol at the given position.

GetDefinitionAtPosition(string, int)

Gets list of definitions for the symbol at the specified parameters.

public IEnumerable<DefinitionInfo> GetDefinitionAtPosition(string fileName, int position)

Parameters

fileName string

File name containing source code.

position int

Specifies current position in text.

Returns

IEnumerable<DefinitionInfo>

The set of definitions of the symbol at the given position.