![]() |
Home | Libraries | People | FAQ | More |
boost::parser::delimited_seq_parser
// In header: <boost/parser/parser_fwd.hpp> template<typename Parser, typename DelimiterParser> struct delimited_seq_parser : public boost::parser::repeat_parser< Parser, DelimiterParser > { // public member functions delimited_seq_parser(Parser, DelimiterParser); };
Repeats the application of another parser p of type Parser, [1, Inf) times, applying a parser d of type DelimiterParser in between each pair of applications of p. The parse succeeds iff p succeeds at least once, and d succeeds each time it is applied. The attribute produced is a sequence of the type of attribute produced by Parser.