Table of Contents

Class TextResolver

Namespace
Alternet.Syntax.Parsers.TypeScript.Helpers
Assembly
Alternet.Syntax.Parsers.TypeScript.v9.dll

Represents properties and methods to convert absolute position within TypeScript code into Point coordinate.

public class TextResolver
Inheritance
TextResolver

Constructors

TextResolver(IList<string>)

Initializes a new instance of the TextResolver class with specified text.

TextResolver(string)

Initializes a new instance of the TextResolver class with specified text.

Properties

Strings

Gets part of code in the form of the list of strings.

Methods

GetLineSpanEnd(int)
GetLineSpanStart(int)
TextToPoint(int)

Converts given absolute text coordinate into Point position.