nixd
|
#include <Protocol.h>
Public Attributes | |
std::string | name |
The name of this symbol. | |
SymbolKind | kind |
The kind of this symbol. | |
Location | location |
The location of this symbol. | |
std::string | containerName |
The name of the symbol containing this symbol. | |
std::optional< float > | score |
Represents information about programming constructs like variables, classes, interfaces etc.
Definition at line 1112 of file lspserver/include/lspserver/Protocol.h.
std::string lspserver::SymbolInformation::containerName |
The name of the symbol containing this symbol.
Definition at line 1123 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::operator<<(), and lspserver::toJSON().
SymbolKind lspserver::SymbolInformation::kind |
The kind of this symbol.
Definition at line 1117 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
Location lspserver::SymbolInformation::location |
The location of this symbol.
Definition at line 1120 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().
std::string lspserver::SymbolInformation::name |
The name of this symbol.
Definition at line 1114 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::operator<<(), and lspserver::toJSON().
std::optional<float> lspserver::SymbolInformation::score |
The score that clangd calculates to rank the returned symbols. This excludes the fuzzy-matching score between name
and the query. (Specifically, the last ::-separated component). This can be used to re-rank results as the user types, using client-side fuzzy-matching (that score should be multiplied with this one). This is a clangd extension, set only for workspace/symbol responses.
Definition at line 1131 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::toJSON().