Table of Contents

Method GetClassifications

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

GetClassifications()

When implemented by a class, gets a list of ClassifiedSpan for the document.

IEnumerable<ClassifiedSpan> GetClassifications()

Returns

IEnumerable<ClassifiedSpan>

List of ClassifiedSpan.

GetClassifications(int, int)

When implemented by a class, gets list of classificators for the given document.

IEnumerable<ClassifiedSpan> GetClassifications(int start, int length)

Parameters

start int

Start position of the text span

length int

Length of the the text span

Returns

IEnumerable<ClassifiedSpan>

The set of classificators to perform syntax highlighting.