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, 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 |
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.