Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Static Public Attributes
utf8_buffered_reader Class Reference
Collaboration diagram for utf8_buffered_reader:
Collaboration graph
[legend]

Public Member Functions

TOML_NODISCARD_CTOR utf8_buffered_reader (utf8_reader_interface &reader) noexcept
 
TOML_PURE_INLINE_GETTER const source_path_ptr & source_path () const noexcept
 
TOML_NODISCARD const utf8_codepoint * read_next () noexcept(!TOML_COMPILER_HAS_EXCEPTIONS)
 
TOML_NODISCARD const utf8_codepoint * step_back (size_t count) noexcept
 
TOML_NODISCARD bool peek_eof () const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS)
 
TOML_NODISCARD optional< parse_error > && error () noexcept
 

Static Public Attributes

static constexpr size_t max_history_length = 128
 

Detailed Description

Definition at line 414 of file parser.inl.

Constructor & Destructor Documentation

◆ utf8_buffered_reader()

TOML_NODISCARD_CTOR utf8_buffered_reader::utf8_buffered_reader ( utf8_reader_interface &  reader)
inlineexplicitnoexcept

Definition at line 431 of file parser.inl.

Member Function Documentation

◆ error()

TOML_NODISCARD optional< parse_error > && utf8_buffered_reader::error ( )
inlinenoexcept

Definition at line 491 of file parser.inl.

◆ peek_eof()

TOML_NODISCARD bool utf8_buffered_reader::peek_eof ( ) const
inlinenoexcept

Definition at line 486 of file parser.inl.

◆ read_next()

TOML_NODISCARD const utf8_codepoint * utf8_buffered_reader::read_next ( )
inlinenoexcept

Definition at line 438 of file parser.inl.

◆ source_path()

TOML_PURE_INLINE_GETTER const source_path_ptr & utf8_buffered_reader::source_path ( ) const
inlinenoexcept

Definition at line 435 of file parser.inl.

◆ step_back()

TOML_NODISCARD const utf8_codepoint * utf8_buffered_reader::step_back ( size_t  count)
inlinenoexcept

Definition at line 471 of file parser.inl.

Field Documentation

◆ buffer

utf8_codepoint utf8_buffered_reader::buffer[history_buffer_size]

Definition at line 423 of file parser.inl.

◆ count

size_t utf8_buffered_reader::count

Definition at line 424 of file parser.inl.

◆ first

size_t utf8_buffered_reader::first

Definition at line 424 of file parser.inl.

◆ max_history_length

constexpr size_t utf8_buffered_reader::max_history_length = 128
staticconstexpr

Definition at line 416 of file parser.inl.


The documentation for this class was generated from the following file: