com.caucho.quercus.statement
Class StaticStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.StaticStatement
Direct Known Subclasses:
ProStaticStatement

public class StaticStatement
extends Statement

Represents a static statement in a PHP program.


Field Summary
protected  Expr _initValue
           
protected  StringValue _staticName
           
protected  VarExpr _var
           
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
StaticStatement(Location location, VarExpr var, Expr initValue)
          Creates the echo statement.
 
Method Summary
 Value execute(Env env)
           
 
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
 

Field Detail

_var

protected VarExpr _var

_initValue

protected Expr _initValue

_staticName

protected StringValue _staticName
Constructor Detail

StaticStatement

public StaticStatement(Location location,
                       VarExpr var,
                       Expr initValue)
Creates the echo statement.

Method Detail

execute

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