|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.statement.Statement
com.caucho.quercus.statement.IfStatement
public class IfStatement
Represents an if statement.
Field Summary |
---|
Fields inherited from class com.caucho.quercus.statement.Statement |
---|
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN |
Constructor Summary | |
---|---|
IfStatement(Location location,
Expr test,
Statement trueBlock,
Statement falseBlock)
|
Method Summary | |
---|---|
Value |
execute(Env env)
Executes the 'if' statement, returning any value. |
protected Statement |
getFalseBlock()
|
protected Expr |
getTest()
|
protected Statement |
getTrueBlock()
|
Methods inherited from class com.caucho.quercus.statement.Statement |
---|
fallThrough, getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IfStatement(Location location, Expr test, Statement trueBlock, Statement falseBlock)
Method Detail |
---|
protected Expr getTest()
protected Statement getTrueBlock()
protected Statement getFalseBlock()
public Value execute(Env env)
execute
in class Statement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |