Enrichments: {
    "call-targets": {
        enrichElement: (
            e: FlowrSearchElement<ParentInformation>,
            _s: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: {
                cfg: ControlFlowInformation;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | { onlyBuiltin?: boolean },
            prev: undefined | CallTargetsContent,
        ) => CallTargetsContent;
        mapper: (
            __namedParameters: CallTargetsContent,
        ) => FlowrSearchElement<ParentInformation>[];
    };
    "cfg-information": {
        enrichElement: (
            e: FlowrSearchElement<ParentInformation>,
            search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            _data: {
                cfg: ControlFlowInformation;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            _args: undefined | CfgInformationArguments,
            prev: undefined | CfgInformationElementContent,
        ) => { isReachable: undefined | boolean; isRoot: boolean };
        enrichSearch: (
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: FlowrAnalysisProvider,
            args: undefined | CfgInformationArguments,
            prev: undefined | CfgInformationSearchContent,
        ) => Promise<CfgInformationSearchContent>;
    };
    "last-call": {
        enrichElement: (
            e: FlowrSearchElement<ParentInformation>,
            _s: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: {
                cfg: ControlFlowInformation;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | Omit<LinkToLastCall<CallNameTypes>, "type">[],
            prev: undefined | LastCallContent,
        ) => LastCallContent;
        mapper: (
            __namedParameters: LastCallContent,
        ) => FlowrSearchElement<ParentInformation>[];
    };
    "query-data": {
        enrichElement: (
            _e: FlowrSearchElement<ParentInformation>,
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            _data: {
                cfg: ControlFlowInformation;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | QueryDataElementContent,
            prev: undefined | QueryDataElementContent,
        ) => QueryDataElementContent;
        enrichSearch: (
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            _data: FlowrAnalysisProvider,
            args: undefined | QueryDataSearchContent,
            prev: undefined | QueryDataSearchContent,
        ) => Required<QueryDataSearchContent>;
    };
} = ...

The registry of enrichments that are currently supported by the search. See FlowrSearchBuilder.with for more information on how to apply enrichments.

Type declaration