db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3946) Provide support for using the Derby parser to generate Abstract Syntax Trees
Date Tue, 02 Mar 2010 15:08:27 GMT

    [ 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.


Mime
View raw message