You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2020/02/03 15:35:00 UTC

[jira] [Commented] (GROOVY-4694) Move AstBuilderTransformation Global xForm to separate module

    [ https://issues.apache.org/jira/browse/GROOVY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029039#comment-17029039 ] 

Eric Milles commented on GROOVY-4694:
-------------------------------------

Didn't have a chance to read through the mailing list discussion, but an alternative is to use CompilerConfiguration's disabled global transforms.  This is available today as far back as Groovy 2.3 (if not farther).

> Move AstBuilderTransformation Global xForm to separate module
> -------------------------------------------------------------
>
>                 Key: GROOVY-4694
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4694
>             Project: Groovy
>          Issue Type: Improvement
>          Components: ast builder
>    Affects Versions: 1.8-rc-1
>            Reporter: Roshan Dawrani
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.x
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Hi,
> Based on the dev mailing list thread: http://markmail.org/message/aiwgmjywhqr5edud, this is a request to move AstBuilderTransformation into a separate module, so that the general compilation of the groovy scripts, which don't have anything to do with AstBuilder, don't have to incur the cost of its processing.
> I didn't really try to look for a general modularization effort JIRA. If there is one, may be this issue can become a sub-task there.
> Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)