| java.lang.Object EDU.purdue.cs.bloat.editor.TryCatch
Method Summary | |
public Label | end() Get the end label of the protected block. | public Label | handler() Get the start label of the catch block. | public void | setHandler(Label handler) Set the start label of the catch block. | public Label | start() Get the start label of the protected block. | public String | toString() | public Type | type() Get the type of the exception to catch. |
TryCatch | public TryCatch(Label start, Label end, Label handler, Type type)(Code) | | Constructor.
Parameters: start - The start label of the protected block. Parameters: end - The label of the instruction after the end of the protectedblock. Parameters: handler - The start label of the exception handler. Parameters: type - The type of exception to catch. |
end | public Label end()(Code) | | Get the end label of the protected block.
The end label. |
handler | public Label handler()(Code) | | Get the start label of the catch block.
The handler label. |
setHandler | public void setHandler(Label handler)(Code) | | Set the start label of the catch block.
|
start | public Label start()(Code) | | Get the start label of the protected block.
The start label. |
type | public Type type()(Code) | | Get the type of the exception to catch.
The type of the exception to catch. |
|
|