All nodes(except TSourceToken) in parse tree are inherited from TLz_node. While TSourceToken and TLz_node are all inherited from TLzVisitedAbs which can be visited by visitors created from subclass of TLzVisitorAbs.
So , if you like to iterate parse tree for your own purpose, you may create a visitor from TLzVisitorAbs, and use it to visit parse tree. For more information on how to create and use visitor, check the demo shipped together with this component.
Here is demo:
Gudu software http://www.sqlparser.com
|
Send comments about this topic.
|