ClosureValue
Extends:
Represents a value that maps directly to an untrusted local value.
Constructor Summary
Public Constructor | ||
public |
constructor(func: object, scope: Scope) |
Member Summary
Public Members | ||
public get |
|
|
public |
func: * |
|
public |
|
|
public get |
|
|
public |
realm: * |
|
public |
|
|
public |
scope: * |
|
public get |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
|
|
public |
* doubleEquals(other: *): * |
|
public |
toNative(): * |
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 |
From class ObjectValue | ||
public get |
debugString: * |
|
public get |
|
|
public get |
|
|
public get |
|
|
public |
|
|
public |
properties: * |
|
public |
proto: * |
|
public |
realm: * |
|
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(): * |
Public Constructors
Public Members
public get debugString: string source
A string representation of this Value suitable for display when debugging.
Override:
ObjectValue#debugStringpublic func: * source
public funcSourceAST: * source
public scope: * source
Public Methods
public * doubleEquals(other: *): * source
Override:
ObjectValue#doubleEqualsParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public toNative(): * source
Converts this value to a native javascript value.
Override:
ObjectValue#toNativeReturn:
* |