Overview Python's "ast" module transforms the text of Python source code into an object stream. It's a more powerful way to walk through Python code, analyze its components, and make changes than ...
I think any individual type is pretty straightforward, but there are 90 of them. CPython auto-generates their module (Python/Python-ast.c) from their grammar file. We could try to modify their grammar ...
A Python library for matching and querying Python AST nodes, inspired by libcst's matcher API but designed to work with Python's built-in ast module. AST Predicates provides a declarative way to ...