|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spockframework.compiler.model.Node<Method,java.util.List<org.codehaus.groovy.ast.stmt.Statement>>
org.spockframework.compiler.model.Block
org.spockframework.compiler.model.WhenBlock
public class WhenBlock
AST node representing a when-block in a feature method.
| Constructor Summary | |
|---|---|
WhenBlock(Method parent)
|
|
| Method Summary | |
|---|---|
void |
accept(ISpecVisitor visitor)
|
ThenBlock |
getNext()
|
BlockParseInfo |
getParseInfo()
|
| Methods inherited from class org.spockframework.compiler.model.Block |
|---|
getDescriptions, getNext, getPrevious, getPrevious, isFirst, isFirstInChain, isLast, setNext, setPrevious |
| Methods inherited from class org.spockframework.compiler.model.Node |
|---|
getAst, getName, getParent, setAst, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WhenBlock(Method parent)
| Method Detail |
|---|
public void accept(ISpecVisitor visitor)
throws java.lang.Exception
accept in class Node<Method,java.util.List<org.codehaus.groovy.ast.stmt.Statement>>java.lang.Exceptionpublic ThenBlock getNext()
getNext in class Blockpublic BlockParseInfo getParseInfo()
getParseInfo in class Block
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||