[Qt-creator] PtrOperatorAST visitor
Marek Jasovsky
jasovsky.marek at gmail.com
Mon Feb 9 11:05:11 CET 2009
Yes...
I have not yet come to understanding Symbol, Scope and other classes :) but
this will come too... and I might create an viewer for this too
Marek
2009/2/9 Roberto Raggi <roberto.raggi at trolltech.com>
> Hi,
>
> On Feb 9, 2009, at 10:26 AM, Marek Jasovsky wrote:
> > does this mean, I only have to implement visit() methods for non-
> > abstract nodes?
>
> The class ASTVisitor does not have visit() method for abstract nodes,
> so you are kind of forced to reimplement visit() only for non-abstract
> AST nodes :-)
>
> >
> >
> > question 2: did you ever implement tree model? I had to implement
> > this for all 100 classes found in ast.h/.cpp (so far 39 done)
> > just wanted to ask, if there is any better idea, than my
> > implementation so far
>
>
> Look at src/libs/cplusplus/OverviewModel.{h,cpp}. OverviewModel is a
> simple model I wrote to show the declared C++ symbols.
>
> ciao robe
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090209/0b16de20/attachment.html
More information about the Qt-creator-old
mailing list