- org.codehaus.groovy.ast.expr.ClosureListExpression
-
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.
- Authors:
- Jochen Theodorou
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class ListExpression |
addExpression, getExpression, getExpressions, getText, isWrapped, setWrapped, toString, transformExpression, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
-
-
Constructor Detail
-
public ClosureListExpression()
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.