Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9026

In Groovy Console, Option to enhance byte-code for data viz

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha-4
    • None
    • Groovy Console
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            adamldavis Adam L. Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: