public class TryStatement extends Statement
Modifier and Type | Class and Description |
---|---|
static class |
TryStatement.Catch |
Modifier and Type | Field and Description |
---|---|
protected Statement |
_block |
protected java.util.ArrayList<TryStatement.Catch> |
_catchList |
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
Constructor and Description |
---|
TryStatement(Location location,
Statement block) |
Modifier and Type | Method and Description |
---|---|
void |
addCatch(StringValue id,
AbstractVarExpr lhs,
Statement block) |
Value |
execute(Env env) |
fallThrough, getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString
protected final Statement _block
protected final java.util.ArrayList<TryStatement.Catch> _catchList
public void addCatch(StringValue id, AbstractVarExpr lhs, Statement block)