Table of Contents

Method GetLineAndCharacterOfPosition

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

GetLineAndCharacterOfPosition(string, int)

Converts given position into (row, column) coordinate.

public Point GetLineAndCharacterOfPosition(string fileName, int position)

Parameters

fileName string

File name containing source code.

position int

Given absolute position.

Returns

Point

Point coordinate.