|Re: children of org.eclipse.jdt.core.dom.ASTNode [message #900877 is a reply to message #900466]
||Wed, 08 August 2012 15:19
| Jacek Pospychala
Registered: July 2009
hi you should ask this question on JDT (Java Development Tools) group, not on PDT (PHP Development Tools) group.|
Implementing ASTVisitor interface is the way to go. You could have a look at other's implementations of ASTVisitors by finding out that class (Ctrl+Shift+T and enter "ASTVistor) and then searching all it's subtypes (Ctrl+T).
In PDT's ASTVisitor we have convenience method ASTVisitor.visitGeneral(ASTNode) that is being called for every node. Not sure if that's the same for JDT AST though...
Powered by FUDForum
. Page generated in 0.01640 seconds