MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / Accept

Method Accept

src/xml/tinyxml2.cpp:567–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565
566
567bool XMLDocument::Accept( XMLVisitor* visitor ) const {
568 TIXMLASSERT( visitor );
569 if ( visitor->VisitEnter( *this ) ) {
570 for ( const XMLNode* node=FirstChild(); node; node=node->NextSibling() ) {
571 if ( !node->Accept( visitor ) ) {
572 break;
573 }
574 }
575 }
576 return visitor->VisitExit( *this );
577}
578
579
580// --------- XMLNode ----------- //

Callers

nothing calls this directly

Calls 4

FirstChildFunction · 0.85
VisitEnterMethod · 0.80
VisitExitMethod · 0.80
VisitMethod · 0.80

Tested by

no test coverage detected