@eagleoutice/flowr - v2.10.2
    Preparing search index...
    LintingResults: {
        allInvolvedIds<
            L extends
                | "deprecated-functions"
                | "file-path-validity"
                | "seeded-randomness"
                | "absolute-file-paths"
                | "unused-definitions"
                | "naming-convention"
                | "network-functions"
                | "dataframe-access-validation"
                | "dead-code"
                | "useless-loop"
                | "problematic-eval"
                | "stop-call"
                | "roxygen-arguments",
        >(
            this: void,
            res: LintingResults<L> | undefined,
        ): Set<NodeId>;
        allLocations<
            L extends
                | "deprecated-functions"
                | "file-path-validity"
                | "seeded-randomness"
                | "absolute-file-paths"
                | "unused-definitions"
                | "naming-convention"
                | "network-functions"
                | "dataframe-access-validation"
                | "dead-code"
                | "useless-loop"
                | "problematic-eval"
                | "stop-call"
                | "roxygen-arguments",
        >(
            this: void,
            res: LintingResults<L> | undefined,
        ): [
            startLine: number,
            startColumn: number,
            endLine: number,
            endColumn: number,
            f?: string,
        ][];
        hasLocation<R extends LintingResult>(
            this: void,
            res: R,
        ): res is R & {
            loc: [
                startLine: number,
                startColumn: number,
                endLine: number,
                endColumn: number,
                f?: string,
            ];
        };
        isError<
            Name extends
                | "deprecated-functions"
                | "file-path-validity"
                | "seeded-randomness"
                | "absolute-file-paths"
                | "unused-definitions"
                | "naming-convention"
                | "network-functions"
                | "dataframe-access-validation"
                | "dead-code"
                | "useless-loop"
                | "problematic-eval"
                | "stop-call"
                | "roxygen-arguments",
        >(
            this: void,
            o: LintingResults<Name>,
        ): o is LintingResultsError;
        isSuccess<
            Name extends
                | "deprecated-functions"
                | "file-path-validity"
                | "seeded-randomness"
                | "absolute-file-paths"
                | "unused-definitions"
                | "naming-convention"
                | "network-functions"
                | "dataframe-access-validation"
                | "dead-code"
                | "useless-loop"
                | "problematic-eval"
                | "stop-call"
                | "roxygen-arguments",
        >(
            this: void,
            o: LintingResults<Name>,
        ): o is LintingResultsSuccess<Name>;
        stringifyError(this: void, __namedParameters: LintingResultsError): string;
        unpackSuccess<
            Name extends
                | "deprecated-functions"
                | "file-path-validity"
                | "seeded-randomness"
                | "absolute-file-paths"
                | "unused-definitions"
                | "naming-convention"
                | "network-functions"
                | "dataframe-access-validation"
                | "dead-code"
                | "useless-loop"
                | "problematic-eval"
                | "stop-call"
                | "roxygen-arguments",
        >(
            this: void,
            o: LintingResults<Name>,
        ): LintingResultsSuccess<Name>;
    }

    Helper functions for working with LintingResults.

    Type Declaration

    • allInvolvedIds: function
      • Gets all involved node IDs from the given linting results. If the results represent an error, an empty set is returned.

        Type Parameters

        • L extends
              | "deprecated-functions"
              | "file-path-validity"
              | "seeded-randomness"
              | "absolute-file-paths"
              | "unused-definitions"
              | "naming-convention"
              | "network-functions"
              | "dataframe-access-validation"
              | "dead-code"
              | "useless-loop"
              | "problematic-eval"
              | "stop-call"
              | "roxygen-arguments"

        Parameters

        Returns Set<NodeId>

    • allLocations: function
      • Gets all locations from the given linting results, i.e. the loc property of all results that have a location.

        Type Parameters

        • L extends
              | "deprecated-functions"
              | "file-path-validity"
              | "seeded-randomness"
              | "absolute-file-paths"
              | "unused-definitions"
              | "naming-convention"
              | "network-functions"
              | "dataframe-access-validation"
              | "dead-code"
              | "useless-loop"
              | "problematic-eval"
              | "stop-call"
              | "roxygen-arguments"

        Parameters

        Returns [
            startLine: number,
            startColumn: number,
            endLine: number,
            endColumn: number,
            f?: string,
        ][]

    • hasLocation: function
      • Checks whether the given linting result has a location, i.e. whether it has a loc property.

        Type Parameters

        Parameters

        • this: void
        • res: R

        Returns res is R & {
            loc: [
                startLine: number,
                startColumn: number,
                endLine: number,
                endColumn: number,
                f?: string,
            ];
        }

    • isError: function
      • Checks whether the given linting results represent an error.

        Type Parameters

        • Name extends
              | "deprecated-functions"
              | "file-path-validity"
              | "seeded-randomness"
              | "absolute-file-paths"
              | "unused-definitions"
              | "naming-convention"
              | "network-functions"
              | "dataframe-access-validation"
              | "dead-code"
              | "useless-loop"
              | "problematic-eval"
              | "stop-call"
              | "roxygen-arguments"

        Parameters

        Returns o is LintingResultsError

    • isSuccess: function
      • Checks whether the given linting results represent a successful execution.

        Type Parameters

        • Name extends
              | "deprecated-functions"
              | "file-path-validity"
              | "seeded-randomness"
              | "absolute-file-paths"
              | "unused-definitions"
              | "naming-convention"
              | "network-functions"
              | "dataframe-access-validation"
              | "dead-code"
              | "useless-loop"
              | "problematic-eval"
              | "stop-call"
              | "roxygen-arguments"

        Parameters

        Returns o is LintingResultsSuccess<Name>

    • stringifyError: function
    • unpackSuccess: function
      • Unpacks the given linting results, throwing an error if they represent an error.

        Type Parameters

        • Name extends
              | "deprecated-functions"
              | "file-path-validity"
              | "seeded-randomness"
              | "absolute-file-paths"
              | "unused-definitions"
              | "naming-convention"
              | "network-functions"
              | "dataframe-access-validation"
              | "dead-code"
              | "useless-loop"
              | "problematic-eval"
              | "stop-call"
              | "roxygen-arguments"

        Parameters

        Returns LintingResultsSuccess<Name>