Lines Matching refs:Arg
39 void ArgList::append(Arg *A) { in append()
45 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
49 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { in getLastArgNoClaim()
57 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArgNoClaim()
66 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
76 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
86 Arg *ArgList::getLastArg(OptSpecifier Id) const { in getLastArg()
87 Arg *Res = nullptr; in getLastArg()
98 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArg()
99 Arg *Res = nullptr; in getLastArg()
112 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
114 Arg *Res = nullptr; in getLastArg()
127 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
129 Arg *Res = nullptr; in getLastArg()
143 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
146 Arg *Res = nullptr; in getLastArg()
161 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
164 Arg *Res = nullptr; in getLastArg()
180 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
184 Arg *Res = nullptr; in getLastArg()
201 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
205 Arg *Res = nullptr; in getLastArg()
224 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
231 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
238 if (Arg *A = getLastArg(Id)) in getLastArgValue()
250 if (Arg *A = getLastArg(Id)) { in AddLastArg()
258 if (Arg *A = getLastArg(Id0, Id1)) { in AddLastArg()
266 for (auto Arg: filtered(Id0, Id1, Id2)) { in AddAllArgs() local
267 Arg->claim(); in AddAllArgs()
268 Arg->render(*this, Output); in AddAllArgs()
274 for (auto Arg : filtered(Id0, Id1, Id2)) { in AddAllArgValues() local
275 Arg->claim(); in AddAllArgValues()
276 const auto &Values = Arg->getValues(); in AddAllArgValues()
284 for (auto Arg: filtered(Id0)) { in AddAllArgsTranslated() local
285 Arg->claim(); in AddAllArgsTranslated()
289 Arg->getValue(0))); in AddAllArgsTranslated()
292 Output.push_back(Arg->getValue(0)); in AddAllArgsTranslated()
298 for (auto Arg : filtered(Id0)) in ClaimAllArgs() local
299 Arg->claim(); in ClaimAllArgs()
367 void DerivedArgList::AddSynthesizedArg(Arg *A) { in AddSynthesizedArg()
368 SynthesizedArgs.push_back(std::unique_ptr<Arg>(A)); in AddSynthesizedArg()
371 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const { in MakeFlagArg()
373 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg()
378 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg()
382 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg()
387 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg()
391 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg()
396 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt, in MakeJoinedArg()
399 SynthesizedArgs.push_back(make_unique<Arg>( in MakeJoinedArg()