Class 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
    • Constructor Detail

      • AnonymousBlock

        public AnonymousBlock​(Method parent)
    • Method Detail

      • accept

        public void accept​(ISpecVisitor visitor)
                    throws java.lang.Exception
        Specified by:
        accept in class Node<Method,​java.util.List<org.codehaus.groovy.ast.stmt.Statement>>
        Throws:
        java.lang.Exception