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 Namespace Reference

Namespaces

 detail
 
 lexertl
 

Classes

struct  action
 
struct  char_token_def
 
struct  domain
 
struct  eoi_getter
 
struct  less_type
 
class  lexer
 
struct  lexer_type
 
struct  lookahead_type
 
struct  make_composite
 
struct  make_composite< proto::tag::bitwise_or, Elements, Modifiers >
 
struct  make_primitive
 
struct  make_primitive< char const (&)[2], Modifiers >
 
struct  make_primitive< char, Modifiers >
 
struct  make_primitive< T, Modifiers, typename enable_if< traits::is_string< T > >::type >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::char_, CharEncoding >, fusion::vector1< A0 > >, Modifiers >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::char_, CharEncoding >, fusion::vector1< Char(&)[2]> >, Modifiers >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::char_, CharEncoding >, fusion::vector2< A0, A1 > >, Modifiers >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::char_, CharEncoding >, fusion::vector2< Char(&)[2], A1 > >, Modifiers >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::string, CharEncoding >, fusion::vector1< A0 > >, Modifiers >
 
struct  make_primitive< terminal_ex< tag::char_code< tag::string, CharEncoding >, fusion::vector2< A0, A1 > >, Modifiers >
 
struct  make_primitive< wchar_t const (&)[2], Modifiers >
 
struct  make_primitive< wchar_t, Modifiers >
 
struct  match_flags
 
struct  more_type
 
struct  nary_lexer
 
struct  primitive_lexer
 
struct  reference
 
struct  reference< Subject, unused_type >
 
struct  sequence
 
struct  state_context
 
struct  state_getter
 
struct  state_setter
 
struct  string_token_def
 
struct  token_def
 
struct  unary_lexer
 
struct  value_context
 
struct  value_getter
 
struct  value_setter
 

Typedefs

typedef phoenix::arg_names::_1_type _start_type
 
typedef phoenix::arg_names::_2_type _end_type
 
typedef phoenix::arg_names::_4_type _tokenid_type
 
typedef phoenix::actor
< value_context
_val_type
 
typedef phoenix::actor
< state_context
_state_type
 
typedef phoenix::actor
< eoi_getter
_eoi_type
 
typedef spirit::omit_type omit
 

Enumerations

enum  tokenids { min_token_id = 0x10000 }
 

Functions

 BOOST_SCOPED_ENUM_START (pass_flags)
 
template<typename T >
expression::less< typename
phoenix::as_actor< T >::type >
::type const 
less (T const &v)
 
phoenix::actor< more_typemore ()
 
template<typename T >
expression::lookahead
< typename phoenix::as_actor
< T >::type, typename
phoenix::as_actor< std::size_t >
::type >::type const 
lookahead (T const &id)
 
template<typename Attribute , typename Char , typename Idtype >
expression::lookahead
< typename phoenix::as_actor
< Idtype >::type, typename
phoenix::as_actor< std::size_t >
::type >::type const 
lookahead (token_def< Attribute, Char, Idtype > const &tok)
 
 BOOST_SCOPED_ENUM (pass_flags) ignore()
 
template<typename Iterator , typename Lexer , typename ParserExpr >
bool tokenize_and_parse (Iterator &first, Iterator last, Lexer const &lex, ParserExpr const &xpr)
 
template<typename Iterator , typename Lexer , typename ParserExpr , typename Attribute >
bool tokenize_and_parse (Iterator &first, Iterator last, Lexer const &lex, ParserExpr const &xpr, Attribute &attr)
 
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper >
bool tokenize_and_phrase_parse (Iterator &first, Iterator last, Lexer const &lex, ParserExpr const &xpr, Skipper const &skipper, BOOST_SCOPED_ENUM(skip_flag) post_skip=skip_flag::postskip)
 
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper , typename Attribute >
bool tokenize_and_phrase_parse (Iterator &first, Iterator last, Lexer const &lex, ParserExpr const &xpr, Skipper const &skipper, BOOST_SCOPED_ENUM(skip_flag) post_skip, Attribute &attr)
 
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper , typename Attribute >
bool tokenize_and_phrase_parse (Iterator &first, Iterator last, Lexer const &lex, ParserExpr const &xpr, Skipper const &skipper, Attribute &attr)
 
