Contains information about the context of an error, production is type-erased. More...
#include <error.hpp>
Public Member Functions | |
constexpr | error_context (lexy::production_info production, const Input &input, typename input_reader< Input >::iterator pos) noexcept |
constexpr const auto & | input () const noexcept |
The input. More... | |
constexpr auto | position () const noexcept |
The starting position of the production. More... | |
const char * | production () const noexcept |
The name of the production where the error occurred. More... | |
Private Attributes | |
const Input * | _input |
input_reader< Input >::iterator | _pos |
const char * | _production |
Contains information about the context of an error, production is type-erased.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |