Searched refs:violation_fn (Results 1 – 2 of 2) sorted by relevance
325 pub violation_fn: Option<&'a dyn Fn(SyntaxViolation)>, field338 if let Some(f) = self.violation_fn { in log_violation()344 if let Some(f) = self.violation_fn { in log_violation_if()356 violation_fn: None, in for_setter()363 let input = Input::with_log(input, self.violation_fn); in parse_url()1476 if let Some(vfn) = self.violation_fn { in check_url_code_point()
199 violation_fn: Option<&'a dyn Fn(SyntaxViolation)>, field239 self.violation_fn = new; in syntax_violation_callback()249 violation_fn: self.violation_fn, in parse()519 violation_fn: None, in options()1450 let vfn = parser.violation_fn; in set_query()