Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template seq_parser

boost::parser::seq_parser

Synopsis

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

template<typename ParserTuple, typename BacktrackingTuple, 
         typename CombiningGroups> 
struct seq_parser {
};

Description

Applies each parser in ParserTuple, in order. The parse succeeds iff all of the sub-parsers succeed. The attribute produced is a std::tuple over the types of attribute produced by the parsers in ParserTuple. The BacktrackingTuple template parameter is a parser::tuple of std::bool_constant values. The ith such value indicates whether backtracking is allowed if the ith parser fails.


PrevUpHomeNext