9#ifndef LLDB_INTERPRETER_COMMANDALIAS_H
10#define LLDB_INTERPRETER_COMMANDALIAS_H
25 llvm::StringRef options_args, llvm::StringRef name,
26 llvm::StringRef help = llvm::StringRef(),
27 llvm::StringRef syntax = llvm::StringRef(), uint32_t flags = 0);
33 explicit operator bool()
const {
return IsValid(); }
51 llvm::StringRef
GetHelp()
override;
55 void SetHelp(llvm::StringRef str)
override;
69 std::pair<lldb::CommandObjectSP, OptionArgVectorSP>
Desugar();
lldb::CommandObjectSP GetUnderlyingCommand()
llvm::StringRef GetHelpLong() override
void HandleCompletion(CompletionRequest &request) override
This default version handles calling option argument completions and then calls HandleArgumentComplet...
LazyBool m_is_dashdash_alias
const char * GetOptionString()
void Execute(const char *args_string, CommandReturnObject &result) override
OptionArgVectorSP GetOptionArguments() const
bool WantsCompletion() override
OptionArgVectorSP m_option_args_sp
Options * GetOptions() override
void SetHelp(llvm::StringRef str) override
bool WantsRawCommandString() override
void GetAliasExpansion(StreamString &help_string) const
void SetHelpLong(llvm::StringRef str) override
std::pair< lldb::CommandObjectSP, OptionArgVectorSP > Desugar()
void HandleArgumentCompletion(CompletionRequest &request, OptionElementVector &opt_element_vector) override
The default version handles argument definitions that have only one argument type,...
lldb::CommandObjectSP m_underlying_command_sp
llvm::StringRef GetHelp() override
std::string m_option_string
bool IsDashDashCommand() override
std::unique_ptr< CommandAlias > UniquePointer
"lldb/Utility/ArgCompletionRequest.h"
A command line option parsing protocol class.
A class that represents a running process on the host machine.
std::vector< OptionArgElement > OptionElementVector
std::shared_ptr< OptionArgVector > OptionArgVectorSP
std::shared_ptr< lldb_private::CommandObject > CommandObjectSP