| 10064 | } |
| 10065 | |
| 10066 | PUGI__FN bool xpath_query::evaluate_boolean(const xpath_node& n) const |
| 10067 | { |
| 10068 | if (!_impl) return false; |
| 10069 | |
| 10070 | impl::xpath_context c(n, 1, 1); |
| 10071 | impl::xpath_stack_data sd; |
| 10072 | |
| 10073 | #ifdef PUGIXML_NO_EXCEPTIONS |
| 10074 | if (setjmp(sd.error_handler)) return false; |
| 10075 | #endif |
| 10076 | |
| 10077 | return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_boolean(c, sd.stack); |
| 10078 | } |
| 10079 | |
| 10080 | PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const |
| 10081 | { |
nothing calls this directly
no test coverage detected