com.caucho.quercus.statement
Class ProReturnStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.ReturnStatement
          extended by com.caucho.quercus.statement.ProReturnStatement
All Implemented Interfaces:
CompilingStatement

public class ProReturnStatement
extends ReturnStatement
implements CompilingStatement

Represents a return expression statement in a PHP program.


Field Summary
 
Fields inherited from class com.caucho.quercus.statement.ReturnStatement
_expr
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
ProReturnStatement(Location loc, Expr expr)
          Creates the return statement.
 
Method Summary
 StatementGenerator getGenerator()
          Returns the generator.
 
Methods inherited from class com.caucho.quercus.statement.ReturnStatement
execute, fallThrough
 
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
 

Constructor Detail

ProReturnStatement

public ProReturnStatement(Location loc,
                          Expr expr)
Creates the return statement.

Method Detail

getGenerator

public StatementGenerator getGenerator()
Description copied from interface: CompilingStatement
Returns the generator.

Specified by:
getGenerator in interface CompilingStatement