From: Baptiste L. <gai...@fr...> - 2002-12-22 12:01:53
|
I'm playing with the ideas of adding a CodeModel generated from the AST. Some stuff are already in rfta/refactoring/CodeModel*.h. The idea is that refactoring manipulate the model, and the code rewritter modify the source to reflect those manipulations. The CodeModel generation is done (probably full of bug as it is untested), I'm tackling the rewritter stuff. I decided to explorer this because something that sound trivial like ReduceTemporaryScope requires many differents text manipulation depending on where the variable is declared and where the declaration should be moved to. Baptiste. |