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
stringFile name containing source code.
position
PointSpecifies 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
Returns
- IEnumerable<DefinitionInfo>
The set of definitions of the symbol at the given position.