Lines Matching refs:PHKind
30 builtinSubstMap[PHKind::Builder] = subst.str(); in withBuilder()
35 builtinSubstMap[PHKind::Op] = subst.str(); in withOp()
40 builtinSubstMap[PHKind::Self] = subst.str(); in withSelf()
45 FmtContext::getSubstFor(FmtContext::PHKind placeholder) const { in getSubstFor()
46 if (placeholder == FmtContext::PHKind::None || in getSubstFor()
47 placeholder == FmtContext::PHKind::Custom) in getSubstFor()
62 FmtContext::PHKind FmtContext::getPlaceHolderKind(StringRef str) { in getPlaceHolderKind()
63 return StringSwitch<FmtContext::PHKind>(str) in getPlaceHolderKind()
64 .Case("_builder", FmtContext::PHKind::Builder) in getPlaceHolderKind()
65 .Case("_op", FmtContext::PHKind::Op) in getPlaceHolderKind()
66 .Case("_self", FmtContext::PHKind::Self) in getPlaceHolderKind()
67 .Case("", FmtContext::PHKind::None) in getPlaceHolderKind()
68 .Default(FmtContext::PHKind::Custom); in getPlaceHolderKind()
146 if (repl.placeholder == FmtContext::PHKind::None) { in format()
153 if (repl.placeholder == FmtContext::PHKind::Custom) { in format()