public class RangeExpression extends Expression
for i in 0..10 {...}
Constructor and Description |
---|
RangeExpression(Expression from,
Expression to,
boolean inclusive) |
Modifier and Type | Method and Description |
---|---|
Expression |
getFrom() |
java.lang.String |
getText() |
Expression |
getTo() |
boolean |
isInclusive() |
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 RangeExpression(Expression from, Expression to, boolean inclusive)
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public Expression getFrom()
public Expression getTo()
public boolean isInclusive()