PrevUpHomeNext

Macro BOOST_PARSER_DEFINE_RULES

BOOST_PARSER_DEFINE_RULES

Synopsis

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

BOOST_PARSER_DEFINE_RULES(...)

Description

For each given token t, defines a pair of parse_rule() overloads, used internally within Boost.Parser. Each such pair implements the parsing behavior rule t, using the parser t_def. This implementation is in the form of a pair of function templates. You should therefore write this macro only at namespace scope.


PrevUpHomeNext