nixd
|
#include <Protocol.h>
Public Attributes | |
TextDocumentIdentifier | textDocument |
The text document. | |
std::optional< Range > | range |
Keys starting with an underscore(_) represent leaves, e.g. _total or _self for memory usage of whole subtree or only that specific node in bytes. All other keys represents children. An example: { "_self": 0, "_total": 8, "child1": { "_self": 4, "_total": 4, } "child2": { "_self": 2, "_total": 4, "child_deep": { "_self": 2, "_total": 2, } } } Payload for textDocument/ast request. This request is a clangd extension.
Definition at line 1860 of file lspserver/include/lspserver/Protocol.h.
std::optional<Range> lspserver::ASTParams::range |
The position of the node to be dumped. The highest-level node that entirely contains the range will be returned. If no range is given, the root translation unit node will be returned.
Definition at line 1867 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().
TextDocumentIdentifier lspserver::ASTParams::textDocument |
The text document.
Definition at line 1862 of file lspserver/include/lspserver/Protocol.h.
Referenced by lspserver::fromJSON().