LLDB mainline
Protocol.cpp File Reference
#include "lldb/Protocol/MCP/Protocol.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/JSON.h"

Go to the source code of this file.

Namespaces

namespace  lldb_protocol
namespace  lldb_protocol::mcp

Functions

static bool lldb_protocol::mcp::mapRaw (const json::Value &Params, StringLiteral Prop, std::optional< json::Value > &V, json::Path P)
static llvm::json::Value lldb_protocol::mcp::toJSON (const Id &Id)
static bool lldb_protocol::mcp::mapId (const llvm::json::Value &V, StringLiteral Prop, Id &Id, llvm::json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const Request &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Request &, llvm::json::Path)
bool lldb_protocol::mcp::operator== (const Request &, const Request &)
llvm::json::Value lldb_protocol::mcp::toJSON (const Error &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Error &, llvm::json::Path)
bool lldb_protocol::mcp::operator== (const Error &, const Error &)
llvm::json::Value lldb_protocol::mcp::toJSON (const Response &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Response &, llvm::json::Path)
bool lldb_protocol::mcp::operator== (const Response &, const Response &)
llvm::json::Value lldb_protocol::mcp::toJSON (const Notification &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Notification &, llvm::json::Path)
bool lldb_protocol::mcp::operator== (const Notification &, const Notification &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Resource &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const Resource &)
llvm::json::Value lldb_protocol::mcp::toJSON (const TextResourceContents &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, TextResourceContents &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const ReadResourceResult &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, ReadResourceResult &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const TextContent &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, TextContent &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const ToolDefinition &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, ToolDefinition &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const Message &)
bool lldb_protocol::mcp::fromJSON (const llvm::json::Value &, Message &, llvm::json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const Implementation &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, Implementation &I, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const ClientCapabilities &)
bool lldb_protocol::mcp::fromJSON (const json::Value &, ClientCapabilities &, json::Path)
llvm::json::Value lldb_protocol::mcp::toJSON (const ServerCapabilities &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, ServerCapabilities &C, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const InitializeParams &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, InitializeParams &I, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const InitializeResult &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, InitializeResult &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const ListToolsResult &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, ListToolsResult &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const CallToolResult &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, CallToolResult &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const CallToolParams &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, CallToolParams &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const ReadResourceParams &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, ReadResourceParams &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const ListResourcesResult &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, ListResourcesResult &R, json::Path P)
llvm::json::Value lldb_protocol::mcp::toJSON (const Void &)
bool lldb_protocol::mcp::fromJSON (const json::Value &V, Void &R, json::Path P)