Class ClosureListExpression

  • All Implemented Interfaces:
    GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler

    public class ClosureListExpression
    extends ListExpression
    This class represents a list of expressions used to create closures. Example: def foo = (1;2;;) The right side is a ClosureListExpression consisting of two ConstantExpressions for the values 1 and 2, and two EmptyStatement entries. The ClosureListExpression defines a new variable scope. All created Closures share this scope.