This object is a GUI for looking at the AST that Groovy generates. Usage: java groovy.inspect.swingui.AstBrowser [filename] where [filename] is an existing Groovy script.
| Type | Name and description | 
|---|---|
| GeneratedBytecodeAwareGroovyClassLoader | classLoader | 
| def | frame | 
| def | prefs | 
| Action | refreshAction | 
| boolean | showClosureClasses | 
| boolean | showIndyBytecode | 
| boolean | showScriptClass | 
| boolean | showScriptFreeForm | 
| boolean | showTreeView | 
| SwingBuilder | swing | 
| Constructor and description | 
|---|
| AstBrowser
                                (def inputArea, def rootElement, def classLoader, def config = null) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | void | compile(def jTree, String script, int compilePhase) | 
|  | void | decompile(def phaseId, def source) | 
|  | void | initAuxViews() | 
|  | void | largerFont(EventObject evt = null) | 
|  | static void | main(def args) | 
|  | void | run(Closure script) | 
|  | void | run(Closure script, String name) | 
|  | void | showAbout(EventObject evt) | 
|  | void | showClosureClasses(EventObject evt) | 
|  | void | showIndyBytecode(EventObject evt = null) | 
|  | void | showScriptClass(EventObject evt) | 
|  | void | showScriptFreeForm(EventObject evt) | 
|  | void | showTreeView(EventObject evt = null) | 
|  | void | smallerFont(EventObject evt = null) | 
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.