Table of Contents

Method GetClassifications

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

GetClassifications()

Gets a list of ClassifiedSpan for the document.

public virtual IEnumerable<ClassifiedSpan> GetClassifications()

Returns

IEnumerable<ClassifiedSpan>

List of ClassifiedSpan.

GetClassifications(int, int)

Gets list of classificators for the given document.

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

Parameters

pos int

Start position of the text span

length int

Length of the span

Returns

IEnumerable<ClassifiedSpan>

The set of classificators to perform syntax highlighting.