|How to visit QueryStatement [message #769619]
||Thu, 22 December 2011 12:16
hi, DTP professionals:|
I use SQLDomainModel to parse a valid SQL statement and it returns a
QueryStatement object. I want to iterate the whole parse tree to look up
constants like 'a string' or 123 or 123.456. But unfortunately I can't
find an universal Visitor Interface to visit QueryStatement.
for example, JDT supplied an AST Visitor (call ASTVisitor) that can
visit AST nodes.
Thanks for your help!
Powered by FUDForum
. Page generated in 0.01989 seconds