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

    This provides the full analyzer caching layer, please avoid using this directly and prefer the FlowrAnalyzer.

    Type Parameters

    Hierarchy (View Summary)

    Hierarchy-Diagram

    UML class diagram of FlowrAnalyzerCache
    Index

    Constructors

    Methods

    • Get the control flow graph (CFG) for the request, computing if necessary.

      Parameters

      • force: boolean | undefined

        Do not use the cache, instead force new analyses.

      • kind: CfgKind

        The kind of CFG that is requested.

      • Optionalsimplifications: readonly (
            | "unique-cf-sets"
            | "analyze-dead-code"
            | "remove-dead-code"
            | "to-basic-blocks"
        )[]

        Simplification passes to be applied to the CFG.

      Returns Promise<ControlFlowInformation<CfgVertex>>

    • Get the control flow graph (CFG) for the request if already available, otherwise return undefined.

      Parameters

      • kind: CfgKind

        The kind of CFG that is requested.

      • simplifications:
            | readonly (
                | "unique-cf-sets"
                | "analyze-dead-code"
                | "remove-dead-code"
                | "to-basic-blocks"
            )[]
            | undefined

        Simplification passes to be applied to the CFG.

      Returns ControlFlowInformation<CfgVertex> | undefined

      FlowrAnalyzerCache#controlflow - to get the control flow graph, computing if necessary.