public class MonitorStmt extends Stmt
| Constructor and Description |
|---|
MonitorStmt(int kind,
Expr object)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
kind() |
Expr |
object() |
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
cleanupOnlyblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic static final int ENTER
public static final int EXIT
public MonitorStmt(int kind,
Expr object)
kind - The kind of monitor statement: ENTER or EXIT.object - The expression (object) whose monitor is being entered or
exited.public Expr object()
public int kind()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)