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()
218 CmdlineParser::Builder& IntoIgnore() { in IntoIgnore()
284 friend struct CmdlineParser::Builder;
287 ArgumentBuilder(CmdlineParser::Builder& parser, in ArgumentBuilder()
303 CmdlineParser::Builder& parent_;
352 Builder& IntoKey(const TVariantMapKey<Unit>& key) { in IntoKey()
408 friend struct Builder;
410 explicit UntypedArgumentBuilder(CmdlineParser::Builder& parent) : parent_(parent) {} in UntypedArgumentBuilder()
413 CmdlineParser::Builder& parent_;
421 struct Builder { struct
422 Builder() : save_destination_(new SaveDestination()) {} in Builder() function
429 Builder& ClearCategory() { in ClearCategory() argument
434 Builder& SetCategory(const char* sv) { in SetCategory() argument
439 Builder& OrderCategories(std::vector<const char*> categories) { in OrderCategories() argument
453 Builder& IgnoreUnrecognized(bool ignore_unrecognized) { in IgnoreUnrecognized() argument
459 Builder& Ignore(std::initializer_list<const char*> ignore_list) { in Ignore() argument
510 Builder(const Builder& other) = delete;
580 friend struct Builder;
703 CmdlineParser<TVariantMap, TVariantMapKey>::Builder& parent) { in CreateArgumentBuilder()
712 CmdlineParser<TVariantMap, TVariantMapKey>::Builder& builder, in AppendCompletedArgument()