Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::impl::if_parser< ParsableT, CondT > Struct Template Reference

#include <if.hpp>

Inheritance diagram for boost::spirit::impl::if_parser< ParsableT, CondT >:
Collaboration diagram for boost::spirit::impl::if_parser< ParsableT, CondT >:

Classes

struct  result
 

Public Types

typedef if_parser< ParsableT,
CondT > 
self_t
 
typedef as_parser< ParsableT > as_parser_t
 
typedef as_parser_t::type parser_t
 
typedef as_parser< CondT > cond_as_parser_t
 
typedef cond_as_parser_t::type condition_t
 
typedef condition_evaluator
< condition_t
eval_t
 
typedef unary< parser_t,
parser< self_t > > 
base_t
 
typedef boost::call_traits
< as_parser< ParsableT >::type >
::param_type 
param_t
 
typedef boost::call_traits
< as_parser< ParsableT >::type >
::const_reference 
return_t
 
typedef as_parser< ParsableT >
::type 
subject_t
 
typedef as_parser< ParsableT >
::type::embed_t 
subject_embed_t
 
typedef if_parser< ParsableT,
CondT > 
embed_t
 
typedef if_parser< ParsableT,
CondT > 
derived_t
 
typedef plain_parser_category parser_category_t
 

Public Member Functions

 if_parser (ParsableT const &p, CondT const &cond_)
 
template<typename ScannerT >
parser_result< self_t,
ScannerT >::type 
parse (ScannerT const &scan) const
 
return_t subject () const
 
if_parser< ParsableT, CondT > & derived ()
 
if_parser< ParsableT, CondT >
const & 
derived () const
 
action< if_parser< ParsableT,
CondT >, ActionT > 
operator[] (ActionT const &actor) const
 

Public Attributes

if_else_parser_gen< ParsableT,
CondT > 
else_p
 

Member Typedef Documentation

template<typename ParsableT, typename CondT>
typedef as_parser<ParsableT> boost::spirit::impl::if_parser< ParsableT, CondT >::as_parser_t
template<typename ParsableT, typename CondT>
typedef unary<parser_t, parser<self_t> > boost::spirit::impl::if_parser< ParsableT, CondT >::base_t
template<typename ParsableT, typename CondT>
typedef as_parser<CondT> boost::spirit::impl::if_parser< ParsableT, CondT >::cond_as_parser_t
template<typename ParsableT, typename CondT>
typedef cond_as_parser_t::type boost::spirit::impl::if_parser< ParsableT, CondT >::condition_t
typedef if_parser< ParsableT, CondT > boost::spirit::parser< if_parser< ParsableT, CondT > >::derived_t
inherited
typedef if_parser< ParsableT, CondT > boost::spirit::parser< if_parser< ParsableT, CondT > >::embed_t
inherited
template<typename ParsableT, typename CondT>
typedef condition_evaluator<condition_t> boost::spirit::impl::if_parser< ParsableT, CondT >::eval_t
typedef boost::call_traits<as_parser< ParsableT >::type >::param_type boost::spirit::unary< as_parser< ParsableT >::type , parser< if_parser< ParsableT, CondT > > >::param_t
inherited
typedef plain_parser_category boost::spirit::parser< if_parser< ParsableT, CondT > >::parser_category_t
inherited
template<typename ParsableT, typename CondT>
typedef as_parser_t::type boost::spirit::impl::if_parser< ParsableT, CondT >::parser_t
typedef boost::call_traits<as_parser< ParsableT >::type >::const_reference boost::spirit::unary< as_parser< ParsableT >::type , parser< if_parser< ParsableT, CondT > > >::return_t
inherited
template<typename ParsableT, typename CondT>
typedef if_parser<ParsableT, CondT> boost::spirit::impl::if_parser< ParsableT, CondT >::self_t
typedef as_parser< ParsableT >::type ::embed_t boost::spirit::unary< as_parser< ParsableT >::type , parser< if_parser< ParsableT, CondT > > >::subject_embed_t
inherited
typedef as_parser< ParsableT >::type boost::spirit::unary< as_parser< ParsableT >::type , parser< if_parser< ParsableT, CondT > > >::subject_t
inherited

Constructor & Destructor Documentation

template<typename ParsableT, typename CondT>
boost::spirit::impl::if_parser< ParsableT, CondT >::if_parser ( ParsableT const &  p,
CondT const &  cond_ 
)
inline

Member Function Documentation

if_parser< ParsableT, CondT > & boost::spirit::parser< if_parser< ParsableT, CondT > >::derived ( )
inlineinherited
if_parser< ParsableT, CondT > const& boost::spirit::parser< if_parser< ParsableT, CondT > >::derived ( ) const
inlineinherited
action<if_parser< ParsableT, CondT > , ActionT> boost::spirit::parser< if_parser< ParsableT, CondT > >::operator[] ( ActionT const &  actor) const
inlineinherited
template<typename ParsableT, typename CondT>
template<typename ScannerT >
parser_result<self_t, ScannerT>::type boost::spirit::impl::if_parser< ParsableT, CondT >::parse ( ScannerT const &  scan) const
inline
return_t boost::spirit::unary< as_parser< ParsableT >::type , parser< if_parser< ParsableT, CondT > > >::subject ( ) const
inlineinherited

Member Data Documentation

template<typename ParsableT, typename CondT>
if_else_parser_gen<ParsableT, CondT> boost::spirit::impl::if_parser< ParsableT, CondT >::else_p

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