public class TupleExpression extends Expression implements java.lang.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(java.util.List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
TupleExpression |
addExpression(Expression expression) |
Expression |
getExpression(int i) |
java.util.List<Expression> |
getExpressions() |
java.lang.String |
getText() |
java.util.Iterator<Expression> |
iterator() |
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 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(java.util.List<Expression> expressions)
public TupleExpression(Expression[] expressionArray)
public TupleExpression addExpression(Expression expression)
public java.util.List<Expression> getExpressions()
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
public java.util.Iterator<Expression> iterator()
iterator
in interface java.lang.Iterable<Expression>