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

#include <ast_fwd.hpp>

Inheritance diagram for boost::spirit::ast_match_policy< IteratorT, NodeFactoryT, T >:
Collaboration diagram for boost::spirit::ast_match_policy< IteratorT, NodeFactoryT, T >:

Public Types

typedef
common_tree_match_policy
< ast_match_policy< IteratorT,
NodeFactoryT, T >, IteratorT,
NodeFactoryT, ast_tree_policy
< ast_match_policy< IteratorT,
NodeFactoryT, T >
, NodeFactoryT, T >, T
common_tree_match_policy_
 
typedef tree_match< IteratorT,
NodeFactoryT, T
match_t
 
typedef IteratorT iterator_t
 
typedef ast_tree_policy
< ast_match_policy< IteratorT,
NodeFactoryT, T >
, NodeFactoryT, T
tree_policy_t
 
typedef NodeFactoryT factory_t
 

Public Member Functions

 ast_match_policy ()
 
template<typename PolicyT >
 ast_match_policy (PolicyT const &policies)
 
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 Match1T , typename Match2T >
void concat_match (Match1T &l, Match2T const &r) const
 
void group_match (MatchT &m, parser_id const &id, IteratorT2 const &first, IteratorT2 const &last) const
 
template<typename MatchT , typename IteratorT >
void group_match (MatchT &, parser_id const &, IteratorT const &, IteratorT const &) const
 

Static Public Member Functions

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

Member Typedef Documentation

template<typename IteratorT , typename NodeFactoryT , typename T >
typedef common_tree_match_policy< ast_match_policy<IteratorT, NodeFactoryT, T>, IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy<IteratorT, NodeFactoryT, T>, NodeFactoryT, T >, T > boost::spirit::ast_match_policy< IteratorT, NodeFactoryT, T >::common_tree_match_policy_
typedef NodeFactoryT boost::spirit::common_tree_match_policy< ast_match_policy< IteratorT, NodeFactoryT, T > , IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > , T >::factory_t
inherited
typedef IteratorT boost::spirit::common_tree_match_policy< ast_match_policy< IteratorT, NodeFactoryT, T > , IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > , T >::iterator_t
inherited
typedef tree_match<IteratorT, NodeFactoryT, T> boost::spirit::common_tree_match_policy< ast_match_policy< IteratorT, NodeFactoryT, T > , IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > , T >::match_t
inherited
typedef ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > boost::spirit::common_tree_match_policy< ast_match_policy< IteratorT, NodeFactoryT, T > , IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > , T >::tree_policy_t
inherited

Constructor & Destructor Documentation

template<typename IteratorT , typename NodeFactoryT , typename T >
boost::spirit::ast_match_policy< IteratorT, NodeFactoryT, T >::ast_match_policy ( )
inline
template<typename IteratorT , typename NodeFactoryT , typename T >
template<typename PolicyT >
boost::spirit::ast_match_policy< IteratorT, NodeFactoryT, T >::ast_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
static void boost::spirit::common_tree_match_policy< ast_match_policy< IteratorT, NodeFactoryT, T > , IteratorT, NodeFactoryT, ast_tree_policy< ast_match_policy< IteratorT, NodeFactoryT, T >, NodeFactoryT, T > , T >::concat_match ( Match1T &  a,
Match2T const &  b 
)
inlinestaticinherited
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().

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

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