Class: NaryValue

NaryValue(value, values, positions)

Value that is linked to a list of other values. This class is the ancestor used for values produced by most n-ary atomic functions.

Constructor

new NaryValue(value, values, positions)

Creates a new instance of this value.
Parameters:
Name Type Description
value Object The value to produce
values Array An array of Values that are linked to this value
positions Array An array of integers with the position of each input value in the function's arguments
Source:

Extends

Methods

getValue()

Gets the concrete value carried by this Value object.
Overrides:
Source:
Returns:
The value

query(type, d, root, A)

Queries the provenance of a value.
Parameters:
Name Type Description
type The type of lineage relationship
d A designator representing the part of the object that is the subject of the query
root The node to which the rsults of the query should be appended as children
A factory to produce traceability nodes
Overrides:
Source:
Returns:
The list of terminal traceability nodes produced by this query