LLDB mainline
|
#include <FormatEntity.h>
Public Member Functions | |
constexpr | Definition (const char *name, const FormatEntity::Entry::Type t) |
constexpr | Definition (const char *name, const char *string) |
constexpr | Definition (const char *name, const FormatEntity::Entry::Type t, const uint64_t data) |
constexpr | Definition (const char *name, const FormatEntity::Entry::Type t, const uint64_t num_children, const Definition *children, const bool keep_separator=false) |
Public Attributes | |
const char * | name |
The name/string placeholder that corresponds to this definition. | |
const char * | string = nullptr |
Insert this exact string into the output. | |
const Entry::Type | type |
Entry::Type corresponding to this definition. | |
const uint64_t | data = 0 |
Data that is returned as the value of the format string. | |
const uint32_t | num_children = 0 |
The number of children of this node in the tree of format strings. | |
const Definition * | children = nullptr |
An array of "num_children" Definition entries. | |
const bool | keep_separator = false |
Whether the separator is kept during parsing or not. |
Definition at line 121 of file FormatEntity.h.
|
inlineconstexpr |
Definition at line 138 of file FormatEntity.h.
Referenced by Definition().
|
inlineconstexpr |
Definition at line 141 of file FormatEntity.h.
References lldb_private::FormatEntity::Entry::Entry(), lldb_private::FormatEntity::Entry::EscapeCode, name, string, and type.
|
inlineconstexpr |
Definition at line 144 of file FormatEntity.h.
|
inlineconstexpr |
Definition at line 148 of file FormatEntity.h.
References children, Definition(), keep_separator, name, num_children, and type.
const Definition* lldb_private::FormatEntity::Entry::Definition::children = nullptr |
An array of "num_children" Definition entries.
Definition at line 133 of file FormatEntity.h.
Referenced by AddMatches(), Definition(), DumpCommaSeparatedChildEntryNames(), FindEntry(), and ParseEntry().
const uint64_t lldb_private::FormatEntity::Entry::Definition::data = 0 |
Data that is returned as the value of the format string.
Definition at line 129 of file FormatEntity.h.
Referenced by Definition(), and ParseEntry().
const bool lldb_private::FormatEntity::Entry::Definition::keep_separator = false |
Whether the separator is kept during parsing or not.
It's used for entries with parameters.
Definition at line 136 of file FormatEntity.h.
Referenced by Definition(), and ParseEntry().
const char* lldb_private::FormatEntity::Entry::Definition::name |
The name/string placeholder that corresponds to this definition.
Definition at line 123 of file FormatEntity.h.
Referenced by AddMatches(), Definition(), Definition(), Definition(), Definition(), DumpCommaSeparatedChildEntryNames(), FindEntry(), and ParseEntry().
const uint32_t lldb_private::FormatEntity::Entry::Definition::num_children = 0 |
The number of children of this node in the tree of format strings.
Definition at line 131 of file FormatEntity.h.
Referenced by AddMatches(), lldb_private::FormatEntity::AutoComplete(), Definition(), DumpCommaSeparatedChildEntryNames(), FindEntry(), and ParseEntry().
const char* lldb_private::FormatEntity::Entry::Definition::string = nullptr |
Insert this exact string into the output.
Definition at line 125 of file FormatEntity.h.
Referenced by Definition(), and ParseEntry().
const Entry::Type lldb_private::FormatEntity::Entry::Definition::type |
Entry::Type corresponding to this definition.
Definition at line 127 of file FormatEntity.h.
Referenced by Definition(), Definition(), Definition(), Definition(), and ParseEntry().