#include <di/parser/combinator/optional.h>
|
template<typename P> |
constexpr | OptionalParser (InPlace, P &&parser) |
|
template<concepts::ParserContext Context, typename Value = meta::ParserValue<Context, Parser>>
requires (concepts::Parser<Parser, Context>) |
constexpr auto | parse (Context &context) const -> meta::ParserContextResult< Optional< Value >, Context > |
|
◆ OptionalParser()
template<typename Parser>
template<typename P>
◆ parse()
template<typename Parser>
template<concepts::ParserContext Context, typename Value = meta::ParserValue<Context, Parser>>
requires (concepts::Parser<Parser, Context>)
The documentation for this class was generated from the following file: