MCPcopy Create free account
hub / github.com/crossuo/crossuo / Accept

Method Accept

external/tinyxml2.cpp:758–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756
757
758bool XMLDocument::Accept( XMLVisitor* visitor ) const
759{
760 TIXMLASSERT( visitor );
761 if ( visitor->VisitEnter( *this ) ) {
762 for ( const XMLNode* node=FirstChild(); node; node=node->NextSibling() ) {
763 if ( !node->Accept( visitor ) ) {
764 break;
765 }
766 }
767 }
768 return visitor->VisitExit( *this );
769}
770
771
772// --------- 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