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

Method evaluate_node_set

Source/ThirdParty/pugixml/pugixml.cpp:11428–11443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11426 }
11427
11428 PUGI__FN xpath_node_set xpath_query::evaluate_node_set(const xpath_node& n) const
11429 {
11430 impl::xpath_ast_node* root = impl::evaluate_node_set_prepare(static_cast<impl::xpath_query_impl*>(_impl));
11431 if (!root) return xpath_node_set();
11432
11433 impl::xpath_context c(n, 1, 1);
11434 impl::xpath_stack_data sd;
11435
11436 #ifdef PUGIXML_NO_EXCEPTIONS
11437 if (setjmp(sd.error_handler)) return xpath_node_set();
11438 #endif
11439
11440 impl::xpath_node_set_raw r = root->eval_node_set(c, sd.stack, impl::nodeset_eval_all);
11441
11442 return xpath_node_set(r.begin(), r.end(), r.type());
11443 }
11444
11445 PUGI__FN xpath_node xpath_query::evaluate_node(const xpath_node& n) const
11446 {

Callers 1

select_nodesMethod · 0.80

Calls 5

xpath_node_setClass · 0.85
eval_node_setMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected