JavascriptContext
An execution context for Javascript.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
id: * |
|
| Private Members | ||
| private |
_host: * |
|
| private |
_id: * |
|
| private |
_libraries: * |
|
| private |
Values residing in this context. |
|
Method Summary
| Public Methods | ||
| public |
async compile(cell: *): * |
|
| public |
async evaluateCall(call: *): * |
|
| public |
async execute(cell: *): * |
|
| public |
importLibrary(lib: *) |
|
| public |
pack(value: *, opts: {}): * |
|
| public |
resolve(node: *): * |
|
| public |
resolveFunction(node: *): * |
|
| public |
unpack(pkg: *): * |
|
| Private Methods | ||
| private |
async _collectInputs(inputs: *): {"inputNames": *, "inputValues": *} |
|
Public Constructors
public constructor() source
Public Members
public get id: * source
Private Members
private _host: * source
private _id: * source
private _libraries: * source
Public Methods
public importLibrary(lib: *) source
Params:
| Name | Type | Attribute | Description |
| lib | * |
public pack(value: *, opts: {}): * source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| opts | {} |
|
Return:
| * |
Private Methods
private async _collectInputs(inputs: *): {"inputNames": *, "inputValues": *} source
Params:
| Name | Type | Attribute | Description |
| inputs | * |
Return:
| {"inputNames": *, "inputValues": *} |
