Home
last modified time | relevance | path

Searched refs:SemanticToken (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticHighlighting.h105 std::vector<SemanticToken> toSemanticTokens(llvm::ArrayRef<HighlightingToken>,
109 std::vector<SemanticTokensEdit> diffTokens(llvm::ArrayRef<SemanticToken> Before,
110 llvm::ArrayRef<SemanticToken> After);
H A DProtocol.h1646 struct SemanticToken { struct
1659 bool operator==(const SemanticToken &, const SemanticToken &); argument
1670 std::vector<SemanticToken> tokens; // encoded as a flat integer array.
1700 std::vector<SemanticToken> tokens; // encoded as a flat integer array
1711 llvm::Optional<std::vector<SemanticToken>> tokens; // encoded as integer array
H A DSemanticHighlighting.cpp943 std::vector<SemanticToken>
947 std::vector<SemanticToken> Result; in toSemanticTokens()
955 SemanticToken *Out = &Result.back(); in toSemanticTokens()
1091 diffTokens(llvm::ArrayRef<SemanticToken> Old, in diffTokens()
1092 llvm::ArrayRef<SemanticToken> New) { in diffTokens()
H A DProtocol.cpp1091 static llvm::json::Value encodeTokens(llvm::ArrayRef<SemanticToken> Toks) { in encodeTokens()
1105 bool operator==(const SemanticToken &L, const SemanticToken &R) { in operator ==()
H A DClangdLSPServer.cpp1515 std::vector<SemanticToken> Toks = toSemanticTokens(*HT, *Code); in onSemanticTokensDelta()