org.spockframework.compiler.model
Class AnonymousBlock
java.lang.Object
org.spockframework.compiler.model.Node<Method,List<Statement>>
org.spockframework.compiler.model.Block
org.spockframework.compiler.model.AnonymousBlock
public class AnonymousBlock
- extends Block
A block without a label at the beginning of a method. Every Method
has a (possibly empty) AnonymousBlock as its first block.
- Author:
- Peter Niederwieser
AnonymousBlock
public AnonymousBlock(Method parent)
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.