Package | Description |
---|---|
org.spockframework.compiler |
Modifier and Type | Class | Description |
---|---|---|
class |
SpecRewriter |
A Spec visitor responsible for most of the rewriting of a Spec's AST.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
WhereBlockRewriter.rewrite(WhereBlock block,
IRewriteResources resources) |
|
static org.codehaus.groovy.ast.stmt.Statement |
ConditionRewriter.rewriteExplicitCondition(org.codehaus.groovy.ast.stmt.AssertStatement stat,
IRewriteResources resources) |
|
static org.codehaus.groovy.ast.stmt.Statement |
ConditionRewriter.rewriteImplicitCondition(org.codehaus.groovy.ast.stmt.ExpressionStatement stat,
IRewriteResources resources) |
|
static org.codehaus.groovy.ast.expr.Expression |
AstUtil.toArgumentArray(java.util.List<org.codehaus.groovy.ast.expr.Expression> argList,
IRewriteResources resources) |
Turns an argument list obtained from AstUtil.getArguments() into an Object[] array
suitable to be passed to InvokerHelper or SpockRuntime.
|
Constructor | Description |
---|---|
DeepBlockRewriter(IRewriteResources resources) |
|
InstanceFieldAccessChecker(IRewriteResources resources) |
|
InteractionRewriter(IRewriteResources resources,
org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure) |
Copyright © 2018. All rights reserved