Searched refs:log_violation_if (Results 1 – 1 of 1) sorted by relevance
355 fn log_violation_if(&self, v: SyntaxViolation, test: impl FnOnce() -> bool) { in log_violation_if() method432 self.log_violation_if(ExpectedFileDoubleSlash, || !input.starts_with("//")); in parse_with_scheme()457 self.log_violation_if(ExpectedDoubleSlash, || { in parse_with_scheme()519 self.log_violation_if(SyntaxViolation::Backslash, || first_char == Some('\\')); in parse_file()523 self.log_violation_if(Backslash, || next_char == Some('\\')); in parse_file()762 self.log_violation_if(SyntaxViolation::ExpectedDoubleSlash, || { in parse_relative()