template<typename Iterator , typename Lexer , typename F >
bool tokenize (Iterator &first, Iterator last, Lexer const &lex, F f, typename Lexer::char_type const *initial_state=0)
 
template<typename Iterator , typename Lexer >
bool tokenize (Iterator &first, Iterator last, Lexer const &lex, typename Lexer::char_type const *initial_state=0)
 

Variables

_start_type const _start = _start_type()
 
_end_type const _end = _end_type()
 
_tokenid_type const _tokenid = _tokenid_type()
 
_val_type const _val = _val_type()
 
_state_type const _state = _state_type()
 
_eoi_type const _eoi = _eoi_type()
 

Typedef Documentation

typedef phoenix::arg_names::_2_type boost::spirit::lex::_end_type
typedef phoenix::arg_names::_1_type boost::spirit::lex::_start_type
typedef phoenix::arg_names::_4_type boost::spirit::lex::_tokenid_type
typedef spirit::omit_type boost::spirit::lex::omit

Enumeration Type Documentation

Enumerator
min_token_id 

Function Documentation

boost::spirit::lex::BOOST_SCOPED_ENUM_START ( pass_flags  )
template<typename T >
expression::less< typename phoenix::as_actor<T>::type >::type const boost::spirit::lex::less ( T const &  v)
inline
template<typename T >
expression::lookahead< typename phoenix::as_actor<T>::type , typename phoenix::as_actor<std::size_t>::type >::type const boost::spirit::lex::lookahead ( T const &  id)
inline
template<typename Attribute , typename Char , typename Idtype >
expression::lookahead< typename phoenix::as_actor<Idtype>::type , typename phoenix::as_actor<std::size_t>::type >::type const boost::spirit::lex::lookahead ( token_def< Attribute, Char, Idtype > const &  tok)
inline
phoenix::actor<more_type> boost::spirit::lex::more ( )
inline
template<typename Iterator , typename Lexer , typename F >
bool boost::spirit::lex::tokenize ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
f,
typename Lexer::char_type const *  initial_state = 0 
)
inline
template<typename Iterator , typename Lexer >
bool boost::spirit::lex::tokenize ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
typename Lexer::char_type const *  initial_state = 0 
)
inline
template<typename Iterator , typename Lexer , typename ParserExpr >
bool boost::spirit::lex::tokenize_and_parse ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
ParserExpr const &  xpr 
)
inline
template<typename Iterator , typename Lexer , typename ParserExpr , typename Attribute >
bool boost::spirit::lex::tokenize_and_parse ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
ParserExpr const &  xpr,
Attribute &  attr 
)
inline
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper >
bool boost::spirit::lex::tokenize_and_phrase_parse ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
ParserExpr const &  xpr,
Skipper const &  skipper,
BOOST_SCOPED_ENUM(skip_flag)  post_skip = skip_flag::postskip 
)
inline
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper , typename Attribute >
bool boost::spirit::lex::tokenize_and_phrase_parse ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
ParserExpr const &  xpr,
Skipper const &  skipper,
BOOST_SCOPED_ENUM(skip_flag)  post_skip,
Attribute &  attr 
)
inline
template<typename Iterator , typename Lexer , typename ParserExpr , typename Skipper , typename Attribute >
bool boost::spirit::lex::tokenize_and_phrase_parse ( Iterator &  first,
Iterator  last,
Lexer const &  lex,
ParserExpr const &  xpr,
Skipper const &  skipper,
Attribute &  attr 
)
inline

Variable Documentation

_eoi_type const boost::spirit::lex::_eoi = _eoi_type()
_start_type const boost::spirit::lex::_start = _start_type()
_state_type const boost::spirit::lex::_state = _state_type()
_tokenid_type const boost::spirit::lex::_tokenid = _tokenid_type()
_val_type const boost::spirit::lex::_val = _val_type()

Referenced by v2_eval().