Class Classifier

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(host: IClassifierHost): Classifier

Parameters

Returns

Classifier

Properties

private characterWindow: any

private diagnostics: any

public host: IClassifierHost

private scanner: any

Methods

private addResult(text: any, offset: any, result: any, length: any, kind: any): any

Parameters

  • text: any
  • offset: any
  • result: any
  • length: any
  • kind: any

Returns

any

private classFromKind(kind: any): any

Parameters

  • kind: any

Returns

any

public getClassificationsForLine(text: string, lexState: EndOfLineState): ClassificationResult

Parameters

Returns

ClassificationResult

private processToken(text: any, offset: any, token: any, result: any): any

Parameters

  • text: any
  • offset: any
  • token: any
  • result: any

Returns

any

private processTriviaList(text: any, offset: any, triviaList: any, result: any): any

Parameters

  • text: any
  • offset: any
  • triviaList: any
  • result: any

Returns

any