Table of Contents

Method GetClassifications

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

GetClassifications(string)

Gets list of classificators for the given document.

public IEnumerable<ClassifiedSpan> GetClassifications(string fileName)

Parameters

fileName string

File name containing source code.

Returns

IEnumerable<ClassifiedSpan>

The set of classificators to perform syntax highlighting.

GetClassifications(string, int, int)

Gets list of classificators for the given document.

public IEnumerable<ClassifiedSpan> GetClassifications(string fileName, int pos, int length)

Parameters

fileName string

File name containing source code.

pos int

Start position of the text span

length int

Length of the text span

Returns

IEnumerable<ClassifiedSpan>

The set of classificators to perform syntax highlighting.