IfCmpStmt, IfZeroStmtpublic abstract class IfStmt extends JumpStmt
IfCmpStmt,
IfZeroStmt| Modifier and Type | Field | Description |
|---|---|---|
static int |
EQ |
|
static int |
GE |
|
static int |
GT |
|
static int |
LE |
|
static int |
LT |
|
static int |
NE |
| Constructor | Description |
|---|---|
IfStmt(int comparison,
Block trueTarget,
Block falseTarget) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
comparison() |
|
Block |
falseTarget() |
|
void |
negate() |
Set the comparison operator for this if statement to its logical
negative.
|
void |
setFalseTarget(Block target) |
|
void |
setTrueTarget(Block target) |
|
Block |
trueTarget() |
catchTargets, copyIntoblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnlyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcleanupOnly, clonepublic static final int EQ
public static final int NE
public static final int GT
public static final int GE
public static final int LT
public static final int LE
public int comparison()
public void negate()
public void setTrueTarget(Block target)
public void setFalseTarget(Block target)
public Block trueTarget()
public Block falseTarget()