|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.ArgValue
com.caucho.quercus.env.ArgGetValue
public class ArgGetValue
Represents an array-get argument which might be a call to a reference. foo($a[0]), where is not known if foo is defined as foo($a) or foo(&$a)
Field Summary |
---|
Fields inherited from class com.caucho.quercus.env.Value |
---|
L, NULL_ARGS, NULL_VALUE_ARRAY |
Constructor Summary | |
---|---|
ArgGetValue(Value obj,
Value index)
|
Method Summary | |
---|---|
Value |
getArg(Value index,
boolean isTop)
Returns the arg object for a field reference, e.g. |
Value |
getFieldArg(Env env,
StringValue index,
boolean isTop)
Returns the arg object for a field reference, e.g. |
Value |
toAutoArray()
Converts to an array if null. |
Value |
toAutoObject(Env env)
Converts to an object if null. |
Value |
toLocalRef()
Converts to a value. |
Value |
toLocalValue()
Converts to a value. |
Value |
toLocalValueReadOnly()
Converts to a read-only value. |
Var |
toLocalVarDeclAsRef()
Converts to a reference variable. |
Value |
toRefValue()
Convert to a function argument reference value, e.g. |
java.lang.Object |
writeReplace()
|
Methods inherited from class com.caucho.quercus.env.ArgValue |
---|
printRImpl, toArray, toArrayValue, toBoolean, toChar, toDouble, toInputStream, toJavaObject, toJavaString, toLong, toStringValue, toStringValue, toValue, varDumpImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgGetValue(Value obj, Value index)
Method Detail |
---|
public Value toRefValue()
Value
toRefValue
in class Value
public Value getArg(Value index, boolean isTop)
getArg
in class Value
public Value getFieldArg(Env env, StringValue index, boolean isTop)
getFieldArg
in class Value
public Var toLocalVarDeclAsRef()
toLocalVarDeclAsRef
in class Value
public Value toAutoArray()
Value
toAutoArray
in class Value
public Value toAutoObject(Env env)
Value
toAutoObject
in class ArgValue
public Value toLocalValueReadOnly()
toLocalValueReadOnly
in class Value
public Value toLocalValue()
toLocalValue
in class Value
public Value toLocalRef()
toLocalRef
in class Value
public java.lang.Object writeReplace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |