tristanlatr / astuce

AST inference utilities
GNU Lesser General Public License v2.1
1 stars 0 forks source link

More rigorous ast patching #23

Closed tristanlatr closed 2 years ago

tristanlatr commented 2 years ago

The names of the classes were patching should be listed explicitly, even if we have to list all concrete ast nodes. This will prevent unintended side effects of patching classes.

Also we’ll need to patch specific classes with specific methods, so this has to be done with a stricter logic than we currently have.