Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.8-beta-1
-
None
-
None
Description
Global AST transformations are applied to all sources that are compiled by the Groovy compiler.
With a mechanism to "restrict" the files to be "transformed" by those transformations, we could more selectively apply them to the right set of sources.
This can be useful for frameworks or DSLs, as global transforms can be applied just for test specifications, for DSL programs, etc.
See this thread for discussion and possible strategies:
http://groovy.markmail.org/search/?q=#query:%20from%3A%22Jochen%20Theodorou%22+page:1+mid:q2wzvm4npawqlrp5+state:results
Attachments
Issue Links
- is duplicated by
-
GROOVY-4393 Add multiple file extensions support in compiler
- Closed