class AstBrowser extends Object
This object is a GUI for looking at the AST that Groovy generates. Usage: java groovy.console.ui.AstBrowser [filename] where [filename] is an existing Groovy script.
Type | Name and description |
---|---|
GeneratedBytecodeAwareGroovyClassLoader |
classLoader |
Object |
frame |
Object |
prefs |
Action |
refreshAction |
boolean |
showClosureClasses |
boolean |
showScriptClass |
boolean |
showScriptFreeForm |
boolean |
showTreeView |
SwingBuilder |
swing |
Constructor and description |
---|
AstBrowser(Object inputArea, Object rootElement, Object classLoader, Object config) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
aboutAction(EventObject evt) |
|
void |
compile(Object jTree, String script, int compilePhase) |
|
void |
copyAction(Object table, MouseEvent me, EventObject evt) |
|
void |
decompile(Object phaseId, Object source) |
|
void |
initAuxViews() |
|
void |
largerFont(EventObject evt) |
|
void |
launch(Object table, Object valueCol, Object pathClosure) |
|
void |
launchAction(Object table, Object valueCol, Object pathClosure, EventObject evt) |
|
static void |
main(Object args) |
|
Object |
mouseListener(int valueCol, Closure pathClosure) |
|
void |
run(Closure script) |
|
void |
run(Closure script, String name) |
|
void |
showClosureClasses(EventObject evt) |
|
void |
showScriptClass(EventObject evt) |
|
void |
showScriptFreeForm(EventObject evt) |
|
void |
showTreeView(EventObject evt) |
|
void |
smallerFont(EventObject evt) |
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.