public class RetStmt extends JumpStmt
| Constructor | Description |
|---|---|
RetStmt(Subroutine sub) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
Subroutine |
sub() |
|
void |
visit(TreeVisitor visitor) |
|
void |
visitForceChildren(TreeVisitor visitor) |
Visit the children of this node.
|
catchTargets, copyIntoblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcleanupOnlypublic RetStmt(Subroutine sub)
sub - The subroutine in which the return statement resides. That is,
from where the program control is returning.Tree.addInstruction(Instruction, Subroutine)public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public Subroutine sub()