org.spockframework.compiler.model
Class ThenBlock

java.lang.Object
  extended by org.spockframework.compiler.model.Node<Method,List<Statement>>
      extended by org.spockframework.compiler.model.Block
          extended by org.spockframework.compiler.model.ThenBlock

public class ThenBlock
extends Block

AST node representing a then-block in a feature method.

Author:
Peter Niederwieser

Constructor Summary
ThenBlock(Method parent)
           
 
Method Summary
 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
 
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

ThenBlock

public ThenBlock(Method parent)
Method Detail

accept

public void accept(ISpecVisitor visitor)
            throws Exception
Specified by:
accept in class Node<Method,List<Statement>>
Throws:
Exception

getParseInfo

public BlockParseInfo getParseInfo()
Specified by:
getParseInfo in class Block


Copyright © 2010. All Rights Reserved.