com.caucho.quercus.statement
Class Statement
java.lang.Object
com.caucho.quercus.statement.Statement
- Direct Known Subclasses:
- BlockStatement, BreakStatement, ClassDefStatement, ClassStaticStatement, ContinueStatement, DoStatement, EchoStatement, ExprStatement, ForeachStatement, ForStatement, FunctionDefStatement, GlobalStatement, IfStatement, NullStatement, ReturnRefStatement, ReturnStatement, StaticStatement, SwitchStatement, TextStatement, ThrowStatement, TryStatement, VarGlobalStatement, WhileStatement
public abstract class Statement
- extends java.lang.Object
Represents a PHP statement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FALL_THROUGH
public static final int FALL_THROUGH
- See Also:
- Constant Field Values
BREAK_FALL_THROUGH
public static final int BREAK_FALL_THROUGH
- See Also:
- Constant Field Values
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
Statement
protected Statement()
Statement
protected Statement(Location location)
getLocation
public final Location getLocation()
isLoop
public boolean isLoop()
getParent
public final Statement getParent()
setParent
public final void setParent(Statement parent)
execute
public abstract Value execute(Env env)
fallThrough
public int fallThrough()
- Returns true if the statement can fallthrough.
rethrow
protected final void rethrow(java.lang.Throwable t)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
rethrow
protected final <E extends java.lang.Throwable> void rethrow(java.lang.Throwable t,
java.lang.Class<E> cl)
throws E extends java.lang.Throwable
- Throws:
E extends java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object