@eagleoutice/flowr 2.1.12 → 2.2.1

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.
Files changed (107) hide show
  1. package/README.md +0 -1
  2. package/benchmark/slicer.d.ts +5 -12
  3. package/benchmark/slicer.js +46 -28
  4. package/cli/benchmark-app.d.ts +2 -0
  5. package/cli/benchmark-app.js +2 -1
  6. package/cli/benchmark-helper-app.d.ts +2 -0
  7. package/cli/benchmark-helper-app.js +2 -2
  8. package/cli/common/options.js +3 -1
  9. package/cli/flowr-main-options.js +36 -2
  10. package/cli/flowr.d.ts +6 -0
  11. package/cli/flowr.js +51 -24
  12. package/cli/repl/commands/repl-cfg.js +2 -4
  13. package/cli/repl/commands/repl-dataflow.js +2 -4
  14. package/cli/repl/commands/repl-execute.d.ts +2 -2
  15. package/cli/repl/commands/repl-execute.js +15 -5
  16. package/cli/repl/commands/repl-lineage.js +2 -4
  17. package/cli/repl/commands/repl-main.d.ts +2 -2
  18. package/cli/repl/commands/repl-normalize.js +2 -4
  19. package/cli/repl/commands/repl-parse.js +2 -4
  20. package/cli/repl/commands/repl-query.js +6 -8
  21. package/cli/repl/commands/repl-version.d.ts +5 -4
  22. package/cli/repl/commands/repl-version.js +10 -9
  23. package/cli/repl/core.d.ts +5 -5
  24. package/cli/repl/core.js +8 -12
  25. package/cli/repl/print-version.d.ts +2 -2
  26. package/cli/repl/print-version.js +3 -3
  27. package/cli/repl/server/connection.d.ts +3 -3
  28. package/cli/repl/server/connection.js +5 -7
  29. package/cli/repl/server/messages/message-hello.js +2 -1
  30. package/cli/repl/server/server.d.ts +4 -3
  31. package/cli/repl/server/server.js +7 -5
  32. package/cli/slicer-app.js +1 -1
  33. package/config.d.ts +36 -4
  34. package/config.js +30 -1
  35. package/core/pipeline-executor.d.ts +1 -1
  36. package/core/pipeline-executor.js +1 -1
  37. package/core/steps/all/core/00-parse.d.ts +4 -18
  38. package/core/steps/all/core/00-parse.js +2 -11
  39. package/core/steps/all/core/01-parse-tree-sitter.d.ts +23 -0
  40. package/core/steps/all/core/01-parse-tree-sitter.js +19 -0
  41. package/core/steps/all/core/10-normalize.d.ts +3 -2
  42. package/core/steps/all/core/10-normalize.js +1 -0
  43. package/core/steps/all/core/11-normalize-tree-sitter.d.ts +25 -0
  44. package/core/steps/all/core/11-normalize-tree-sitter.js +27 -0
  45. package/core/steps/all/core/20-dataflow.d.ts +2 -0
  46. package/core/steps/all/core/20-dataflow.js +1 -1
  47. package/core/steps/pipeline/default-pipelines.d.ts +368 -23
  48. package/core/steps/pipeline/default-pipelines.js +42 -4
  49. package/dataflow/environments/resolve-by-name.js +5 -4
  50. package/dataflow/extractor.d.ts +2 -1
  51. package/dataflow/extractor.js +2 -1
  52. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +6 -5
  53. package/dataflow/processor.d.ts +2 -0
  54. package/documentation/doc-util/doc-auto-gen.js +2 -1
  55. package/documentation/doc-util/doc-cfg.js +1 -1
  56. package/documentation/doc-util/doc-dfg.js +2 -2
  57. package/documentation/doc-util/doc-files.d.ts +1 -0
  58. package/documentation/doc-util/doc-files.js +4 -0
  59. package/documentation/doc-util/doc-normalized-ast.js +2 -3
  60. package/documentation/doc-util/doc-query.js +1 -1
  61. package/documentation/doc-util/doc-search.js +1 -1
  62. package/documentation/doc-util/doc-types.js +2 -2
  63. package/documentation/print-dataflow-graph-wiki.js +15 -15
  64. package/documentation/print-engines-wiki.d.ts +1 -0
  65. package/documentation/print-engines-wiki.js +82 -0
  66. package/documentation/print-interface-wiki.js +6 -7
  67. package/documentation/print-normalized-ast-wiki.js +1 -1
  68. package/documentation/print-query-wiki.js +24 -0
  69. package/package.json +9 -5
  70. package/queries/catalog/cluster-query/cluster-query-format.d.ts +5 -4
  71. package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +5 -4
  72. package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +5 -4
  73. package/queries/catalog/happens-before-query/happens-before-query-executor.d.ts +3 -0
  74. package/queries/catalog/happens-before-query/happens-before-query-executor.js +36 -0
  75. package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +71 -0
  76. package/queries/catalog/happens-before-query/happens-before-query-format.js +27 -0
  77. package/queries/catalog/id-map-query/id-map-query-format.d.ts +5 -4
  78. package/queries/catalog/lineage-query/lineage-query-format.d.ts +5 -4
  79. package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +5 -4
  80. package/queries/catalog/search-query/search-query-executor.js +0 -4
  81. package/queries/catalog/search-query/search-query-format.d.ts +5 -4
  82. package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +5 -4
  83. package/queries/query.d.ts +100 -33
  84. package/queries/query.js +3 -1
  85. package/r-bridge/lang-4.x/ast/parser/json/parser.d.ts +4 -2
  86. package/r-bridge/lang-4.x/ast/parser/json/parser.js +5 -0
  87. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.d.ts +18 -0
  88. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.js +57 -0
  89. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.d.ts +3 -0
  90. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +541 -0
  91. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-types.d.ts +35 -0
  92. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-types.js +40 -0
  93. package/r-bridge/parser.d.ts +32 -0
  94. package/r-bridge/parser.js +14 -0
  95. package/r-bridge/shell-executor.d.ts +37 -1
  96. package/r-bridge/shell-executor.js +39 -0
  97. package/r-bridge/shell.d.ts +12 -6
  98. package/r-bridge/shell.js +15 -6
  99. package/search/search-optimizer/search-optimizer.js +1 -1
  100. package/statistics/statistics.js +1 -1
  101. package/util/cfg/cfg.d.ts +2 -0
  102. package/util/cfg/cfg.js +8 -8
  103. package/util/cfg/happens-before.d.ts +7 -0
  104. package/util/cfg/happens-before.js +32 -0
  105. package/util/logic.d.ts +4 -4
  106. package/util/logic.js +8 -0
  107. package/util/version.js +1 -1
