| 10933 | } |
| 10934 | |
| 10935 | PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const |
| 10936 | { |
| 10937 | if (!_impl) |
| 10938 | return impl::gen_nan(); |
| 10939 | |
| 10940 | impl::xpath_context c(n, 1, 1); |
| 10941 | impl::xpath_stack_data sd; |
| 10942 | |
| 10943 | #ifdef PUGIXML_NO_EXCEPTIONS |
| 10944 | if (setjmp(sd.error_handler)) |
| 10945 | return impl::gen_nan(); |
| 10946 | #endif |
| 10947 | |
| 10948 | return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_number(c, sd.stack); |
| 10949 | } |
| 10950 | |
| 10951 | #ifndef PUGIXML_NO_STL |
| 10952 | PUGI__FN string_t xpath_query::evaluate_string(const xpath_node& n) const |
nothing calls this directly
no test coverage detected