public class ListExpression extends Expression
Constructor and Description |
---|
ListExpression() |
ListExpression(java.util.List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
void |
addExpression(Expression expression) |
Expression |
getExpression(int i) |
java.util.List<Expression> |
getExpressions() |
java.lang.String |
getText() |
boolean |
isWrapped() |
void |
setWrapped(boolean value) |
java.lang.String |
toString() |
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions
|
void |
visit(GroovyCodeVisitor visitor) |
getType, setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public ListExpression()
public ListExpression(java.util.List<Expression> expressions)
public void addExpression(Expression expression)
public java.util.List<Expression> getExpressions()
public void setWrapped(boolean value)
public boolean isWrapped()
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public Expression getExpression(int i)
public java.lang.String toString()
toString
in class java.lang.Object