public class ArrayRef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
za.ac.sun.cs.green.expr.Expression |
index |
int |
ref |
Constructor and Description |
---|
ArrayRef(int ref,
za.ac.sun.cs.green.expr.Expression index) |
Modifier and Type | Method and Description |
---|---|
protected ArrayRef |
clone() |
boolean |
equals(java.lang.Object obj) |
za.ac.sun.cs.green.expr.Expression |
getIndex() |
int |
getRef() |
static boolean |
looseArrayRefEquals(ArrayRef arrayRef,
ArrayRef key) |
static ArrayRef |
makeArrayRef(ArrayLoadInstruction getIns) |
static ArrayRef |
makeArrayRef(ArrayStoreInstruction getIns) |
java.lang.String |
toString() |
public static ArrayRef makeArrayRef(ArrayLoadInstruction getIns)
public static ArrayRef makeArrayRef(ArrayStoreInstruction getIns)
public za.ac.sun.cs.green.expr.Expression getIndex()
public int getRef()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
protected ArrayRef clone()
clone
in class java.lang.Object