getGenerator< Name extends "from" | "get" | "all" | "criterion" | "from-query" | "syntax",>( name: Name,): { all: ( data: ReadonlyFlowrAnalysisProvider, ) => Promise< FlowrSearchElements< ParentInformation, FlowrSearchElement<ParentInformation>[], >, >; criterion: ( input: ReadonlyFlowrAnalysisProvider, args: { criterion: SlicingCriteria }, ) => Promise< FlowrSearchElements< ParentInformation, FlowrSearchElement<ParentInformation>[], >, >; from: ( _input: ReadonlyFlowrAnalysisProvider, args: { from: | FlowrSearchElement<ParentInformation> | FlowrSearchElement<ParentInformation>[]; }, ) => FlowrSearchElements<ParentInformation>; "from-query": ( input: ReadonlyFlowrAnalysisProvider, args: { from: readonly Query[] }, ) => Promise< FlowrSearchElements< ParentInformation, FlowrSearchElement<ParentInformation>[], >, >; get: ( input: ReadonlyFlowrAnalysisProvider, __namedParameters: { filter: FlowrSearchGetFilter }, ) => Promise< FlowrSearchElements< ParentInformation, FlowrSearchElement<ParentInformation>[], >, >; syntax: ( input: ReadonlyFlowrAnalysisProvider, args: { captures: readonly string[]; source: string | Query }, ) => Promise< FlowrSearchElements< ParentInformation, FlowrSearchElement<ParentInformation>[], >, >;}[Name] Type Parameters
- Name extends "from" | "get" | "all" | "criterion" | "from-query" | "syntax"
Gets the search generator function for the given name