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::lexer< IteratorT, PositionT, TokenT > Class Template Reference

#include <cpp_re2c_lexer.hpp>

Public Types

typedef TokenT token_type
 
typedef token_type::string_type string_type
 

Public Member Functions

 lexer (IteratorT const &first, IteratorT const &last, PositionT const &pos, boost::wave::language_support language_)
 
 ~lexer ()
 
token_typeget (token_type &)
 
void set_position (PositionT const &pos)
 

Static Public Member Functions

static int report_error (Scanner const *s, int code, char const *,...)
 

Member Typedef Documentation

template<typename IteratorT, typename PositionT = boost::wave::util::file_position_type, typename TokenT = lex_token<PositionT>>
typedef token_type::string_type boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::string_type
template<typename IteratorT, typename PositionT = boost::wave::util::file_position_type, typename TokenT = lex_token<PositionT>>
typedef TokenT boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::token_type

Constructor & Destructor Documentation

template<typename IteratorT , typename PositionT , typename TokenT >
boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::lexer ( IteratorT const &  first,
IteratorT const &  last,
PositionT const &  pos,
boost::wave::language_support  language_ 
)
inline
template<typename IteratorT , typename PositionT , typename TokenT >
boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::~lexer ( )
inline

Member Function Documentation

template<typename IteratorT , typename PositionT , typename TokenT >
TokenT & boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::get ( token_type result)
inline

References boost::wave::AltTokenType, BASEID_FROM_TOKEN, BOOST_WAVE_LEXER_THROW, CATEGORY_FROM_TOKEN, boost::wave::cpplexer::re2clex::Scanner::column, boost::wave::cpplexer::impl::convert_trigraph(), boost::wave::cpplexer::impl::convert_trigraphs(), boost::wave::cpplexer::re2clex::Scanner::cur, EXTCATEGORY_FROM_TOKEN, boost::wave::cpplexer::token_cache< StringT >::get_token_value(), IS_CATEGORY, boost::wave::cpplexer::re2clex::Scanner::line, boost::wave::need_convert_trigraphs(), boost::wave::need_long_long(), boost::wave::need_no_character_validation(), boost::wave::cpplexer::re2clex::scan(), boost::wave::T_ANY, boost::wave::T_ANY_TRIGRAPH, boost::wave::T_CCOMMENT, boost::wave::T_CHARLIT, boost::wave::T_COMPL_TRIGRAPH, boost::wave::T_CPPCOMMENT, boost::wave::T_DECIMALINT, boost::wave::T_EOF, boost::wave::T_FIXEDPOINTLIT, boost::wave::T_FLOATLIT, boost::wave::T_HEXAINT, boost::wave::T_IDENTIFIER, boost::wave::T_INTLIT, boost::wave::T_LEFTBRACE_TRIGRAPH, boost::wave::T_LEFTBRACKET_TRIGRAPH, boost::wave::T_LONGINTLIT, boost::wave::T_OCTALINT, boost::wave::T_OR_TRIGRAPH, boost::wave::T_POUND_TRIGRAPH, boost::wave::T_PP_HHEADER, boost::wave::T_PP_INCLUDE, boost::wave::T_PP_NUMBER, boost::wave::T_PP_QHEADER, boost::wave::T_RAWSTRINGLIT, boost::wave::T_RIGHTBRACE_TRIGRAPH, boost::wave::T_RIGHTBRACKET_TRIGRAPH, boost::wave::T_SPACE, boost::wave::T_SPACE2, boost::wave::T_STRINGLIT, boost::wave::T_XOR_TRIGRAPH, boost::wave::cpplexer::re2clex::Scanner::tok, boost::wave::UnknownTokenType, boost::wave::cpplexer::impl::validate_identifier_name(), and boost::wave::cpplexer::impl::validate_literal().

template<typename IteratorT , typename PositionT , typename TokenT >
int boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::report_error ( Scanner const *  s,
int  code,
char const *  msg,
  ... 
)
inlinestatic
template<typename IteratorT, typename PositionT = boost::wave::util::file_position_type, typename TokenT = lex_token<PositionT>>
void boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::set_position ( PositionT const &  pos)
inline

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