public class SeqIndexOf extends Operator
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 |
|---|---|
|
SeqIndexOf(Expression seq,
Expression elem)
Creates an "index of" operator.
|
protected |
SeqIndexOf(SeqIndexOf proto) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SourceVisitor v) |
SeqIndexOf |
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, waitgetIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAllgetComments, setCommentsgetEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPositionvalidateprivate static final long serialVersionUID
public SeqIndexOf(Expression seq, Expression elem)
seq - Sequence to operate onelem - The element to look for in the sequenceprotected SeqIndexOf(SeqIndexOf proto)
public SeqIndexOf deepClone()
public int getPrecedence()
getPrecedence in class Operatorpublic int getNotation()
getNotation in class Operatorpublic void accept(SourceVisitor v)
public java.lang.String toSource()
toSource in interface SourceElementtoSource in class JavaSourceElement