@eagleoutice/flowr 2.1.12 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/benchmark/slicer.d.ts +5 -12
- package/benchmark/slicer.js +46 -28
- package/cli/benchmark-app.d.ts +2 -0
- package/cli/benchmark-app.js +2 -1
- package/cli/benchmark-helper-app.d.ts +2 -0
- package/cli/benchmark-helper-app.js +2 -2
- package/cli/common/options.js +3 -1
- package/cli/flowr-main-options.js +36 -2
- package/cli/flowr.d.ts +6 -0
- package/cli/flowr.js +51 -24
- package/cli/repl/commands/repl-cfg.js +2 -4
- package/cli/repl/commands/repl-dataflow.js +2 -4
- package/cli/repl/commands/repl-execute.d.ts +2 -2
- package/cli/repl/commands/repl-execute.js +15 -5
- package/cli/repl/commands/repl-lineage.js +2 -4
- package/cli/repl/commands/repl-main.d.ts +2 -2
- package/cli/repl/commands/repl-normalize.js +2 -4
- package/cli/repl/commands/repl-parse.js +2 -4
- package/cli/repl/commands/repl-query.js +6 -8
- package/cli/repl/commands/repl-version.d.ts +5 -4
- package/cli/repl/commands/repl-version.js +10 -9
- package/cli/repl/core.d.ts +5 -5
- package/cli/repl/core.js +8 -12
- package/cli/repl/print-version.d.ts +2 -2
- package/cli/repl/print-version.js +3 -3
- package/cli/repl/server/connection.d.ts +3 -3
- package/cli/repl/server/connection.js +5 -7
- package/cli/repl/server/messages/message-hello.js +2 -1
- package/cli/repl/server/server.d.ts +4 -3
- package/cli/repl/server/server.js +7 -5
- package/cli/slicer-app.js +1 -1
- package/config.d.ts +36 -4
- package/config.js +30 -1
- package/core/pipeline-executor.d.ts +1 -1
- package/core/pipeline-executor.js +1 -1
- package/core/steps/all/core/00-parse.d.ts +4 -18
- package/core/steps/all/core/00-parse.js +2 -11
- package/core/steps/all/core/01-parse-tree-sitter.d.ts +23 -0
- package/core/steps/all/core/01-parse-tree-sitter.js +19 -0
- package/core/steps/all/core/10-normalize.d.ts +3 -2
- package/core/steps/all/core/10-normalize.js +1 -0
- package/core/steps/all/core/11-normalize-tree-sitter.d.ts +25 -0
- package/core/steps/all/core/11-normalize-tree-sitter.js +27 -0
- package/core/steps/all/core/20-dataflow.d.ts +2 -0
- package/core/steps/all/core/20-dataflow.js +1 -1
- package/core/steps/pipeline/default-pipelines.d.ts +368 -23
- package/core/steps/pipeline/default-pipelines.js +42 -4
- package/dataflow/extractor.d.ts +2 -1
- package/dataflow/extractor.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +6 -5
- package/dataflow/processor.d.ts +2 -0
- package/documentation/doc-util/doc-auto-gen.js +2 -1
- package/documentation/doc-util/doc-cfg.js +1 -1
- package/documentation/doc-util/doc-dfg.js +2 -2
- package/documentation/doc-util/doc-files.d.ts +1 -0
- package/documentation/doc-util/doc-files.js +4 -0
- package/documentation/doc-util/doc-normalized-ast.js +2 -3
- package/documentation/doc-util/doc-query.js +1 -1
- package/documentation/doc-util/doc-search.js +1 -1
- package/documentation/doc-util/doc-types.js +2 -2
- package/documentation/print-dataflow-graph-wiki.js +15 -15
- package/documentation/print-engines-wiki.d.ts +1 -0
- package/documentation/print-engines-wiki.js +82 -0
- package/documentation/print-interface-wiki.js +6 -7
- package/documentation/print-normalized-ast-wiki.js +1 -1
- package/package.json +9 -5
- package/queries/catalog/cluster-query/cluster-query-format.d.ts +5 -4
- package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +5 -4
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +5 -4
- package/queries/catalog/id-map-query/id-map-query-format.d.ts +5 -4
- package/queries/catalog/lineage-query/lineage-query-format.d.ts +5 -4
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +5 -4
- package/queries/catalog/search-query/search-query-format.d.ts +5 -4
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +5 -4
- package/queries/query.d.ts +40 -32
- package/r-bridge/lang-4.x/ast/parser/json/parser.d.ts +4 -2
- package/r-bridge/lang-4.x/ast/parser/json/parser.js +5 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.d.ts +18 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.js +57 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.d.ts +3 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +541 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-types.d.ts +35 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-types.js +40 -0
- package/r-bridge/parser.d.ts +32 -0
- package/r-bridge/parser.js +14 -0
- package/r-bridge/shell-executor.d.ts +37 -1
- package/r-bridge/shell-executor.js +39 -0
- package/r-bridge/shell.d.ts +12 -6
- package/r-bridge/shell.js +15 -6
- package/search/search-optimizer/search-optimizer.js +1 -1
- package/statistics/statistics.js +1 -1
- package/util/version.js +1 -1
|
@@ -18,7 +18,7 @@ export declare const ClusterQueryDefinition: {
|
|
|
18
18
|
readonly name: "parse";
|
|
19
19
|
readonly humanReadableName: "parse with R shell";
|
|
20
20
|
readonly description: "Parse the given R code into an AST";
|
|
21
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
21
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
22
22
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
23
23
|
readonly printer: {
|
|
24
24
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -26,16 +26,16 @@ export declare const ClusterQueryDefinition: {
|
|
|
26
26
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
27
27
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
28
28
|
};
|
|
29
|
-
readonly 5: ({ parsed }: import("../../../
|
|
29
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
30
30
|
};
|
|
31
31
|
readonly dependencies: readonly [];
|
|
32
|
-
readonly requiredInput: import("../../../
|
|
32
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
33
33
|
} | {
|
|
34
34
|
readonly name: "normalize";
|
|
35
35
|
readonly humanReadableName: "normalize";
|
|
36
36
|
readonly description: "Normalize the AST to flowR's AST";
|
|
37
37
|
readonly processor: (results: {
|
|
38
|
-
parse?: import("../../../
|
|
38
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
39
39
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
40
40
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
41
41
|
readonly printer: {
|
|
@@ -53,6 +53,7 @@ export declare const ClusterQueryDefinition: {
|
|
|
53
53
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
54
54
|
}, input: {
|
|
55
55
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
56
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
56
57
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
57
58
|
readonly requiredInput: {};
|
|
58
59
|
readonly name: "dataflow";
|
|
@@ -18,7 +18,7 @@ export declare const DataflowQueryDefinition: {
|
|
|
18
18
|
readonly name: "parse";
|
|
19
19
|
readonly humanReadableName: "parse with R shell";
|
|
20
20
|
readonly description: "Parse the given R code into an AST";
|
|
21
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
21
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
22
22
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
23
23
|
readonly printer: {
|
|
24
24
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -26,16 +26,16 @@ export declare const DataflowQueryDefinition: {
|
|
|
26
26
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
27
27
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
28
28
|
};
|
|
29
|
-
readonly 5: ({ parsed }: import("../../../
|
|
29
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
30
30
|
};
|
|
31
31
|
readonly dependencies: readonly [];
|
|
32
|
-
readonly requiredInput: import("../../../
|
|
32
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
33
33
|
} | {
|
|
34
34
|
readonly name: "normalize";
|
|
35
35
|
readonly humanReadableName: "normalize";
|
|
36
36
|
readonly description: "Normalize the AST to flowR's AST";
|
|
37
37
|
readonly processor: (results: {
|
|
38
|
-
parse?: import("../../../
|
|
38
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
39
39
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
40
40
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
41
41
|
readonly printer: {
|
|
@@ -53,6 +53,7 @@ export declare const DataflowQueryDefinition: {
|
|
|
53
53
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
54
54
|
}, input: {
|
|
55
55
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
56
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
56
57
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
57
58
|
readonly requiredInput: {};
|
|
58
59
|
readonly name: "dataflow";
|
|
@@ -49,7 +49,7 @@ export declare const DependenciesQueryDefinition: {
|
|
|
49
49
|
readonly name: "parse";
|
|
50
50
|
readonly humanReadableName: "parse with R shell";
|
|
51
51
|
readonly description: "Parse the given R code into an AST";
|
|
52
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
52
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
53
53
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
54
54
|
readonly printer: {
|
|
55
55
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -57,16 +57,16 @@ export declare const DependenciesQueryDefinition: {
|
|
|
57
57
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
58
58
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
59
59
|
};
|
|
60
|
-
readonly 5: ({ parsed }: import("../../../
|
|
60
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
61
61
|
};
|
|
62
62
|
readonly dependencies: readonly [];
|
|
63
|
-
readonly requiredInput: import("../../../
|
|
63
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
64
64
|
} | {
|
|
65
65
|
readonly name: "normalize";
|
|
66
66
|
readonly humanReadableName: "normalize";
|
|
67
67
|
readonly description: "Normalize the AST to flowR's AST";
|
|
68
68
|
readonly processor: (results: {
|
|
69
|
-
parse?: import("../../../
|
|
69
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
70
70
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
71
71
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
72
72
|
readonly printer: {
|
|
@@ -84,6 +84,7 @@ export declare const DependenciesQueryDefinition: {
|
|
|
84
84
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
85
85
|
}, input: {
|
|
86
86
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
87
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
87
88
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
88
89
|
readonly requiredInput: {};
|
|
89
90
|
readonly name: "dataflow";
|
|
@@ -14,7 +14,7 @@ export declare const IdMapQueryDefinition: {
|
|
|
14
14
|
readonly name: "parse";
|
|
15
15
|
readonly humanReadableName: "parse with R shell";
|
|
16
16
|
readonly description: "Parse the given R code into an AST";
|
|
17
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
17
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
18
18
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
19
19
|
readonly printer: {
|
|
20
20
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -22,16 +22,16 @@ export declare const IdMapQueryDefinition: {
|
|
|
22
22
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
23
23
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
24
24
|
};
|
|
25
|
-
readonly 5: ({ parsed }: import("../../../
|
|
25
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
26
26
|
};
|
|
27
27
|
readonly dependencies: readonly [];
|
|
28
|
-
readonly requiredInput: import("../../../
|
|
28
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
29
29
|
} | {
|
|
30
30
|
readonly name: "normalize";
|
|
31
31
|
readonly humanReadableName: "normalize";
|
|
32
32
|
readonly description: "Normalize the AST to flowR's AST";
|
|
33
33
|
readonly processor: (results: {
|
|
34
|
-
parse?: import("../../../
|
|
34
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
35
35
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
36
36
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
37
37
|
readonly printer: {
|
|
@@ -49,6 +49,7 @@ export declare const IdMapQueryDefinition: {
|
|
|
49
49
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
50
50
|
}, input: {
|
|
51
51
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
52
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
52
53
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
53
54
|
readonly requiredInput: {};
|
|
54
55
|
readonly name: "dataflow";
|
|
@@ -20,7 +20,7 @@ export declare const LineageQueryDefinition: {
|
|
|
20
20
|
readonly name: "parse";
|
|
21
21
|
readonly humanReadableName: "parse with R shell";
|
|
22
22
|
readonly description: "Parse the given R code into an AST";
|
|
23
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
23
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
24
24
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
25
25
|
readonly printer: {
|
|
26
26
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -28,16 +28,16 @@ export declare const LineageQueryDefinition: {
|
|
|
28
28
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
29
29
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
30
30
|
};
|
|
31
|
-
readonly 5: ({ parsed }: import("../../../
|
|
31
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
32
32
|
};
|
|
33
33
|
readonly dependencies: readonly [];
|
|
34
|
-
readonly requiredInput: import("../../../
|
|
34
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
35
35
|
} | {
|
|
36
36
|
readonly name: "normalize";
|
|
37
37
|
readonly humanReadableName: "normalize";
|
|
38
38
|
readonly description: "Normalize the AST to flowR's AST";
|
|
39
39
|
readonly processor: (results: {
|
|
40
|
-
parse?: import("../../../
|
|
40
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
41
41
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
42
42
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
43
43
|
readonly printer: {
|
|
@@ -55,6 +55,7 @@ export declare const LineageQueryDefinition: {
|
|
|
55
55
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
56
56
|
}, input: {
|
|
57
57
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
58
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
58
59
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
59
60
|
readonly requiredInput: {};
|
|
60
61
|
readonly name: "dataflow";
|
|
@@ -17,7 +17,7 @@ export declare const NormalizedAstQueryDefinition: {
|
|
|
17
17
|
readonly name: "parse";
|
|
18
18
|
readonly humanReadableName: "parse with R shell";
|
|
19
19
|
readonly description: "Parse the given R code into an AST";
|
|
20
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
20
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
21
21
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
22
22
|
readonly printer: {
|
|
23
23
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -25,16 +25,16 @@ export declare const NormalizedAstQueryDefinition: {
|
|
|
25
25
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
26
26
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
27
27
|
};
|
|
28
|
-
readonly 5: ({ parsed }: import("../../../
|
|
28
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
29
29
|
};
|
|
30
30
|
readonly dependencies: readonly [];
|
|
31
|
-
readonly requiredInput: import("../../../
|
|
31
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
32
32
|
} | {
|
|
33
33
|
readonly name: "normalize";
|
|
34
34
|
readonly humanReadableName: "normalize";
|
|
35
35
|
readonly description: "Normalize the AST to flowR's AST";
|
|
36
36
|
readonly processor: (results: {
|
|
37
|
-
parse?: import("../../../
|
|
37
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
38
38
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
39
39
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
40
40
|
readonly printer: {
|
|
@@ -52,6 +52,7 @@ export declare const NormalizedAstQueryDefinition: {
|
|
|
52
52
|
normalize?: NormalizedAst;
|
|
53
53
|
}, input: {
|
|
54
54
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
55
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
55
56
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
56
57
|
readonly requiredInput: {};
|
|
57
58
|
readonly name: "dataflow";
|
|
@@ -19,7 +19,7 @@ export declare const SearchQueryDefinition: {
|
|
|
19
19
|
readonly name: "parse";
|
|
20
20
|
readonly humanReadableName: "parse with R shell";
|
|
21
21
|
readonly description: "Parse the given R code into an AST";
|
|
22
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
22
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
23
23
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
24
24
|
readonly printer: {
|
|
25
25
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -27,16 +27,16 @@ export declare const SearchQueryDefinition: {
|
|
|
27
27
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
28
28
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
29
29
|
};
|
|
30
|
-
readonly 5: ({ parsed }: import("../../../
|
|
30
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
31
31
|
};
|
|
32
32
|
readonly dependencies: readonly [];
|
|
33
|
-
readonly requiredInput: import("../../../
|
|
33
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
34
34
|
} | {
|
|
35
35
|
readonly name: "normalize";
|
|
36
36
|
readonly humanReadableName: "normalize";
|
|
37
37
|
readonly description: "Normalize the AST to flowR's AST";
|
|
38
38
|
readonly processor: (results: {
|
|
39
|
-
parse?: import("../../../
|
|
39
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
40
40
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
41
41
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
42
42
|
readonly printer: {
|
|
@@ -54,6 +54,7 @@ export declare const SearchQueryDefinition: {
|
|
|
54
54
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
55
55
|
}, input: {
|
|
56
56
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
57
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
57
58
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
58
59
|
readonly requiredInput: {};
|
|
59
60
|
readonly name: "dataflow";
|
|
@@ -30,7 +30,7 @@ export declare const StaticSliceQueryDefinition: {
|
|
|
30
30
|
readonly name: "parse";
|
|
31
31
|
readonly humanReadableName: "parse with R shell";
|
|
32
32
|
readonly description: "Parse the given R code into an AST";
|
|
33
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../
|
|
33
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
34
34
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
35
35
|
readonly printer: {
|
|
36
36
|
readonly 0: typeof import("../../../core/print/print").internalPrinter;
|
|
@@ -38,16 +38,16 @@ export declare const StaticSliceQueryDefinition: {
|
|
|
38
38
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
39
39
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
40
40
|
};
|
|
41
|
-
readonly 5: ({ parsed }: import("../../../
|
|
41
|
+
readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
42
42
|
};
|
|
43
43
|
readonly dependencies: readonly [];
|
|
44
|
-
readonly requiredInput: import("../../../
|
|
44
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
45
45
|
} | {
|
|
46
46
|
readonly name: "normalize";
|
|
47
47
|
readonly humanReadableName: "normalize";
|
|
48
48
|
readonly description: "Normalize the AST to flowR's AST";
|
|
49
49
|
readonly processor: (results: {
|
|
50
|
-
parse?: import("../../../
|
|
50
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
51
51
|
}, input: Partial<import("../../../core/steps/all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/model").RNode<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
52
52
|
readonly executed: import("../../../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
|
|
53
53
|
readonly printer: {
|
|
@@ -65,6 +65,7 @@ export declare const StaticSliceQueryDefinition: {
|
|
|
65
65
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
66
66
|
}, input: {
|
|
67
67
|
request?: import("../../../r-bridge/retriever").RParseRequests;
|
|
68
|
+
parser?: import("../../../r-bridge/parser").Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
68
69
|
}) => import("../../../dataflow/info").DataflowInformation;
|
|
69
70
|
readonly requiredInput: {};
|
|
70
71
|
readonly name: "dataflow";
|