4.4.1
|
|
Freundlich's C++ toolkit |
Gives a parser a name, improving error messages.
Note that this parser is not polymorphic over multiple character types, since the character type is chosen by the string used to name the parser.
Public Types | |
using | result_type = fcppt::parse::result_of< Parser > |
Public Member Functions | |
named (Parser &&, std::basic_string< Ch > &&) | |
template<typename Skipper > | |
fcppt::parse::result< Ch, result_type > | parse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const |
using fcppt::parse::named< Ch, Parser >::result_type = fcppt::parse::result_of<Parser> |
fcppt::parse::named< Ch, Parser >::named | ( | Parser && | , |
std::basic_string< Ch > && | |||
) |
fcppt::parse::result< Ch, result_type > fcppt::parse::named< Ch, Parser >::parse | ( | fcppt::reference< fcppt::parse::basic_stream< Ch > > | , |
Skipper const & | |||
) | const |