Wire Sysio Wire Sysion 1.0.0
|
#include <clara.hpp>
Public Member Functions | |
template<typename T > | |
ParserRefImpl (T &ref, std::string const &hint) | |
template<typename LambdaT > | |
ParserRefImpl (LambdaT const &ref, std::string const &hint) | |
auto | operator() (std::string const &description) -> DerivedT & |
auto | optional () -> DerivedT & |
auto | required () -> DerivedT & |
auto | isOptional () const -> bool |
auto | cardinality () const -> size_t override |
auto | hint () const -> std::string |
Public Member Functions inherited from clara::detail::ComposableParserImpl< DerivedT > | |
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 |
auto | parse (Args const &args) const -> InternalParseResult |
Protected Member Functions | |
ParserRefImpl (std::shared_ptr< BoundRef > const &ref) | |
Protected Attributes | |
Optionality | m_optionality = Optionality::Optional |
std::shared_ptr< BoundRef > | m_ref |
std::string | m_hint |
std::string | m_description |
|
inlineexplicitprotected |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from clara::detail::ParserBase.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |