Lines Matching refs:Builder
52 struct Builder; // Build the parser.
58 static ArgumentBuilder<TArg> CreateArgumentBuilder(Builder& parent);
59 static void AppendCompletedArgument(Builder& builder, detail::CmdlineParseArgumentAny* arg);
188 CmdlineParser::Builder& IntoKey(const MapKey& key) { in IntoKey()
215 CmdlineParser::Builder& IntoLocation(std::optional<TArg>* destination) { in IntoLocation()
236 CmdlineParser::Builder& IntoIgnore() { in IntoIgnore()
302 friend struct CmdlineParser::Builder;
305 ArgumentBuilder(CmdlineParser::Builder& parser, in ArgumentBuilder()
321 CmdlineParser::Builder& parent_;
370 Builder& IntoKey(const TVariantMapKey<Unit>& key) { in IntoKey()
426 friend struct Builder;
428 explicit UntypedArgumentBuilder(CmdlineParser::Builder& parent) : parent_(parent) {} in UntypedArgumentBuilder()
431 CmdlineParser::Builder& parent_;
439 struct Builder { struct
440 Builder() : save_destination_(new SaveDestination()) {} in Builder() argument
447 Builder& ClearCategory() { in ClearCategory() argument
452 Builder& SetCategory(const char* sv) { in SetCategory() argument
457 Builder& OrderCategories(std::vector<const char*> categories) { in OrderCategories() argument
471 Builder& IgnoreUnrecognized(bool ignore_unrecognized) { in IgnoreUnrecognized() argument
477 Builder& Ignore(std::initializer_list<const char*> ignore_list) { in Ignore() argument
528 Builder(const Builder& other) = delete;
598 friend struct Builder;
721 CmdlineParser<TVariantMap, TVariantMapKey>::Builder& parent) { in CreateArgumentBuilder()
730 CmdlineParser<TVariantMap, TVariantMapKey>::Builder& builder, in AppendCompletedArgument()