|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <toml.hpp>
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 |
Private Attributes | |
| utf8_reader_interface & | reader_ |
| struct { | |
| utf8_codepoint buffer [history_buffer_size] | |
| size_t count | |
| size_t first | |
| } | history_ = {} |
| const utf8_codepoint * | head_ = {} |
| size_t | negative_offset_ = {} |
Static Private Attributes | |
| static constexpr size_t | history_buffer_size = max_history_length - 1 |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 13027 of file toml.hpp.
References reader_, and TOML_COMPILER_HAS_EXCEPTIONS.
|
inlinenoexcept |
Definition at line 12973 of file toml.hpp.
References head_, history_, history_buffer_size, negative_offset_, reader_, TOML_COMPILER_HAS_EXCEPTIONS, TOML_UNLIKELY, and utf8_buffered_reader_error_check.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 13012 of file toml.hpp.
References count, head_, history_, history_buffer_size, negative_offset_, TOML_ASSERT_ASSUME, and utf8_buffered_reader_error_check.
| utf8_codepoint utf8_buffered_reader::buffer[history_buffer_size] |
| size_t utf8_buffered_reader::count |
Definition at line 12955 of file toml.hpp.
Referenced by step_back().
|
private |
Definition at line 12957 of file toml.hpp.
Referenced by read_next(), and step_back().
| struct { ... } utf8_buffered_reader::history_ |
Referenced by read_next(), and step_back().
|
staticconstexprprivate |
Definition at line 12950 of file toml.hpp.
Referenced by read_next(), and step_back().
|
staticconstexpr |
Definition at line 12947 of file toml.hpp.
Referenced by parser::parse_float(), parser::parse_integer(), and parser::parse_value().
|
private |
Definition at line 12958 of file toml.hpp.
Referenced by read_next(), and step_back().
|
private |
Definition at line 12951 of file toml.hpp.
Referenced by error(), peek_eof(), read_next(), source_path(), and utf8_buffered_reader().