Lines Matching full:pieces
496 MultiPiece(std::vector<Piece *> Pieces) in MultiPiece()
497 : Piece(MultiPieceClass), Pieces(std::move(Pieces)) {} in MultiPiece()
499 std::vector<Piece *> Pieces; member
579 /// Diagnostic text, parsed into pieces.
806 std::vector<std::pair<Piece *, ModifierMappingsType>> &Pieces) const { in gatherNodes()
810 return gatherNodes(Builder.getSubstitution(Sub), NewMappings, Pieces); in gatherNodes()
813 for (Piece *Node : MD->Pieces) in gatherNodes()
814 gatherNodes(Node, CurrentMappings, Pieces); in gatherNodes()
817 Pieces.push_back(std::make_pair(OrigP, CurrentMappings)); in gatherNodes()
821 if (P->Pieces.empty()) { in VisitMulti()
826 if (P->Pieces.size() == 1) in VisitMulti()
827 return Visit(P->Pieces[0]); in VisitMulti()
829 // Flatten the list of nodes, replacing any substitution pieces with the in VisitMulti()
831 std::vector<std::pair<Piece *, ModifierMappingsType>> Pieces; in VisitMulti() local
832 gatherNodes(P, ModifierMappings, Pieces); in VisitMulti()
837 for (const std::pair<Piece *, ModifierMappingsType> &NodePair : Pieces) { in VisitMulti()
923 FirstOption.Pieces.push_back(P->Parts[0]); in VisitDiff()
924 FirstOption.Pieces.push_back(&E); in VisitDiff()
925 FirstOption.Pieces.push_back(P->Parts[1]); in VisitDiff()
926 FirstOption.Pieces.push_back(&F); in VisitDiff()
927 FirstOption.Pieces.push_back(P->Parts[2]); in VisitDiff()
946 for (auto *Child : P->Pieces) in VisitMulti()
1180 MP->Pieces.push_back(D.Root); in buildForDocumentation()
1183 MP->Pieces.insert(MP->Pieces.begin(), Prefix); in buildForDocumentation()
1326 // Walk over all of the individual pieces of select text to see if any of in verifyDiagnosticWording()
1327 // them start with an invalid character. If any of the select pieces is in verifyDiagnosticWording()
1329 // whether that is invalid or not. If all of the pieces are fine, then we in verifyDiagnosticWording()
1382 // split it into pieces. in verifyDiagnosticWording()