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

Method LastChildElement

native/thirdpart/tinyxml2/tinyxml2.cpp:1006–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004
1005
1006const XMLElement* XMLNode::LastChildElement( const char* name ) const
1007{
1008 for( const XMLNode* node = _lastChild; node; node = node->_prev ) {
1009 const XMLElement* element = node->ToElementWithName( name );
1010 if ( element ) {
1011 return element;
1012 }
1013 }
1014 return 0;
1015}
1016
1017
1018const XMLElement* XMLNode::NextSiblingElement( const char* name ) const

Callers 2

append_elementFunction · 0.80
LastChildElementFunction · 0.80

Calls 1

ToElementWithNameMethod · 0.80

Tested by

no test coverage detected