Value

Undocumented in source.
struct Value {}

Members

Functions

Call
void* Call(CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
Construct
void* Construct(CallContext* cc, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
Get
Value* Get(CallContext* cc, d_string PropertyName)
Undocumented in source. Be warned that the author may not have intended to support it.
Get
Value* Get(CallContext* cc, d_uint32 index)
Undocumented in source. Be warned that the author may not have intended to support it.
Get
Value* Get(CallContext* cc, Identifier* id)
Undocumented in source. Be warned that the author may not have intended to support it.
Put
Value* Put(CallContext* cc, d_string PropertyName, Value* value)
Undocumented in source. Be warned that the author may not have intended to support it.
Put
Value* Put(CallContext* cc, d_uint32 index, Value* vindex, Value* value)
Undocumented in source. Be warned that the author may not have intended to support it.
checkReference
void checkReference(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(CallContext* cc, const(Value) v)
Undocumented in source. Be warned that the author may not have intended to support it.
copyTo
void copyTo(Value* v)
Undocumented in source. Be warned that the author may not have intended to support it.
dump
void dump()
Undocumented in source. Be warned that the author may not have intended to support it.
getErrInfo
void getErrInfo(CallContext* cc, ErrInfo* perrinfo, int linnum)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
d_string getType()
Undocumented in source. Be warned that the author may not have intended to support it.
getTypeof
d_string getTypeof()
Undocumented in source. Be warned that the author may not have intended to support it.
hashString
uint hashString()
Undocumented in source. Be warned that the author may not have intended to support it.
isArrayIndex
int isArrayIndex(CallContext* cc, d_uint32 index)
Undocumented in source. Be warned that the author may not have intended to support it.
isBoolean
int isBoolean()
Undocumented in source. Be warned that the author may not have intended to support it.
isEqual
bool isEqual(CallContext* cc, const(Value) v)
Undocumented in source. Be warned that the author may not have intended to support it.
isIterator
int isIterator()
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
int isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
isNumber
int isNumber()
Undocumented in source. Be warned that the author may not have intended to support it.
isObject
int isObject()
Undocumented in source. Be warned that the author may not have intended to support it.
isPrimitive
int isPrimitive()
Undocumented in source. Be warned that the author may not have intended to support it.
isString
int isString()
Undocumented in source. Be warned that the author may not have intended to support it.
isUndefined
int isUndefined()
Undocumented in source. Be warned that the author may not have intended to support it.
isUndefinedOrNull
int isUndefinedOrNull()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(const(Value) v)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(const(Value) v)
Undocumented in source. Be warned that the author may not have intended to support it.
putIterator
Value* putIterator(CallContext* cc, Value* v)
Undocumented in source. Be warned that the author may not have intended to support it.
putSignalingUndefined
void putSignalingUndefined(d_string id)
Undocumented in source. Be warned that the author may not have intended to support it.
putVboolean
void putVboolean(d_boolean b)
Undocumented in source.
putViterator
void putViterator(Iterator* i)
Undocumented in source. Be warned that the author may not have intended to support it.
putVnull
void putVnull()
Undocumented in source. Be warned that the author may not have intended to support it.
putVnumber
void putVnumber(d_number n)
Undocumented in source. Be warned that the author may not have intended to support it.
putVobject
void putVobject(Dobject o)
Undocumented in source. Be warned that the author may not have intended to support it.
putVstring
void putVstring(d_string s)
Undocumented in source. Be warned that the author may not have intended to support it.
putVstring
void putVstring(d_string s, uint hash)
Undocumented in source. Be warned that the author may not have intended to support it.
putVtime
void putVtime(d_time n)
Undocumented in source. Be warned that the author may not have intended to support it.
putVundefined
void putVundefined()
Undocumented in source. Be warned that the author may not have intended to support it.
throwRefError
void throwRefError(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toBoolean
d_boolean toBoolean(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toDtime
d_time toDtime(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
uint toHash()
Undocumented in source.
toHash
uint toHash(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toInt32
d_int32 toInt32(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toInteger
d_number toInteger(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toLocaleString
d_string toLocaleString(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toNumber
d_number toNumber(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toObject
Dobject toObject(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toPrimitive
void* toPrimitive(CallContext* cc, Value* v, d_string PreferredType)
Undocumented in source. Be warned that the author may not have intended to support it.
toSource
d_string toSource(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
d_string toString(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
d_string toString(CallContext* cc, int radix)
Undocumented in source. Be warned that the author may not have intended to support it.
toUint16
d_uint16 toUint16(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.
toUint32
d_uint32 toUint32(CallContext* cc)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

calcHash
uint calcHash(uint u)
Undocumented in source. Be warned that the author may not have intended to support it.
calcHash
uint calcHash(double d)
Undocumented in source. Be warned that the author may not have intended to support it.
calcHash
uint calcHash(d_string s)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
void copy(Value* to, Value* from)
Undocumented in source.
stringcmp
int stringcmp(d_string s1, d_string s2)

Use this instead of std.string.cmp() because we don't care about lexicographic ordering. This is faster.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

hash
uint hash;
Undocumented in source.
vtype
ubyte vtype;
Undocumented in source.

Meta