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

Method PreviousSiblingElement

deps/tinyxml2/tinyxml2.cpp:998–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996
997
998const XMLElement* XMLNode::PreviousSiblingElement( const char* name ) const
999{
1000 for( const XMLNode* node = _prev; node; node = node->_prev ) {
1001 const XMLElement* element = node->ToElementWithName( name );
1002 if ( element ) {
1003 return element;
1004 }
1005 }
1006 return 0;
1007}
1008
1009
1010char* XMLNode::ParseDeep( char* p, StrPair* parentEndTag, int* curLineNumPtr )

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected