MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Accept

Method Accept

native/thirdpart/tinyxml2/tinyxml2.cpp:780–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778
779
780bool XMLDocument::Accept( XMLVisitor* visitor ) const
781{
782 TIXMLASSERT( visitor );
783 if ( visitor->VisitEnter( *this ) ) {
784 for ( const XMLNode* node=FirstChild(); node; node=node->NextSibling() ) {
785 if ( !node->Accept( visitor ) ) {
786 break;
787 }
788 }
789 }
790 return visitor->VisitExit( *this );
791}
792
793
794// --------- 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