9#ifndef LLDB_INTERPRETER_INTERFACES_SCRIPTEDCOMMANDINTERFACE_H
10#define LLDB_INTERPRETER_INTERFACES_SCRIPTEDCOMMANDINTERFACE_H
18 virtual llvm::Expected<StructuredData::GenericSP>
71 llvm::StringRef long_option,
72 llvm::StringRef value) {
static llvm::raw_ostream & error(Stream &strm)
A command line argument class.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
virtual bool SetOptionValue(ExecutionContext *exe_ctx, llvm::StringRef long_option, llvm::StringRef value)
virtual StructuredData::DictionarySP HandleArgumentCompletion(std::vector< std::string > &args, size_t args_pos, size_t char_in_arg)
virtual uint32_t GetFlags()
virtual bool RunParsedCommand(Args &args, ScriptedCommandSynchronicity synchronicity, CommandReturnObject &cmd_retobj, Status &error, const ExecutionContext &exe_ctx)
virtual StructuredData::ObjectSP GetArgumentsDefinition()
virtual bool GetShortHelp(std::string &dest)
virtual void OptionParsingStarted()
virtual std::optional< std::string > GetRepeatCommand(Args &args)
virtual StructuredData::ObjectSP GetOptionsDefinition()
virtual StructuredData::DictionarySP HandleOptionArgumentCompletion(llvm::StringRef &long_option, size_t char_in_arg)
virtual bool RunRawCommand(llvm::StringRef args, ScriptedCommandSynchronicity synchronicity, CommandReturnObject &cmd_retobj, Status &error, const ExecutionContext &exe_ctx)
virtual llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name, lldb::DebuggerSP debugger_sp)=0
virtual bool GetLongHelp(std::string &dest)
ScriptedInterface()=default
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Object > ObjectSP
A class that represents a running process on the host machine.
ScriptedCommandSynchronicity
std::shared_ptr< lldb_private::Debugger > DebuggerSP