com.caucho.quercus.env
Class ArgGetFieldValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.ArgValue
          extended by com.caucho.quercus.env.ArgGetFieldValue
All Implemented Interfaces:
java.io.Serializable

public class ArgGetFieldValue
extends ArgValue

Represents an field-get argument which might be a call to a reference.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
ArgGetFieldValue(Env env, Value obj, StringValue name)
           
 
Method Summary
 Value getArg(Value name, boolean isTop)
          Creates an argument which may create the given field.
 Value getFieldArg(Env env, StringValue name, boolean isTop)
          Creates an argument which may create the given field.
 Var getFieldVar(Env env, StringValue name)
          Converts to a reference variable.
 Var getVar(Value index)
          Converts to a reference variable.
 Value toAutoArray()
          Converts to an array if null.
 Value toAutoObject(Env env)
          Converts to an object if null.
 java.lang.String toJavaString()
          Converts to a java String object.
 Value toLocalRef()
          Converts to a reference variable.
 Value toLocalValue()
          Converts to a function argument.
 Value toLocalValueReadOnly()
          Converts to a read-only function argument.
 Var toLocalVarDeclAsRef()
          Converts to a reference variable.
 Value toRefValue()
          Converts to a reference variable.
 StringValue toStringValue()
          Converts to a StringValue.
 Value toValue()
          Converts to a value.
 Var toVar()
          Converts to a variable.
 
Methods inherited from class com.caucho.quercus.env.ArgValue
printRImpl, toArray, toArrayValue, toBoolean, toDouble, toStringValue, varDumpImpl
 
Methods inherited from class com.caucho.quercus.env.Value
abs, add, add, addOne, append, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, cmp, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eq, eql, eqValue, findFunction, generate, geq, get, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArgRef, getFieldArray, getFieldObject, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObject, getQuercusClass, getRef, getResourceType, getSize, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getType, getValueArray, getValueIterator, getValueType, gt, hasCurrent, hashCode, increment, initField, isA, isA, isArray, isBinary, isBoolean, isCallable, isDefault, isDouble, isDoubleConvertible, isEmpty, isFieldInit, isLong, isLongConvertible, isNull, isNumberConvertible, isNumeric, isObject, isResource, isset, isset, issetField, issetThisField, isString, isUnicode, isVar, jsonEncode, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, put, put, put, putField, putField, putField, putObject, putThisField, putThisField, putVar, remove, reset, rshift, serialize, serialize, set, setCharValueAt, setFieldInit, setJavaObject, shuffle, sub_rev, sub, sub, subOne, toArgRef, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toCallable, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaURL, toKey, toLocalThis, toLocalVar, toLong, toLongMarshalCost, toLongValue, toObject, toRef, toShortMarshalCost, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, unsetArray, unsetField, unsetThisArray, unsetThisField, valuesToArray, varDump, varExport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgGetFieldValue

public ArgGetFieldValue(Env env,
                        Value obj,
                        StringValue name)
Method Detail

getArg

public Value getArg(Value name,
                    boolean isTop)
Creates an argument which may create the given field.

Overrides:
getArg in class Value

getFieldArg

public Value getFieldArg(Env env,
                         StringValue name,
                         boolean isTop)
Creates an argument which may create the given field.

Overrides:
getFieldArg in class Value

toLocalVarDeclAsRef

public Var toLocalVarDeclAsRef()
Converts to a reference variable.

Overrides:
toLocalVarDeclAsRef in class Value

toValue

public Value toValue()
Converts to a value.

Overrides:
toValue in class ArgValue

toLocalValueReadOnly

public Value toLocalValueReadOnly()
Converts to a read-only function argument.

Overrides:
toLocalValueReadOnly in class Value

toLocalValue

public Value toLocalValue()
Converts to a function argument.

Overrides:
toLocalValue in class Value

toLocalRef

public Value toLocalRef()
Converts to a reference variable.

Overrides:
toLocalRef in class Value

toAutoArray

public Value toAutoArray()
Description copied from class: Value
Converts to an array if null.

Overrides:
toAutoArray in class Value

toAutoObject

public Value toAutoObject(Env env)
Description copied from class: Value
Converts to an object if null.

Overrides:
toAutoObject in class ArgValue

toRefValue

public Value toRefValue()
Converts to a reference variable.

Overrides:
toRefValue in class Value

toVar

public Var toVar()
Converts to a variable.

Overrides:
toVar in class Value

getVar

public Var getVar(Value index)
Converts to a reference variable.

Overrides:
getVar in class Value

getFieldVar

public Var getFieldVar(Env env,
                       StringValue name)
Converts to a reference variable.

Overrides:
getFieldVar in class Value

toStringValue

public StringValue toStringValue()
Description copied from class: Value
Converts to a StringValue.

Overrides:
toStringValue in class ArgValue

toJavaString

public java.lang.String toJavaString()
Description copied from class: Value
Converts to a java String object.

Overrides:
toJavaString in class Value