org.codehaus.groovy.ast.builder
Class AstStringCompiler
java.lang.Object
org.codehaus.groovy.ast.builder.AstStringCompiler
@PackageScope
class AstStringCompiler
extends Object
This class handles converting Strings to ASTNode lists.
- author:
- Hamlet D'Arcy
Methods inherited from class Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
AstStringCompiler
AstStringCompiler()
-
compile
List compile(String script, CompilePhase compilePhase, boolean statementsOnly)
- Performs the String source to List of ASTNode.
- param:
- script
a Groovy script in String form
- param:
- compilePhase
the int based CompilePhase to compile it to.
- param:
- statementsOnly
Copyright © 2003-2009 The Codehaus. All rights reserved.