[ 
https://issues.apache.org/jira/browse/DERBY-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767501#action_12767501
 ] 

Knut Anders Hatlen commented on DERBY-4415:
-------------------------------------------

Hi Rick,

This looks like a useful addition. Just a thought, but would it be better to 
create a new interface (say ASTVisitor) that extended Visitor so that only 
those visitors that actually use the begin() and end() methods need to 
implement them?

> Make it easy to plug custom AST printers into the compiler
> ----------------------------------------------------------
>
>                 Key: DERBY-4415
>                 URL: https://issues.apache.org/jira/browse/DERBY-4415
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>            Priority: Minor
>         Attachments: ASTInspector.java, 
> derby-4415-01-aa-customASTprinters.diff, XmlASTPrinter.java
>
>
> It would be nice to be able to tell the compiler to use user-written 
> formatters for pretty-printing Derby's abstract syntax trees. For instance, 
> it would be nice to be able to plug in the AST printers attached to 
> DERBY-791, including the Eclipse-based tree grapher written by Kay Röpke.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to