Parse the given Python source code using the specified [`ParseOptions`]. This is same as the [`parse`] function except that it doesn't check for any [`ParseError`] and returns the [`Parsed`] as is.
(source: &str, options: ParseOptions)
| 287 | /// This is same as the [`parse`] function except that it doesn't check for any [`ParseError`] |
| 288 | /// and returns the [`Parsed`] as is. |
| 289 | pub fn parse_unchecked(source: &str, options: ParseOptions) -> Parsed<Mod> { |
| 290 | Parser::new(source, options).parse() |
| 291 | } |
| 292 | |
| 293 | /// Parse the given Python source code using the specified [`PySourceType`]. |
| 294 | pub fn parse_unchecked_source(source: &str, source_type: PySourceType) -> Parsed<ModModule> { |