C++ code refactorer

Marco Krohn marco.krohn at gmx.de
Tue May 14 19:24:01 UTC 2002


On Tuesday 14 May 2002 17:37, Philippe FREMY wrote:

Hiya,

> I want to write a C++ code refactorer. The goal is to be able to rename
> functions, classes, add new arguments to function, put some code into a
> function, ... You can find a lot about refactorings on
> http://www.refactoring.com/catalog/index.html. I haven't read everything
> yet.

sounds good to me :-)

> Before being able to refactor, I need a full C++ syntax tree, with all
> classes, method, variables, arguments and uses. Do you think some code of
> kdevelop's class browser could be used for such a thing ? Or do you have
> some pointers ? I wasn't able to find an independant C++ code parser on the
> net, except for source navigator.

Mmh, don't know what you mean with "independent", but are you aware of

http://public.kitware.com/GCC_XML/HTML/Index.html

?

best regards, 

  Marco





More information about the KDevelop-devel mailing list