|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spockframework.compiler.SpockTransform
public class SpockTransform
AST transformation for rewriting Spock specifications. Runs after phase SEMANTIC_ANALYSIS, which means that the AST is semantically accurate and already decorated with reflection information. On the flip side, because types and variables have already been resolved, program elements like import statements and variable definitions can no longer be manipulated at will.
Constructor Summary | |
---|---|
SpockTransform()
|
Method Summary | |
---|---|
void |
visit(org.codehaus.groovy.ast.ASTNode[] nodes,
org.codehaus.groovy.control.SourceUnit sourceUnit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpockTransform()
Method Detail |
---|
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit sourceUnit)
visit
in interface org.codehaus.groovy.transform.ASTTransformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |