@AutoFinal @CompileStatic class AstNodeToScriptVisitor extends Object implements GroovyClassVisitor, GroovyCodeVisitor, IPrimaryClassNodeOperation
An adapter from ASTNode tree to source code.
| Type | Name and description | 
|---|---|
| String | _indent | 
| Stack<String> | classNameStack | 
| boolean | readyToIndent | 
| boolean | scriptHasBeenVisited | 
| boolean | showScriptClass | 
| boolean | showScriptFreeForm | 
| Constructor and description | 
|---|
| AstNodeToScriptVisitor(Writer writer, boolean showScriptFreeForm, boolean showScriptClass) | 
Prints out the type, safely handling arrays.
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.