Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DocumentSemanticTokensAdapter

Hierarchy

  • DocumentSemanticTokensAdapter

Index

Constructors

Properties

_nextResultId: number = 1
_previousResults: Map<number, SemanticTokensPreviousResult>

Methods

  • _send(value: SemanticTokens | SemanticTokensEdits, original: SemanticTokens | SemanticTokensEdits): null | BinaryBuffer
  • provideDocumentSemanticTokens(resource: URI, previousResultId: number, token: CancellationToken): Promise<null | BinaryBuffer>
  • releaseDocumentSemanticColoring(semanticColoringResultId: number): Promise<void>
  • _convertToEdits(previousResult: undefined | null | SemanticTokensPreviousResult, newResult: SemanticTokens | SemanticTokensEdits): SemanticTokens | SemanticTokensEdits
  • _fixProvidedSemanticTokens(v: ProvidedSemanticTokens | ProvidedSemanticTokensEdits): SemanticTokens | SemanticTokensEdits
  • _isCorrectSemanticTokens(v: ProvidedSemanticTokens): v is SemanticTokens
  • _isCorrectSemanticTokensEdits(v: ProvidedSemanticTokensEdits): v is SemanticTokensEdits
  • _isSemanticTokens(v: ProvidedSemanticTokens | ProvidedSemanticTokensEdits): v is ProvidedSemanticTokens
  • _isSemanticTokensEdits(v: ProvidedSemanticTokens | ProvidedSemanticTokensEdits): v is ProvidedSemanticTokensEdits