• Obtain the (dataflow) origin of a given node in the dfg.

    Parameters

    Returns undefined | Origin[]

    x <- 2
    if(u) {
    x <- 3
    }
    print(x)

    Requesting the origin of x in the print(x) node yields two SimpleOriginOrigin|variable origins for both definitions of x. Similarly, requesting the origin of print returns a BuiltInFunctionOrigin.

    This returns undefined only if there is no dataflow correspondence (e.g. in case of unevaluated non-standard eval).