![]() |
Home | Libraries | People | FAQ | More |
boost::parser::callback_error_handler
// In header: <boost/parser/error_handling.hpp> struct callback_error_handler { // types typedef void(const &)> ; // public member functions (); (, = ); (, , = ); (, , = ); template<typename Iter, typename Sentinel> (Iter, Sentinel, parse_error< Iter > const &) ; template<typename Context, typename Iter> void (, , Context const &, Iter) ; template<typename Context> void (, , Context const &) ; // public data members error_; warning_; filename_; };
An error handler that allows users to supply callbacks to handle the reporting of warnings and errors. The reporting of errors and/or warnings can be suppressed by supplying one or both default-constructed callbacks.
callback_error_handler
public member functions();
( error, warning = );
( filename, error, warning = );
( filename, error, warning = );
This overload is Windows-only.
template<typename Iter, typename Sentinel> (Iter first, Sentinel last, parse_error< Iter > const & e) ;
template<typename Context, typename Iter> void ( kind, message, Context const & context, Iter it) ;
template<typename Context> void ( kind, message, Context const & context) ;