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::lexer< Lexer > Class Template Reference

#include <lexer.hpp>

Inheritance diagram for boost::spirit::lex::lexer< Lexer >:
Collaboration diagram for boost::spirit::lex::lexer< Lexer >:

Public Types

typedef Lexer lexer_type
 
typedef Lexer::id_type id_type
 
typedef Lexer::char_type char_type
 
typedef Lexer::iterator_type iterator_type
 
typedef lexer base_type
 
typedef detail::lexer_def_< lexerlexer_def
 
typedef std::basic_string
< char_type
string_type
 

Public Member Functions

 lexer (unsigned int flags=match_flags::match_default, id_type first_id=id_type(min_token_id))
 
template<typename Iterator >
iterator_type begin (Iterator &first, Iterator const &last, char_type const *initial_state=0) const
 
iterator_type end () const
 
std::size_t map_state (char_type const *state)
 
id_type get_next_id ()
 

Public Attributes

lexer_def self
 

Member Typedef Documentation

template<typename Lexer >
typedef lexer boost::spirit::lex::lexer< Lexer >::base_type
template<typename Lexer >
typedef Lexer::char_type boost::spirit::lex::lexer< Lexer >::char_type
template<typename Lexer >
typedef Lexer::id_type boost::spirit::lex::lexer< Lexer >::id_type
template<typename Lexer >
typedef Lexer::iterator_type boost::spirit::lex::lexer< Lexer >::iterator_type
template<typename Lexer >
typedef detail::lexer_def_<lexer> boost::spirit::lex::lexer< Lexer >::lexer_def
template<typename Lexer >
typedef Lexer boost::spirit::lex::lexer< Lexer >::lexer_type
template<typename Lexer >
typedef std::basic_string<char_type> boost::spirit::lex::lexer< Lexer >::string_type

Constructor & Destructor Documentation

template<typename Lexer >
boost::spirit::lex::lexer< Lexer >::lexer ( unsigned int  flags = match_flags::match_default,
id_type  first_id = id_type(min_token_id) 
)
inline

Member Function Documentation

template<typename Lexer >
template<typename Iterator >
iterator_type boost::spirit::lex::lexer< Lexer >::begin ( Iterator &  first,
Iterator const &  last,
char_type const *  initial_state = 0 
) const
inline

References boost::asio::begin.

template<typename Lexer >
iterator_type boost::spirit::lex::lexer< Lexer >::end ( void  ) const
inline

References boost::asio::end.

template<typename Lexer >
id_type boost::spirit::lex::lexer< Lexer >::get_next_id ( )
inline
template<typename Lexer >
std::size_t boost::spirit::lex::lexer< Lexer >::map_state ( char_type const *  state)
inline

Member Data Documentation

template<typename Lexer >
lexer_def boost::spirit::lex::lexer< Lexer >::self

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