#include "lldb/Interpreter/CommandAlias.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObject.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Utility/StreamString.h"
usingnamespacelldb;
usingnamespacelldb_private;
static bool ProcessAliasOptionsArgs(lldb::CommandObjectSP &cmd_obj_sp,
llvm::StringRef options_args,
OptionArgVectorSP &option_arg_vector_sp) { … }
CommandAlias::CommandAlias(CommandInterpreter &interpreter,
lldb::CommandObjectSP cmd_sp,
llvm::StringRef options_args, llvm::StringRef name,
llvm::StringRef help, llvm::StringRef syntax,
uint32_t flags)
: … { … }
bool CommandAlias::WantsRawCommandString() { … }
bool CommandAlias::WantsCompletion() { … }
void CommandAlias::HandleCompletion(CompletionRequest &request) { … }
void CommandAlias::HandleArgumentCompletion(
CompletionRequest &request, OptionElementVector &opt_element_vector) { … }
Options *CommandAlias::GetOptions() { … }
void CommandAlias::Execute(const char *args_string,
CommandReturnObject &result) { … }
void CommandAlias::GetAliasExpansion(StreamString &help_string) const { … }
bool CommandAlias::IsDashDashCommand() { … }
bool CommandAlias::IsNestedAlias() { … }
std::pair<lldb::CommandObjectSP, OptionArgVectorSP> CommandAlias::Desugar() { … }
void CommandAlias::SetHelp(llvm::StringRef str) { … }
void CommandAlias::SetHelpLong(llvm::StringRef str) { … }
llvm::StringRef CommandAlias::GetHelp() { … }
llvm::StringRef CommandAlias::GetHelpLong() { … }