| 12682 | } |
| 12683 | |
| 12684 | TOML_NODISCARD |
| 12685 | const utf8_codepoint* step_back(size_t count) noexcept |
| 12686 | { |
| 12687 | utf8_buffered_reader_error_check({}); |
| 12688 | |
| 12689 | TOML_ASSERT_ASSUME(history_.count); |
| 12690 | TOML_ASSERT_ASSUME(negative_offset_ + count <= history_.count); |
| 12691 | |
| 12692 | negative_offset_ += count; |
| 12693 | |
| 12694 | return negative_offset_ |
| 12695 | ? history_.buffer + ((history_.first + history_.count - negative_offset_) % history_buffer_size) |
| 12696 | : head_; |
| 12697 | } |
| 12698 | |
| 12699 | TOML_NODISCARD |
| 12700 | bool peek_eof() const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) |
nothing calls this directly
no outgoing calls
no test coverage detected