org.spockframework.compiler
Interface IRewriteResources

All Known Implementing Classes:
SpecRewriter

public interface IRewriteResources

Author:
Peter Niederwieser

Method Summary
 org.codehaus.groovy.ast.expr.VariableExpression captureOldValue(org.codehaus.groovy.ast.expr.Expression oldValue)
           
 void defineValueRecorder(java.util.List<org.codehaus.groovy.ast.stmt.Statement> stats)
           
 AstNodeCache getAstNodeCache()
           
 Block getCurrentBlock()
           
 Method getCurrentMethod()
           
 Spec getCurrentSpec()
           
 ErrorReporter getErrorReporter()
           
 org.codehaus.groovy.ast.expr.VariableExpression getMockControllerRef()
           
 java.lang.String getSourceText(org.codehaus.groovy.ast.ASTNode node)
           
 

Method Detail

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