Realm
Represents a javascript execution environment including it's scopes and standard libraries.
Constructor Summary
Public Constructor | ||
public |
constructor(options: *, engine: *) |
Member Summary
Public Members | ||
public |
Array: * |
|
public |
|
|
public |
Boolean: * |
|
public |
|
|
public |
Error: * |
|
public |
|
|
public |
Esper: * |
|
public |
Function: * |
|
public |
|
|
public |
|
|
public |
Number: * |
|
public |
|
|
public |
Object: * |
|
public |
|
|
public |
Proxy: * |
|
public |
RegExp: * |
|
public |
|
|
public |
String: * |
|
public |
|
|
public |
|
|
public |
engine: * |
|
public |
|
|
public |
importCache: * |
|
public |
language: * |
|
public |
options: * |
Method Summary
Public Methods | ||
public |
fromNative(native: *, x: *): * |
|
public |
import(native: *, modeHint: *): * |
|
public |
lookupWellKnown(v: *): * |
|
public |
lookupWellKnownByName(v: *): * |
|
public |
makeLiteralValue(v: *, n: *): * |
|
public |
parser(code: *, options: *): * |
|
public |
print() |
|
public |
write() |
Public Constructors
public constructor(options: *, engine: *) source
Params:
Name | Type | Attribute | Description |
options | * | ||
engine | * |
Public Members
public Array: * source
public ArrayPrototype: * source
public Boolean: * source
public BooleanPrototype: * source
public Error: * source
public ErrorPrototype: * source
public Esper: * source
public Function: * source
public FunctionPrototype: * source
public Number: * source
public NumberPrototype: NumberPrototype source
public Object: * source
public Proxy: * source
public RegExp: * source
public RegExpPrototype: * source
public String: * source
public StringPrototype: StringPrototype source
public engine: * source
public importCache: * source
public language: * source
public options: * source
Public Methods
public fromNative(native: *, x: *): * source
Params:
Name | Type | Attribute | Description |
native | * | ||
x | * |
Return:
* |
public import(native: *, modeHint: *): * source
Params:
Name | Type | Attribute | Description |
native | * | ||
modeHint | * |
Return:
* |
public makeLiteralValue(v: *, n: *): * source
Params:
Name | Type | Attribute | Description |
v | * | ||
n | * |
Return:
* |
public parser(code: *, options: *): * source
Params:
Name | Type | Attribute | Description |
code | * | ||
options | * |
Return:
* |