Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::lex::action< Subject, Action > Struct Template Reference

#include <action.hpp>

Inheritance diagram for boost::spirit::lex::action< Subject, Action >:
Collaboration diagram for boost::spirit::lex::action< Subject, Action >:

Public Types

typedef action< Subject, Action > derived_type
 
typedef lex::domain domain
 

Public Member Functions

 action (Subject const &subject, Action f)
 
template<typename LexerDef , typename String >
void collect (LexerDef &lexdef, String const &state, String const &targetstate) const
 
template<typename LexerDef >
void add_actions (LexerDef &lexdef) const
 
action< Subject, Action >const & derived () const
 

Public Attributes

Subject subject
 
Action f
 

Member Typedef Documentation

typedef action< Subject, Action > boost::spirit::lex::lexer_type< action< Subject, Action > >::derived_type
inherited
typedef lex::domain boost::spirit::lex::lexer_type< action< Subject, Action > >::domain
inherited

Constructor & Destructor Documentation

template<typename Subject , typename Action >
boost::spirit::lex::action< Subject, Action >::action ( Subject const &  subject,
Action  f 
)
inline

Member Function Documentation

template<typename Subject , typename Action >
template<typename LexerDef >
void boost::spirit::lex::action< Subject, Action >::add_actions ( LexerDef &  lexdef) const
inline
template<typename Subject , typename Action >
template<typename LexerDef , typename String >
void boost::spirit::lex::action< Subject, Action >::collect ( LexerDef &  lexdef,
String const &  state,
String const &  targetstate 
) const
inline
action< Subject, Action > const& boost::spirit::lex::lexer_type< action< Subject, Action > >::derived ( ) const
inlineinherited

Member Data Documentation

template<typename Subject , typename Action >
Action boost::spirit::lex::action< Subject, Action >::f
template<typename Subject , typename Action >
Subject boost::spirit::lex::action< Subject, Action >::subject

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