C++ code refactorer

Bernd Gehrmann Bernd-Gehrmann at gmx.de
Wed May 15 23:26:56 UTC 2002


On Tuesday 14 May 2002 17:37, you wrote:

> 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 ?

No, it skips function bodys.

> Or do you have
> some pointers ? I wasn't able to find an independant C++ code parser on the
> net, except for source navigator.

Well, if C++ had something remotely resembling a "syntax" it would certainly
be easier to write a parser. It could be that the best you can get is a dump 
of gcc's internal tree.

Bernd.





More information about the KDevelop-devel mailing list