clang-tools 17.0.0git
|
Represents information about identifier. More...
#include <Protocol.h>
Public Attributes | |
std::string | name |
std::string | containerName |
std::string | USR |
Unified Symbol Resolution identifier This is an opaque string uniquely identifying a symbol. | |
SymbolID | ID |
std::optional< Location > | declarationRange |
std::optional< Location > | definitionRange |
Represents information about identifier.
This is returned from textDocument/symbolInfo, which is a clangd extension.
Definition at line 1164 of file Protocol.h.
std::string clang::clangd::SymbolDetails::containerName |
Definition at line 1167 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator<<(), clang::clangd::operator==(), and clang::clangd::toJSON().
std::optional<Location> clang::clangd::SymbolDetails::declarationRange |
Definition at line 1178 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator==(), and clang::clangd::toJSON().
std::optional<Location> clang::clangd::SymbolDetails::definitionRange |
Definition at line 1180 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator==(), and clang::clangd::toJSON().
SymbolID clang::clangd::SymbolDetails::ID |
Definition at line 1176 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator==(), and clang::clangd::toJSON().
std::string clang::clangd::SymbolDetails::name |
Definition at line 1165 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator<<(), clang::clangd::operator==(), and clang::clangd::toJSON().
std::string clang::clangd::SymbolDetails::USR |
Unified Symbol Resolution identifier This is an opaque string uniquely identifying a symbol.
Unlike SymbolID, it is variable-length and somewhat human-readable. It is a common representation across several clang tools. (See USRGeneration.h)
Definition at line 1174 of file Protocol.h.
Referenced by clang::clangd::getSymbolInfo(), clang::clangd::operator==(), and clang::clangd::toJSON().