Patch for kdevelop-pg to persist the AST

Adam Treat treat at kde.org
Tue Aug 8 06:15:45 UTC 2006


On Tuesday 08 August 2006 2:02 am, Hamish Rodda wrote:
> On Monday 07 August 2006 13:24, Adam Treat wrote:
> > Jakob, I haven't been able to find a dumptree or something similar in
> > kdevelop-pg that would allow me to test the serializer to see if I can
> > get the same output from an AST read from the disk as I would from a
> > newly created AST via the parser.  How do you test?  Is there a debug
> > mode I should know about?
>
> In the c++ parser, there is a class called DumpTree which might be what you
> want.

Yah, i was looking for a similar visitor for the kdevelop-pg parsers.  The 
persistent AST was a patch to kdevelop-pg.  We still can't persist the C++ 
parser's AST...

> Cheers,
> Hamish.




More information about the KDevelop-devel mailing list