4.4.1
|
|
Freundlich's C++ toolkit |
Tries a parser repeatedly, producing a vector of results. Must produce at least one element.
This is identical to fcppt::parse::repetition, but it returns an error in case no results are produced.
Public Types | |
using | result_type = fcppt::parse::repetition_result< fcppt::parse::result_of< Parser > > |
Public Member Functions | |
repetition_plus (Parser &&) | |
template<typename Ch , typename Skipper > | |
fcppt::parse::result< Ch, result_type > | parse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const |
using fcppt::parse::repetition_plus< Parser >::result_type = fcppt::parse::repetition_result<fcppt::parse::result_of<Parser> > |
|
explicit |
fcppt::parse::result< Ch, result_type > fcppt::parse::repetition_plus< Parser >::parse | ( | fcppt::reference< fcppt::parse::basic_stream< Ch > > | , |
Skipper const & | |||
) | const |