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_definition< ID, RHS, Attribute, force_attribute_ > Struct Template Reference

#include <rule.hpp>

Inheritance diagram for boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >:
Collaboration diagram for boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >:

Public Types

typedef rule_definition< ID,
RHS, Attribute,
force_attribute_ > 
this_type
 
typedef ID id
 
typedef RHS rhs_type
 
typedef rule< ID, Attribute > lhs_type
 
typedef Attribute attribute_type
 
typedef rule_definition< ID,
RHS, Attribute,
force_attribute_ > 
derived_type
 

Public Member Functions

 rule_definition (RHS rhs, char const *name)
 
template<typename Iterator , typename Context , typename Attribute_ >
bool parse (Iterator &first, Iterator const &last, Context const &context, unused_type, Attribute_ &attr) const
 
rule_definition< ID, RHS,
Attribute, force_attribute_ >
const & 
derived () const
 
action< rule_definition< ID,
RHS, Attribute,
force_attribute_ >, Action > 
operator[] (Action f) const
 
guard< rule_definition< ID,
RHS, Attribute,
force_attribute_ >, Handler > 
on_error (Handler f) const
 

Public Attributes

RHS rhs
 
char const * name
 

Static Public Attributes

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

Member Typedef Documentation

template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
typedef Attribute boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::attribute_type
typedef rule_definition< ID, RHS, Attribute, force_attribute_ > boost::spirit::x3::parser< rule_definition< ID, RHS, Attribute, force_attribute_ > >::derived_type
inherited
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
typedef ID boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::id
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
typedef rule<ID, Attribute> boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::lhs_type
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
typedef RHS boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::rhs_type
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
typedef rule_definition<ID, RHS, Attribute, force_attribute_> boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::this_type

Constructor & Destructor Documentation

template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::rule_definition ( RHS  rhs,
char const *  name 
)
inline

Member Function Documentation

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

Member Data Documentation

template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
bool const boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::force_attribute
static
Initial value:
=
force_attribute_
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
bool const boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::handles_container
static
bool const boost::spirit::x3::parser< rule_definition< ID, RHS, Attribute, force_attribute_ > >::has_action
staticinherited
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
bool const boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::has_attribute
static
bool const boost::spirit::x3::parser< rule_definition< ID, RHS, Attribute, force_attribute_ > >::is_pass_through_unary
staticinherited
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
char const* boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::name
template<typename ID , typename RHS , typename Attribute , bool force_attribute_>
RHS boost::spirit::x3::rule_definition< ID, RHS, Attribute, force_attribute_ >::rhs

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