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::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue > Class Template Reference

#include <functor_data.hpp>

Inheritance diagram for boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >:

Public Types

typedef Iterator base_iterator_type
 
typedef iterator_range< Iterator > token_value_type
 
typedef token_value_type get_value_type
 
typedef std::size_t state_type
 
typedef char_type const * state_name_type
 
typedef unused_type semantic_actions_type
 
typedef detail::wrap_action
< unused_type, Iterator, data,
std::size_t > 
wrap_action_type
 
typedef unused_type next_token_functor
 
typedef unused_type get_state_name_type
 

Public Member Functions

template<typename IterData >
 data (IterData const &data_, Iterator &first, Iterator const &last)
 
template<typename Char >
void set_state_name (Char const *)
 
char_type const * get_state_name () const
 
std::size_t get_state_id (char_type const *) const
 
Iterator const & get_eoi () const
 
Iterator const & less (Iterator const &it, int)
 
void more ()
 
bool adjust_start ()
 
void revert_adjust_start ()
 
bool lookahead (std::size_t, std::size_t=std::size_t(~0))
 
std::size_t next (Iterator &end, std::size_t &unique_id, bool &prev_bol)
 
 BOOST_SCOPED_ENUM (pass_flags) invoke_actions(std
 
std::size_t get_state () const
 
void set_state (std::size_t)
 
void set_end (Iterator const &it)
 
Iterator & get_first ()
 
Iterator const & get_first () const
 
Iterator const & get_last () const
 
iterator_range< Iterator > get_value () const
 
bool has_value () const
 
void reset_value ()
 
void reset_bol (bool bol)
 

Protected Types

typedef
boost::detail::iterator_traits
< Iterator >::value_type 
char_type
 

Protected Attributes

Iterator & first_
 
Iterator last_
 
boost::lexer::basic_state_machine
< char_type > const & 
state_machine_
 
boost::lexer::basic_rules
< char_type > const & 
rules_
 
bool bol_
 

Member Typedef Documentation

template<typename Iterator , typename TokenValue >
typedef Iterator boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::base_iterator_type
template<typename Iterator , typename TokenValue >
typedef boost::detail::iterator_traits<Iterator>::value_type boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::char_type
protected
template<typename Iterator , typename TokenValue >
typedef unused_type boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_state_name_type
template<typename Iterator , typename TokenValue >
typedef token_value_type boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_value_type
template<typename Iterator , typename TokenValue >
typedef unused_type boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::next_token_functor
template<typename Iterator , typename TokenValue >
typedef unused_type boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::semantic_actions_type
template<typename Iterator , typename TokenValue >
typedef char_type const* boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::state_name_type
template<typename Iterator , typename TokenValue >
typedef std::size_t boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::state_type
template<typename Iterator , typename TokenValue >
typedef iterator_range<Iterator> boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::token_value_type
template<typename Iterator , typename TokenValue >
typedef detail::wrap_action<unused_type, Iterator, data, std::size_t> boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::wrap_action_type

Constructor & Destructor Documentation

template<typename Iterator , typename TokenValue >
template<typename IterData >
boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::data ( IterData const &  data_,
Iterator &  first,
Iterator const &  last 
)
inline

Member Function Documentation

template<typename Iterator , typename TokenValue >
bool boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::adjust_start ( )
inline
template<typename Iterator , typename TokenValue >
boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::BOOST_SCOPED_ENUM ( pass_flags  )
inline
template<typename Iterator , typename TokenValue >
Iterator const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_eoi ( ) const
inline
template<typename Iterator , typename TokenValue >
Iterator& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_first ( )
inline
template<typename Iterator , typename TokenValue >
Iterator const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_first ( ) const
inline
template<typename Iterator , typename TokenValue >
Iterator const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_last ( ) const
inline
template<typename Iterator , typename TokenValue >
std::size_t boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_state ( ) const
inline
template<typename Iterator , typename TokenValue >
std::size_t boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_state_id ( char_type const *  ) const
inline
template<typename Iterator , typename TokenValue >
char_type const* boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_state_name ( ) const
inline
template<typename Iterator , typename TokenValue >
iterator_range<Iterator> boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::get_value ( ) const
inline
template<typename Iterator , typename TokenValue >
bool boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::has_value ( ) const
inline
template<typename Iterator , typename TokenValue >
Iterator const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::less ( Iterator const &  it,
int   
)
inline

References BOOST_ASSERT, and boost::it.

template<typename Iterator , typename TokenValue >
bool boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::lookahead ( std::size_t  ,
std::size_t  = std::size_t(~0) 
)
inline

References BOOST_ASSERT.

template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::more ( )
inline

References BOOST_ASSERT.

template<typename Iterator , typename TokenValue >
std::size_t boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::next ( Iterator &  end,
std::size_t &  unique_id,
bool &  prev_bol 
)
inline
template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::reset_bol ( bool  bol)
inline

References boost::xpressive::bol.

template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::reset_value ( )
inline
template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::revert_adjust_start ( )
inline
template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::set_end ( Iterator const &  it)
inline
template<typename Iterator , typename TokenValue >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::set_state ( std::size_t  )
inline
template<typename Iterator , typename TokenValue >
template<typename Char >
void boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::set_state_name ( Char const *  )
inline

Member Data Documentation

template<typename Iterator , typename TokenValue >
bool boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::bol_
protected
template<typename Iterator , typename TokenValue >
Iterator& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::first_
protected
template<typename Iterator , typename TokenValue >
Iterator boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::last_
protected
template<typename Iterator , typename TokenValue >
boost::lexer::basic_rules<char_type> const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::rules_
protected
template<typename Iterator , typename TokenValue >
boost::lexer::basic_state_machine<char_type> const& boost::spirit::lex::lexertl::detail::data< Iterator, mpl::false_, mpl::false_, TokenValue >::state_machine_
protected

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