LLDB mainline
|
#include <Args.h>
Public Member Functions | |
ArgEntry ()=default | |
ArgEntry (llvm::StringRef str, char quote, std::optional< uint16_t > column) | |
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 |
std::optional< uint16_t > | GetPos () const |
size_t | GetLength () const |
Private Member Functions | |
char * | data () |
Private Attributes | |
std::unique_ptr< char[]> | ptr |
char | quote = '\0' |
std::optional< uint16_t > | column |
The position of the argument in the original argument string. | |
Friends | |
class | Args |
|
default |
Args::ArgEntry::ArgEntry | ( | llvm::StringRef | str, |
char | quote, | ||
std::optional< uint16_t > | column | ||
) |
Definition at line 161 of file Args.cpp.
References data(), ptr, and lldb_private::Args::size().
|
inline |
Definition at line 51 of file Args.h.
References ptr.
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectParsed::Execute(), FindOriginalIter(), and ref().
|
inlineprivate |
|
inline |
Definition at line 57 of file Args.h.
References ref().
Referenced by lldb_private::OptionParseError::OptionParseError().
|
inline |
Definition at line 56 of file Args.h.
References column.
Referenced by lldb_private::OptionParseError::OptionParseError().
|
inline |
Definition at line 55 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 54 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 50 of file Args.h.
References c_str().
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectParsed::Execute(), GetLength(), CommandObjectSourceList::GetRepeatCommand(), and lldb_private::Options::ParseForCompletion().
|
private |
|
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().