org.spockframework.compiler
Interface IRewriteResources
- All Known Implementing Classes:
- SpecRewriter
public interface IRewriteResources
- Author:
- Peter Niederwieser
getCurrentSpec
Spec getCurrentSpec()
getCurrentMethod
Method getCurrentMethod()
getCurrentBlock
Block getCurrentBlock()
defineValueRecorder
void defineValueRecorder(java.util.List<org.codehaus.groovy.ast.stmt.Statement> stats)
captureOldValue
org.codehaus.groovy.ast.expr.VariableExpression captureOldValue(org.codehaus.groovy.ast.expr.Expression oldValue)
getMockControllerRef
org.codehaus.groovy.ast.expr.VariableExpression getMockControllerRef()
getAstNodeCache
AstNodeCache getAstNodeCache()
getSourceText
java.lang.String getSourceText(org.codehaus.groovy.ast.ASTNode node)
getErrorReporter
ErrorReporter getErrorReporter()
Copyright © 2013. All rights reserved