(self, expr: str)
| 223 | return self.codegen(asts) |
| 224 | |
| 225 | def to_ast(self, expr: str) -> _AST: |
| 226 | self.cur_expr = expr |
| 227 | ast = parser.parse(expr) |
| 228 | ast = ToAst()(ast) |
| 229 | return ast |
| 230 | |
| 231 | def codegen(self, asts: List[_AST]) -> Tuple[List[str], Dict[str, str]]: |
| 232 | ''' |