|
||||||||||
| 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.ForeachStatement
public class ForeachStatement
Represents a foreach statement.
| Field Summary | |
|---|---|
protected Statement |
_block
|
protected boolean |
_isRef
|
protected AbstractVarExpr |
_key
|
protected java.lang.String |
_label
|
protected Expr |
_objExpr
|
protected AbstractVarExpr |
_value
|
| Fields inherited from class com.caucho.quercus.statement.Statement |
|---|
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN |
| Constructor Summary | |
|---|---|
ForeachStatement(Location location,
Expr objExpr,
AbstractVarExpr key,
AbstractVarExpr value,
boolean isRef,
Statement block,
java.lang.String label)
|
|
| Method Summary | |
|---|---|
Value |
execute(Env env)
|
boolean |
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 |
| Field Detail |
|---|
protected final Expr _objExpr
protected final AbstractVarExpr _key
protected final AbstractVarExpr _value
protected final boolean _isRef
protected final Statement _block
protected final java.lang.String _label
| Constructor Detail |
|---|
public ForeachStatement(Location location,
Expr objExpr,
AbstractVarExpr key,
AbstractVarExpr value,
boolean isRef,
Statement block,
java.lang.String label)
| Method Detail |
|---|
public boolean isLoop()
isLoop in class Statementpublic Value execute(Env env)
execute in class Statement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||