public class IfCmpStmt extends IfStmt
| Constructor | Description |
|---|---|
IfCmpStmt(int comparison,
Expr left,
Expr right,
Block trueTarget,
Block falseTarget) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
Expr |
left() |
|
Expr |
right() |
|
void |
visit(TreeVisitor visitor) |
|
void |
visitForceChildren(TreeVisitor visitor) |
Visit the children of this node.
|
comparison, falseTarget, negate, setFalseTarget, setTrueTarget, trueTargetcatchTargets, copyIntoblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcleanupOnlypublic IfCmpStmt(int comparison,
Expr left,
Expr right,
Block trueTarget,
Block falseTarget)
comparison - Comparison operator for this if statement.left - Expression on the left side of the comparison.right - Expression on the right side of the comparison.trueTarget - Block executed if comparison evaluates to true.falseTarget - Block executed if comparison evaluates to false.public Expr left()
public Expr right()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)