public class PlainConstraint extends java.lang.Object implements Numberable
Modifier and Type | Field and Description |
---|---|
int |
code
Indicate the mapping relation between the two pointers, 1-1, 1-many, ...
|
Pair<IVarAbstraction,IVarAbstraction> |
expr
The two pointers involved in this constraint
|
SparkField |
f
The field that is involved in a complex constraint
|
java.util.Set<Edge> |
interCallEdges
If this constraint represents a parameter passing or function return, the corresponding call edge is identified here
|
boolean |
isActive
To indicate if this constraint will be evaluated or not
|
IVarAbstraction |
otherSide
Used in complex constraint.
|
int |
type
The type of this constraint, e.g.
|
Constructor and Description |
---|
PlainConstraint() |
Modifier and Type | Method and Description |
---|---|
IVarAbstraction |
getLHS() |
int |
getNumber() |
IVarAbstraction |
getRHS() |
void |
setLHS(IVarAbstraction newLHS) |
void |
setNumber(int number) |
void |
setRHS(IVarAbstraction newRHS) |
public int type
public Pair<IVarAbstraction,IVarAbstraction> expr
public IVarAbstraction otherSide
public int code
public SparkField f
public java.util.Set<Edge> interCallEdges
public boolean isActive
public void setNumber(int number)
setNumber
in interface Numberable
public int getNumber()
getNumber
in interface Numberable
public IVarAbstraction getLHS()
public void setLHS(IVarAbstraction newLHS)
public IVarAbstraction getRHS()
public void setRHS(IVarAbstraction newRHS)