NeBuild dev
|
Classes | |
struct | codepoints_t |
struct | currently_decoding_t |
Public Member Functions | |
template<typename U , typename String = std::string_view> | |
TOML_NODISCARD_CTOR | utf8_reader (U &&source, String &&source_path={}) noexcept(std::is_nothrow_constructible_v< utf8_byte_stream< T >, U && >) |
TOML_PURE_INLINE_GETTER const source_path_ptr & | source_path () const noexcept final |
TOML_NODISCARD const utf8_codepoint * | read_next () noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final |
TOML_NODISCARD bool | peek_eof () const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final |
TOML_NODISCARD optional< parse_error > && | error () noexcept final |
![]() | |
virtual | ~utf8_reader_interface () noexcept=default |
Private Member Functions | |
bool | read_next_block () noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) |
Private Attributes | |
utf8_byte_stream< T > | stream_ |
source_position | next_pos_ = {1, 1} |
impl::utf8_decoder | decoder_ |
struct utf8_reader::currently_decoding_t | currently_decoding_ |
struct utf8_reader::codepoints_t | codepoints_ |
source_path_ptr | source_path_ |
optional< parse_error > | err_ |
Static Private Attributes | |
static constexpr size_t | block_capacity = 32 |
|
inlineexplicitnoexcept |
|
inlinefinalvirtualnoexcept |
Implements utf8_reader_interface.
|
inlinefinalvirtualnoexcept |
Implements utf8_reader_interface.
|
inlinefinalvirtualnoexcept |
Implements utf8_reader_interface.
|
inlineprivatenoexcept |
|
inlinefinalvirtualnoexcept |
Implements utf8_reader_interface.
|
staticconstexprprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |