![]() |
Home | Libraries | People | FAQ | More |
boost::parser::search_all_view
// In header: <boost/parser/search.hpp> template<std::ranges::viewable_range V, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> struct search_all_view { // member classes/structs/unions template<bool Const> struct iterator { // types typedef unspecified I; typedef unspecified S; typedef unspecified base_type; // public member functions iterator() = default; iterator(unspecified); constexpr iterator & operator++(); constexpr BOOST_PARSER_SUBRANGE< I > operator*() const; }; template<bool Const> struct sentinel { }; // public member functions search_all_view() = default; search_all_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, parser_interface< SkipParser > const &, trace = trace::off); search_all_view(V, parser_interface< Parser, GlobalState, ErrorHandler > const &, trace = trace::off); constexpr V base() const; constexpr V base(); constexpr auto begin(); constexpr auto end(); constexpr auto begin() const; constexpr auto end() const; };
Produces a sequence of subranges of the underlying sequence of type V
. Each subrange is a nonoverlapping match of the given parser, using a skip-parser if provided.
search_all_view
public member functionssearch_all_view() = default;
search_all_view(V base, parser_interface< Parser, GlobalState, ErrorHandler > const & parser, parser_interface< SkipParser > const & skip, trace trace_mode = trace::off);
search_all_view(V base, parser_interface< Parser, GlobalState, ErrorHandler > const & parser, trace trace_mode = trace::off);
constexpr V base() const;
constexpr V base();
constexpr auto begin();
constexpr auto end();
constexpr auto begin() const;
constexpr auto end() const;