clang-tools
11.0.0
|
#include <Protocol.h>
Public Attributes | |
std::string | name |
The human readable name of the hierarchy item. More... | |
llvm::Optional< std::string > | detail |
Optional detail for the hierarchy item. More... | |
SymbolKind | kind |
The kind of the hierarchy item. For instance, class or interface. More... | |
bool | deprecated = false |
true if the hierarchy item is deprecated. Otherwise, false . More... | |
URIForFile | uri |
The URI of the text document where this type hierarchy item belongs to. More... | |
Range | range |
The range enclosing this type hierarchy item not including leading/trailing whitespace but everything else like comments. More... | |
Range | selectionRange |
The range that should be selected and revealed when this type hierarchy item is being picked, e.g. More... | |
llvm::Optional< std::vector< TypeHierarchyItem > > | parents |
If this type hierarchy item is resolved, it contains the direct parents. More... | |
llvm::Optional< std::vector< TypeHierarchyItem > > | children |
If this type hierarchy item is resolved, it contains the direct children of the current item. More... | |
llvm::Optional< std::string > | data |
An optional 'data' filed, which can be used to identify a type hierarchy item in a resolve request. More... | |
Definition at line 1285 of file Protocol.h.
llvm::Optional<std::vector<TypeHierarchyItem> > clang::clangd::TypeHierarchyItem::children |
If this type hierarchy item is resolved, it contains the direct children of the current item.
Could be empty if the item does not have any descendants. If not defined, the children have not been resolved.
Definition at line 1321 of file Protocol.h.
Referenced by clang::clangd::resolveTypeHierarchy().
llvm::Optional<std::string> clang::clangd::TypeHierarchyItem::data |
An optional 'data' filed, which can be used to identify a type hierarchy item in a resolve request.
Definition at line 1325 of file Protocol.h.
Referenced by clang::clangd::resolveTypeHierarchy(), and clang::clangd::symbolToTypeHierarchyItem().
bool clang::clangd::TypeHierarchyItem::deprecated = false |
true
if the hierarchy item is deprecated. Otherwise, false
.
Definition at line 1297 of file Protocol.h.
Referenced by clang::clangd::symbolToTypeHierarchyItem().
llvm::Optional<std::string> clang::clangd::TypeHierarchyItem::detail |
Optional detail for the hierarchy item.
It can be, for instance, the signature of a function or method.
Definition at line 1291 of file Protocol.h.
SymbolKind clang::clangd::TypeHierarchyItem::kind |
The kind of the hierarchy item. For instance, class or interface.
Definition at line 1294 of file Protocol.h.
Referenced by clang::clangd::symbolToTypeHierarchyItem().
std::string clang::clangd::TypeHierarchyItem::name |
The human readable name of the hierarchy item.
Definition at line 1287 of file Protocol.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::symbolToTypeHierarchyItem().
llvm::Optional<std::vector<TypeHierarchyItem> > clang::clangd::TypeHierarchyItem::parents |
If this type hierarchy item is resolved, it contains the direct parents.
Could be empty if the item does not have direct parents. If not defined, the parents have not been resolved yet.
Definition at line 1316 of file Protocol.h.
Range clang::clangd::TypeHierarchyItem::range |
The range enclosing this type hierarchy item not including leading/trailing whitespace but everything else like comments.
This information is typically used to determine if the client's cursor is inside the type hierarch item to reveal in the symbol in the UI.
Definition at line 1306 of file Protocol.h.
Referenced by clang::clangd::symbolToTypeHierarchyItem().
Range clang::clangd::TypeHierarchyItem::selectionRange |
The range that should be selected and revealed when this type hierarchy item is being picked, e.g.
the name of a function. Must be contained by the range
.
Definition at line 1311 of file Protocol.h.
Referenced by clang::clangd::symbolToTypeHierarchyItem().
URIForFile clang::clangd::TypeHierarchyItem::uri |
The URI of the text document where this type hierarchy item belongs to.
Definition at line 1300 of file Protocol.h.
Referenced by clang::clangd::symbolToTypeHierarchyItem().