MCPcopy Create free account
hub / github.com/MyGUI/mygui / _data

Method _data

UnitTests/TestApp/pugixml.cpp:5288–5298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5286 }
5287
5288 PUGI__FN xml_node_struct* xml_text::_data() const
5289 {
5290 if (!_root || impl::is_text_node(_root))
5291 return _root;
5292
5293 for (xml_node_struct* node = _root->first_child; node; node = node->next_sibling)
5294 if (impl::is_text_node(node))
5295 return node;
5296
5297 return 0;
5298 }
5299
5300 PUGI__FN xml_node_struct* xml_text::_data_new()
5301 {

Callers

nothing calls this directly

Calls 1

is_text_nodeFunction · 0.70

Tested by

no test coverage detected