6 #if !defined(BOOST_SPIRIT_REPOSITORY_QI_ITER_POS_NOV_20_2009_1245PM) 7 #define BOOST_SPIRIT_REPOSITORY_QI_ITER_POS_NOV_20_2009_1245PM 9 #include <boost/spirit/include/qi_parse.hpp> 13 namespace boost {
namespace spirit {
namespace repository {
namespace qi
15 BOOST_SPIRIT_TERMINAL(iter_pos)
20 namespace boost {
namespace spirit
25 struct use_terminal<qi::domain, repository::qi::tag::iter_pos>
32 namespace boost {
namespace spirit {
namespace repository {
namespace qi
35 : boost::spirit::qi::primitive_parser<iter_pos_parser>
38 template <
typename Context,
typename Iterator>
45 template <
typename Iterator,
typename Context
46 ,
typename Skipper,
typename Attribute>
48 , Context&, Skipper
const& skipper, Attribute& attr)
const 50 boost::spirit::qi::skip_over(first, last, skipper);
51 boost::spirit::traits::assign_to(first, attr);
57 template <
typename Context>
58 boost::spirit::info
what(Context&)
const 60 return boost::spirit::info(
"iter_pos");
67 namespace boost {
namespace spirit {
namespace qi
71 template <
typename Modifiers>
72 struct make_primitive<repository::qi::tag::iter_pos, Modifiers>
SkipperGrammar< IteratorT > Skipper
result_type operator()(unused_type, unused_type) const
repository::qi::iter_pos_parser result_type
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator
boost::spirit::info what(Context &) const
bool parse(Iterator &first, Iterator const &last, Context &, Skipper const &skipper, Attribute &attr) const