java.lang.Cloneablepublic class ArrayRefExpr extends MemRefExpr
| Constructor | Description |
|---|---|
ArrayRefExpr(Expr array,
Expr index,
Type elementType,
Type type) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Expr |
array() |
|
java.lang.Object |
clone() |
|
Type |
elementType() |
|
boolean |
equalsExpr(Expr other) |
Compares this expression to another.
|
int |
exprHashCode() |
Returns the hash code for this expresion.
|
Expr |
index() |
|
void |
visit(TreeVisitor visitor) |
|
void |
visitForceChildren(TreeVisitor visitor) |
Visit the children of this node.
|
addUse, cleanupOnly, hasUse, isDef, removeUse, uses, versioncomparator, copyInto, def, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic Expr array()
public Expr index()
public Type elementType()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public int exprHashCode()
ExprexprHashCode in class Exprpublic boolean equalsExpr(Expr other)
ExprequalsExpr in class Exprother - Expr to which to compare this.