org.codehaus.groovy.ast.builder
Class AstStringCompiler
java.lang.Object
org.codehaus.groovy.ast.builder.AstStringCompiler
@PackageScope
public class AstStringCompiler
extends Object
This class handles converting Strings to ASTNode lists.
- author:
- Hamlet D'Arcy
compile
public 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-2010 The Codehaus. All rights reserved.