Groovy 1.7.2

groovy.inspect.swingui
Class AstBrowser

java.lang.Object
  groovy.inspect.swingui.AstBrowser

public class AstBrowser
extends Object

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.

author:
Hamlet D'Arcy (hamletdrc@gmail.com)
author:
Guillaume Laforge, highlighting the code corresponding to a node selected in the tree view


Constructor Summary
AstBrowser(def inputArea, def rootElement, def classLoader)

 
Method Summary
void compile(def node, def swing, String script, int compilePhase)

static void main(def args)

void run(Closure script)

void run(Closure script, String name)

void showAbout(EventObject evt)

void showScriptClass(EventObject evt)

void showScriptFreeForm(EventObject evt)

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

AstBrowser

public AstBrowser(def inputArea, def rootElement, def classLoader)


 
Method Detail

compile

public void compile(def node, def swing, String script, int compilePhase)


main

public static void main(def args)


run

public void run(Closure script)


run

public void run(Closure script, String name)


showAbout

public void showAbout(EventObject evt)


showScriptClass

public void showScriptClass(EventObject evt)


showScriptFreeForm

public void showScriptFreeForm(EventObject evt)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.