Lines Matching defs:CmdlineParseArgument
357 struct CmdlineParseArgument : CmdlineParseArgumentAny { struct
358 CmdlineParseArgument(CmdlineParserArgumentInfo<TArg>&& argument_info, in CmdlineParseArgument() argument
366 using UserTypeInfo = CmdlineType<TArg>;
368 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) { in ParseArgument()
436 virtual void DumpHelp(VariableIndentationOutputStream& os) { in DumpHelp()
440 virtual const std::optional<const char*>& GetCategory() { in GetCategory()
445 virtual CmdlineResult ParseArgumentSingle(const std::string& argument) { in ParseArgumentSingle()
531 virtual const char* GetTypeName() const { in GetTypeName()
541 virtual std::pair<size_t, size_t> GetNumTokens() const { in GetNumTokens()
546 virtual size_t MaybeMatches(const TokenRange& tokens) { in MaybeMatches()
551 CmdlineResult SaveArgument(const TArg& value) { in SaveArgument()
560 CmdlineParserArgumentInfo<TArg> argument_info_;
561 std::function<void(TArg&)> save_argument_;
562 std::function<TArg&(void)> load_argument_;