clang-tools 20.0.0git
|
#include <Protocol.h>
Public Attributes | |
std::optional< int > | processId |
The process Id of the parent process that started the server. | |
std::optional< std::string > | rootPath |
The rootPath of the workspace. | |
std::optional< URIForFile > | rootUri |
The rootUri of the workspace. | |
ClientCapabilities | capabilities |
The capabilities provided by the client (editor or tool) | |
llvm::json::Object | rawCapabilities |
The same data as capabilities, but not parsed (to expose to modules). | |
std::optional< TraceLevel > | trace |
The initial trace setting. If omitted trace is disabled ('off'). | |
InitializationOptions | initializationOptions |
User-provided initialization options. | |
Definition at line 611 of file Protocol.h.
ClientCapabilities clang::clangd::InitializeParams::capabilities |
The capabilities provided by the client (editor or tool)
Definition at line 633 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
InitializationOptions clang::clangd::InitializeParams::initializationOptions |
User-provided initialization options.
Definition at line 641 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
std::optional<int> clang::clangd::InitializeParams::processId |
The process Id of the parent process that started the server.
Is null if the process has not been started by another process. If the parent process is not alive then the server should exit (see exit notification) its process.
Definition at line 616 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
llvm::json::Object clang::clangd::InitializeParams::rawCapabilities |
The same data as capabilities, but not parsed (to expose to modules).
Definition at line 635 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
std::optional<std::string> clang::clangd::InitializeParams::rootPath |
The rootPath of the workspace.
Is null if no folder is open.
Definition at line 622 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
std::optional<URIForFile> clang::clangd::InitializeParams::rootUri |
The rootUri of the workspace.
Is null if no folder is open. If both rootPath
and rootUri
are set rootUri
wins.
Definition at line 627 of file Protocol.h.
Referenced by clang::clangd::fromJSON().
std::optional<TraceLevel> clang::clangd::InitializeParams::trace |
The initial trace setting. If omitted trace is disabled ('off').
Definition at line 638 of file Protocol.h.
Referenced by clang::clangd::fromJSON().