Dumping the source DOM?

Vladimir Prus ghost at cs.msu.su
Thu Jun 30 08:29:09 UTC 2005


Steven T. Hatton wrote:

> I've been wanting to find time to explore this on my own, but right now am
> not
> able to do so.  I'm aware that KDevelop creates an internal DOM
> representation of such things as C++ classes.  I believe that is a very
> powerful design feature with a great deal of potential.  It's also buried
> deep in the tangled woods of KDevelop's implementation.  Can a simple
> commandline tool that could be run against a source file to produce an XML
> dump of the the code structure be extracted?

You probably should use a tool such as gccxml. At least it's based on gcc so
might be more capable of parsing complex C++ code.

On a related note, I'd really like it if KDevelop integrate with gcc's
parser, and don't crash when importing C++ Boost ;-)

- Volodya







More information about the KDevelop-devel mailing list