public abstract class AbstractBinopExpr extends Object implements Expr
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractBinopExpr.BinopExprEnum |
| Modifier and Type | Field and Description |
|---|---|
protected ValueBox |
op1Box |
protected ValueBox |
op2Box |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBinopExpr(ValueBox op1Box,
ValueBox op2Box) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone()
Returns a clone of this Value.
|
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(Object o)
Returns true if this object is equivalent to o.
|
Value |
getOp1() |
ValueBox |
getOp1Box() |
Value |
getOp2() |
ValueBox |
getOp2Box() |
protected abstract String |
getSymbol()
Returns the unique symbol for an operator.
|
protected Type |
getType(AbstractBinopExpr.BinopExprEnum exprTypes) |
List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
|
boolean |
isSuperclassSystemEnum(Type t)
Returns true if the superclass of the given Type is a System.Enum (.Net)
|
void |
setOp1(Value op1) |
void |
setOp2(Value op2) |
String |
toString() |
void |
toString(UnitPrinter up) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyprotected abstract String getSymbol()
public abstract Object clone()
Valuepublic Value getOp1()
public Value getOp2()
public ValueBox getOp1Box()
public ValueBox getOp2Box()
public void setOp1(Value op1)
public void setOp2(Value op2)
public final List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic boolean equivTo(Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic void toString(UnitPrinter up)
protected Type getType(AbstractBinopExpr.BinopExprEnum exprTypes)
public boolean isSuperclassSystemEnum(Type t)
t - Copyright © 2024 Soot OSS. All rights reserved.