Class ThenBlock
- java.lang.Object
-
- org.spockframework.compiler.model.Node<Method,java.util.List<org.codehaus.groovy.ast.stmt.Statement>>
-
- org.spockframework.compiler.model.Block
-
- org.spockframework.compiler.model.ThenBlock
-
public class ThenBlock extends Block
AST node representing a then-block in a feature method.- Author:
- Peter Niederwieser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ISpecVisitor visitor)
BlockParseInfo
getParseInfo()
-
Methods inherited from class org.spockframework.compiler.model.Block
getDescriptions, getNext, getNext, getPrevious, getPrevious, isFirst, isFirstInChain, isLast, setNext, setPrevious
-
-
-
-
Constructor Detail
-
ThenBlock
public ThenBlock(Method parent)
-
-
Method Detail
-
accept
public void accept(ISpecVisitor visitor) throws java.lang.Exception
-
getParseInfo
public BlockParseInfo getParseInfo()
- Specified by:
getParseInfo
in classBlock
-
-