clang-tools  11.0.0
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:
[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 1422 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 1425 of file Protocol.h.

◆ resultId

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

Definition at line 1423 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 1427 of file Protocol.h.


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