Class: Value

Value()

Object produced by the call(this) to a function, and whose lineage can be computed.

Methods

(static) lift(o)

Converts an arbitrary object into a Value.
Parameters:
Name Type Description
o The object to convert. If o is a Value, it is returned as is. Otherwise, o is converted into a ConstantValue that returns o.
Source:
Returns:
The converted value

getValue()

Gets the concrete value carried by this Value object.
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
Source:
Returns:
The list of terminal traceability nodes produced by this query