LLDB mainline
|
#include <Tool.h>
Public Member Functions | |
~DebuggerListTool ()=default | |
llvm::Expected< lldb_protocol::mcp::CallToolResult > | Call (const lldb_protocol::mcp::ToolArguments &args) override |
Tool (std::string name, std::string description) | |
Public Member Functions inherited from lldb_protocol::mcp::Tool | |
Tool (std::string name, std::string description) | |
virtual | ~Tool ()=default |
virtual std::optional< llvm::json::Value > | GetSchema () const |
lldb_protocol::mcp::ToolDefinition | GetDefinition () const |
const std::string & | GetName () |
Definition at line 31 of file source/Plugins/Protocol/MCP/Tool.h.
|
default |
|
overridevirtual |
Implements lldb_protocol::mcp::Tool.
Definition at line 126 of file Plugins/Protocol/MCP/Tool.cpp.
References lldb_private::Debugger::GetDebuggerAtIndex(), and lldb_private::Debugger::GetNumDebuggers().
Tool::Tool | ( | std::string | name, |
std::string | description ) |
Definition at line 21 of file Protocol/MCP/Tool.cpp.