[Qt-creator] PtrOperatorAST visitor
Roberto Raggi
roberto.raggi at trolltech.com
Mon Feb 9 10:17:36 CET 2009
Hi Marek,
On Feb 9, 2009, at 9:47 AM, Marek Jasovsky wrote:
> Hi Roberto
>
> I have done first part of ASTViewer but I had to add this visitor to
> the code... as it was not included in visit(...) methods...
There's no source code attached to your email so i don't know exactly
what method you had to add. By the way, PtrOperatorAST is an abstract
base node, it doesn't make any sense to have an overload for
visit(PtrOperatorAST*) in ASTVisitor.. to handle ptr-operators you
just have to reimplement the ASTVisitor::visit() methods for
PointerToMemberAST, PointerAST, and ReferenceAST.
ciao robe
More information about the Qt-creator-old
mailing list