ark::core::ParseResult

Defined in header “ark/core/argument_parser.hh”.


A parsed result represents a parsed argument, which contains a reference to the original rule, along with any additional arguments that were provided.

Methods

  • ParseResult(ParserRulePtr parent)
    Constructor; initializes a new option result for the given rule.

Variables

  • ParserRuleCPtr rule
    The rule this result belongs to.

  • std::vector< std::string > arguments
    The arguments (if any). This will be empty if no argument is required.