![]() |
Home | Libraries | People | FAQ | More |
boost::parser::callback_error_handler
// In header: <boost/parser/error_handling.hpp> struct callback_error_handler { // types typedef ; // public member functions (); (, = ); (, , = ); (, , = ); template<typename Iter, typename Sentinel> (, , parse_error< ) ; template<typename Context, typename Iter> (, , , ) ; template<typename Context> (, , ) ; // 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> ( first, last, parse_error< e) ;
template<typename Context, typename Iter> ( kind, message, context, it) ;
template<typename Context> ( kind, message, context) ;