|
||||||||||
| 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.ForStatement
public class ForStatement
Represents a for statement.
| Field Summary | |
|---|---|
protected Statement |
_block
|
protected Expr |
_incr
|
protected Expr |
_init
|
protected java.lang.String |
_label
|
protected Expr |
_test
|
| Fields inherited from class com.caucho.quercus.statement.Statement |
|---|
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN |
| Constructor Summary | |
|---|---|
ForStatement(Location location,
Expr init,
Expr test,
Expr incr,
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 _init
protected final Expr _test
protected final Expr _incr
protected final Statement _block
protected final java.lang.String _label
| Constructor Detail |
|---|
public ForStatement(Location location,
Expr init,
Expr test,
Expr incr,
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 | |||||||||