(file_path: String, content: String, ast_json: String)
| 21 | |
| 22 | impl PythonFile { |
| 23 | pub fn new(file_path: String, content: String, ast_json: String) -> Self { |
| 24 | let ast: Option<AstNode> = serde_json::from_str(&ast_json).ok(); |
| 25 | Self { |
| 26 | file_path, |
| 27 | content, |
| 28 | ast, |
| 29 | } |
| 30 | } |
| 31 | } |
nothing calls this directly
no outgoing calls
no test coverage detected