Orcus
|
#include <types.hpp>
Public Member Functions | |
parse_error_value_t (const parse_error_value_t &other) | |
parse_error_value_t (std::string_view _str, std::ptrdiff_t _offset) | |
parse_error_value_t & | operator= (const parse_error_value_t &other) |
bool | operator== (const parse_error_value_t &other) const |
bool | operator!= (const parse_error_value_t &other) const |
Public Attributes | |
std::string_view | str |
std::ptrdiff_t | offset |
Parser token that represents the state of a parse error, used by threaded_json_parser and threaded_sax_token_parser when transferring parse status between threads.
std::ptrdiff_t orcus::parse_error_value_t::offset |
offset in stream where the error occurred.
std::string_view orcus::parse_error_value_t::str |
error message associated with the parse error.