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::token_def< Attribute, Char, Idtype > Struct Template Reference

#include <token_def.hpp>

Inheritance diagram for boost::spirit::lex::token_def< Attribute, Char, Idtype >:
Collaboration diagram for boost::spirit::lex::token_def< Attribute, Char, Idtype >:

Classes

struct  attribute
 

Public Types

typedef Char char_type
 
typedef Idtype id_type
 
typedef std::basic_string
< char_type
string_type
 
typedef token_def< Attribute,
Char, Idtype > 
derived_type
 
typedef qi::domain domain
 
typedef token_def< Attribute,
Char, Idtype > 
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 LexerDef , typename String >
void collect (LexerDef &lexdef, String const &state, String const &targetstate) const
 
template<typename LexerDef >
void add_actions (LexerDef &) const
 
 token_def ()
 
 token_def (token_def const &rhs)
 
 token_def (char_type def_, Idtype id_=Idtype())
 
 token_def (string_type const &def_, Idtype id_=Idtype())
 
template<typename String >
token_defoperator= (String const &definition)
 
token_defoperator= (token_def const &rhs)
 
Idtype const & id () const
 
void id (Idtype const &id)
 
std::size_t unique_id () const
 
string_type definition () const
 
std::size_t state () const
 
token_def< Attribute, Char,
Idtype >const & 
derived () const
 
token_def< Attribute, Char,
Idtype >const & 
derived () const
 

Member Typedef Documentation

template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
typedef Char boost::spirit::lex::token_def< Attribute, Char, Idtype >::char_type
typedef token_def< Attribute, Char, Idtype > boost::spirit::lex::lexer_type< token_def< Attribute, Char, Idtype > >::derived_type
inherited
typedef token_def< Attribute, Char, Idtype > boost::spirit::qi::parser< token_def< Attribute, Char, Idtype > >::derived_type
inherited
typedef lex::domain boost::spirit::lex::lexer_type< token_def< Attribute, Char, Idtype > >::domain
inherited
typedef qi::domain boost::spirit::qi::parser< token_def< Attribute, Char, Idtype > >::domain
inherited
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
typedef Idtype boost::spirit::lex::token_def< Attribute, Char, Idtype >::id_type
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
typedef std::basic_string<char_type> boost::spirit::lex::token_def< Attribute, Char, Idtype >::string_type

Constructor & Destructor Documentation

template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
boost::spirit::lex::token_def< Attribute, Char, Idtype >::token_def ( )
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
boost::spirit::lex::token_def< Attribute, Char, Idtype >::token_def ( token_def< Attribute, Char, Idtype > const &  rhs)
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
boost::spirit::lex::token_def< Attribute, Char, Idtype >::token_def ( char_type  def_,
Idtype  id_ = Idtype() 
)
inlineexplicit
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
boost::spirit::lex::token_def< Attribute, Char, Idtype >::token_def ( string_type const &  def_,
Idtype  id_ = Idtype() 
)
inlineexplicit

Member Function Documentation

template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
template<typename LexerDef >
void boost::spirit::lex::token_def< Attribute, Char, Idtype >::add_actions ( LexerDef &  ) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
template<typename LexerDef , typename String >
void boost::spirit::lex::token_def< Attribute, Char, Idtype >::collect ( LexerDef &  lexdef,
String const &  state,
String const &  targetstate 
) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
string_type boost::spirit::lex::token_def< Attribute, Char, Idtype >::definition ( ) const
inline
token_def< Attribute, Char, Idtype > const& boost::spirit::lex::lexer_type< token_def< Attribute, Char, Idtype > >::derived ( ) const
inlineinherited
token_def< Attribute, Char, Idtype > const& boost::spirit::qi::parser< token_def< Attribute, Char, Idtype > >::derived ( ) const
inlineinherited
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
Idtype const& boost::spirit::lex::token_def< Attribute, Char, Idtype >::id ( ) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
void boost::spirit::lex::token_def< Attribute, Char, Idtype >::id ( Idtype const &  id)
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
template<typename String >
token_def& boost::spirit::lex::token_def< Attribute, Char, Idtype >::operator= ( String const &  definition)
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
token_def& boost::spirit::lex::token_def< Attribute, Char, Idtype >::operator= ( token_def< Attribute, Char, Idtype > const &  rhs)
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
template<typename Iterator , typename Context , typename Skipper , typename Attribute_ >
bool boost::spirit::lex::token_def< Attribute, Char, Idtype >::parse ( Iterator &  first,
Iterator const &  last,
Context &  ,
Skipper const &  skipper,
Attribute_ &  attr 
) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
std::size_t boost::spirit::lex::token_def< Attribute, Char, Idtype >::state ( ) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
std::size_t boost::spirit::lex::token_def< Attribute, Char, Idtype >::unique_id ( ) const
inline
template<typename Attribute = unused_type, typename Char = char, typename Idtype = std::size_t>
template<typename Context >
info boost::spirit::lex::token_def< Attribute, Char, Idtype >::what ( Context &  ) const
inline

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