Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
clara::detail::ComposableParserImpl< DerivedT > Class Template Reference

#include <clara.hpp>

Inheritance diagram for clara::detail::ComposableParserImpl< DerivedT >:
Collaboration diagram for clara::detail::ComposableParserImpl< DerivedT >:

Public Member Functions

template<typename T >
auto operator| (T const &other) const -> Parser
 
template<typename T >
auto operator+ (T const &other) const -> Parser
 
- Public Member Functions inherited from clara::detail::ParserBase
virtual ~ParserBase ()=default
 
virtual auto validate () const -> Result
 
virtual auto parse (std::string const &exeName, TokenStream const &tokens) const -> InternalParseResult=0
 
virtual auto cardinality () const -> size_t
 
auto parse (Args const &args) const -> InternalParseResult
 

Detailed Description

template<typename DerivedT>
class clara::detail::ComposableParserImpl< DerivedT >

Definition at line 822 of file clara.hpp.

Member Function Documentation

◆ operator+()

template<typename DerivedT >
template<typename T >
auto clara::detail::ComposableParserImpl< DerivedT >::operator+ ( T const & other) const -> Parser

◆ operator|()

template<typename DerivedT >
template<typename T >
auto clara::detail::ComposableParserImpl< DerivedT >::operator| ( T const & other) const -> Parser

Definition at line 1234 of file clara.hpp.

1234 {
1235 return Parser() | static_cast<DerivedT const &>( *this ) | other;
1236 }

The documentation for this class was generated from the following file: