public class IfStatement extends Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
Constructor and Description |
---|
IfStatement(Location location,
Expr test,
Statement trueBlock,
Statement falseBlock) |
Modifier and Type | Method and Description |
---|---|
Value |
execute(Env env)
Executes the 'if' statement, returning any value.
|
protected Statement |
getFalseBlock() |
protected Expr |
getTest() |
protected Statement |
getTrueBlock() |
fallThrough, getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString