Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template delimited_seq_parser

boost::parser::delimited_seq_parser

Synopsis

// In header: <boost/parser/parser.hpp>

template<typename Parser, typename DelimiterParser> 
struct delimited_seq_parser : public  {

  // public member functions
  (Parser, DelimiterParser);
};

Description

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.

delimited_seq_parser public member functions

  1. (Parser parser, DelimiterParser delimiter_parser);

PrevUpHomeNext