2 instantiations of SemanticTokens
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (1)
47return new SemanticTokens { Data = tokensData };
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (1)
45return new LSP.SemanticTokens { Data = tokensData };
10 references to SemanticTokens
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (2)
16internal class SemanticTokensRangesHandler : ILspServiceDocumentRequestHandler<SemanticTokensRangesParams, SemanticTokens> 40public async Task<SemanticTokens> HandleRequestAsync(
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (2)
15internal class SemanticTokensRangeHandler : ILspServiceDocumentRequestHandler<SemanticTokensRangeParams, LSP.SemanticTokens> 37public async Task<LSP.SemanticTokens> HandleRequestAsync(
Protocol\Methods.Document.cs (3)
182public static readonly LspRequest<SemanticTokensParams, SemanticTokens?> TextDocumentSemanticTokensFull = new(TextDocumentSemanticTokensFullName); 200public static readonly LspRequest<SemanticTokensDeltaParams, SumType<SemanticTokens, SemanticTokensDelta>?> TextDocumentSemanticTokensFullDelta = new(TextDocumentSemanticTokensFullDeltaName); 227public 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"/>.