|
||||||||||
| 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
public abstract class ArgValue
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 | |
|---|---|
ArgValue()
|
|
| Method Summary | |
|---|---|
protected void |
printRImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
|
Value |
toArray()
Converts to an array. |
ArrayValue |
toArrayValue(Env env)
Casts to an array. |
Value |
toAutoObject(Env env)
Converts to an object if null. |
boolean |
toBoolean()
Converts to a boolean. |
double |
toDouble()
Converts to a double. |
StringValue |
toStringValue()
Converts to a StringValue. |
StringValue |
toStringValue(Env env)
|
Value |
toValue()
Converts to a raw value. |
protected void |
varDumpImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArgValue()
| Method Detail |
|---|
public Value toValue()
Value
toValue in class Valuepublic ArrayValue toArrayValue(Env env)
Value
toArrayValue in class Valuepublic StringValue toStringValue()
Value
toStringValue in class Valuepublic StringValue toStringValue(Env env)
toStringValue in class Valuepublic boolean toBoolean()
Value
toBoolean in class Valuepublic double toDouble()
Value
toDouble in class Valuepublic Value toArray()
Value
toArray in class Valuepublic Value toAutoObject(Env env)
Value
toAutoObject in class Value
protected void varDumpImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
throws java.io.IOException
varDumpImpl in class Valuejava.io.IOException
protected void printRImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
throws java.io.IOException
printRImpl in class Valuejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||