Provides the control flow graph with an optional, fixed configuration

interface ControlFlowQuery {
    config?: {
        simplificationPasses?: readonly (
            | "unique-cf-sets"
            | "analyze-dead-code"
            | "remove-dead-code"
            | "to-basic-blocks"
        )[];
    };
    type: "control-flow";
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of ControlFlowQuery

Properties

Properties

config?: {
    simplificationPasses?: readonly (
        | "unique-cf-sets"
        | "analyze-dead-code"
        | "remove-dead-code"
        | "to-basic-blocks"
    )[];
}

Type declaration

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

    If set, the control flow graph will be simplified using the given passes. Defaults to the default simplification order.

type: "control-flow"

used to select the query type :)