LLDB mainline
|
#include <Transport.h>
Public Types | |
using | Id = int64_t |
using | Req = Request |
using | Resp = Response |
using | Evt = Notification |
Static Public Member Functions | |
static Id | InitialId () |
static Request | Make (Id id, llvm::StringRef method, std::optional< llvm::json::Value > params) |
static Notification | Make (llvm::StringRef method, std::optional< llvm::json::Value > params) |
static Response | Make (Req req, llvm::Error error) |
static Response | Make (Req req, std::optional< llvm::json::Value > result) |
static Id | KeyFor (Response r) |
static std::string | KeyFor (Request r) |
static std::string | KeyFor (Notification n) |
static std::optional< llvm::json::Value > | Extract (Request r) |
static llvm::Expected< llvm::json::Value > | Extract (Response r) |
static std::optional< llvm::json::Value > | Extract (Notification n) |
Definition at line 23 of file Transport.h.
Definition at line 27 of file Transport.h.
using lldb_protocol::mcp::ProtocolDescriptor::Id = int64_t |
Definition at line 24 of file Transport.h.
Definition at line 25 of file Transport.h.
Definition at line 26 of file Transport.h.
|
inlinestatic |
Definition at line 69 of file Transport.h.
References lldb_protocol::mcp::Notification::params.
|
inlinestatic |
Definition at line 59 of file Transport.h.
References lldb_protocol::mcp::Request::params.
|
inlinestatic |
Definition at line 62 of file Transport.h.
References error(), and lldb_protocol::mcp::Response::result.
|
inlinestatic |
Definition at line 29 of file Transport.h.
|
inlinestatic |
Definition at line 58 of file Transport.h.
References lldb_protocol::mcp::Notification::method.
|
inlinestatic |
Definition at line 57 of file Transport.h.
References lldb_protocol::mcp::Request::method.
Definition at line 56 of file Transport.h.
References lldb_protocol::mcp::Response::id.
|
inlinestatic |
Definition at line 30 of file Transport.h.
|
inlinestatic |
Definition at line 34 of file Transport.h.
Definition at line 38 of file Transport.h.
References lldb_protocol::mcp::Error::code, lldb_protocol::mcp::eErrorCodeInternalError, error(), lldb_protocol::mcp::Request::id, and lldb_protocol::mcp::Error::message.
|
inlinestatic |
Definition at line 52 of file Transport.h.
References lldb_protocol::mcp::Request::id.