Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.h91 std::vector<SemanticToken> toSemanticTokens(llvm::ArrayRef<HighlightingToken>);
93 std::vector<SemanticTokensEdit> diffTokens(llvm::ArrayRef<SemanticToken> Before,
94 llvm::ArrayRef<SemanticToken> After);
DSemanticHighlighting.cpp522 std::vector<SemanticToken>
525 std::vector<SemanticToken> Result; in toSemanticTokens()
529 SemanticToken &Out = Result.back(); in toSemanticTokens()
675 diffTokens(llvm::ArrayRef<SemanticToken> Old, in diffTokens()
676 llvm::ArrayRef<SemanticToken> New) { in diffTokens()
DProtocol.h1497 struct SemanticToken { struct
1510 bool operator==(const SemanticToken &, const SemanticToken &); argument
1521 std::vector<SemanticToken> tokens; // encoded as a flat integer array.
1551 std::vector<SemanticToken> tokens; // encoded as a flat integer array
1562 llvm::Optional<std::vector<SemanticToken>> tokens; // encoded as integer array
DProtocol.cpp1042 static llvm::json::Value encodeTokens(llvm::ArrayRef<SemanticToken> Toks) { in encodeTokens()
1055 bool operator==(const SemanticToken &L, const SemanticToken &R) { in operator ==()
DClangdLSPServer.cpp1414 std::vector<SemanticToken> Toks = toSemanticTokens(*HT); in onSemanticTokensDelta()