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

    Variable QueryFunctionFilterConst

    QueryFunctionFilter: {
        criteria(
            this: void,
            queries: readonly FunctionFilteringQuery[],
            analyzer: ReadonlyFlowrAnalysisProvider,
        ): Promise<ReadonlySet<NodeId>>;
        definitions(
            this: void,
            graph: DataflowGraph,
            filterFor: ReadonlySet<NodeId>,
        ): NodeId[];
        inCallGraph(
            this: void,
            queries: readonly FunctionFilteringQuery[],
            analyzer: ReadonlyFlowrAnalysisProvider,
            onlyDefinitions?: boolean,
        ): Promise<
            {
                cg: CallGraph;
                fns: IteratorObject<[(...), (...)], undefined, unknown>;
            },
        >;
        name: "QueryFunctionFilter";
        written: (this: void, id: NodeId) => boolean;
    } = ...

    Resolves the function filter shared by the inspection queries (inspect-*).

    Type Declaration

    • criteria: function
    • definitions: function
    • inCallGraph: function
      • The call graph together with the functions the given queries want to inspect.

        Parameters

        Returns Promise<
            {
                cg: CallGraph;
                fns: IteratorObject<[(...), (...)], undefined, unknown>;
            },
        >

    • Readonlyname: "QueryFunctionFilter"
    • Readonlywritten: (this: void, id: NodeId) => boolean

      Whether the definition is one the analyzed code writes, as nobody asks about a function they never wrote.

    api