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
stringFile 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
stringFile name containing source code.
pos
intStart position of the text span
length
intLength of the text span
Returns
- IEnumerable<ClassifiedSpan>
The set of classificators to perform syntax highlighting.