The AST Browser in GroovyConsole shows the AST generated from the console script pane.
The Browser shows both the free-standing script AST and the Script ClassNode ast (and any other Class AST).
For most cases, the user wants to see either the script AST or the Class AST... but the browser must provide both. The browser is already slow to load for large scripts too.
We can add a checkbox/radio button to the Browser so the user can pick to see the Script class, the script AST, or both. This will make the UI better for the user and it will also increase performance b/c the browser won't have to walk the tree twice.