@@ -1,8 +1,14 @@
1
+ /**
2
+ * Contains the default pipeline for working with flowr
3
+ */
4
+ import type { PipelineInput } from './pipeline';
5
+ import type { KnownParser, Parser } from '../../../r-bridge/parser';
6
+ import { PipelineExecutor } from '../../pipeline-executor';
1
7
  export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
2
8
  readonly name: "parse";
3
9
  readonly humanReadableName: "parse with R shell";
4
10
  readonly description: "Parse the given R code into an AST";
5
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
11
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
6
12
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
7
13
  readonly printer: {
8
14
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -10,16 +16,16 @@ export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
10
16
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
11
17
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
12
18
  };
13
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
19
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
14
20
  };
15
21
  readonly dependencies: readonly [];
16
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
22
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
17
23
  } | {
18
24
  readonly name: "normalize";
19
25
  readonly humanReadableName: "normalize";
20
26
  readonly description: "Normalize the AST to flowR's AST";
21
27
  readonly processor: (results: {
22
- parse?: import("../all/core/00-parse").ParseStepOutput;
28
+ parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
23
29
  }, input: Partial<import("../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>>;
24
30
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
25
31
  readonly printer: {
@@ -37,6 +43,7 @@ export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
37
43
  normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
38
44
  }, input: {
39
45
  request?: import("../../../r-bridge/retriever").RParseRequests;
46
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
40
47
  }) => import("../../../dataflow/info").DataflowInformation;
41
48
  readonly requiredInput: {};
42
49
  readonly name: "dataflow";
@@ -83,7 +90,7 @@ export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline"
83
90
  readonly name: "parse";
84
91
  readonly humanReadableName: "parse with R shell";
85
92
  readonly description: "Parse the given R code into an AST";
86
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
93
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
87
94
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
88
95
  readonly printer: {
89
96
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -91,16 +98,16 @@ export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline"
91
98
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
92
99
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
93
100
  };
94
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
101
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
95
102
  };
96
103
  readonly dependencies: readonly [];
97
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
104
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
98
105
  } | {
99
106
  readonly name: "normalize";
100
107
  readonly humanReadableName: "normalize";
101
108
  readonly description: "Normalize the AST to flowR's AST";
102
109
  readonly processor: (results: {
103
- parse?: import("../all/core/00-parse").ParseStepOutput;
110
+ parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
104
111
  }, input: Partial<import("../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>>;
105
112
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
106
113
  readonly printer: {
@@ -118,6 +125,7 @@ export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline"
118
125
  normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
119
126
  }, input: {
120
127
  request?: import("../../../r-bridge/retriever").RParseRequests;
128
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
121
129
  }) => import("../../../dataflow/info").DataflowInformation;
122
130
  readonly requiredInput: {};
123
131
  readonly name: "dataflow";
@@ -164,7 +172,7 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
164
172
  readonly name: "parse";
165
173
  readonly humanReadableName: "parse with R shell";
166
174
  readonly description: "Parse the given R code into an AST";
167
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
175
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
168
176
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
169
177
  readonly printer: {
170
178
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -172,16 +180,16 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
172
180
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
173
181
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
174
182
  };
175
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
183
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
176
184
  };
177
185
  readonly dependencies: readonly [];
178
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
186
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
179
187
  } | {
180
188
  readonly name: "normalize";
181
189
  readonly humanReadableName: "normalize";
182
190
  readonly description: "Normalize the AST to flowR's AST";
183
191
  readonly processor: (results: {
184
- parse?: import("../all/core/00-parse").ParseStepOutput;
192
+ parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
185
193
  }, input: Partial<import("../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>>;
186
194
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
187
195
  readonly printer: {
@@ -199,6 +207,7 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
199
207
  normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
200
208
  }, input: {
201
209
  request?: import("../../../r-bridge/retriever").RParseRequests;
210
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
202
211
  }) => import("../../../dataflow/info").DataflowInformation;
203
212
  readonly requiredInput: {};
204
213
  readonly name: "dataflow";
@@ -227,6 +236,235 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
227
236
  readonly dependencies: readonly ["dataflow"];
228
237
  readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
229
238
  }>;
239
+ export declare const TREE_SITTER_SLICING_PIPELINE: import("./pipeline").Pipeline<{
240
+ readonly humanReadableName: "dataflow";
241
+ readonly processor: (results: {
242
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
243
+ }, input: {
244
+ request?: import("../../../r-bridge/retriever").RParseRequests;
245
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
246
+ }) => import("../../../dataflow/info").DataflowInformation;
247
+ readonly requiredInput: {};
248
+ readonly name: "dataflow";
249
+ readonly description: "Construct the dataflow graph";
250
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
251
+ readonly printer: {
252
+ readonly 0: typeof import("../../print/print").internalPrinter;
253
+ readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
254
+ readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
255
+ readonly 3: typeof import("../../print/dataflow-printer").dataflowGraphToMermaid;
256
+ readonly 4: typeof import("../../print/dataflow-printer").dataflowGraphToMermaidUrl;
257
+ };
258
+ readonly dependencies: readonly ["normalize"];
259
+ } | {
260
+ readonly name: "parse";
261
+ readonly humanReadableName: "parse with tree-sitter";
262
+ readonly description: "Parse the given R code into an AST using tree-sitter";
263
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
264
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
265
+ readonly printer: {
266
+ readonly 0: typeof import("../../print/print").internalPrinter;
267
+ readonly 2: {
268
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
269
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
270
+ };
271
+ };
272
+ readonly dependencies: readonly [];
273
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
274
+ } | {
275
+ readonly name: "slice";
276
+ readonly humanReadableName: "static slice";
277
+ readonly description: "Calculate the actual static slice from the dataflow graph and the given slicing criteria";
278
+ readonly processor: (results: {
279
+ dataflow?: import("../../../dataflow/info").DataflowInformation;
280
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
281
+ }, input: Partial<import("../all/static-slicing/00-slice").SliceRequiredInput>) => Readonly<import("../../../slicing/static/slicer-types").SliceResult>;
282
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerRequest;
283
+ readonly printer: {
284
+ readonly 0: typeof import("../../print/print").internalPrinter;
285
+ };
286
+ readonly dependencies: readonly ["dataflow"];
287
+ readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
288
+ } | {
289
+ readonly name: "reconstruct";
290
+ readonly humanReadableName: "static code reconstruction";
291
+ readonly description: "Reconstruct R code from the static slice";
292
+ readonly processor: (results: {
293
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
294
+ slice?: import("../../../slicing/static/slicer-types").SliceResult;
295
+ }, input: Partial<import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput>) => import("../../../reconstruct/reconstruct").ReconstructionResult;
296
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerRequest;
297
+ readonly printer: {
298
+ readonly 0: typeof import("../../print/print").internalPrinter;
299
+ };
300
+ readonly dependencies: readonly ["slice"];
301
+ readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
302
+ } | {
303
+ readonly name: "normalize";
304
+ readonly humanReadableName: "normalize tree-sitter tree";
305
+ readonly description: "Normalize the AST to flowR's AST";
306
+ readonly processor: (results: {
307
+ "parse"?: import("../all/core/01-parse-tree-sitter").ParseStepOutputTS;
308
+ }, input: Partial<import("../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>>;
309
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
310
+ readonly printer: {
311
+ readonly 0: typeof import("../../print/print").internalPrinter;
312
+ readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
313
+ readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
314
+ readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
315
+ readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
316
+ };
317
+ readonly dependencies: readonly ["parse"];
318
+ readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
319
+ }>;
320
+ export declare const TREE_SITTER_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
321
+ readonly humanReadableName: "dataflow";
322
+ readonly processor: (results: {
323
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
324
+ }, input: {
325
+ request?: import("../../../r-bridge/retriever").RParseRequests;
326
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
327
+ }) => import("../../../dataflow/info").DataflowInformation;
328
+ readonly requiredInput: {};
329
+ readonly name: "dataflow";
330
+ readonly description: "Construct the dataflow graph";
331
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
332
+ readonly printer: {
333
+ readonly 0: typeof import("../../print/print").internalPrinter;
334
+ readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
335
+ readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
336
+ readonly 3: typeof import("../../print/dataflow-printer").dataflowGraphToMermaid;
337
+ readonly 4: typeof import("../../print/dataflow-printer").dataflowGraphToMermaidUrl;
338
+ };
339
+ readonly dependencies: readonly ["normalize"];
340
+ } | {
341
+ readonly name: "parse";
342
+ readonly humanReadableName: "parse with tree-sitter";
343
+ readonly description: "Parse the given R code into an AST using tree-sitter";
344
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
345
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
346
+ readonly printer: {
347
+ readonly 0: typeof import("../../print/print").internalPrinter;
348
+ readonly 2: {
349
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
350
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
351
+ };
352
+ };
353
+ readonly dependencies: readonly [];
354
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
355
+ } | {
356
+ readonly name: "slice";
357
+ readonly humanReadableName: "static slice";
358
+ readonly description: "Calculate the actual static slice from the dataflow graph and the given slicing criteria";
359
+ readonly processor: (results: {
360
+ dataflow?: import("../../../dataflow/info").DataflowInformation;
361
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
362
+ }, input: Partial<import("../all/static-slicing/00-slice").SliceRequiredInput>) => Readonly<import("../../../slicing/static/slicer-types").SliceResult>;
363
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerRequest;
364
+ readonly printer: {
365
+ readonly 0: typeof import("../../print/print").internalPrinter;
366
+ };
367
+ readonly dependencies: readonly ["dataflow"];
368
+ readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
369
+ } | {
370
+ readonly name: "reconstruct";
371
+ readonly humanReadableName: "static code reconstruction";
372
+ readonly description: "Reconstruct R code from the static slice";
373
+ readonly processor: (results: {
374
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
375
+ slice?: import("../../../slicing/static/slicer-types").SliceResult;
376
+ }, input: Partial<import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput>) => import("../../../reconstruct/reconstruct").ReconstructionResult;
377
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerRequest;
378
+ readonly printer: {
379
+ readonly 0: typeof import("../../print/print").internalPrinter;
380
+ };
381
+ readonly dependencies: readonly ["slice"];
382
+ readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
383
+ } | {
384
+ readonly name: "normalize";
385
+ readonly humanReadableName: "normalize tree-sitter tree";
386
+ readonly description: "Normalize the AST to flowR's AST";
387
+ readonly processor: (results: {
388
+ "parse"?: import("../all/core/01-parse-tree-sitter").ParseStepOutputTS;
389
+ }, input: Partial<import("../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>>;
390
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
391
+ readonly printer: {
392
+ readonly 0: typeof import("../../print/print").internalPrinter;
393
+ readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
394
+ readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
395
+ readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
396
+ readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
397
+ };
398
+ readonly dependencies: readonly ["parse"];
399
+ readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
400
+ }>;
401
+ export declare const TREE_SITTER_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
402
+ readonly humanReadableName: "dataflow";
403
+ readonly processor: (results: {
404
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
405
+ }, input: {
406
+ request?: import("../../../r-bridge/retriever").RParseRequests;
407
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
408
+ }) => import("../../../dataflow/info").DataflowInformation;
409
+ readonly requiredInput: {};
410
+ readonly name: "dataflow";
411
+ readonly description: "Construct the dataflow graph";
412
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
413
+ readonly printer: {
414
+ readonly 0: typeof import("../../print/print").internalPrinter;
415
+ readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
416
+ readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
417
+ readonly 3: typeof import("../../print/dataflow-printer").dataflowGraphToMermaid;
418
+ readonly 4: typeof import("../../print/dataflow-printer").dataflowGraphToMermaidUrl;
419
+ };
420
+ readonly dependencies: readonly ["normalize"];
421
+ } | {
422
+ readonly name: "parse";
423
+ readonly humanReadableName: "parse with tree-sitter";
424
+ readonly description: "Parse the given R code into an AST using tree-sitter";
425
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
426
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
427
+ readonly printer: {
428
+ readonly 0: typeof import("../../print/print").internalPrinter;
429
+ readonly 2: {
430
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
431
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
432
+ };
433
+ };
434
+ readonly dependencies: readonly [];
435
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
436
+ } | {
437
+ readonly name: "slice";
438
+ readonly humanReadableName: "static slice";
439
+ readonly description: "Calculate the actual static slice from the dataflow graph and the given slicing criteria";
440
+ readonly processor: (results: {
441
+ dataflow?: import("../../../dataflow/info").DataflowInformation;
442
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
443
+ }, input: Partial<import("../all/static-slicing/00-slice").SliceRequiredInput>) => Readonly<import("../../../slicing/static/slicer-types").SliceResult>;
444
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerRequest;
445
+ readonly printer: {
446
+ readonly 0: typeof import("../../print/print").internalPrinter;
447
+ };
448
+ readonly dependencies: readonly ["dataflow"];
449
+ readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
450
+ } | {
451
+ readonly name: "normalize";
452
+ readonly humanReadableName: "normalize tree-sitter tree";
453
+ readonly description: "Normalize the AST to flowR's AST";
454
+ readonly processor: (results: {
455
+ "parse"?: import("../all/core/01-parse-tree-sitter").ParseStepOutputTS;
456
+ }, input: Partial<import("../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>>;
457
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
458
+ readonly printer: {
459
+ readonly 0: typeof import("../../print/print").internalPrinter;
460
+ readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
461
+ readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
462
+ readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
463
+ readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
464
+ };
465
+ readonly dependencies: readonly ["parse"];
466
+ readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
467
+ }>;
230
468
  /**
231
469
  * The default pipeline for working with flowr, including the dataflow step,
232
470
  * see the {@link DEFAULT_NORMALIZE_PIPELINE} for the pipeline without the dataflow step,
@@ -236,7 +474,7 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
236
474
  readonly name: "parse";
237
475
  readonly humanReadableName: "parse with R shell";
238
476
  readonly description: "Parse the given R code into an AST";
239
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
477
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
240
478
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
241
479
  readonly printer: {
242
480
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -244,16 +482,16 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
244
482
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
245
483
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
246
484
  };
247
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
485
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
248
486
  };
249
487
  readonly dependencies: readonly [];
250
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
488
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
251
489
  } | {
252
490
  readonly name: "normalize";
253
491
  readonly humanReadableName: "normalize";
254
492
  readonly description: "Normalize the AST to flowR's AST";
255
493
  readonly processor: (results: {
256
- parse?: import("../all/core/00-parse").ParseStepOutput;
494
+ parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
257
495
  }, input: Partial<import("../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>>;
258
496
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
259
497
  readonly printer: {
@@ -271,6 +509,28 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
271
509
  normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
272
510
  }, input: {
273
511
  request?: import("../../../r-bridge/retriever").RParseRequests;
512
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
513
+ }) => import("../../../dataflow/info").DataflowInformation;
514
+ readonly requiredInput: {};
515
+ readonly name: "dataflow";
516
+ readonly description: "Construct the dataflow graph";
517
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
518
+ readonly printer: {
519
+ readonly 0: typeof import("../../print/print").internalPrinter;
520
+ readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
521
+ readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
522
+ readonly 3: typeof import("../../print/dataflow-printer").dataflowGraphToMermaid;
523
+ readonly 4: typeof import("../../print/dataflow-printer").dataflowGraphToMermaidUrl;
524
+ };
525
+ readonly dependencies: readonly ["normalize"];
526
+ }>;
527
+ export declare const TREE_SITTER_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
528
+ readonly humanReadableName: "dataflow";
529
+ readonly processor: (results: {
530
+ normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
531
+ }, input: {
532
+ request?: import("../../../r-bridge/retriever").RParseRequests;
533
+ parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
274
534
  }) => import("../../../dataflow/info").DataflowInformation;
275
535
  readonly requiredInput: {};
276
536
  readonly name: "dataflow";
@@ -284,13 +544,45 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
284
544
  readonly 4: typeof import("../../print/dataflow-printer").dataflowGraphToMermaidUrl;
285
545
  };
286
546
  readonly dependencies: readonly ["normalize"];
547
+ } | {
548
+ readonly name: "parse";
549
+ readonly humanReadableName: "parse with tree-sitter";
550
+ readonly description: "Parse the given R code into an AST using tree-sitter";
551
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
552
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
553
+ readonly printer: {
554
+ readonly 0: typeof import("../../print/print").internalPrinter;
555
+ readonly 2: {
556
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
557
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
558
+ };
559
+ };
560
+ readonly dependencies: readonly [];
561
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
562
+ } | {
563
+ readonly name: "normalize";
564
+ readonly humanReadableName: "normalize tree-sitter tree";
565
+ readonly description: "Normalize the AST to flowR's AST";
566
+ readonly processor: (results: {
567
+ "parse"?: import("../all/core/01-parse-tree-sitter").ParseStepOutputTS;
568
+ }, input: Partial<import("../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>>;
569
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
570
+ readonly printer: {
571
+ readonly 0: typeof import("../../print/print").internalPrinter;
572
+ readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
573
+ readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
574
+ readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
575
+ readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
576
+ };
577
+ readonly dependencies: readonly ["parse"];
578
+ readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
287
579
  }>;
288
580
  /** The pipeline to use when you want to parse and normalize your R file, see {@link DEFAULT_DATAFLOW_PIPELINE} for the additional `dataflow` step */
289
581
  export declare const DEFAULT_NORMALIZE_PIPELINE: import("./pipeline").Pipeline<{
290
582
  readonly name: "parse";
291
583
  readonly humanReadableName: "parse with R shell";
292
584
  readonly description: "Parse the given R code into an AST";
293
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
585
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
294
586
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
295
587
  readonly printer: {
296
588
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -298,16 +590,49 @@ export declare const DEFAULT_NORMALIZE_PIPELINE: import("./pipeline").Pipeline<{
298
590
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
299
591
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
300
592
  };
301
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
593
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
302
594
  };
303
595
  readonly dependencies: readonly [];
304
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
596
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
305
597
  } | {
306
598
  readonly name: "normalize";
307
599
  readonly humanReadableName: "normalize";
308
600
  readonly description: "Normalize the AST to flowR's AST";
309
601
  readonly processor: (results: {
310
- parse?: import("../all/core/00-parse").ParseStepOutput;
602
+ parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
603
+ }, input: Partial<import("../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>>;
604
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
605
+ readonly printer: {
606
+ readonly 0: typeof import("../../print/print").internalPrinter;
607
+ readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
608
+ readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
609
+ readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
610
+ readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
611
+ };
612
+ readonly dependencies: readonly ["parse"];
613
+ readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
614
+ }>;
615
+ export declare const TREE_SITTER_NORMALIZE_PIPELINE: import("./pipeline").Pipeline<{
616
+ readonly name: "parse";
617
+ readonly humanReadableName: "parse with tree-sitter";
618
+ readonly description: "Parse the given R code into an AST using tree-sitter";
619
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
620
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
621
+ readonly printer: {
622
+ readonly 0: typeof import("../../print/print").internalPrinter;
623
+ readonly 2: {
624
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
625
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
626
+ };
627
+ };
628
+ readonly dependencies: readonly [];
629
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
630
+ } | {
631
+ readonly name: "normalize";
632
+ readonly humanReadableName: "normalize tree-sitter tree";
633
+ readonly description: "Normalize the AST to flowR's AST";
634
+ readonly processor: (results: {
635
+ "parse"?: import("../all/core/01-parse-tree-sitter").ParseStepOutputTS;
311
636
  }, input: Partial<import("../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>>;
312
637
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
313
638
  readonly printer: {
@@ -324,7 +649,24 @@ export declare const DEFAULT_PARSE_PIPELINE: import("./pipeline").Pipeline<{
324
649
  readonly name: "parse";
325
650
  readonly humanReadableName: "parse with R shell";
326
651
  readonly description: "Parse the given R code into an AST";
327
- readonly processor: (_results: unknown, input: Partial<import("../all/core/00-parse").ParseRequiredInput>) => Promise<import("../all/core/00-parse").ParseStepOutput>;
652
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
653
+ readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
654
+ readonly printer: {
655
+ readonly 0: typeof import("../../print/print").internalPrinter;
656
+ readonly 2: {
657
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
658
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
659
+ };
660
+ readonly 5: ({ parsed }: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
661
+ };
662
+ readonly dependencies: readonly [];
663
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
664
+ }>;
665
+ export declare const TREE_SITTER_PARSE_PIPELINE: import("./pipeline").Pipeline<{
666
+ readonly name: "parse";
667
+ readonly humanReadableName: "parse with tree-sitter";
668
+ readonly description: "Parse the given R code into an AST using tree-sitter";
669
+ readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
328
670
  readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
329
671
  readonly printer: {
330
672
  readonly 0: typeof import("../../print/print").internalPrinter;
@@ -332,8 +674,11 @@ export declare const DEFAULT_PARSE_PIPELINE: import("./pipeline").Pipeline<{
332
674
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
333
675
  (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
334
676
  };
335
- readonly 5: ({ parsed }: import("../all/core/00-parse").ParseStepOutput, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
336
677
  };
337
678
  readonly dependencies: readonly [];
338
- readonly requiredInput: import("../all/core/00-parse").ParseRequiredInput;
679
+ readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
339
680
  }>;
681
+ export declare function createParsePipeline(parser: KnownParser, inputs: Omit<PipelineInput<typeof DEFAULT_PARSE_PIPELINE>, 'parser'>): PipelineExecutor<typeof DEFAULT_PARSE_PIPELINE> | PipelineExecutor<typeof TREE_SITTER_PARSE_PIPELINE>;
682
+ export declare function createSlicePipeline(parser: KnownParser, inputs: Omit<PipelineInput<typeof DEFAULT_SLICING_PIPELINE>, 'parser'>): PipelineExecutor<typeof DEFAULT_SLICING_PIPELINE> | PipelineExecutor<typeof TREE_SITTER_SLICING_PIPELINE>;
683
+ export declare function createNormalizePipeline(parser: KnownParser, inputs: Omit<PipelineInput<typeof DEFAULT_NORMALIZE_PIPELINE>, 'parser'>): PipelineExecutor<typeof DEFAULT_NORMALIZE_PIPELINE> | PipelineExecutor<typeof TREE_SITTER_NORMALIZE_PIPELINE>;
684
+ export declare function createDataflowPipeline(parser: KnownParser, inputs: Omit<PipelineInput<typeof DEFAULT_DATAFLOW_PIPELINE>, 'parser'>): PipelineExecutor<typeof DEFAULT_DATAFLOW_PIPELINE> | PipelineExecutor<typeof TREE_SITTER_DATAFLOW_PIPELINE>;