MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / evaluate_boolean

Method evaluate_boolean

Source/ThirdParty/pugixml/pugixml.cpp:11369–11381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

eval_booleanMethod · 0.80

Tested by

no test coverage detected