Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T > Struct Template Reference

#include <common_fwd.hpp>

Inheritance diagram for boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >:
Collaboration diagram for boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >:

Classes

struct  result
 

Public Types

typedef tree_match< IteratorT,
NodeFactoryT, T
match_t
 
typedef IteratorT iterator_t
 
typedef TreePolicyT tree_policy_t
 
typedef NodeFactoryT factory_t
 

Public Member Functions

 common_tree_match_policy ()
 
template<typename PolicyT >
 common_tree_match_policy (PolicyT const &policies)
 
template<typename MatchT , typename IteratorT2 >
void group_match (MatchT &m, parser_id const &id, IteratorT2 const &first, IteratorT2 const &last) const
 
const match< nil_tno_match () const
 
const match< nil_tempty_match () const
 
template<typename AttrT , typename IteratorT >
match< AttrT > create_match (std::size_t length, AttrT const &val, IteratorT const &, IteratorT const &) const
 
template<typename MatchT , typename IteratorT >
void group_match (MatchT &, parser_id const &, IteratorT const &, IteratorT const &) const
 
template<typename Match1T , typename Match2T >
void concat_match (Match1T &l, Match2T const &r) const
 

Static Public Member Functions

static const match_t no_match ()
 
static const match_t empty_match ()
 
template<typename AttrT , typename Iterator1T , typename Iterator2T >
static tree_match< IteratorT,
NodeFactoryT, AttrT > 
create_match (std::size_t length, AttrT const &val, Iterator1T const &first, Iterator2T const &last)
 
template<typename Match1T , typename Match2T >
static void concat_match (Match1T &a, Match2T const &b)
 

Member Typedef Documentation

template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
typedef NodeFactoryT boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::factory_t
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
typedef IteratorT boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::iterator_t
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
typedef tree_match<IteratorT, NodeFactoryT, T> boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::match_t
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
typedef TreePolicyT boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::tree_policy_t

Constructor & Destructor Documentation

template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::common_tree_match_policy ( )
inline
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
template<typename PolicyT >
boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::common_tree_match_policy ( PolicyT const &  policies)
inline

Member Function Documentation

template<typename Match1T , typename Match2T >
void boost::spirit::match_policy::concat_match ( Match1T &  l,
Match2T const &  r 
) const
inlineinherited
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
template<typename Match1T , typename Match2T >
static void boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::concat_match ( Match1T &  a,
Match2T const &  b 
)
inlinestatic
template<typename AttrT , typename IteratorT >
match<AttrT> boost::spirit::match_policy::create_match ( std::size_t  length,
AttrT const &  val,
IteratorT const &  ,
IteratorT const &   
) const
inlineinherited

References boost::phoenix::val().

template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
template<typename AttrT , typename Iterator1T , typename Iterator2T >
static tree_match<IteratorT, NodeFactoryT, AttrT> boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::create_match ( std::size_t  length,
AttrT const &  val,
Iterator1T const &  first,
Iterator2T const &  last 
)
inlinestatic
const match<nil_t> boost::spirit::match_policy::empty_match ( ) const
inlineinherited
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
static const match_t boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::empty_match ( )
inlinestatic
template<typename MatchT , typename IteratorT >
void boost::spirit::match_policy::group_match ( MatchT &  ,
parser_id const &  ,
IteratorT const &  ,
IteratorT const &   
) const
inlineinherited
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
template<typename MatchT , typename IteratorT2 >
void boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::group_match ( MatchT &  m,
parser_id const &  id,
IteratorT2 const &  first,
IteratorT2 const &  last 
) const
inline
const match<nil_t> boost::spirit::match_policy::no_match ( ) const
inlineinherited
template<typename MatchPolicyT, typename IteratorT, typename NodeFactoryT, typename TreePolicyT, typename T>
static const match_t boost::spirit::common_tree_match_policy< MatchPolicyT, IteratorT, NodeFactoryT, TreePolicyT, T >::no_match ( )
inlinestatic

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