public class ArrayExpressions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.Integer,java.lang.String> |
arrayTypesTable |
java.util.HashMap<java.lang.Integer,za.ac.sun.cs.green.expr.Expression[]> |
table |
private gov.nasa.jpf.vm.ThreadInfo |
ti |
int |
uniqueNum |
Constructor and Description |
---|
ArrayExpressions(gov.nasa.jpf.vm.ThreadInfo ti) |
ArrayExpressions(gov.nasa.jpf.vm.ThreadInfo ti,
java.util.HashMap newTable,
java.util.HashMap newTypesTable) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Integer v1,
Pair<za.ac.sun.cs.green.expr.Expression[],java.lang.String> v2) |
ArrayExpressions |
clone() |
za.ac.sun.cs.green.expr.Expression |
get(ArrayRef arrayRef) |
java.lang.String |
getType(int ref) |
za.ac.sun.cs.green.expr.Expression[] |
lookup(java.lang.Integer ref) |
ArrayExpressions |
makeUnique(int uniqueNum) |
void |
remove(java.lang.Integer ref) |
java.lang.String |
toString() |
void |
update(ArrayRef arrayRef,
za.ac.sun.cs.green.expr.Expression value) |
public final java.util.HashMap<java.lang.Integer,za.ac.sun.cs.green.expr.Expression[]> table
public final java.util.HashMap<java.lang.Integer,java.lang.String> arrayTypesTable
private gov.nasa.jpf.vm.ThreadInfo ti
public int uniqueNum
public ArrayExpressions(gov.nasa.jpf.vm.ThreadInfo ti)
public ArrayExpressions(gov.nasa.jpf.vm.ThreadInfo ti, java.util.HashMap newTable, java.util.HashMap newTypesTable)
public ArrayExpressions clone()
clone
in class java.lang.Object
public void add(java.lang.Integer v1, Pair<za.ac.sun.cs.green.expr.Expression[],java.lang.String> v2)
public void update(ArrayRef arrayRef, za.ac.sun.cs.green.expr.Expression value)
public za.ac.sun.cs.green.expr.Expression[] lookup(java.lang.Integer ref)
public void remove(java.lang.Integer ref)
public java.lang.String getType(int ref)
public za.ac.sun.cs.green.expr.Expression get(ArrayRef arrayRef) throws StaticRegionException
StaticRegionException
public ArrayExpressions makeUnique(int uniqueNum) throws StaticRegionException
StaticRegionException
public java.lang.String toString()
toString
in class java.lang.Object