LLDB mainline
|
#include <FormatEntity.h>
Classes | |
struct | Definition |
Public Member Functions | |
Entry (Type t=Type::Invalid, const char *s=nullptr, const char *f=nullptr) | |
Entry (llvm::StringRef s) | |
Entry (char ch) | |
void | AppendChar (char ch) |
void | AppendText (const llvm::StringRef &s) |
void | AppendText (const char *cstr) |
void | AppendEntry (const Entry &&entry) |
void | Clear () |
void | Dump (Stream &s, int depth=0) const |
bool | operator== (const Entry &rhs) const |
Static Public Member Functions | |
template<size_t N> | |
static constexpr Definition | DefinitionWithChildren (const char *name, const FormatEntity::Entry::Type t, const Definition(&children)[N], bool keep_separator=false) |
static const char * | TypeToCString (Type t) |
Public Attributes | |
std::string | string |
std::string | printf_format |
std::vector< Entry > | children |
Type | type |
lldb::Format | fmt = lldb::eFormatDefault |
lldb::addr_t | number = 0 |
bool | deref = false |
Definition at line 39 of file FormatEntity.h.
|
strong |
Definition at line 40 of file FormatEntity.h.
|
inline |
Definition at line 148 of file FormatEntity.h.
FormatEntity::Entry::Entry | ( | llvm::StringRef | s | ) |
Definition at line 265 of file FormatEntity.cpp.
FormatEntity::Entry::Entry | ( | char | ch | ) |
Definition at line 269 of file FormatEntity.cpp.
void FormatEntity::Entry::AppendChar | ( | char | ch | ) |
|
inline |
void FormatEntity::Entry::AppendText | ( | const char * | cstr | ) |
Definition at line 286 of file FormatEntity.cpp.
void FormatEntity::Entry::AppendText | ( | const llvm::StringRef & | s | ) |
|
inline |
Definition at line 163 of file FormatEntity.h.
References children, deref, lldb::eFormatDefault, fmt, Invalid, number, printf_format, and type.
Referenced by lldb_private::FormatEntity::Parse(), and lldb_private::StringSummaryFormat::SetSummaryString().
|
inlinestaticconstexpr |
Definition at line 142 of file FormatEntity.h.
References children.
void FormatEntity::Entry::Dump | ( | Stream & | s, |
int | depth = 0 |
||
) | const |
Definition at line 364 of file FormatEntity.cpp.
References lldb::eFormatDefault, lldb_private::Stream::EOL(), lldb_private::FormatManager::GetFormatAsCString(), and lldb_private::Stream::Printf().
|
inline |
Definition at line 177 of file FormatEntity.h.
References children, deref, fmt, printf_format, string, and type.
|
static |
Definition at line 294 of file FormatEntity.cpp.
References ENUM_TO_CSTR, and lldb_private::Invalid.
std::vector<Entry> lldb_private::FormatEntity::Entry::children |
Definition at line 201 of file FormatEntity.h.
Referenced by AppendEntry(), Clear(), DefinitionWithChildren(), lldb_private::FormatEntity::Format(), and operator==().
bool lldb_private::FormatEntity::Entry::deref = false |
Definition at line 205 of file FormatEntity.h.
Referenced by Clear(), DumpValue(), operator==(), and ParseInternal().
lldb::Format lldb_private::FormatEntity::Entry::fmt = lldb::eFormatDefault |
Definition at line 203 of file FormatEntity.h.
Referenced by Clear(), DumpValue(), operator==(), and ParseInternal().
lldb::addr_t lldb_private::FormatEntity::Entry::number = 0 |
Definition at line 204 of file FormatEntity.h.
Referenced by Clear(), DumpValue(), lldb_private::FormatEntity::Format(), ParseEntry(), and ParseInternal().
std::string lldb_private::FormatEntity::Entry::printf_format |
Definition at line 200 of file FormatEntity.h.
Referenced by Clear(), DumpValue(), lldb_private::FormatEntity::Format(), FormatThreadExtendedInfoRecurse(), operator==(), and ParseInternal().
std::string lldb_private::FormatEntity::Entry::string |
Definition at line 199 of file FormatEntity.h.
Referenced by DumpValue(), lldb_private::FormatEntity::Format(), FormatThreadExtendedInfoRecurse(), operator==(), ParseEntry(), and ParseInternal().
Type lldb_private::FormatEntity::Entry::type |
Definition at line 202 of file FormatEntity.h.
Referenced by Clear(), DumpValue(), lldb_private::FormatEntity::Format(), operator==(), lldb_private::FormatEntity::Parse(), ParseEntry(), and ParseInternal().