groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: ModuleNode and CompuleUnit
Date Sun, 12 Aug 2018 22:13:48 GMT
False alarm. We already allow compile unit to be accessed, it's just called
getUnit in ModuleNode and getCompileUnit in ClassNode.

On Sun, Aug 12, 2018 at 11:34 PM Paul King <paulk@asert.com.au> wrote:

>
> Anyone think of a reason we shouldn't allow the CompileUnit to be accessed
> from ModuleNode? We already let it be accessed from ClassNode. I was only
> thinking read access.
>
> I was contemplating adding NodeMetaDataHandler capability to CompileUnit
> for "global" metadata shared across transforms. Thoughts?
>
> Cheers, Paul.
>
>

Mime
View raw message