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_else_parser< ParsableTrueT, ParsableFalseT, CondT > Struct Template Reference

#include <if.hpp>

Inheritance diagram for boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >:
Collaboration diagram for boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >:

Classes

struct  result
 

Public Types

typedef if_else_parser
< ParsableTrueT,
ParsableFalseT, CondT > 
self_t
 
typedef as_parser< ParsableTrueT > as_parser_true_t
 
typedef as_parser< ParsableFalseT > as_parser_false_t
 
typedef as_parser_true_t::type parser_true_t
 
typedef as_parser_false_t::type parser_false_t
 
typedef as_parser< CondT > cond_as_parser_t
 
typedef cond_as_parser_t::type condition_t
 
typedef binary< parser_true_t,
parser_false_t, parser< self_t > > 
base_t
 
typedef condition_evaluator
< condition_t
eval_t
 
typedef boost::call_traits
< as_parser< ParsableTrueT >
::type >::param_type 
left_param_t
 
typedef boost::call_traits
< as_parser< ParsableTrueT >
::type >::const_reference 
left_return_t
 
typedef boost::call_traits
< as_parser< ParsableFalseT >
::type >::param_type 
right_param_t
 
typedef boost::call_traits
< as_parser< ParsableFalseT >
::type >::const_reference 
right_return_t
 
typedef as_parser
< ParsableTrueT >::type 
left_t
 
typedef as_parser
< ParsableTrueT >
::type::embed_t 
left_embed_t
 
typedef as_parser
< ParsableFalseT >::type 
right_t
 
typedef as_parser
< ParsableFalseT >
::type::embed_t 
right_embed_t
 
typedef if_else_parser
< ParsableTrueT,
ParsableFalseT, CondT > 
embed_t
 
typedef if_else_parser
< ParsableTrueT,
ParsableFalseT, CondT > 
derived_t
 
typedef plain_parser_category parser_category_t
 

Public Member Functions

 if_else_parser (ParsableTrueT const &p_true, ParsableFalseT const &p_false, CondT const &cond_)
 
template<typename ScannerT >
parser_result< self_t,
ScannerT >::type 
parse (ScannerT const &scan) const
 
left_return_t left () const
 
right_return_t right () const
 
if_else_parser< ParsableTrueT,
ParsableFalseT, CondT > & 
derived ()
 
if_else_parser< ParsableTrueT,
ParsableFalseT, CondT >const & 
derived () const
 
action< if_else_parser
< ParsableTrueT,
ParsableFalseT, CondT >
, ActionT > 
operator[] (ActionT const &actor) const
 

Member Typedef Documentation

template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef as_parser<ParsableFalseT> boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::as_parser_false_t
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef as_parser<ParsableTrueT> boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::as_parser_true_t
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef binary<parser_true_t, parser_false_t, parser<self_t> > boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::base_t
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef as_parser<CondT> boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::cond_as_parser_t
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef cond_as_parser_t::type boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::condition_t
typedef if_else_parser< ParsableTrueT, ParsableFalseT, CondT > boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::derived_t
inherited
typedef if_else_parser< ParsableTrueT, ParsableFalseT, CondT > boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::embed_t
inherited
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef condition_evaluator<condition_t> boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::eval_t
typedef as_parser< ParsableTrueT >::type ::embed_t boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::left_embed_t
inherited
typedef boost::call_traits<as_parser< ParsableTrueT >::type >::param_type boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::left_param_t
inherited
typedef boost::call_traits<as_parser< ParsableTrueT >::type >::const_reference boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::left_return_t
inherited
typedef as_parser< ParsableTrueT >::type boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::left_t
inherited
typedef plain_parser_category boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::parser_category_t
inherited
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef as_parser_false_t::type boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::parser_false_t
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef as_parser_true_t::type boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::parser_true_t
typedef as_parser< ParsableFalseT >::type ::embed_t boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::right_embed_t
inherited
typedef boost::call_traits<as_parser< ParsableFalseT >::type >::param_type boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::right_param_t
inherited
typedef boost::call_traits<as_parser< ParsableFalseT >::type >::const_reference boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::right_return_t
inherited
typedef as_parser< ParsableFalseT >::type boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::right_t
inherited
template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
typedef if_else_parser<ParsableTrueT, ParsableFalseT, CondT> boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::self_t

Constructor & Destructor Documentation

template<typename ParsableTrueT, typename ParsableFalseT, typename CondT>
boost::spirit::impl::if_else_parser< ParsableTrueT, ParsableFalseT, CondT >::if_else_parser ( ParsableTrueT const &  p_true,
ParsableFalseT const &  p_false,
CondT const &  cond_ 
)
inline

Member Function Documentation

if_else_parser< ParsableTrueT, ParsableFalseT, CondT > & boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::derived ( )
inlineinherited
if_else_parser< ParsableTrueT, ParsableFalseT, CondT > const& boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::derived ( ) const
inlineinherited
left_return_t boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::left ( ) const
inlineinherited
action<if_else_parser< ParsableTrueT, ParsableFalseT, CondT > , ActionT> boost::spirit::parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > >::operator[] ( ActionT const &  actor) const
inlineinherited
right_return_t boost::spirit::binary< as_parser< ParsableTrueT >::type , as_parser< ParsableFalseT >::type , parser< if_else_parser< ParsableTrueT, ParsableFalseT, CondT > > >::right ( ) const
inlineinherited

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