Functions | |
template<typename StringT > | |
bool | is_special_macroname (StringT const &name) |
template<typename TokenT > | |
bool | token_equals (TokenT const &left, TokenT const &right) |
template<typename ContainerT > | |
bool | definition_equals (ContainerT const &definition, ContainerT const &new_definition) |
template<typename ContainerT > | |
bool | parameters_equal (ContainerT const ¶meters, ContainerT const &new_parameters) |
template<typename ContainerT > | |
void | trim_replacement_list (ContainerT &replacement_list) |
template<typename ContainerT > | |
bool | is_whitespace_only (ContainerT const &argument) |
template<typename ContainerT > | |
void | remove_placeholders (ContainerT &replacement_list) |
template<typename ContainerT > | |
void | trim_sequence_left (ContainerT &argument) |
template<typename ContainerT > | |
void | trim_sequence_right (ContainerT &argument) |
template<typename ContainerT > | |
void | trim_sequence (ContainerT &argument) |
template<typename ContextT > | |
void | call_skipped_token_hook (ContextT &ctx, typename ContextT::token_type const &skipped) |
template<typename ContextT , typename IteratorT > | |
bool | skip_to_token (ContextT &ctx, IteratorT &it, IteratorT const &end, token_id id, bool &seen_newline) |
template<typename IteratorT > | |
std::string | get_full_name (IteratorT const &begin, IteratorT const &end) |
template<typename StringT > | |
bool | would_form_universal_char (StringT const &value) |
template<typename StringT > | |
bool | handle_identifier (boost::wave::token_id prev, boost::wave::token_id before, StringT const &value) |
bool | handle_intlit (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_floatlit (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_alt_leftbrace (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_alt_leftbracket (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_fixedpointlit (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_dot (boost::wave::token_id prev, boost::wave::token_id before) |
bool | handle_questionmark (boost::wave::token_id prev, boost::wave::token_id) |
bool | handle_newline (boost::wave::token_id prev, boost::wave::token_id before) |
bool | handle_parens (boost::wave::token_id prev) |
template<typename StringT > | |
StringT | escape_lit (StringT const &value) |
template<typename StringT > | |
StringT | unescape_lit (StringT const &value) |
template<typename ContainerT , typename PositionT > | |
ContainerT::value_type::string_type | as_stringlit (ContainerT const &token_sequence, PositionT const &pos) |
template<typename StringT , typename IteratorT > | |
StringT | as_string (IteratorT it, IteratorT const &end) |
template<typename ContainerT > | |
ContainerT::value_type::string_type | as_string (ContainerT const &token_sequence) |
template<typename IteratorT > | |
boost::wave::token_id | skip_whitespace (IteratorT &first, IteratorT const &last) |
template<typename IteratorT , typename ContainerT > | |
boost::wave::token_id | skip_whitespace (IteratorT &first, IteratorT const &last, ContainerT &queue) |
|
inline |
References boost::end, and boost::it.
Referenced by boost::wave::grammars::expression_grammar_gen< TokenT >::evaluate(), boost::wave::util::interpret_pragma(), boost::wave::impl::pp_iterator_functor< ContextT >::on_elif(), boost::wave::impl::pp_iterator_functor< ContextT >::on_error(), boost::wave::impl::pp_iterator_functor< ContextT >::on_if(), boost::wave::impl::pp_iterator_functor< ContextT >::on_include(), and boost::wave::impl::pp_iterator_functor< ContextT >::on_line().
|
inline |
|
inline |
References boost::end, escape_lit(), IS_CATEGORY, boost::it, boost::wave::T_CHARLIT, boost::wave::T_NEWLINE, boost::wave::T_PLACEMARKER, boost::wave::T_STRINGLIT, boost::wave::cpplexer::impl::validate_literal(), and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::util::macromap< ContextT >::expand_replacement_list().
void boost::wave::util::impl::call_skipped_token_hook | ( | ContextT & | ctx, |
typename ContextT::token_type const & | skipped | ||
) |
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::get_next_token(), boost::wave::impl::pp_iterator_functor< ContextT >::handle_pp_directive(), boost::wave::impl::impl::next_token_is_pp_directive(), boost::wave::impl::impl::pp_is_last_on_line(), boost::wave::impl::impl::remove_leading_whitespace(), and boost::wave::impl::impl::skip_to_eol().
|
inline |
|
inline |
References boost::program_options::value().
Referenced by as_stringlit(), boost::wave::impl::pp_iterator_functor< ContextT >::emit_line_directive(), boost::wave::util::macromap< ContextT >::expand_predefined_macro(), boost::wave::util::macromap< ContextT >::init_predefined_macros(), and boost::wave::impl::pp_iterator_functor< ContextT >::returned_from_include().
|
inline |
References boost::end.
Referenced by boost::wave::util::macromap< ContextT >::is_defined().
|
inline |
References boost::wave::T_LESS, and boost::wave::T_SHIFTLEFT.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
References boost::wave::T_LESS, and boost::wave::T_SHIFTLEFT.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
References boost::wave::T_DOT.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
|
inline |
|
inline |
References boost::wave::T_AND_ALT, boost::wave::T_ANDASSIGN_ALT, boost::wave::T_COMPL_ALT, boost::wave::T_FIXEDPOINTLIT, boost::wave::T_FLOATLIT, boost::wave::T_IDENTIFIER, boost::wave::T_INTLIT, boost::wave::T_NONREPLACABLE_IDENTIFIER, boost::wave::T_NOT_ALT, boost::wave::T_NOTEQUAL_ALT, boost::wave::T_OR_ALT, boost::wave::T_ORASSIGN_ALT, boost::wave::T_PP_NUMBER, boost::wave::T_XOR_ALT, boost::wave::T_XORASSIGN_ALT, TOKEN_FROM_ID, boost::wave::UnknownTokenType, and would_form_universal_char().
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
|
inline |
References boost::wave::T_DIVIDE, boost::wave::T_QUESTION_MARK, TOKEN_FROM_ID, and boost::wave::UnknownTokenType.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
References boost::wave::T_COLON, boost::wave::T_COMMA, boost::wave::T_LEFTBRACE, boost::wave::T_LEFTBRACKET, boost::wave::T_LEFTPAREN, boost::wave::T_RIGHTBRACE, boost::wave::T_RIGHTBRACKET, boost::wave::T_RIGHTPAREN, and boost::wave::T_SEMICOLON.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
References boost::wave::T_QUESTION_MARK, TOKEN_FROM_ID, and boost::wave::UnknownTokenType.
Referenced by boost::wave::util::insert_whitespace_detection::must_insert().
|
inline |
References boost::str().
Referenced by boost::wave::util::macromap< ContextT >::add_macro(), and boost::wave::util::macromap< ContextT >::remove_macro().
|
inline |
References boost::end, IS_CATEGORY, boost::it, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::util::macromap< ContextT >::collect_arguments(), and remove_placeholders().
|
inline |
Referenced by boost::wave::util::macromap< ContextT >::add_macro().
|
inline |
References boost::end, is_whitespace_only(), boost::it, boost::next(), boost::wave::T_PLACEHOLDER, boost::wave::T_PLACEMARKER, and trim_replacement_list().
Referenced by boost::wave::util::macromap< ContextT >::expand_argument(), and boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::expand_whole_tokensequence().
|
inline |
|
inline |
References boost::xpressive::first, IS_CATEGORY, boost::wave::util::impl::next_token< IteratorT >::peek(), and boost::wave::WhiteSpaceTokenType.
Referenced by definition_equals(), boost::wave::impl::pp_iterator_functor< ContextT >::extract_identifier(), boost::spirit::x3::error_handler< Iterator >::operator()(), boost::wave::util::impl::next_token< IteratorT >::peek(), and boost::wave::util::impl::next_token< unput_queue_iterator< IteratorT, TokenT, ContainerT > >::peek().
|
inline |
|
inline |
References boost::wave::AltExtTokenType, boost::wave::BoolLiteralTokenType, IS_CATEGORY, IS_EXTCATEGORY, boost::wave::KeywordTokenType, boost::wave::OperatorTokenType, boost::wave::ParameterTokenType, boost::wave::T_IDENTIFIER, and boost::wave::WhiteSpaceTokenType.
Referenced by definition_equals().
|
inline |
|
inline |
References trim_sequence_left(), and trim_sequence_right().
Referenced by boost::wave::util::macromap< ContextT >::expand_replacement_list().
|
inline |
References IS_CATEGORY, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::util::macromap< ContextT >::expand_replacement_list(), and trim_sequence().
|
inline |
References IS_CATEGORY, and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::util::macromap< ContextT >::expand_replacement_list(), and trim_sequence().
|
inline |
|
inline |
Referenced by handle_identifier().