@eagleoutice/flowr - v2.10.9
    Preparing search index...
    USELESS_LOOP: {
        createSearch: () => FlowrSearchBuilderOut<
            "all",
            [],
            ParentInformation,
            "filter",
        >;
        info: {
            certainty: BestEffort;
            defaultConfig: { loopyFunctions: Set<BuiltInProcName> };
            description: "Detect loops which only iterate once";
            name: "Useless Loops";
            tags: readonly [Smell, Readability];
        };
        prettyPrint: {
            full: (result: UselessLoopResult) => string;
            query: (result: UselessLoopResult) => string;
        };
        processSearchResult: (
            elements: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<ParentInformation>[],
            >,
            useLessLoopConfig: UselessLoopConfig,
            data: ReadonlyFlowrAnalysisProvider<KnownParser>,
        ) => Promise<
            {
                ".meta": { numOfUselessLoops: number };
                results: {
                    certainty: Certain;
                    involvedId: NodeId;
                    loc: [
                        startLine: number,
                        startColumn: number,
                        endLine: number,
                        endColumn: number,
                        f?: string,
                    ];
                    name: string;
                }[];
            },
        >;
    } = ...

    Type Declaration

    • ReadonlycreateSearch: () => FlowrSearchBuilderOut<"all", [], ParentInformation, "filter">
    • Readonlyinfo: {
          certainty: BestEffort;
          defaultConfig: { loopyFunctions: Set<BuiltInProcName> };
          description: "Detect loops which only iterate once";
          name: "Useless Loops";
          tags: readonly [Smell, Readability];
      }
    • ReadonlyprettyPrint: {
          full: (result: UselessLoopResult) => string;
          query: (result: UselessLoopResult) => string;
      }
    • ReadonlyprocessSearchResult: (
          elements: FlowrSearchElements<
              ParentInformation,
              FlowrSearchElement<ParentInformation>[],
          >,
          useLessLoopConfig: UselessLoopConfig,
          data: ReadonlyFlowrAnalysisProvider<KnownParser>,
      ) => Promise<
          {
              ".meta": { numOfUselessLoops: number };
              results: {
                  certainty: Certain;
                  involvedId: NodeId;
                  loc: [
                      startLine: number,
                      startColumn: number,
                      endLine: number,
                      endColumn: number,
                      f?: string,
                  ];
                  name: string;
              }[];
          },
      >