| 71 | } |
| 72 | |
| 73 | std::optional<char> StringConsumer::PeekChar() const |
| 74 | { |
| 75 | auto result = this->PeekUint8(); |
| 76 | if (!result.has_value()) return {}; |
| 77 | return static_cast<char>(*result); |
| 78 | } |
| 79 | |
| 80 | std::pair<StringConsumer::size_type, char32_t> StringConsumer::PeekUtf8() const |
| 81 | { |
no test coverage detected