com.caucho.quercus.statement
Class FunctionDefStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.FunctionDefStatement
Direct Known Subclasses:
ProFunctionDefStatement

public class FunctionDefStatement
extends Statement

Represents a function definition


Field Summary
protected  Function _fun
           
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
FunctionDefStatement(Location location, Function fun)
           
 
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

_fun

protected Function _fun
Constructor Detail

FunctionDefStatement

public FunctionDefStatement(Location location,
                            Function fun)
Method Detail

execute

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