Returns `true` if the parsed source code contains any [`ParseError`]s *or [`UnsupportedSyntaxError`]s. See [`Parsed::has_invalid_syntax`] for a version specific to [`ParseError`]s.
(&self)
| 453 | /// |
| 454 | /// See [`Parsed::has_invalid_syntax`] for a version specific to [`ParseError`]s. |
| 455 | pub fn has_syntax_errors(&self) -> bool { |
| 456 | !self.has_no_syntax_errors() |
| 457 | } |
| 458 | |
| 459 | /// Returns the [`Parsed`] output as a [`Result`], returning [`Ok`] if it has no syntax errors, |
| 460 | /// or [`Err`] containing the first [`ParseError`] encountered. |