MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / PreviousSiblingElement

Method PreviousSiblingElement

src/xml/tinyxml2.cpp:776–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774
775
776const XMLElement* XMLNode::PreviousSiblingElement( const char* value ) const {
777 for( XMLNode* node=_prev; node; node = node->_prev ) {
778 const XMLElement* element = node->ToElement();
779 if ( element
780 && (!value || XMLUtil::StringEqual( value, node->Value() ))) {
781 return element;
782 }
783 }
784 return 0;
785}
786
787
788char* XMLNode::ParseDeep( char* p, StrPair* parentEnd ) {

Callers 1

PreviousSiblingElementFunction · 0.80

Calls 1

ValueMethod · 0.80

Tested by

no test coverage detected