com.caucho.quercus.env
Class LazyEnvVar

java.lang.Object
  extended by com.caucho.quercus.env.EnvVar
      extended by com.caucho.quercus.env.LazyEnvVar

public class LazyEnvVar
extends EnvVar

For compiled code and error reporting. XXX: Need to instantiate vars when they're used, not at the top of the method.


Constructor Summary
LazyEnvVar(StringValue name)
           
 
Method Summary
 Value get()
          Returns the current value.
 Var getVar()
          Returns the current Var.
 Value set(Value value)
          Sets the current value.
 Var setVar(Var var)
          Sets the var.
 
Methods inherited from class com.caucho.quercus.env.EnvVar
setRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyEnvVar

public LazyEnvVar(StringValue name)
Method Detail

get

public Value get()
Returns the current value.

Specified by:
get in class EnvVar

set

public Value set(Value value)
Sets the current value.

Specified by:
set in class EnvVar

getVar

public Var getVar()
Returns the current Var.

Specified by:
getVar in class EnvVar

setVar

public Var setVar(Var var)
Sets the var.

Specified by:
setVar in class EnvVar