clang-tools  14.0.0git
Public Attributes | List of all members
clang::clangd::SemanticTokensOrDelta Struct Reference

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

#include <Protocol.h>

Collaboration diagram for clang::clangd::SemanticTokensOrDelta:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

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

Definition at line 1639 of file Protocol.h.

Member Data Documentation

◆ edits

llvm::Optional<std::vector<SemanticTokensEdit> > clang::clangd::SemanticTokensOrDelta::edits

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

Definition at line 1642 of file Protocol.h.

◆ resultId

std::string clang::clangd::SemanticTokensOrDelta::resultId

Definition at line 1640 of file Protocol.h.

◆ tokens

llvm::Optional<std::vector<SemanticToken> > clang::clangd::SemanticTokensOrDelta::tokens

Set if we computed a fresh set of tokens.

Definition at line 1644 of file Protocol.h.


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