BridgeValue
Extends:
Represents a value that maps directly to an untrusted local value.
Static Method Summary
Static Public Methods | ||
public static |
make(native: *): * |
Constructor Summary
Public Constructor | ||
public |
constructor(value: *) |
Member Summary
Public Members | ||
public get |
debugString: * |
|
public get |
jsTypeName: * |
|
public |
native: * |
|
public get |
truthy: * |
Method Summary
Public Methods | ||
public |
* add(other: *): * |
|
public |
* asString(): * |
|
public |
* bitAnd(other: *): * |
|
public |
* bitOr(other: *): * |
|
public |
* bitXor(other: *): * |
|
public |
|
|
public |
* divide(other: *): * |
|
public |
* doubleEquals(other: *): * |
|
public |
* get(name: *): * |
|
public |
* gt(other: *): * |
|
public |
* gte(other: *): * |
|
public |
* inOperator(other: *): * |
|
public |
* instanceOf(other: *): * |
|
public |
* lt(other: *): * |
|
public |
* lte(other: *): * |
|
public |
makeBridge(value: *): * |
|
public |
* makeThisForNew(): * |
|
public |
* mod(other: *): * |
|
public |
* multiply(other: *): * |
|
public |
* not(): * |
|
public |
* observableProperties(realm: *) |
|
public |
ref(name: *, s: *): * |
|
public |
* set(name: *, value: *) |
|
public |
* shiftLeft(other: *): * |
|
public |
* shiftRight(other: *): * |
|
public |
* shiftRightZF(other: *): * |
|
public |
* subtract(other: *): * |
|
public |
toNative(): * |
|
public |
* toStringValue(): * |
|
public |
* tripleEquals(other: *): * |
|
public |
* unaryMinus(): * |
|
public |
* unaryPlus(): * |
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 |
Static Public Methods
Public Constructors
public constructor(value: *) source
Override:
Value#constructorParams:
Name | Type | Attribute | Description |
value | * |
Public Members
public get debugString: * source
A string representation of this Value suitable for display when debugging.
Override:
Value#debugStringpublic native: * source
Public Methods
public * bitAnd(other: *): * source
Override:
Value#bitAndParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * bitOr(other: *): * source
Override:
Value#bitOrParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * bitXor(other: *): * source
Override:
Value#bitXorParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * divide(other: *): * source
Computes the javascript expression value / other
Override:
Value#divideParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * get(name: *): * source
Indexes the value to get the value of a property.
i.e. value[name]
Override:
Value#getParams:
Name | Type | Attribute | Description |
name | * |
Return:
* |
public * gt(other: *): * source
Computes the javascript expression value > other
Override:
Value#gtParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * gte(other: *): * source
Computes the javascript expression value >= other
Override:
Value#gteParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * inOperator(other: *): * source
Override:
Value#inOperatorParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * lt(other: *): * source
Computes the javascript expression value < other
Override:
Value#ltParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * lte(other: *): * source
Computes the javascript expression value <= other
Override:
Value#lteParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * mod(other: *): * source
Computes the javascript expression value % other
Override:
Value#modParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * multiply(other: *): * source
Computes the javascript expression value * other
Override:
Value#multiplyParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * observableProperties(realm: *) source
Params:
Name | Type | Attribute | Description |
realm | * |
public * set(name: *, value: *) source
Params:
Name | Type | Attribute | Description |
name | * | ||
value | * |
public * shiftLeft(other: *): * source
Override:
Value#shiftLeftParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * shiftRight(other: *): * source
Override:
Value#shiftRightParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * shiftRightZF(other: *): * source
Override:
Value#shiftRightZFParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * subtract(other: *): * source
Computes the javascript expression value - other
Override:
Value#subtractParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public toNative(): * source
Converts this value to a native javascript value.
Override:
Value#toNativeReturn:
* |
public * tripleEquals(other: *): * source
Computes the javascript expression value === other
Override:
Value#tripleEqualsParams:
Name | Type | Attribute | Description |
other | * |
Return:
* |
public * unaryMinus(): * source
Computes the javascript expression -value
Override:
Value#unaryMinusReturn:
* |
public * unaryPlus(): * source
Computes the javascript expression +value
Override:
Value#unaryPlusReturn:
* |