Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function _val

boost::parser::_val

Synopsis

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


decltype(auto) _val(Context const & context);

Description

Returns a reference to the attribute(s) (i.e. return value) of the bottommost parser; multiple attributes will be stored within a parser::tuple. You may write to this value in a semantic action to control what attribute value(s) the associated parser produces. Returns none if the bottommost parser does produce an attribute.


PrevUpHomeNext