#include <compile.h>
Public Member Functions | |
FMT_CONSTEXPR | format_string_compiler (basic_string_view< Char > format_str, PartHandler handler) |
FMT_CONSTEXPR void | on_text (const Char *begin, const Char *end) |
FMT_CONSTEXPR void | on_arg_id () |
FMT_CONSTEXPR void | on_arg_id (int id) |
FMT_CONSTEXPR void | on_arg_id (basic_string_view< Char > id) |
FMT_CONSTEXPR void | on_replacement_field (const Char *ptr) |
FMT_CONSTEXPR const Char * | on_format_specs (const Char *begin, const Char *end) |
Public Member Functions inherited from error_handler | |
FMT_CONSTEXPR | error_handler ()=default |
FMT_CONSTEXPR | error_handler (const error_handler &)=default |
FMT_NORETURN FMT_API void | on_error (const char *message) |
Private Types | |
using | part = format_part< Char > |
Private Attributes | |
PartHandler | handler_ |
part | part_ |
basic_string_view< Char > | format_str_ |
basic_format_parse_context< Char > | parse_context_ |
|
private |
FMT_CONSTEXPR format_string_compiler | ( | basic_string_view< Char > | format_str, |
PartHandler | handler | ||
) |
FMT_CONSTEXPR void on_arg_id | ( | ) |
Definition at line 118 of file compile.h.
References basic_format_parse_context< Char, ErrorHandler >::next_arg_id().
FMT_CONSTEXPR void on_arg_id | ( | int | id | ) |
Definition at line 122 of file compile.h.
References basic_format_parse_context< Char, ErrorHandler >::check_arg_id().
FMT_CONSTEXPR void on_arg_id | ( | basic_string_view< Char > | id | ) |
FMT_CONSTEXPR const Char* on_format_specs | ( | const Char * | begin, |
const Char * | end | ||
) |
Definition at line 136 of file compile.h.
References format_part< Char >::arg_id_end, format_part< Char >::value::arg_index, internal::parse_format_specs(), format_part< Char >::part_kind, format_part< Char >::value::str, and format_part< Char >::val.
FMT_CONSTEXPR void on_replacement_field | ( | const Char * | ptr | ) |
Definition at line 131 of file compile.h.
References format_part< Char >::arg_id_end, and ptr().
FMT_CONSTEXPR void on_text | ( | const Char * | begin, |
const Char * | end | ||
) |
Definition at line 113 of file compile.h.
References internal::to_unsigned().
|
private |
|
private |