| 11367 | } |
| 11368 | |
| 11369 | PUGI__FN bool xpath_query::evaluate_boolean(const xpath_node& n) const |
| 11370 | { |
| 11371 | if (!_impl) return false; |
| 11372 | |
| 11373 | impl::xpath_context c(n, 1, 1); |
| 11374 | impl::xpath_stack_data sd; |
| 11375 | |
| 11376 | #ifdef PUGIXML_NO_EXCEPTIONS |
| 11377 | if (setjmp(sd.error_handler)) return false; |
| 11378 | #endif |
| 11379 | |
| 11380 | return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_boolean(c, sd.stack); |
| 11381 | } |
| 11382 | |
| 11383 | PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const |
| 11384 | { |
nothing calls this directly
no test coverage detected