Functions | |
| template<typename ContextT > | |
| bool | consider_emitting_line_directive (ContextT const &ctx, token_id id) |
| template<typename ContextT > | |
| bool | call_found_directive_hook (ContextT &ctx, typename ContextT::token_type const &found_directive) |
| template<typename ContextT , typename IteratorT > | |
| bool | next_token_is_pp_directive (ContextT &ctx, IteratorT &it, IteratorT const &end) |
| template<typename ContextT , typename IteratorT > | |
| bool | pp_is_last_on_line (ContextT &ctx, IteratorT &it, IteratorT const &end, bool call_hook=true) |
| template<typename ContextT , typename IteratorT > | |
| bool | skip_to_eol (ContextT &ctx, IteratorT &it, IteratorT const &end, bool call_hook=true) |
| template<typename ContextT , typename ContainerT > | |
| void | remove_leading_whitespace (ContextT &ctx, ContainerT &c, bool call_hook=true) |
| template<typename StringT > | |
| StringT | trim_whitespace (StringT const &s) |
| template<typename IteratorT , typename StringT > | |
| bool | retrieve_line_info (IteratorT first, IteratorT const &last, unsigned int &line, StringT &file, boost::wave::preprocess_exception::error_code &error) |
| bool boost::wave::impl::impl::call_found_directive_hook | ( | ContextT & | ctx, |
| typename ContextT::token_type const & | found_directive | ||
| ) |
| bool boost::wave::impl::impl::consider_emitting_line_directive | ( | ContextT const & | ctx, |
| token_id | id | ||
| ) |
| bool boost::wave::impl::impl::next_token_is_pp_directive | ( | ContextT & | ctx, |
| IteratorT & | it, | ||
| IteratorT const & | end | ||
| ) |
References BOOST_ASSERT, boost::wave::util::impl::call_skipped_token_hook(), boost::wave::context_policies::util::ccomment_has_newline(), boost::end, boost::wave::EOFTokenType, boost::wave::EOLTokenType, IS_CATEGORY, boost::it, boost::wave::PPTokenType, boost::wave::T_CPPCOMMENT, boost::wave::T_UNKNOWN, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::pp_directive().
| bool boost::wave::impl::impl::pp_is_last_on_line | ( | ContextT & | ctx, |
| IteratorT & | it, | ||
| IteratorT const & | end, | ||
| bool | call_hook = true |
||
| ) |
References boost::wave::util::impl::call_skipped_token_hook(), boost::wave::context_policies::util::ccomment_has_newline(), boost::end, IS_CATEGORY, boost::it, boost::wave::T_CPPCOMMENT, boost::wave::T_NEWLINE, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::ensure_is_last_on_line(), boost::wave::impl::pp_iterator_functor< ContextT >::extract_identifier(), and boost::wave::impl::pp_iterator_functor< ContextT >::pp_directive().
|
inline |
| bool boost::wave::impl::impl::retrieve_line_info | ( | IteratorT | first, |
| IteratorT const & | last, | ||
| unsigned int & | line, | ||
| StringT & | file, | ||
| boost::wave::preprocess_exception::error_code & | error | ||
| ) |
References boost::wave::preprocess_exception::bad_line_filename, boost::wave::preprocess_exception::bad_line_number, boost::wave::preprocess_exception::bad_line_statement, boost::spirit::int_p, IS_CATEGORY, boost::last, boost::spirit::parse(), boost::wave::T_INTLIT, boost::wave::T_PP_NUMBER, boost::wave::T_STRINGLIT, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::on_line().
| bool boost::wave::impl::impl::skip_to_eol | ( | ContextT & | ctx, |
| IteratorT & | it, | ||
| IteratorT const & | end, | ||
| bool | call_hook = true |
||
| ) |
References boost::wave::util::impl::call_skipped_token_hook(), boost::wave::context_policies::util::ccomment_has_newline(), boost::end, boost::it, boost::wave::T_CPPCOMMENT, and boost::wave::T_NEWLINE.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::dispatch_directive(), boost::wave::impl::pp_iterator_functor< ContextT >::ensure_is_last_on_line(), boost::wave::impl::pp_iterator_functor< ContextT >::extract_identifier(), boost::wave::impl::pp_iterator_functor< ContextT >::on_elif(), boost::wave::impl::pp_iterator_functor< ContextT >::pp_directive(), and boost::wave::impl::pp_iterator_functor< ContextT >::skip_to_eol_with_check().
|
inline |
References boost::xpressive::first, and boost::last.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::on_include().