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::char_token_def< CharEncoding, IdType > Struct Template Reference

#include <char_token_def.hpp>

Inheritance diagram for boost::spirit::lex::char_token_def< CharEncoding, IdType >:
Collaboration diagram for boost::spirit::lex::char_token_def< CharEncoding, IdType >:

Public Types

typedef CharEncoding::char_type char_type
 
typedef char_token_def
< CharEncoding, IdType > 
derived_type
 
typedef lex::domain domain
 

Public Member Functions

 char_token_def (char_type ch, IdType const &id)
 
template<typename LexerDef , typename String >
void collect (LexerDef &lexdef, String const &state, String const &targetstate) const
 
template<typename LexerDef >
void add_actions (LexerDef &) const
 
IdType id () const
 
std::size_t unique_id () const
 
std::size_t state () const
 
char_token_def< CharEncoding,
IdType >const & 
derived () const
 

Public Attributes

char_type ch
 
IdType id_
 
std::size_t unique_id_
 
std::size_t token_state_
 

Member Typedef Documentation

template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
typedef CharEncoding::char_type boost::spirit::lex::char_token_def< CharEncoding, IdType >::char_type
typedef char_token_def< CharEncoding, IdType > boost::spirit::lex::lexer_type< char_token_def< CharEncoding, IdType > >::derived_type
inherited
typedef lex::domain boost::spirit::lex::lexer_type< char_token_def< CharEncoding, IdType > >::domain
inherited

Constructor & Destructor Documentation

template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
boost::spirit::lex::char_token_def< CharEncoding, IdType >::char_token_def ( char_type  ch,
IdType const &  id 
)
inline

Member Function Documentation

template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
template<typename LexerDef >
void boost::spirit::lex::char_token_def< CharEncoding, IdType >::add_actions ( LexerDef &  ) const
inline
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
template<typename LexerDef , typename String >
void boost::spirit::lex::char_token_def< CharEncoding, IdType >::collect ( LexerDef &  lexdef,
String const &  state,
String const &  targetstate 
) const
inline
char_token_def< CharEncoding, IdType > const& boost::spirit::lex::lexer_type< char_token_def< CharEncoding, IdType > >::derived ( ) const
inlineinherited
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
IdType boost::spirit::lex::char_token_def< CharEncoding, IdType >::id ( ) const
inline
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
std::size_t boost::spirit::lex::char_token_def< CharEncoding, IdType >::state ( ) const
inline
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
std::size_t boost::spirit::lex::char_token_def< CharEncoding, IdType >::unique_id ( ) const
inline

Member Data Documentation

template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
char_type boost::spirit::lex::char_token_def< CharEncoding, IdType >::ch
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
IdType boost::spirit::lex::char_token_def< CharEncoding, IdType >::id_
mutable
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
std::size_t boost::spirit::lex::char_token_def< CharEncoding, IdType >::token_state_
mutable
template<typename CharEncoding = char_encoding::standard, typename IdType = std::size_t>
std::size_t boost::spirit::lex::char_token_def< CharEncoding, IdType >::unique_id_
mutable

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