public class SeqGet extends ADTPrefixConstruct
ProgramElement.TreeStructureSourceElement.Position| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
children, expressionParent, INFIX, POSTFIX, PREFIXcommentsfactorySTRUCTURAL_EQUALITY, STRUCTURAL_HASH_CODE| Modifier | Constructor and Description |
|---|---|
|
SeqGet(Expression seq,
Expression idx)
Creates a sequence getter operator.
|
protected |
SeqGet(SeqGet proto) |
| Modifier and Type | Method and Description |
|---|---|
SeqGet |
deepClone() |
int |
getArity() |
int |
getNotation() |
java.lang.String |
toSource() |
accept, getPrecedence, getReferenceSuffix, setReferenceSuffix, toStringgetArguments, 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, wait, wait, waitgetASTParent, getComments, setCommentsgetEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPositionvalidategetIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAllprivate static final long serialVersionUID
public SeqGet(Expression seq, Expression idx)
seq - Sequence to operate onidx - Index position (from 0 to length-1)protected SeqGet(SeqGet proto)
public SeqGet deepClone()
public int getNotation()
getNotation in class Operatorpublic java.lang.String toSource()
toSource in interface SourceElementtoSource in class JavaSourceElement