public abstract class Statement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BREAK_FALL_THROUGH |
static int |
FALL_THROUGH |
static int |
RETURN |
Modifier | Constructor and Description |
---|---|
protected |
Statement() |
protected |
Statement(Location location) |
Modifier and Type | Method and Description |
---|---|
abstract Value |
execute(Env env) |
int |
fallThrough()
Returns true if the statement can fallthrough.
|
Location |
getLocation() |
Statement |
getParent() |
boolean |
isLoop() |
protected void |
rethrow(java.lang.Throwable t) |
protected <E extends java.lang.Throwable> |
rethrow(java.lang.Throwable t,
java.lang.Class<E> cl) |
void |
setParent(Statement parent) |
java.lang.String |
toString() |
public static final int FALL_THROUGH
public static final int BREAK_FALL_THROUGH
public static final int RETURN
protected Statement()
protected Statement(Location location)
public final Location getLocation()
public boolean isLoop()
public final Statement getParent()
public final void setParent(Statement parent)
public int fallThrough()
protected final void rethrow(java.lang.Throwable t) throws java.lang.Throwable
java.lang.Throwable
protected final <E extends java.lang.Throwable> void rethrow(java.lang.Throwable t, java.lang.Class<E> cl) throws E extends java.lang.Throwable
E extends java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Object