Iros
 
Loading...
Searching...
No Matches
alternation.h File Reference

Go to the source code of this file.

Classes

struct  di::parser::detail::AlternationParserMarker
 
class  di::parser::detail::AlternationParser< Parsers >
 
struct  di::parser::detail::AlternationFunction
 

Namespaces

namespace  di
 
namespace  di::parser
 
namespace  di::parser::detail
 

Functions

template<concepts::DecayConstructible Left, concepts::DecayConstructible Right>
requires (concepts::DerivedFrom<Left, ParserBase<Left>> && concepts::DerivedFrom<Right, ParserBase<Right>>)
constexpr auto di::parser::operator| (Left &&left, Right &&right)
 
template<concepts::DecayConstructible Left, concepts::DecayConstructible Right>
requires (concepts::DerivedFrom<Left, ParserBase<Left>> && concepts::DerivedFrom<Right, ParserBase<Right>> && !concepts::DerivedFrom<Left, detail::AlternationParserMarker> && concepts::DerivedFrom<Right, detail::AlternationParserMarker>)
constexpr auto di::parser::operator| (Left &&left, Right &&right)
 
template<concepts::DecayConstructible Left, concepts::DecayConstructible Right>
requires (concepts::DerivedFrom<Left, ParserBase<Left>> && concepts::DerivedFrom<Right, ParserBase<Right>> && concepts::DerivedFrom<Left, detail::AlternationParserMarker> && !concepts::DerivedFrom<Right, detail::AlternationParserMarker>)
constexpr auto di::parser::operator| (Left &&left, Right &&right)
 
template<concepts::DecayConstructible Left, concepts::DecayConstructible Right>
requires (concepts::DerivedFrom<Left, ParserBase<Left>> && concepts::DerivedFrom<Right, ParserBase<Right>> && concepts::DerivedFrom<Left, detail::AlternationParserMarker> && concepts::DerivedFrom<Right, detail::AlternationParserMarker>)
constexpr auto di::parser::operator| (Left &&left, Right &&right)
 

Variables

constexpr auto di::parser::alternation = detail::AlternationFunction {}