org.codehaus.groovy.tools.ast
[Groovy] Class TranformTestHelper
java.lang.Object
org.codehaus.groovy.tools.ast.TranformTestHelper
class TranformTestHelper
extends Object
Method Summary |
Class
|
parse(File input)
Compiles the File into a Class applying the tranform specified in the constructor.
|
TranformTestHelper
TranformTestHelper(ASTTransformation transform, CompilePhase phase)
- Creates the test helper.
- Parameters:
transform
- the transform to run when compiling the file laterphase
- the phase to run the transform in
parse
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.