nixd
|
#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. | |
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.
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.
Referenced by lspserver::toJSON().
std::string lspserver::SemanticTokensOrDelta::resultId |
Definition at line 1741 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
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.
Referenced by lspserver::toJSON().