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

    Options for staticSlice.

    interface StaticSliceOptions {
        ast: NormalizedAst;
        cache?: Map<string, Set<NodeId>>;
        ctx: ReadOnlyFlowrAnalyzerContext;
        direction?: SliceDirection;
        ids: readonly NodeId[];
        info: DataflowInformation;
        sliceGraph?: DataflowGraph<DataflowGraphVertexInfo, DfEdge>;
        threshold?: number;
    }
    Index

    Properties

    Normalized AST, used for id resolution and nesting info.

    cache?: Map<string, Set<NodeId>>

    Memoization cache that can be shared across multiple slices on the same graph.

    The analyzer context (environments, configuration).

    direction?: SliceDirection

    Whether to slice forward or backward. Defaults to SliceDirection.Backward.

    ids: readonly NodeId[]

    Seed node ids to start the BFS from. At least one is required.

    Dataflow information including the graph to traverse.

    Pre-built graph to use for BFS traversal instead of (possibly inverting) info.graph. info.graph is still consulted for function-call resolution, so it must remain the non-inverted original. Used by staticDice to pass a reduced-and-inverted graph in a single allocation.

    threshold?: number

    Maximum BFS visits before the algorithm switches to over-approximation (includes everything). Defaults to 75.