public class TupleExpression extends Expression
Represents a tuple expression {1, 2, 3} which creates an immutable List
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, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, equals, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, getText, hashCode, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.