public class TupleExpression extends Expression implements Iterable<Expression>
Constructor and Description |
---|
TupleExpression() |
TupleExpression(Expression expr) |
TupleExpression(Expression[] expressionArray) |
TupleExpression(Expression expr1,
Expression expr2) |
TupleExpression(Expression expr1,
Expression expr2,
Expression expr3) |
TupleExpression(int length) |
TupleExpression(List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
TupleExpression |
addExpression(Expression expression) |
Expression |
getExpression(int i) |
List<Expression> |
getExpressions() |
String |
getText() |
Iterator<Expression> |
iterator() |
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, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public TupleExpression()
public TupleExpression(Expression expr)
public TupleExpression(Expression expr1, Expression expr2)
public TupleExpression(Expression expr1, Expression expr2, Expression expr3)
public TupleExpression(int length)
public TupleExpression(List<Expression> expressions)
public TupleExpression(Expression[] expressionArray)
public TupleExpression addExpression(Expression expression)
public List<Expression> getExpressions()
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public Expression getExpression(int i)
public Iterator<Expression> iterator()
iterator
in interface Iterable<Expression>