|
||||||||||
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 |
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. |
char |
toChar()
Converts to a char |
double |
toDouble()
Converts to a double. |
java.io.InputStream |
toInputStream()
Returns a byteArrayInputStream for the value. |
java.lang.Object |
toJavaObject()
Converts to a java object. |
java.lang.String |
toJavaString()
Converts to a java String object. |
long |
toLong()
Converts to a long. |
StringValue |
toStringValue()
Converts to a StringValue. |
StringValue |
toStringValue(Env env)
Converts to a StringValue. |
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 Value
public ArrayValue toArrayValue(Env env)
Value
toArrayValue
in class Value
public StringValue toStringValue()
Value
toStringValue
in class Value
public StringValue toStringValue(Env env)
Value
toStringValue
in class Value
public char toChar()
Value
toChar
in class Value
public java.lang.String toJavaString()
Value
toJavaString
in class Value
public java.lang.Object toJavaObject()
Value
toJavaObject
in class Value
public boolean toBoolean()
Value
toBoolean
in class Value
public double toDouble()
Value
toDouble
in class Value
public long toLong()
Value
toLong
in class Value
public Value toArray()
Value
toArray
in class Value
public Value toAutoObject(Env env)
Value
toAutoObject
in class Value
public java.io.InputStream toInputStream()
Value
toInputStream
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 Value
java.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 Value
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |