public class RangeExpression extends Operator implements Expression
seq[from..to]
ProgramElement.TreeStructureSourceElement.Position| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
children, expressionParent, INFIX, POSTFIX, PREFIXcommentsfactorySTRUCTURAL_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, setExpressionContainergetIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAllgetComments, setComments, validategetEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpressionContainer, setExpressionContainergetASTParent, getComments, setCommentsgetEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPositionvalidategetIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAllprivate static final long serialVersionUID
public RangeExpression(Expression fromIdx, Expression toIdx)
public RangeExpression(RangeExpression rangeExpression)
public void accept(SourceVisitor arg0)
accept in interface SourceElementpublic RangeExpression deepClone()
deepClone in interface ExpressiondeepClone in interface SourceElementpublic java.lang.String toSource()
toSource in interface SourceElementtoSource in class JavaSourceElementpublic int getNotation()
getNotation in class Operatorpublic int getPrecedence()
getPrecedence in class Operator