/usr/include/boost/spirit/home/qi/detail
NameSizeModeActions
alternative_function.hpp71910644editdlrm
assign_to.hpp132980644editdlrm
attributes.hpp46110644editdlrm
construct.hpp60990644editdlrm
enable_lit.hpp8970644editdlrm
expectation_failure.hpp11710644editdlrm
expect_function.hpp37330644editdlrm
fail_function.hpp18730644editdlrm
parse.hpp35500644editdlrm
parse_auto.hpp40870644editdlrm
pass_container.hpp159310644editdlrm
pass_function.hpp22380644editdlrm
permute_function.hpp22510644editdlrm
string_parse.hpp28660644editdlrm
unused_skipper.hpp17390644editdlrm
Edit: /usr/include/boost/spirit/home/qi/detail/parse.hpp (3550B)
/*============================================================================= Copyright (c) 2001-2011 Hartmut Kaiser Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #if !defined(BOOST_SPIRIT_DETAIL_PARSE_DEC_02_2009_0411PM) #define BOOST_SPIRIT_DETAIL_PARSE_DEC_02_2009_0411PM #if defined(_MSC_VER) #pragma once #endif #include #include #include #include #include #include namespace boost { namespace spirit { namespace qi { namespace detail { /////////////////////////////////////////////////////////////////////////// template struct parse_impl { // Report invalid expression error as early as possible. // If you got an error_invalid_expression error message here, // then the expression (expr) is not a valid spirit qi expression. // Did you intend to use the auto_ facilities while forgetting to // #include ? BOOST_SPIRIT_ASSERT_MATCH(qi::domain, Expr); }; template struct parse_impl >::type> { template static bool call( Iterator& first , Iterator last , Expr const& expr) { return compile(expr).parse( first, last, unused, unused, unused); } }; /////////////////////////////////////////////////////////////////////////// template struct phrase_parse_impl { // Report invalid expression error as early as possible. // If you got an error_invalid_expression error message here, // then the expression (expr) is not a valid spirit qi expression. // Did you intend to use the auto_ facilities while forgetting to // #include ? BOOST_SPIRIT_ASSERT_MATCH(qi::domain, Expr); }; template struct phrase_parse_impl >::type> { template static bool call( Iterator& first , Iterator last , Expr const& expr , Skipper const& skipper , BOOST_SCOPED_ENUM(skip_flag) post_skip) { // Report invalid expression error as early as possible. // If you got an error_invalid_expression error message here, // then the skipper is not a valid spirit qi expression. BOOST_SPIRIT_ASSERT_MATCH(qi::domain, Skipper); typedef typename result_of::compile::type skipper_type; skipper_type const skipper_ = compile(skipper); if (!compile(expr).parse( first, last, unused, skipper_, unused)) return false; if (post_skip == skip_flag::postskip) qi::skip_over(first, last, skipper_); return true; } }; }}}} #endif