org.codehaus.groovy.tools.ast
Class TranformTestHelper
java.lang.Object
org.codehaus.groovy.tools.ast.TranformTestHelper
public class TranformTestHelper
extends Object
Method Summary |
Class
|
parse(File input)
Compiles the File into a Class applying the tranform specified in the constructor.
|
TranformTestHelper
public TranformTestHelper(ASTTransformation transform, CompilePhase phase)
- Creates the test helper.
- param:
- transform
the transform to run when compiling the file later
- param:
- phase
the phase to run the transform in
parse
public Class parse(File input)
- Compiles the File into a Class applying the tranform specified in the constructor.
- input:
- input
must be a groovy source file
Copyright © 2003-2010 The Codehaus. All rights reserved.