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

    This DataflowGraphBuilder extends DataflowGraph with builder methods to easily and compactly add vertices and edges to a dataflow graph.

    Type Parameters

    Hierarchy (View Summary)

    Index
    fileWritesPerCall: ReadonlySet<NodeId> | undefined

    The file writes within function bodies whose readers read the calls writing their file as well, so only a slice starting in their body needs every call they have an EdgeType.SideEffectOnCall on.

    rootVertices: Set<NodeId> = ...

    Contains the vertices of the root level graph (i.e., included those vertices from the complete graph, that are nested within function definitions)

    statementOrder: ReadonlyMap<NodeId, readonly [number, number]> | undefined

    Where the top-level statements of every file start and end running, counted in the order they first do, as a statement sourcing a file runs that file's statements in between.

    • States that R prints the top-level values ids by an implicit print, which reads the printing options, or every option for a value a method may print (dispatched), and prints into the diversion of the output, see autoPrintReads.

      Parameters

      • ids: readonly NodeId[]
      • dispatched: boolean = false

      Returns this

    • Whether the graph contains a node with id (checking function definitions too if includeDefinedFunctions).

      Parameters

      • id: NodeId
      • includeDefinedFunctions: boolean = true

      Returns boolean

    • Runs fn with each walk for call targets on its own: code that changes the graph after nearly every call it asks about (as linking calls does) would only start the shared walks anew each time, which costs more than walking alone.

      Type Parameters

      • T

      Parameters

      • fn: () => T

      Returns T