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)
| 461 | /// |
| 462 | /// See [`Parsed::has_invalid_syntax`] for a version specific to [`ParseError`]s. |
| 463 | pub fn has_syntax_errors(&self) -> bool { |
| 464 | !self.has_no_syntax_errors() |
| 465 | } |
| 466 | |
| 467 | /// Returns the [`Parsed`] output as a [`Result`], returning [`Ok`] if it has no syntax errors, |
| 468 | /// or [`Err`] containing the first [`ParseError`] encountered. |