public class RangeExpression extends Operator implements Expression
seq[from..to]
ProgramElement.TreeStructure
SourceElement.Position
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
children, expressionParent, INFIX, POSTFIX, PREFIX
comments
factory
STRUCTURAL_EQUALITY, STRUCTURAL_HASH_CODE
Constructor and Description |
---|
RangeExpression(Expression fromIdx,
Expression toIdx) |
RangeExpression(RangeExpression rangeExpression) |
Modifier and Type | Method and Description |
---|---|
void |
accept(SourceVisitor arg0) |
RangeExpression |
deepClone() |
int |
getArity() |
int |
getNotation() |
int |
getPrecedence() |
java.lang.String |
toSource() |
getArguments, getASTParent, getChildAt, getChildCount, getChildPositionCode, getExpressionAt, getExpressionContainer, getExpressionCount, getFirstElement, getLastElement, isLeftAssociative, isToBeParenthesized, makeParentRoleValid, precedes, replaceChild, setArguments, setExpressionContainer
getIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll
getComments, setComments, validate
getEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressionContainer, setExpressionContainer
getASTParent, getComments, setComments
getEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition
validate
getIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll
private static final long serialVersionUID
public RangeExpression(Expression fromIdx, Expression toIdx)
public RangeExpression(RangeExpression rangeExpression)
public void accept(SourceVisitor arg0)
accept
in interface SourceElement
public RangeExpression deepClone()
deepClone
in interface Expression
deepClone
in interface SourceElement
public java.lang.String toSource()
toSource
in interface SourceElement
toSource
in class JavaSourceElement
public int getNotation()
getNotation
in class Operator
public int getPrecedence()
getPrecedence
in class Operator