Lines Matching defs:DiagTextPrinter
939 struct DiagTextPrinter : DiagTextVisitor<DiagTextPrinter> { struct
941 using BaseTy = DiagTextVisitor<DiagTextPrinter>;
942 DiagTextPrinter(DiagnosticTextBuilder &Builder, std::string &Result) in DiagTextPrinter() argument
945 void VisitMulti(MultiPiece *P) { in VisitMulti()
949 void VisitText(TextPiece *P) { Result += P->Text; } in VisitText()
950 void VisitPlaceholder(PlaceholderPiece *P) { in VisitPlaceholder()
955 void VisitSelect(SelectPiece *P) { in VisitSelect()
971 void VisitPlural(PluralPiece *P) { in VisitPlural()
986 void VisitDiff(DiffPiece *P) { in VisitDiff()
1001 void addInt(int Val) { Result += std::to_string(Val); } in addInt()
1003 std::string &Result;