Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::x3::rule< ID, Attribute > Struct Template Reference

#include <rule.hpp>

Inheritance diagram for boost::spirit::x3::rule< ID, Attribute >:
Collaboration diagram for boost::spirit::x3::rule< ID, Attribute >:

Public Types

typedef ID id
 
typedef Attribute attribute_type
 
typedef rule< ID, Attribute > derived_type
 

Public Member Functions

 rule ()
 
 rule (char const *name)
 
template<typename RHS >
rule_definition< ID, typename
extension::as_parser< RHS >
::value_type, Attribute, false > 
operator= (RHS const &rhs) const
 
template<typename RHS >
rule_definition< ID, typename
extension::as_parser< RHS >
::value_type, Attribute, true > 
operator%= (RHS const &rhs) const
 
template<typename Iterator , typename Context , typename Attribute_ >
bool parse (Iterator &first, Iterator const &last, Context const &context, unused_type, Attribute_ &attr) const
 
rule< ID, Attribute >const & derived () const
 
action< rule< ID, Attribute >
, Action > 
operator[] (Action f) const
 
guard< rule< ID, Attribute >
, Handler > 
on_error (Handler f) const
 

Public Attributes

char const * name
 

Static Public Attributes

static bool const has_attribute
 
static bool const handles_container
 
static bool const is_pass_through_unary
 
static bool const has_action
 

Member Typedef Documentation

template<typename ID, typename Attribute>
typedef Attribute boost::spirit::x3::rule< ID, Attribute >::attribute_type
typedef rule< ID, Attribute > boost::spirit::x3::parser< rule< ID, Attribute > >::derived_type
inherited
template<typename ID, typename Attribute>
typedef ID boost::spirit::x3::rule< ID, Attribute >::id

Constructor & Destructor Documentation

template<typename ID, typename Attribute>
boost::spirit::x3::rule< ID, Attribute >::rule ( )
inline
template<typename ID, typename Attribute>
boost::spirit::x3::rule< ID, Attribute >::rule ( char const *  name)
inline

Member Function Documentation

rule< ID, Attribute > const& boost::spirit::x3::parser< rule< ID, Attribute > >::derived ( ) const
inlineinherited
guard<rule< ID, Attribute > , Handler> boost::spirit::x3::parser< rule< ID, Attribute > >::on_error ( Handler  f) const
inlineinherited
template<typename ID, typename Attribute>
template<typename RHS >
rule_definition< ID, typename extension::as_parser<RHS>::value_type, Attribute, true> boost::spirit::x3::rule< ID, Attribute >::operator%= ( RHS const &  rhs) const
inline
template<typename ID, typename Attribute>
template<typename RHS >
rule_definition< ID, typename extension::as_parser<RHS>::value_type, Attribute, false> boost::spirit::x3::rule< ID, Attribute >::operator= ( RHS const &  rhs) const
inline
action<rule< ID, Attribute > , Action> boost::spirit::x3::parser< rule< ID, Attribute > >::operator[] ( Action  f) const
inlineinherited
template<typename ID, typename Attribute>
template<typename Iterator , typename Context , typename Attribute_ >
bool boost::spirit::x3::rule< ID, Attribute >::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
unused_type  ,
Attribute_ &  attr 
) const
inline

Member Data Documentation

template<typename ID, typename Attribute>
bool const boost::spirit::x3::rule< ID, Attribute >::handles_container
static
bool const boost::spirit::x3::parser< rule< ID, Attribute > >::has_action
staticinherited
template<typename ID, typename Attribute>
bool const boost::spirit::x3::rule< ID, Attribute >::has_attribute
static
bool const boost::spirit::x3::parser< rule< ID, Attribute > >::is_pass_through_unary
staticinherited
template<typename ID, typename Attribute>
char const* boost::spirit::x3::rule< ID, Attribute >::name

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