• Home
  • Raw
  • Download

Lines Matching refs:Arg

37 void ArgList::append(Arg *A) {  in append()
43 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
47 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { in getLastArgNoClaim()
55 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArgNoClaim()
64 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
74 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
84 Arg *ArgList::getLastArg(OptSpecifier Id) const { in getLastArg()
85 Arg *Res = nullptr; in getLastArg()
96 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArg()
97 Arg *Res = nullptr; in getLastArg()
110 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
112 Arg *Res = nullptr; in getLastArg()
125 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
127 Arg *Res = nullptr; in getLastArg()
141 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
144 Arg *Res = nullptr; in getLastArg()
159 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
162 Arg *Res = nullptr; in getLastArg()
178 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
182 Arg *Res = nullptr; in getLastArg()
199 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, in getLastArg()
203 Arg *Res = nullptr; in getLastArg()
222 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
229 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
236 if (Arg *A = getLastArg(Id)) in getLastArgValue()
248 if (Arg *A = getLastArg(Id)) { in AddLastArg()
256 if (Arg *A = getLastArg(Id0, Id1)) { in AddLastArg()
264 for (const Arg *Arg : Args) { in AddAllArgs() local
266 if (Arg->getOption().matches(Id)) { in AddAllArgs()
267 Arg->claim(); in AddAllArgs()
268 Arg->render(*this, Output); in AddAllArgs()
279 for (auto Arg: filtered(Id0, Id1, Id2)) { in AddAllArgs() local
280 Arg->claim(); in AddAllArgs()
281 Arg->render(*this, Output); in AddAllArgs()
287 for (auto Arg : filtered(Id0, Id1, Id2)) { in AddAllArgValues() local
288 Arg->claim(); in AddAllArgValues()
289 const auto &Values = Arg->getValues(); in AddAllArgValues()
297 for (auto Arg: filtered(Id0)) { in AddAllArgsTranslated() local
298 Arg->claim(); in AddAllArgsTranslated()
302 Arg->getValue(0))); in AddAllArgsTranslated()
305 Output.push_back(Arg->getValue(0)); in AddAllArgsTranslated()
311 for (auto Arg : filtered(Id0)) in ClaimAllArgs() local
312 Arg->claim(); in ClaimAllArgs()
333 for (Arg *A : *this) { in print()
345 for (Arg *A : *this) in releaseMemory()
387 void DerivedArgList::AddSynthesizedArg(Arg *A) { in AddSynthesizedArg()
388 SynthesizedArgs.push_back(std::unique_ptr<Arg>(A)); in AddSynthesizedArg()
391 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const { in MakeFlagArg()
393 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg()
398 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg()
402 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg()
407 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg()
411 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg()
416 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt, in MakeJoinedArg()
419 SynthesizedArgs.push_back(make_unique<Arg>( in MakeJoinedArg()