Package EDU.purdue.cs.bloat.tree
Class JumpStmt
- java.lang.Object
-
- EDU.purdue.cs.bloat.tree.Node
-
- EDU.purdue.cs.bloat.tree.Stmt
-
- EDU.purdue.cs.bloat.tree.JumpStmt
-
- Direct Known Subclasses:
GotoStmt,IfStmt,JsrStmt,RetStmt,ReturnExprStmt,ReturnStmt,SwitchStmt,ThrowStmt
public abstract class JumpStmt extends Stmt
JumpStmt is the super class for several classes that represent statements that chang the flow of control in a program.
-
-
Constructor Summary
Constructors Constructor Description JumpStmt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.CollectioncatchTargets()The Block containing this JumpStmt may lie within a try block (i.e.protected NodecopyInto(Node node)Copies the contents of one Node into another.-
Methods inherited from class EDU.purdue.cs.bloat.tree.Stmt
cleanupOnly, clone
-
Methods inherited from class EDU.purdue.cs.bloat.tree.Node
block, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnly
-
-
-
-
Method Detail
-
catchTargets
public java.util.Collection catchTargets()
The Block containing this JumpStmt may lie within a try block (i.e. it is a protected block). If so, then catchTargets() returns a set of Blocks that begin the exception handler for the exception that may be thrown in the protected block.
-
-