Home Reference Source
public class | source

Context

Indirect Subclass:

NodeContext

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

host: *

public get

id: *

public get

location: {"context": *, "host": *, "machine": *}

public get

name: *

Private Members
private

_host: *

private
private

_name: *

private

Method Summary

Public Methods
public

async compile(cell: *): {"source": *, "expr": *, "global": *, "options": *, "inputs": *, "outputs": *, "messages": *}

public

async evaluate(node: *): *

public

async execute(cell: *): *

public

async libraries(): {}

public

async pack(value: *): *

public

async packPackage(value: *): {"type": *, "data": *}

public

async packPointer(objectPattern: {"type": *, "name": *, "preview": *}): {"type": *, "path": *, "preview": *}

public

async provide(what: *): *

public

async resolve(what: *): *

public

async unpack(node: Object): [type]

Unpack a data node into a native data value

public

async unpackPackage(pkg: *): *

public

async unpackPointer(pointer: *): *

Public Constructors

public constructor() source

Public Members

public get host: * source

public get id: * source

public get location: {"context": *, "host": *, "machine": *} source

public get name: * source

Private Members

private _host: * source

private _id: string source

private _name: * source

private _variables: {} source

Public Methods

public async compile(cell: *): {"source": *, "expr": *, "global": *, "options": *, "inputs": *, "outputs": *, "messages": *} source

Params:

NameTypeAttributeDescription
cell *

Return:

{"source": *, "expr": *, "global": *, "options": *, "inputs": *, "outputs": *, "messages": *}

public async evaluate(node: *): * source

Params:

NameTypeAttributeDescription
node *

Return:

*

public async execute(cell: *): * source

Params:

NameTypeAttributeDescription
cell *

Return:

*

public async libraries(): {} source

Return:

{}

public async pack(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public async packPackage(value: *): {"type": *, "data": *} source

Params:

NameTypeAttributeDescription
value *

Return:

{"type": *, "data": *}

public async packPointer(objectPattern: {"type": *, "name": *, "preview": *}): {"type": *, "path": *, "preview": *} source

Params:

NameTypeAttributeDescription
objectPattern {"type": *, "name": *, "preview": *}
  • default: {"type":null,"name":null,"preview":null}

Return:

{"type": *, "path": *, "preview": *}

public async provide(what: *): * source

Params:

NameTypeAttributeDescription
what *

Return:

*

public async resolve(what: *): * source

Params:

NameTypeAttributeDescription
what *

Return:

*

public async unpack(node: Object): [type] source

Unpack a data node into a native data value

Params:

NameTypeAttributeDescription
node Object

A data node (either a data packet or data pointer)

Return:

[type]

[description]

public async unpackPackage(pkg: *): * source

Params:

NameTypeAttributeDescription
pkg *

Return:

*

public async unpackPointer(pointer: *): * source

Params:

NameTypeAttributeDescription
pointer *

Return:

*