Closed NeoQuix closed 10 months ago
Move:
Rewrite:
ast.replace_variable_in_subtree
do the job.
==> Should be no problem with shallow/deep copies like before To do:
To do (after that PR):
Don't fear the commit numbers, 1.5k are just moves! Will list them after this comment
Changed:
variable-name-generation
To do:
readability based refinement
into something elseFile/Line moves:
loop_name_generator.py
-> new stage wrapper + moved For/WhileLoopRenamer into it from readability_based_refinement.py
default.json
moved options for For/WhileLoopRenamer into new stagetest_loop_name_generator.py
-> moved tests from test_readability_based_refinement.py
==> both the tests for For/WhileLoopRenamer + the ones which tested WhileLoopReplacer with them together (just run both stages after another)Will close this PR and split it into two:
Manual PR for #303