Interface DocumentSemanticTokensProvider

interface DocumentSemanticTokensProvider {
    onDidChange?: IEvent<void>;
    getLegend(): SemanticTokensLegend;
    provideDocumentSemanticTokens(model, lastResultId, token): ProviderResult<SemanticTokens | SemanticTokensEdits>;
    releaseDocumentSemanticTokens(resultId): void;
}

Properties

onDidChange?: IEvent<void>

Methods

  • Parameters

    • resultId: string

    Returns void