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

    Calculates and returns the static backward or forward slice from the given criteria

    interface StaticSliceQuery {
        criteria: SlicingCriteria;
        direction?: SliceDirection;
        includeCallees?: boolean;
        inlineFull?: InlineFull;
        inlineSources?: boolean;
        noMagicComments?: boolean;
        noReconstruction?: boolean;
        perFile?: boolean;
        reportPackages?: boolean;
        type: "static-slice";
    }

    Hierarchy (View Summary)

    Index
    criteria: SlicingCriteria

    The slicing criteria to use

    direction?: SliceDirection

    The direction to slice in. Defaults to backward slicing if unset.

    includeCallees?: boolean

    If set (and slicing backward), continue the slice past a function-definition boundary, also including the definition's binding and call sites. Defaults to false.

    inlineFull?: InlineFull

    Inline every file into the reconstruction, in flowR's loading order (which respects implicit sources), independent of whether it is sourced explicitly; 'banner' additionally precedes each file with a banner comment naming it. Overrides inlineSources.

    inlineSources?: boolean

    Inline resolvable source() calls into the reconstruction so the result is a single self-contained R text. Cyclic and unresolvable source() calls are kept verbatim and reported via reconstruct.inlineWarnings.

    noMagicComments?: boolean

    Should the magic comments (force-including lines within the slice) be ignored?

    noReconstruction?: boolean

    do not reconstruct the slice into readable code

    perFile?: boolean

    Reconstruct the slice as the project's files rather than as one program, reported in ReconstructionResult#files in loading order with their paths. Without this only the entry file is reconstructed. Overridden by inlineSources/inlineFull, which produce the opposite.

    reportPackages?: boolean

    Also report the packages the slice calls into; see Dataflow.packagesOf.

    type: "static-slice"

    used to select the query type :)