Android-cuttlefish cvd tool
|
#include <result.h>
Public Member Functions | |
constexpr auto | parse (format_parse_context &ctx) -> format_parse_context::iterator |
format_context::iterator | format (const cuttlefish::StackTraceError &error, format_context &ctx) const |
Private Types | |
using | StackTraceEntry = cuttlefish::StackTraceEntry |
using | StackTraceError = cuttlefish::StackTraceError |
Private Attributes | |
bool | inner_to_outer_ = false |
bool | has_inner_fmt_spec_ = false |
std::vector< StackTraceEntry::FormatSpecifier > | fmt_specs_ |
std::vector< StackTraceEntry::FormatSpecifier > | inner_fmt_specs_ |
Specialized formatting for a collection of StackTraceEntry elements.
Can be formatted by a fmt::format
string as {:specifiers}. See fmt::formatter<cuttlefish::StackTraceEntry>
for the format specifiers of individual entries. By default the specifier list is passed down to all indivudal entries, with the following additional rules. The ^
specifier will change the ordering from inner-to-outer instead of outer-to-inner, and using the /
specifier like <abc>/<xyz>
will apply <xyz> only to the innermost stack entry, and <abc> to all other stack entries.
|
private |
|
private |
fmt::format_context::iterator fmt::formatter< cuttlefish::StackTraceError >::format | ( | const cuttlefish::StackTraceError & | error, |
format_context & | ctx | ||
) | const |
|
inlineconstexpr |
|
private |
|
private |
|
private |
|
private |