com.caucho.quercus.statement
Class ProForeachStatement

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

public class ProForeachStatement
extends ForeachStatement
implements CompilingStatement

Represents a foreach statement.


Field Summary
 
Fields inherited from class com.caucho.quercus.statement.ForeachStatement
_block, _isRef, _key, _label, _objExpr, _value
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
ProForeachStatement(Location location, Expr objExpr, AbstractVarExpr key, AbstractVarExpr value, boolean isRef, Statement block, java.lang.String label)
           
 
Method Summary
 StatementGenerator getGenerator()
          Returns the generator.
 
Methods inherited from class com.caucho.quercus.statement.ForeachStatement
execute, isLoop
 
Methods inherited from class com.caucho.quercus.statement.Statement
fallThrough, getLocation, getParent, rethrow, rethrow, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProForeachStatement

public ProForeachStatement(Location location,
                           Expr objExpr,
                           AbstractVarExpr key,
                           AbstractVarExpr value,
                           boolean isRef,
                           Statement block,
                           java.lang.String label)
Method Detail

getGenerator

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

Specified by:
getGenerator in interface CompilingStatement