MCPcopy Create free account
hub / github.com/avast/retdec / Accept

Method Accept

deps/tinyxml2/tinyxml2.cpp:748–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746
747
748bool XMLDocument::Accept( XMLVisitor* visitor ) const
749{
750 TIXMLASSERT( visitor );
751 if ( visitor->VisitEnter( *this ) ) {
752 for ( const XMLNode* node=FirstChild(); node; node=node->NextSibling() ) {
753 if ( !node->Accept( visitor ) ) {
754 break;
755 }
756 }
757 }
758 return visitor->VisitExit( *this );
759}
760
761
762// --------- XMLNode ----------- //

Callers 6

listArchitecturesJsonMethod · 0.80
printErrorJsonFunction · 0.80
printErrorFunction · 0.80
getJsonListMethod · 0.80
SchemaMethod · 0.80
AcceptFunction · 0.80

Calls 4

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

Tested by

no test coverage detected