public class TupleExpression extends Expression
Represents a tuple expression {1, 2, 3} which creates an immutable List
Fields inherited from class | Fields |
---|---|
class Expression |
EMPTY_ARRAY |
Constructor and description |
---|
TupleExpression
() |
TupleExpression
(Expression expr) |
TupleExpression
(Expression expr1, Expression expr2) |
TupleExpression
(Expression expr1, Expression expr2, Expression expr3) |
TupleExpression
(int length) |
TupleExpression
(List<Expression> expressions) |
TupleExpression
(Expression[] expressionArray) |
Type Params | Return Type | Name and description |
---|---|---|
|
TupleExpression |
addExpression(Expression expression) |
|
Expression |
getExpression(int i) |
|
List<Expression> |
getExpressions() |
|
String |
getText() |
|
Iterator<Expression> |
iterator() |
|
String |
toString() |
|
Expression |
transformExpression(ExpressionTransformer transformer) |
|
void |
visit(GroovyCodeVisitor visitor) |
Methods inherited from class | Name |
---|---|
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.