@eagleoutice/flowr - v2.16.8
    Preparing search index...

    Interface ControlDependency

    A control dependency links a vertex to the control flow element which may have an influence on its execution. Within if(p) a else b, a and b have a control dependency on the if (which in turn decides based on p).

    interface ControlDependency {
        byIteration?: boolean;
        byPromise?: boolean;
        file?: string;
        id: NodeId;
        when?: boolean;
    }
    Index
    byIteration?: boolean

    whether this control dependency was created due to iteration (e.g., a loop)

    byPromise?: boolean

    whether this control dependency is a promise's: what stands under it runs only once the call id forces it, see ControlFlow.withinPromise

    file?: string

    any file-exist assumptions made

    id: NodeId

    The id of the node that causes the control dependency to be active (e.g., the condition of an if)

    when?: boolean

    when does this control dependency trigger (if the condition is true or false)?