MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / Accept

Method Accept

Source/3rdParty/tinyxml2/tinyxml2.cpp:508–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508bool XMLDocument::Accept(XMLVisitor* visitor) const {
509 if (visitor->VisitEnter(*this)) {
510 for (const XMLNode* node = FirstChild(); node; node = node->NextSibling()) {
511 if (!node->Accept(visitor)) {
512 break;
513 }
514 }
515 }
516 return visitor->VisitExit(*this);
517}
518
519// --------- XMLNode ----------- //
520

Callers 4

visitDTreeFunction · 0.45
parseMethod · 0.45
SchemaMethod · 0.45
AcceptFunction · 0.45

Calls 4

VisitMethod · 0.65
VisitEnterMethod · 0.45
NextSiblingMethod · 0.45
VisitExitMethod · 0.45

Tested by

no test coverage detected