(cls, src: str)
| 286 | |
| 287 | @classmethod |
| 288 | def _compile_src(cls, src: str) -> nodes.NodeType: |
| 289 | ast_tree = collect(dedent(src), minimal=True) |
| 290 | loc = ScanLocation(location="<unknown>") |
| 291 | v = visitor.Visitor.run_stages(location=loc, stages=("convert", "rewrite"), ast_tree=ast_tree) |
| 292 | return v.tree[-1] # TODO: assumption right now is it's a module with one body block |
| 293 | |
| 294 | @property |
| 295 | def id(self) -> str: |