Lines Matching refs:vfn
209 vfn: Option<&dyn Fn(SyntaxViolation)>, in trim_tab_and_newlines()
212 if let Some(vfn) = vfn { in trim_tab_and_newlines()
214 vfn(SyntaxViolation::C0SpaceIgnored) in trim_tab_and_newlines()
217 vfn(SyntaxViolation::TabOrNewlineIgnored) in trim_tab_and_newlines()
225 pub fn with_log(original_input: &'i str, vfn: Option<&dyn Fn(SyntaxViolation)>) -> Self { in with_log()
227 if let Some(vfn) = vfn { in with_log()
229 vfn(SyntaxViolation::C0SpaceIgnored) in with_log()
232 vfn(SyntaxViolation::TabOrNewlineIgnored) in with_log()
1489 if let Some(vfn) = self.violation_fn { in check_url_code_point()
1495 vfn(SyntaxViolation::PercentDecode) in check_url_code_point()
1498 vfn(SyntaxViolation::NonUrlCodePoint) in check_url_code_point()