ObjectValue
Extends:
Direct Subclass:
Indirect Subclass:
Represents an Object.
Constructor Summary
Public Constructor | ||
public |
constructor(realm: *, proto: *) |
Member Summary
Public Members | ||
public get |
debugString: * |
|
public |
|
|
public get |
|
|
public |
properties: * |
|
public |
proto: * |
|
public |
realm: * |
|
public get |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
* add(other: *): * |
|
public |
* constructorOf(what: *, realm: *): * |
|
public |
delete(name: *, s: *): * |
|
public |
* doubleEquals(other: *): * |
|
public |
eraseAndSetPrototype(val: *) |
|
public |
* get(name: *, realm: *, ctxthis: *): * |
|
public |
getImmediate(name: *, realm: *, ctxthis: *): * |
|
public |
getPropertyValueMap(): * |
|
public |
getPrototype(): * |
|
public |
has(name: *): * |
|
public |
hasOwnProperty(name: *): * |
|
public |
* inOperator(str: *): * |
|
public |
* instanceOf(other: *, realm: *): * |
|
public |
* observableProperties(realm: *) |
|
public |
rawSetProperty(name: *, value: *) |
|
public |
ref(name: *, ctxthis: *): {"name": *, "object": *, "isVariable": *, "del": *, "getValue": *, "setValue": *} |
|
public |
set(name: *, value: *, s: *, extra: *): * |
|
public |
setImmediate(name: *, value: *): * |
|
public |
setPrototype(val: *): * |
|
public |
toJS(): * |
|
public |
toNative(): * |
|
public |
* toNumberValue(): * |
|
public |
* toObjectValue(realm: *): * |
|
public |
* toPrimitiveValue(preferedType: *): * |
|
public |
* toStringValue(): * |
Inherited Summary
From class Value | ||
public static get |
Holds a value representing |
|
public static get |
false: BooleanValue: * Holds a value representing |
|
public static get |
nan: NumberValue: * Holds a value representing |
|
public static get |
Holds a value representing |
|
public static get |
true: BooleanValue: * Holds a value representing |
|
public static get |
undef: UndefinedValue: * Holds a value representing |
|
public static get |
zero: NumberValue: * Holds a value representing |
|
public static |
createNativeBookmark(v: *, realm: *): * |
|
public static |
fromNative(value: any, realm: Realm): * Convert a native javascript value to a Value |
|
public static |
fromPrimativeNative(value: any): * Convert a native javascript primative value to a Value |
|
public static |
getBookmark(native: *): * |
|
public static |
hasBookmark(native: *): * |
|
public get abstract |
debugString: string: * A string representation of this Value suitable for display when debugging. |
|
public get |
isCallable: * |
|
public get |
|
|
public get |
specTypeName: * |
|
public get abstract |
Is the value is truthy, i.e. |
|
public |
serial: * |
|
public |
* bitAnd(other: *): * |
|
public |
* bitNot(): * |
|
public |
* bitOr(other: *): * |
|
public |
* bitXor(other: *): * |
|
public |
Computes the javascript expression |
|
public |
* doubleNotEquals(other: Value, realm: Realm): Value Computes the javascript expression |
|
public |
* fastGen(): * Quickly make a generator for this value |
|
public |
fromNative(other: *, realm: *): * |
|
public abstract |
Indexes the value to get the value of a property. |
|
public |
getImmediate(name: *): * |
|
public |
getPrototypeProperty(): * |
|
public |
Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
* inOperator(other: *): * |
|
public |
inspect(): * |
|
public |
Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
* makeThisForNew(realm: *): * |
|
public |
Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
Computes the |
|
public |
* shiftLeft(other: *): * |
|
public |
* shiftRight(other: *): * |
|
public |
* shiftRightZF(other: *): * |
|
public |
Computes the javascript expression |
|
public |
* toBooleanValue(): * |
|
public |
* toIntNative(): * |
|
public |
toJS(): * Deep copy this value to a native javascript value. |
|
public abstract |
toNative(): * Converts this value to a native javascript value. |
|
public |
* toNumberNative(): * |
|
public |
* toNumberValue() |
|
public |
* toPrimitiveNative(preferedType: *): * |
|
public |
* toPrimitiveValue(preferedType: *) |
|
public |
* toStringNative(): * |
|
public |
* toStringValue() |
|
public |
* toUIntNative(): * |
|
public |
* tripleEquals(other: Value, realm: Realm): Value Computes the javascript expression |
|
public |
Computes the javascript expression |
|
public |
* unaryMinus(): Value Computes the javascript expression |
|
public |
Computes the javascript expression |
Public Constructors
public constructor(realm: *, proto: *) source
Override:
Value#constructorParams:
Name | Type | Attribute | Description |
realm | * | ||
proto | * |
Public Members
public get debugString: * source
A string representation of this Value suitable for display when debugging.
Override:
Value#debugStringpublic properties: * source
public proto: * source
public realm: * source
Public Methods
public * constructorOf(what: *, realm: *): * source
Params:
Name | Type | Attribute | Description |
what | * | ||
realm | * |
Return:
* |
public eraseAndSetPrototype(val: *) source
Params:
Name | Type | Attribute | Description |
val | * |
public * get(name: *, realm: *, ctxthis: *): * source
Indexes the value to get the value of a property.
i.e. value[name]
Override:
Value#getParams:
Name | Type | Attribute | Description |
name | * | ||
realm | * | ||
ctxthis | * |
Return:
* |
public getImmediate(name: *, realm: *, ctxthis: *): * source
Override:
Value#getImmediateParams:
Name | Type | Attribute | Description |
name | * | ||
realm | * | ||
ctxthis | * |
Return:
* |
public * inOperator(str: *): * source
Override:
Value#inOperatorParams:
Name | Type | Attribute | Description |
str | * |
Return:
* |
public * instanceOf(other: *, realm: *): * source
Params:
Name | Type | Attribute | Description |
other | * | ||
realm | * |
Return:
* |
public * observableProperties(realm: *) source
Params:
Name | Type | Attribute | Description |
realm | * |
public rawSetProperty(name: *, value: *) source
Params:
Name | Type | Attribute | Description |
name | * | ||
value | * |
public ref(name: *, ctxthis: *): {"name": *, "object": *, "isVariable": *, "del": *, "getValue": *, "setValue": *} source
Params:
Name | Type | Attribute | Description |
name | * | ||
ctxthis | * |
Return:
{"name": *, "object": *, "isVariable": *, "del": *, "getValue": *, "setValue": *} |
public set(name: *, value: *, s: *, extra: *): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
value | * | ||
s | * | ||
extra | * |
Return:
* |
public setImmediate(name: *, value: *): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
value | * |
Return:
* |
public toJS(): * source
Deep copy this value to a native javascript value.
Override:
Value#toJSReturn:
* |
public toNative(): * source
Converts this value to a native javascript value.
Override:
Value#toNativeReturn:
* |
public * toPrimitiveValue(preferedType: *): * source
Override:
Value#toPrimitiveValueParams:
Name | Type | Attribute | Description |
preferedType | * |
Return:
* |