nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
lspserver::SemanticTokensOrDelta Struct Reference

#include <Protocol.h>

Public Attributes

std::string resultId
 
std::optional< std::vector< SemanticTokensEdit > > edits
 Set if we computed edits relative to a previous set of tokens.
 
std::optional< std::vector< SemanticToken > > tokens
 Set if we computed a fresh set of tokens.
 

Detailed Description

This models LSP SemanticTokensDelta | SemanticTokens, which is the result of textDocument/semanticTokens/full/delta.

Definition at line 1740 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ edits

std::optional<std::vector<SemanticTokensEdit> > lspserver::SemanticTokensOrDelta::edits

Set if we computed edits relative to a previous set of tokens.

Definition at line 1743 of file lspserver/include/lspserver/Protocol.h.

◆ resultId

std::string lspserver::SemanticTokensOrDelta::resultId

Definition at line 1741 of file lspserver/include/lspserver/Protocol.h.

◆ tokens

std::optional<std::vector<SemanticToken> > lspserver::SemanticTokensOrDelta::tokens

Set if we computed a fresh set of tokens.

Definition at line 1745 of file lspserver/include/lspserver/Protocol.h.


The documentation for this struct was generated from the following file: