LLDB mainline
|
#include <Args.h>
Public Member Functions | |
ArgEntry ()=default | |
ArgEntry (llvm::StringRef str, char quote) | |
llvm::StringRef | ref () const |
const char * | c_str () const |
bool | IsQuoted () const |
Returns true if this argument was quoted in any way. | |
char | GetQuoteChar () const |
Private Member Functions | |
char * | data () |
Private Attributes | |
std::unique_ptr< char[]> | ptr |
char | quote = '\0' |
Friends | |
class | Args |
|
default |
Args::ArgEntry::ArgEntry | ( | llvm::StringRef | str, |
char | quote | ||
) |
Definition at line 159 of file Args.cpp.
References data(), ptr, and lldb_private::Args::size().
|
inline |
Definition at line 49 of file Args.h.
References ptr.
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectParsed::Execute(), FindOriginalIter(), and ref().
|
inlineprivate |
|
inline |
Definition at line 53 of file Args.h.
References quote.
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectParsed::Execute(), lldb::SBCommandInterpreter::HandleCompletionWithDescriptions(), and lldb_private::Editline::TabCommand().
|
inline |
Returns true if this argument was quoted in any way.
Definition at line 52 of file Args.h.
References quote.
Referenced by lldb::SBCommandInterpreter::HandleCompletionWithDescriptions(), lldb_private::Options::ParseForCompletion(), lldb_private::OptionsWithRaw::SetFromString(), and lldb_private::Editline::TabCommand().
|
inline |
Definition at line 48 of file Args.h.
References c_str().
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectParsed::Execute(), CommandObjectSourceList::GetRepeatCommand(), and lldb_private::Options::ParseForCompletion().
|
private |
Definition at line 39 of file Args.h.
Referenced by ArgEntry(), c_str(), and data().
|
private |
Definition at line 40 of file Args.h.
Referenced by GetQuoteChar(), and IsQuoted().