2 instantiations of SemanticTokens
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (1)
47
return new
SemanticTokens
{ Data = tokensData };
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (1)
45
return new LSP.
SemanticTokens
{ Data = tokensData };
10 references to SemanticTokens
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (2)
16
internal class SemanticTokensRangesHandler : ILspServiceDocumentRequestHandler<SemanticTokensRangesParams,
SemanticTokens
>
40
public async Task<
SemanticTokens
> HandleRequestAsync(
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (2)
15
internal class SemanticTokensRangeHandler : ILspServiceDocumentRequestHandler<SemanticTokensRangeParams, LSP.
SemanticTokens
>
37
public async Task<LSP.
SemanticTokens
> HandleRequestAsync(
Protocol\Methods.Document.cs (3)
182
public static readonly LspRequest<SemanticTokensParams,
SemanticTokens
?> TextDocumentSemanticTokensFull = new(TextDocumentSemanticTokensFullName);
200
public static readonly LspRequest<SemanticTokensDeltaParams, SumType<
SemanticTokens
, SemanticTokensDelta>?> TextDocumentSemanticTokensFullDelta = new(TextDocumentSemanticTokensFullDeltaName);
227
public static readonly LspRequest<SemanticTokensRangeParams,
SemanticTokens
?> TextDocumentSemanticTokensRange = new(TextDocumentSemanticTokensRangeName);
Protocol\SemanticTokens\SemanticTokensEdit.cs (2)
22
/// Gets or sets the position in the previous response's <see cref="
SemanticTokens
.Data"/>
30
/// Gets or sets the number of numbers to delete in the <see cref="
SemanticTokens
.Data"/>
Protocol\SemanticTokens\SemanticTokensLegend.cs (1)
10
/// Legend used by the server to describe how it encodes semantic token types in <see cref="
SemanticTokens
.Data"/>.