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

Method evaluate_number

Source/ThirdParty/pugixml/pugixml.cpp:11383–11395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11381 }
11382
11383 PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const
11384 {
11385 if (!_impl) return impl::gen_nan();
11386
11387 impl::xpath_context c(n, 1, 1);
11388 impl::xpath_stack_data sd;
11389
11390 #ifdef PUGIXML_NO_EXCEPTIONS
11391 if (setjmp(sd.error_handler)) return impl::gen_nan();
11392 #endif
11393
11394 return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_number(c, sd.stack);
11395 }
11396
11397#ifndef PUGIXML_NO_STL
11398 PUGI__FN string_t xpath_query::evaluate_string(const xpath_node& n) const

Callers

nothing calls this directly

Calls 2

gen_nanFunction · 0.85
eval_numberMethod · 0.80

Tested by

no test coverage detected