(source: &str)
| 110 | } |
| 111 | |
| 112 | fn parse_enderpy_source(source: &str) -> Result<Value> { |
| 113 | let mut parser = Parser::new(source); |
| 114 | let typed_ast = parser.parse().into_diagnostic()?; |
| 115 | let ast = typed_ast.as_python_compat(&parser); |
| 116 | Ok(ast) |
| 117 | } |
| 118 | |
| 119 | #[allow(unused_macros)] |
| 120 | macro_rules! parser_test { |
no test coverage detected