![]() |
Home | Libraries | People | FAQ | More |
boost::parser::skip_directive
// In header: <boost/parser/parser.hpp> template<typename SkipParser> struct skip_directive { // public member functions template<typename Parser> (parser_interface< ) ; template<typename SkipParser2> (parser_interface< ) ; // public data members skip_parser_; };
Represents a skip parser as a directive. When used without a skip parser, e.g. skip[parser_in_which_to_do_skipping], the skipper for the entire parse is used. When given another parser, e.g. skip(skip_parser)[parser_in_which_to_do_skipping], that other parser is used as the skipper within the directive.
skip_directive public member functionstemplate<typename Parser> (parser_interface< rhs) ;
template<typename SkipParser2> (parser_interface< skip_parser) ;
Returns a skip_directive with skip_parser as its skipper.