com.caucho.quercus.statement
Class GlobalStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.GlobalStatement
Direct Known Subclasses:
ProGlobalStatement

public class GlobalStatement
extends Statement

Represents a global statement in a PHP program.


Field Summary
protected  VarExpr _var
           
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
GlobalStatement(Location location, VarExpr var)
          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
Constructor Detail

GlobalStatement

public GlobalStatement(Location location,
                       VarExpr var)
Creates the echo statement.

Method Detail

execute

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