Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT > Struct Template Reference

#include <exceptions_fwd.hpp>

Inheritance diagram for boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >:
Collaboration diagram for boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >:

Classes

struct  result
 

Public Types

typedef fallback_parser
< ErrorDescrT, ParserT,
HandlerT > 
self_t
 
typedef ErrorDescrT error_descr_t
 
typedef unary< ParserT, parser
< self_t > > 
base_t
 
typedef unary_parser_category parser_category_t
 
typedef boost::call_traits
< ParserT >::param_type 
param_t
 
typedef boost::call_traits
< ParserT >::const_reference 
return_t
 
typedef ParserT subject_t
 
typedef ParserT::embed_t subject_embed_t
 
typedef fallback_parser
< ErrorDescrT, ParserT,
HandlerT > 
embed_t
 
typedef fallback_parser
< ErrorDescrT, ParserT,
HandlerT > 
derived_t
 

Public Member Functions

 fallback_parser (ParserT const &parser, HandlerT const &handler_)
 
template<typename ScannerT >
parser_result< self_t,
ScannerT >::type 
parse (ScannerT const &scan) const
 
return_t subject () const
 
fallback_parser< ErrorDescrT,
ParserT, HandlerT > & 
derived ()
 
fallback_parser< ErrorDescrT,
ParserT, HandlerT >const & 
derived () const
 
action< fallback_parser
< ErrorDescrT, ParserT,
HandlerT >, ActionT > 
operator[] (ActionT const &actor) const
 

Public Attributes

HandlerT handler
 

Member Typedef Documentation

template<typename ErrorDescrT , typename ParserT , typename HandlerT >
typedef unary<ParserT, parser<self_t> > boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::base_t
typedef fallback_parser< ErrorDescrT, ParserT, HandlerT > boost::spirit::parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > >::derived_t
inherited
typedef fallback_parser< ErrorDescrT, ParserT, HandlerT > boost::spirit::parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > >::embed_t
inherited
template<typename ErrorDescrT , typename ParserT , typename HandlerT >
typedef ErrorDescrT boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::error_descr_t
typedef boost::call_traits<ParserT >::param_type boost::spirit::unary< ParserT , parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > > >::param_t
inherited
template<typename ErrorDescrT , typename ParserT , typename HandlerT >
typedef unary_parser_category boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::parser_category_t
typedef boost::call_traits<ParserT >::const_reference boost::spirit::unary< ParserT , parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > > >::return_t
inherited
template<typename ErrorDescrT , typename ParserT , typename HandlerT >
typedef fallback_parser<ErrorDescrT, ParserT, HandlerT> boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::self_t
typedef ParserT ::embed_t boost::spirit::unary< ParserT , parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > > >::subject_embed_t
inherited
typedef ParserT boost::spirit::unary< ParserT , parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > > >::subject_t
inherited

Constructor & Destructor Documentation

template<typename ErrorDescrT , typename ParserT , typename HandlerT >
boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::fallback_parser ( ParserT const &  parser,
HandlerT const &  handler_ 
)
inline

Member Function Documentation

fallback_parser< ErrorDescrT, ParserT, HandlerT > & boost::spirit::parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > >::derived ( )
inlineinherited
fallback_parser< ErrorDescrT, ParserT, HandlerT > const& boost::spirit::parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > >::derived ( ) const
inlineinherited
action<fallback_parser< ErrorDescrT, ParserT, HandlerT > , ActionT> boost::spirit::parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > >::operator[] ( ActionT const &  actor) const
inlineinherited
template<typename ErrorDescrT , typename ParserT , typename HandlerT >
template<typename ScannerT >
parser_result<self_t, ScannerT>::type boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::parse ( ScannerT const &  scan) const
inline
return_t boost::spirit::unary< ParserT , parser< fallback_parser< ErrorDescrT, ParserT, HandlerT > > >::subject ( ) const
inlineinherited

Member Data Documentation

template<typename ErrorDescrT , typename ParserT , typename HandlerT >
HandlerT boost::spirit::fallback_parser< ErrorDescrT, ParserT, HandlerT >::handler

The documentation for this struct was generated from the following file: