Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::clara::detail::ParserBase Class Referenceabstract

#include <clara.hpp>

Inheritance diagram for Catch::clara::detail::ParserBase:

Public Member Functions

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

Definition at line 809 of file clara.hpp.

Constructor & Destructor Documentation

◆ ~ParserBase()

virtual Catch::clara::detail::ParserBase::~ParserBase ( )
virtualdefault

Member Function Documentation

◆ cardinality()

virtual auto Catch::clara::detail::ParserBase::cardinality ( ) const -> size_t
inlinevirtual

◆ parse() [1/2]

auto Catch::clara::detail::ParserBase::parse ( Args const & args) const -> InternalParseResult
inline

Definition at line 816 of file clara.hpp.

816 {
817 return parse( args.exeName(), TokenStream( args ) );
818 }
virtual auto parse(std::string const &exeName, TokenStream const &tokens) const -> InternalParseResult=0
Here is the call graph for this function:

◆ parse() [2/2]

virtual auto Catch::clara::detail::ParserBase::parse ( std::string const & exeName,
TokenStream const & tokens ) const -> InternalParseResult
pure virtual

Implemented in Catch::clara::detail::Arg, Catch::clara::detail::ExeName, Catch::clara::detail::Opt, and Catch::clara::detail::Parser.

Here is the caller graph for this function:

◆ validate()

virtual auto Catch::clara::detail::ParserBase::validate ( ) const -> Result
inlinevirtual

Reimplemented in Catch::clara::detail::Opt, and Catch::clara::detail::Parser.

Definition at line 812 of file clara.hpp.

812{ return Result::ok(); }
static auto ok() -> BasicResult
Definition clara.hpp:593
Here is the call graph for this function:
Here is the caller graph for this function:

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