#include <validate.hpp>
Public Types | |
using | error_callback = ErrorCallback |
using | error_type = typename _sink_t::return_type |
Public Member Functions | |
constexpr std::size_t | error_count () const noexcept |
constexpr auto && | errors () &&noexcept |
constexpr const auto & | errors () const &noexcept |
constexpr bool | is_error () const noexcept |
constexpr bool | is_fatal_error () const noexcept |
constexpr bool | is_recovered_error () const noexcept |
constexpr bool | is_success () const noexcept |
constexpr | operator bool () const noexcept |
Private Types | |
enum | { _status_success, _status_recovered, _status_fatal } |
using | _sink_t = _error_sink_t< ErrorCallback > |
Private Member Functions | |
constexpr | validate_result (bool did_recover, error_type &&error) |
Private Attributes | |
error_type | _error |
enum lexy::validate_result:: { ... } | _status |
Friends | |
template<typename Reader > | |
class | _vh |
Definition at line 45 of file validate.hpp.
|
private |
Definition at line 47 of file validate.hpp.
using lexy::validate_result< ErrorCallback >::error_callback = ErrorCallback |
Definition at line 50 of file validate.hpp.
using lexy::validate_result< ErrorCallback >::error_type = typename _sink_t::return_type |
Definition at line 51 of file validate.hpp.
|
private |
Enumerator | |
---|---|
_status_success | |
_status_recovered | |
_status_fatal |
Definition at line 108 of file validate.hpp.
|
inlineexplicitconstexprprivate |
Definition at line 96 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 76 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 90 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 86 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 63 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 71 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 67 of file validate.hpp.
|
inlineconstexprnoexcept |
Definition at line 59 of file validate.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 54 of file validate.hpp.
Definition at line 116 of file validate.hpp.
|
private |
Definition at line 107 of file validate.hpp.
enum { ... } lexy::validate_result< ErrorCallback >::_status |