Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT > Class Template Referenceabstract

#include <cpp_re2c_lexer.hpp>

Inheritance diagram for boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >:
Collaboration diagram for boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >:

Public Types

typedef TokenT token_type
 
typedef lex_input_interface
< TokenT >::position_type 
position_type
 

Public Member Functions

 lex_functor (IteratorT const &first, IteratorT const &last, PositionT const &pos, boost::wave::language_support language)
 
virtual ~lex_functor ()
 
token_typeget (token_type &result)
 
void set_position (PositionT const &pos)
 
virtual void set_position (position_type const &pos)=0
 

Static Public Member Functions

template<typename IteratorT >
static lex_input_interface
< TokenT > * 
new_lexer (IteratorT const &first, IteratorT const &last, position_type const &pos, boost::wave::language_support language)
 

Member Typedef Documentation

template<typename TokenT >
typedef lex_input_interface<TokenT>::position_type boost::wave::cpplexer::lex_input_interface_generator< TokenT >::position_type
inherited
template<typename IteratorT , typename PositionT = boost::wave::util::file_position_type, typename TokenT = typename lexer<IteratorT, PositionT>::token_type>
typedef TokenT boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >::token_type

Constructor & Destructor Documentation

template<typename IteratorT , typename PositionT = boost::wave::util::file_position_type, typename TokenT = typename lexer<IteratorT, PositionT>::token_type>
boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >::lex_functor ( IteratorT const &  first,
IteratorT const &  last,
PositionT const &  pos,
boost::wave::language_support  language 
)
inline
template<typename IteratorT , typename PositionT = boost::wave::util::file_position_type, typename TokenT = typename lexer<IteratorT, PositionT>::token_type>
virtual boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >::~lex_functor ( )
inlinevirtual

Member Function Documentation

template<typename IteratorT , typename PositionT = boost::wave::util::file_position_type, typename TokenT = typename lexer<IteratorT, PositionT>::token_type>
token_type& boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >::get ( token_type result)
inlinevirtual
template<typename TokenT >
template<typename IteratorT >
static lex_input_interface<TokenT>* boost::wave::cpplexer::lex_input_interface_generator< TokenT >::new_lexer ( IteratorT const &  first,
IteratorT const &  last,
position_type const &  pos,
boost::wave::language_support  language 
)
inlinestaticinherited
template<typename TokenT>
virtual void boost::wave::cpplexer::lex_input_interface< TokenT >::set_position ( position_type const &  pos)
pure virtualinherited
template<typename IteratorT , typename PositionT = boost::wave::util::file_position_type, typename TokenT = typename lexer<IteratorT, PositionT>::token_type>
void boost::wave::cpplexer::re2clex::lex_functor< IteratorT, PositionT, TokenT >::set_position ( PositionT const &  pos)
inline

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