Skip to main content

reset_eval_budget

Function reset_eval_budget 

Source
pub fn reset_eval_budget()
Expand description

Reset the remaining-step counter to this thread’s configured budget for a fresh top-level evaluation. Called by super::XPathContext::eval_with; XSLT-internal eval call sites inherit the current budget (in practice the default, since stylesheets don’t pathologically nest and an untrusted-XPath caller goes through XPathContext).