Enrichments: {
    "call-targets": {
        enrichElement: (
            e: FlowrSearchElement<ParentInformation>,
            _s: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                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: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            _args: undefined | CfgInformationArguments,
            prev: undefined | CfgInformationElementContent,
        ) => { isReachable: undefined | boolean; isRoot: boolean };
        enrichSearch: (
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | CfgInformationArguments,
            prev: undefined | CfgInformationSearchContent,
        ) => CfgInformationSearchContent;
    };
    "last-call": {
        enrichElement: (
            e: FlowrSearchElement<ParentInformation>,
            _s: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            data: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | Omit<LinkToLastCall<string | RegExp>, "type">[],
            prev: undefined | LastCallContent,
        ) => LastCallContent;
        mapper: (
            __namedParameters: LastCallContent,
        ) => FlowrSearchElement<ParentInformation>[];
    };
    "query-data": {
        enrichElement: (
            _e: FlowrSearchElement<ParentInformation>,
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            _data: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            args: undefined | QueryDataElementContent,
            prev: undefined | QueryDataElementContent,
        ) => QueryDataElementContent;
        enrichSearch: (
            _search: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            _data: PipelineOutput<
                Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
            > & {
                config: FlowrConfigOptions;
                dataflow: DataflowInformation;
                normalize: NormalizedAst;
            },
            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