ABSOLUTE_PATH: {
    createSearch: (
        config: AbsoluteFilePathConfig,
    ) => FlowrSearchBuilderOut<"from-query", [], ParentInformation, "unique">;
    info: {
        defaultConfig: {
            absolutePathRegex: undefined;
            additionalPathFunctions: readonly [];
            include: { allStrings: false; constructed: true };
            useAsWd: "@script";
        };
        description: "Checks whether file paths are absolute.";
        name: "Absolute Paths";
        tags: readonly [Robustness, Reproducibility, Smell, QuickFix];
    };
    prettyPrint: (result: AbsoluteFilePathResult) => string;
    processSearchResult: (
        elements: FlowrSearchElements<
            ParentInformation,
            {
                node: (RNode<ParentInformation> | undefined) & RNode<
                    ParentInformation,
                >;
                query?: | "config"
                | "origin"
                | "dataflow"
                | "search"
                | "call-context"
                | "control-flow"
                | "dataflow-lens"
                | "normalized-ast"
                | "id-map"
                | "dataflow-cluster"
                | "static-slice"
                | "lineage"
                | "dependencies"
                | "location-map"
                | "happens-before"
                | "resolve-value"
                | "project"
                | "linter";
                queryResult?: BaseQueryResult;
            }[],
        >,
        config: AbsoluteFilePathConfig,
        data: {
            config: FlowrConfigOptions;
            dataflow: DataflowInformation;
            normalize: NormalizedAst;
        },
    ) => {
        ".meta": AbsoluteFilePathMetadata;
        results: AbsoluteFilePathResult[];
    };
} = ...

Type declaration

  • ReadonlycreateSearch: (
        config: AbsoluteFilePathConfig,
    ) => FlowrSearchBuilderOut<"from-query", [], ParentInformation, "unique">
  • Readonlyinfo: {
        defaultConfig: {
            absolutePathRegex: undefined;
            additionalPathFunctions: readonly [];
            include: { allStrings: false; constructed: true };
            useAsWd: "@script";
        };
        description: "Checks whether file paths are absolute.";
        name: "Absolute Paths";
        tags: readonly [Robustness, Reproducibility, Smell, QuickFix];
    }
  • ReadonlyprettyPrint: (result: AbsoluteFilePathResult) => string
  • ReadonlyprocessSearchResult: (
        elements: FlowrSearchElements<
            ParentInformation,
            {
                node: (RNode<ParentInformation> | undefined) & RNode<
                    ParentInformation,
                >;
                query?: | "config"
                | "origin"
                | "dataflow"
                | "search"
                | "call-context"
                | "control-flow"
                | "dataflow-lens"
                | "normalized-ast"
                | "id-map"
                | "dataflow-cluster"
                | "static-slice"
                | "lineage"
                | "dependencies"
                | "location-map"
                | "happens-before"
                | "resolve-value"
                | "project"
                | "linter";
                queryResult?: BaseQueryResult;
            }[],
        >,
        config: AbsoluteFilePathConfig,
        data: {
            config: FlowrConfigOptions;
            dataflow: DataflowInformation;
            normalize: NormalizedAst;
        },
    ) => {
        ".meta": AbsoluteFilePathMetadata;
        results: AbsoluteFilePathResult[];
    }