[
https://issues.apache.org/jira/browse/DERBY-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840194#action_12840194
]
Rick Hillegas commented on DERBY-3946:
--------------------------------------
Hi Ciu,
ASTParser simply defers its work to the treePrint() methods of the nodes
themselves. The nodes are retrieved using a visitor pattern. To see how this
works, take a look at the TreeWalker program attached to this JIRA. TreeWalker
is another implementation of Visitor. Regards-Rick
> Provide support for using the Derby parser to generate Abstract Syntax Trees
> ----------------------------------------------------------------------------
>
> Key: DERBY-3946
> URL: https://issues.apache.org/jira/browse/DERBY-3946
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 10.5.1.1
> Reporter: Rick Hillegas
> Attachments: ASTParser.java, ASTParser.java, ASTParser.java,
> derby-3946-01-aa-standaloneParser.diff, TreeWalker.java, TreeWalker.java
>
>
> Users would like to be able to use the Derby parser to produce query trees
> without actually running the queries on Derby.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.