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

#include <string_token_def.hpp>

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

Public Types

typedef remove_const< typename
traits::char_type_of< String >
::type >::type 
char_type
 
typedef std::basic_string
< char_type
string_type
 
typedef string_token_def
< String, IdType, CharEncoding > 
derived_type
 
typedef lex::domain domain
 

Public Member Functions

 string_token_def (typename add_reference< String >::type str, 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
 
std::size_t id () const
 
std::size_t unique_id () const
 
std::size_t state () const
 
string_token_def< String,
IdType, CharEncoding >const & 
derived () const
 

Public Attributes

string_type str_
 
IdType id_
 
std::size_t unique_id_
 
std::size_t token_state_
 

Member Typedef Documentation

template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
typedef remove_const<typename traits::char_type_of<String>::type>::type boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::char_type
typedef string_token_def< String, IdType, CharEncoding > boost::spirit::lex::lexer_type< string_token_def< String, IdType, CharEncoding > >::derived_type
inherited
typedef lex::domain boost::spirit::lex::lexer_type< string_token_def< String, IdType, CharEncoding > >::domain
inherited
template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
typedef std::basic_string<char_type> boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::string_type

Constructor & Destructor Documentation

template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::string_token_def ( typename add_reference< String >::type  str,
IdType const &  id 
)
inline

Member Function Documentation

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

Member Data Documentation

template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
IdType boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::id_
mutable
template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
string_type boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::str_
template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
std::size_t boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::token_state_
mutable
template<typename String , typename IdType = std::size_t, typename CharEncoding = char_encoding::standard>
std::size_t boost::spirit::lex::string_token_def< String, IdType, CharEncoding >::unique_id_
mutable

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