MCPcopy Create free account
hub / github.com/WheretIB/nullc / evaluate_boolean

Method evaluate_boolean

external/pugixml/pugixml.cpp:9425–9437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9423 }
9424
9425 bool xpath_query::evaluate_boolean(const xpath_node& n) const
9426 {
9427 if (!_impl) return false;
9428
9429 xpath_context c(n, 1, 1);
9430 xpath_stack_data sd;
9431
9432 #ifdef PUGIXML_NO_EXCEPTIONS
9433 if (setjmp(sd.error_handler)) return false;
9434 #endif
9435
9436 return static_cast<xpath_query_impl*>(_impl)->root->eval_boolean(c, sd.stack);
9437 }
9438
9439 double xpath_query::evaluate_number(const xpath_node& n) const
9440 {

Callers

nothing calls this directly

Calls 1

eval_booleanMethod · 0.80

Tested by

no test coverage detected