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::expect_directive< Subject > Struct Template Reference

#include <expect.hpp>

Inheritance diagram for boost::spirit::x3::expect_directive< Subject >:
Collaboration diagram for boost::spirit::x3::expect_directive< Subject >:

Public Types

typedef unary_parser< Subject,
expect_directive< Subject > > 
base_type
 
typedef unary_category category
 
typedef Subject subject_type
 
typedef expect_directive< Subject > derived_type
 

Public Member Functions

 expect_directive (Subject const &subject)
 
template<typename Iterator , typename Context , typename RContext , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context const &context, RContext &rcontext, Attribute &attr) const
 
unary_parser const & get_unary () const
 
expect_directive< Subject >const & derived () const
 
action< expect_directive
< Subject >, Action > 
operator[] (Action f) const
 
guard< expect_directive
< Subject >, Handler > 
on_error (Handler f) const
 

Public Attributes

Subject subject
 

Static Public Attributes

static bool const is_pass_through_unary = true
 
static bool const has_action
 
static bool const handles_container
 

Member Typedef Documentation

template<typename Subject >
typedef unary_parser<Subject, expect_directive<Subject> > boost::spirit::x3::expect_directive< Subject >::base_type
typedef unary_category boost::spirit::x3::unary_parser< Subject, expect_directive< Subject > >::category
inherited
typedef expect_directive< Subject > boost::spirit::x3::parser< expect_directive< Subject > >::derived_type
inherited
typedef Subject boost::spirit::x3::unary_parser< Subject, expect_directive< Subject > >::subject_type
inherited

Constructor & Destructor Documentation

template<typename Subject >
boost::spirit::x3::expect_directive< Subject >::expect_directive ( Subject const &  subject)
inline

Member Function Documentation

expect_directive< Subject > const& boost::spirit::x3::parser< expect_directive< Subject > >::derived ( ) const
inlineinherited
unary_parser const& boost::spirit::x3::unary_parser< Subject, expect_directive< Subject > >::get_unary ( ) const
inlineinherited
guard<expect_directive< Subject > , Handler> boost::spirit::x3::parser< expect_directive< Subject > >::on_error ( Handler  f) const
inlineinherited
action<expect_directive< Subject > , Action> boost::spirit::x3::parser< expect_directive< Subject > >::operator[] ( Action  f) const
inlineinherited
template<typename Subject >
template<typename Iterator , typename Context , typename RContext , typename Attribute >
bool boost::spirit::x3::expect_directive< Subject >::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
RContext &  rcontext,
Attribute &  attr 
) const
inline

Member Data Documentation

bool const boost::spirit::x3::parser< expect_directive< Subject > >::handles_container
staticinherited
bool const boost::spirit::x3::unary_parser< Subject, expect_directive< Subject > >::has_action
staticinherited
template<typename Subject >
bool const boost::spirit::x3::expect_directive< Subject >::is_pass_through_unary = true
static
Subject boost::spirit::x3::unary_parser< Subject, expect_directive< Subject > >::subject
inherited

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