9#ifndef LLDB_INTERPRETER_COMMANDOBJECTREGEXCOMMAND_H
10#define LLDB_INTERPRETER_COMMANDOBJECTREGEXCOMMAND_H
25 llvm::StringRef name, llvm::StringRef help,
26 llvm::StringRef syntax,
27 uint32_t completion_type_mask,
bool is_removable);
33 bool AddRegexCommand(llvm::StringRef re_cstr, llvm::StringRef command_cstr);
44 llvm::StringRef input,
const CommandObjectRegexCommand & operator=(const CommandObjectRegexCommand &)=delete
EntryCollection m_entries
~CommandObjectRegexCommand() override
bool IsRemovable() const override
static llvm::Expected< std::string > SubstituteVariables(llvm::StringRef input, const llvm::SmallVectorImpl< llvm::StringRef > &replacements)
Substitute variables of the format %\d+ in the input string.
void HandleCompletion(CompletionRequest &request) override
This default version handles calling option argument completions and then calls HandleArgumentComplet...
bool HasRegexEntries() const
const uint32_t m_completion_type_mask
CommandObjectRegexCommand(const CommandObjectRegexCommand &)=delete
void DoExecute(llvm::StringRef command, CommandReturnObject &result) override
bool AddRegexCommand(llvm::StringRef re_cstr, llvm::StringRef command_cstr)
std::list< Entry > EntryCollection
"lldb/Utility/ArgCompletionRequest.h"
A class that represents a running process on the host machine.