| 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 | { |
nothing calls this directly
no test coverage detected