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::detail::lexer_def_< LexerDef > Struct Template Reference

#include <lexer.hpp>

Inheritance diagram for boost::spirit::lex::detail::lexer_def_< LexerDef >:
Collaboration diagram for boost::spirit::lex::detail::lexer_def_< LexerDef >:

Classes

struct  attribute
 

Public Types

typedef lexer_def_< LexerDef > derived_type
 
typedef qi::domain domain
 
typedef lexer_def_< LexerDef > derived_type
 
typedef lex::domain domain
 

Public Member Functions

template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context &, Skipper const &skipper, Attribute &attr) const
 
template<typename Context >
info what (Context &) const
 
template<typename Expr >
void define (Expr const &expr)
 
 lexer_def_ (LexerDef &def_, string_type const &state_, string_type const &targetstate_=string_type())
 
lexer_def_ operator() (char_type const *state) const
 
lexer_def_ operator() (char_type const *state, char_type const *targetstate) const
 
lexer_def_ operator() (string_type const &state, string_type const &targetstate=string_type()) const
 
template<typename Expr >
lexer_def_operator= (Expr const &xpr)
 
std::size_t add_state (char_type const *state=0)
 
lexer_def_< LexerDef >const & derived () const
 
lexer_def_< LexerDef >const & derived () const
 

Public Attributes

adder add
 
pattern_adder add_pattern
 

Friends

struct adder
 
struct pattern_adder
 

Member Typedef Documentation

typedef lexer_def_< LexerDef > boost::spirit::lex::lexer_type< lexer_def_< LexerDef > >::derived_type
inherited
typedef lexer_def_< LexerDef > boost::spirit::qi::parser< lexer_def_< LexerDef > >::derived_type
inherited
typedef lex::domain boost::spirit::lex::lexer_type< lexer_def_< LexerDef > >::domain
inherited
typedef qi::domain boost::spirit::qi::parser< lexer_def_< LexerDef > >::domain
inherited

Constructor & Destructor Documentation

template<typename LexerDef>
boost::spirit::lex::detail::lexer_def_< LexerDef >::lexer_def_ ( LexerDef &  def_,
string_type const &  state_,
string_type const &  targetstate_ = string_type() 
)
inline

Member Function Documentation

template<typename LexerDef>
std::size_t boost::spirit::lex::detail::lexer_def_< LexerDef >::add_state ( char_type const *  state = 0)
inline
template<typename LexerDef>
template<typename Expr >
void boost::spirit::lex::detail::lexer_def_< LexerDef >::define ( Expr const &  expr)
inline
lexer_def_< LexerDef > const& boost::spirit::lex::lexer_type< lexer_def_< LexerDef > >::derived ( ) const
inlineinherited
lexer_def_< LexerDef > const& boost::spirit::qi::parser< lexer_def_< LexerDef > >::derived ( ) const
inlineinherited
template<typename LexerDef>
lexer_def_ boost::spirit::lex::detail::lexer_def_< LexerDef >::operator() ( char_type const *  state) const
inline
template<typename LexerDef>
lexer_def_ boost::spirit::lex::detail::lexer_def_< LexerDef >::operator() ( char_type const *  state,
char_type const *  targetstate 
) const
inline
template<typename LexerDef>
lexer_def_ boost::spirit::lex::detail::lexer_def_< LexerDef >::operator() ( string_type const &  state,
string_type const &  targetstate = string_type() 
) const
inline
template<typename LexerDef>
template<typename Expr >
lexer_def_& boost::spirit::lex::detail::lexer_def_< LexerDef >::operator= ( Expr const &  xpr)
inline
template<typename LexerDef>
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::lex::detail::lexer_def_< LexerDef >::parse ( Iterator &  first,
Iterator const &  last,
Context &  ,
Skipper const &  skipper,
Attribute &  attr 
) const
inline
template<typename LexerDef>
template<typename Context >
info boost::spirit::lex::detail::lexer_def_< LexerDef >::what ( Context &  ) const
inline

Friends And Related Function Documentation

template<typename LexerDef>
friend struct adder
friend
template<typename LexerDef>
friend struct pattern_adder
friend

Member Data Documentation

template<typename LexerDef>
adder boost::spirit::lex::detail::lexer_def_< LexerDef >::add
template<typename LexerDef>
pattern_adder boost::spirit::lex::detail::lexer_def_< LexerDef >::add_pattern

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