| 11381 | } |
| 11382 | |
| 11383 | PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const |
| 11384 | { |
| 11385 | if (!_impl) return impl::gen_nan(); |
| 11386 | |
| 11387 | impl::xpath_context c(n, 1, 1); |
| 11388 | impl::xpath_stack_data sd; |
| 11389 | |
| 11390 | #ifdef PUGIXML_NO_EXCEPTIONS |
| 11391 | if (setjmp(sd.error_handler)) return impl::gen_nan(); |
| 11392 | #endif |
| 11393 | |
| 11394 | return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_number(c, sd.stack); |
| 11395 | } |
| 11396 | |
| 11397 | #ifndef PUGIXML_NO_STL |
| 11398 | PUGI__FN string_t xpath_query::evaluate_string(const xpath_node& n) const |
nothing calls this directly
no test coverage detected