Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template transform_directive

boost::parser::transform_directive

Synopsis

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

template<typename F> 
struct transform_directive {

  // public member functions
  template<typename Parser> 
    auto operator[](parser_interface< Parser >) const noexcept;

  // public data members
  F f_;
};

Description

A directive that transforms the attribute generated by a parser. operator[] returns a parser_interface<transform_parser<Parser, F>>.

transform_directive public member functions

  1. template<typename Parser> 
      auto operator[](parser_interface< Parser > rhs) const noexcept;

PrevUpHomeNext