MCPcopy Create free account
hub / github.com/MyGUI/mygui / evaluate_boolean

Method evaluate_boolean

Tools/EditorFramework/pugixml.cpp:10919–10933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10917 }
10918
10919 PUGI__FN bool xpath_query::evaluate_boolean(const xpath_node& n) const
10920 {
10921 if (!_impl)
10922 return false;
10923
10924 impl::xpath_context c(n, 1, 1);
10925 impl::xpath_stack_data sd;
10926
10927 #ifdef PUGIXML_NO_EXCEPTIONS
10928 if (setjmp(sd.error_handler))
10929 return false;
10930 #endif
10931
10932 return static_cast<impl::xpath_query_impl*>(_impl)->root->eval_boolean(c, sd.stack);
10933 }
10934
10935 PUGI__FN double xpath_query::evaluate_number(const xpath_node& n) const
10936 {

Callers

nothing calls this directly

Calls 1

eval_booleanMethod · 0.45

Tested by

no test coverage detected