com.caucho.quercus.statement
Class ExprStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.ExprStatement
Direct Known Subclasses:
ProExprStatement

public class ExprStatement
extends Statement

Represents an expression statement in a PHP program.


Field Summary
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
ExprStatement(Location location, Expr expr)
          Creates the expression statement.
 
Method Summary
 Value execute(Env env)
           
 Expr getExpr()
          Returns the expression.
 
Methods inherited from class com.caucho.quercus.statement.Statement
fallThrough, 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

ExprStatement

public ExprStatement(Location location,
                     Expr expr)
Creates the expression statement.

Method Detail

getExpr

public Expr getExpr()
Returns the expression.


execute

public Value execute(Env env)
Specified by:
execute in class Statement