|
||||||||||
| 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, SCALAR_V |
| 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, toDouble, 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 Valuepublic Var toLocalVarDeclAsRef()
toLocalVarDeclAsRef in class Valuepublic Value toAutoArray()
Value
toAutoArray in class Valuepublic Value toAutoObject(Env env)
Value
toAutoObject in class ArgValuepublic Value toLocalValueReadOnly()
toLocalValueReadOnly in class Valuepublic Value toLocalValue()
toLocalValue in class Valuepublic Value toLocalRef()
toLocalRef in class Valuepublic java.lang.Object writeReplace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||