public class IfCmpStmt extends IfStmt
| Constructor and Description |
|---|
IfCmpStmt(int comparison,
Expr left,
Expr right,
Block trueTarget,
Block falseTarget)
Constructor.
|
| Modifier and Type | Method and 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, copyIntocleanupOnlyblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic 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)