Groovy 1.7.0

org.codehaus.groovy.tools.ast
Class TranformTestHelper

java.lang.Object
  org.codehaus.groovy.tools.ast.TranformTestHelper

class TranformTestHelper

Constructor Summary
TranformTestHelper(ASTTransformation transform, CompilePhase phase)

Creates the test helper.

 
Method Summary
Class parse(File input)

Compiles the File into a Class applying the tranform specified in the constructor.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

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


 
Method Detail

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-2009 The Codehaus. All rights reserved.