@CompileStatic class AstNodeToScriptVisitor extends PrimaryClassNodeOperation
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 = true, boolean showScriptClass = true) |
Prints out the type, safely handling arrays.
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.