[
https://issues.apache.org/jira/browse/DERBY-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-4415:
---------------------------------
Attachment: ASTInspector.java
Attaching a new version of ASTInspector.java. This version will work with
future improvements which limit access to Derby internals. When running under a
SecurityManager, you must grant the following permission to the jar file
containing ASTInspector:
{noformat}
permission org.apache.derby.security.SystemPermission "engine",
"usederbyinternals";
{noformat}
> 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
> Assignee: Rick Hillegas
> Priority: Minor
> Fix For: 10.6.1.0, 10.11.1.1
>
> Attachments: ASTInspector.java, ASTInspector.java, ASTInspector.java,
> ASTInspector.java, XmlASTPrinter.java, XmlASTPrinter.java,
> XmlASTPrinter.java, XmlASTPrinter.java,
> derby-4415-01-aa-customASTprinters.diff,
> derby-4415-01-ab-customASTprinters.diff
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)