|
||||||||||
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.ReturnStatement
public class ReturnStatement
Represents a return expression statement in a PHP program.
Field Summary | |
---|---|
protected Expr |
_expr
|
Fields inherited from class com.caucho.quercus.statement.Statement |
---|
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN |
Constructor Summary | |
---|---|
ReturnStatement(Expr expr)
Creates the echo statement. |
|
ReturnStatement(Location location,
Expr expr)
Creates the echo statement. |
Method Summary | |
---|---|
Value |
execute(Env env)
Executes the statement, returning the expression value. |
int |
fallThrough()
Returns true if control can go past the statement. |
Methods inherited from class com.caucho.quercus.statement.Statement |
---|
getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Expr _expr
Constructor Detail |
---|
public ReturnStatement(Expr expr)
public ReturnStatement(Location location, Expr expr)
Method Detail |
---|
public Value execute(Env env)
execute
in class Statement
public int fallThrough()
fallThrough
in class Statement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |