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

Groovy Console's AST Browser should allow you to view a source code view of AST

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.5, 1.8-beta-2
    • 1.7.6, 1.8-beta-3
    • Groovy Console
    • None
    • all

    Description

      Groovy Console's AST Browser should allow you to view a source code view of AST.
      A screenshot is here: http://hackergarten.net/decompiler.png

      The output is the source of the AST. AST Transformations rewrite AST and it is helpful to be able to see what the generated source might look like. The source is not a canonical representation of the AST and is not used by the compiler. It is for informational purposes.

      The checkboxes for FreeForm and ClassView work for the output, as does the compile phase drop down.

      Attachments

        1. decompiler.png
          63 kB
          Hamlet D'Arcy

        Activity

          People

            hamletdrc Hamlet D'Arcy
            hamletdrc Hamlet D'Arcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 24h
                24h