public class RetStmt extends JumpStmt
| Constructor and Description |
|---|
RetStmt(Subroutine sub)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
Subroutine |
sub() |
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
catchTargets, copyIntocleanupOnlyblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic 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()