groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam L. Davis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-9026) In Groovy Console, Option to enhance byte-code for data viz
Date Thu, 07 Mar 2019 20:56:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam L. Davis updated GROOVY-9026:
----------------------------------
    Component/s: Groovy Console

> In Groovy Console, Option to enhance byte-code for data viz
> -----------------------------------------------------------
>
>                 Key: GROOVY-9026
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9026
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovy Console
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: Adam L. Davis
>            Priority: Minor
>
> Add option named "Code Data Visualization" (in Script menu?) to enhance script's byte-code
so that _c.put(name, value) gets called wherever possible without user explicitly coding it
(here "name" is the name of the variable/parameter and "value" is its value)
> For example: when assigning a variable, when calling a method (parameters), when a single
value exists on a line, the value passed to "switch" etc.
> So x = 2 becomes x = _c.put('x', 2) //put returns 2
> Must come after GROOVY-9023
> (Might need to also modify any classes within the code loaded into groovyConsole to make
_c available to them since _c is only a binding to the script itself)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message