@eagleoutice/flowr 2.5.0 → 2.6.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.
Files changed (223) hide show
  1. package/README.md +57 -42
  2. package/cli/flowr.js +3 -29
  3. package/cli/repl/commands/repl-cfg.d.ts +5 -5
  4. package/cli/repl/commands/repl-cfg.js +21 -22
  5. package/cli/repl/commands/repl-commands.d.ts +3 -3
  6. package/cli/repl/commands/repl-commands.js +2 -0
  7. package/cli/repl/commands/repl-dataflow.d.ts +5 -5
  8. package/cli/repl/commands/repl-dataflow.js +27 -30
  9. package/cli/repl/commands/repl-execute.js +1 -0
  10. package/cli/repl/commands/repl-lineage.js +1 -0
  11. package/cli/repl/commands/repl-main.d.ts +34 -3
  12. package/cli/repl/commands/repl-normalize.d.ts +3 -3
  13. package/cli/repl/commands/repl-normalize.js +15 -19
  14. package/cli/repl/commands/repl-parse.d.ts +2 -2
  15. package/cli/repl/commands/repl-parse.js +13 -8
  16. package/cli/repl/commands/repl-query.d.ts +3 -3
  17. package/cli/repl/commands/repl-query.js +29 -19
  18. package/cli/repl/commands/repl-quit.js +1 -0
  19. package/cli/repl/commands/repl-version.js +1 -0
  20. package/cli/repl/core.d.ts +4 -1
  21. package/cli/repl/core.js +21 -1
  22. package/cli/repl/server/connection.d.ts +7 -3
  23. package/cli/repl/server/connection.js +40 -48
  24. package/cli/repl/server/messages/message-slice.d.ts +1 -1
  25. package/cli/slicer-app.js +1 -1
  26. package/config.d.ts +1 -1
  27. package/config.js +4 -1
  28. package/control-flow/extract-cfg.d.ts +1 -1
  29. package/control-flow/extract-cfg.js +1 -1
  30. package/core/pipeline-executor.d.ts +5 -0
  31. package/core/pipeline-executor.js +5 -0
  32. package/core/steps/pipeline/create-pipeline.js +1 -1
  33. package/core/steps/pipeline/default-pipelines.d.ts +42 -42
  34. package/core/steps/pipeline/default-pipelines.js +4 -1
  35. package/dataflow/graph/dataflowgraph-builder.d.ts +11 -12
  36. package/dataflow/graph/dataflowgraph-builder.js +6 -6
  37. package/documentation/doc-util/doc-query.d.ts +3 -6
  38. package/documentation/doc-util/doc-query.js +5 -17
  39. package/documentation/doc-util/doc-search.js +7 -10
  40. package/documentation/doc-util/doc-structure.d.ts +4 -0
  41. package/documentation/doc-util/doc-structure.js +28 -0
  42. package/documentation/doc-util/doc-types.d.ts +5 -1
  43. package/documentation/doc-util/doc-types.js +29 -3
  44. package/documentation/print-analyzer-wiki.d.ts +1 -0
  45. package/documentation/print-analyzer-wiki.js +137 -0
  46. package/documentation/print-core-wiki.d.ts +2 -1
  47. package/documentation/print-core-wiki.js +58 -4
  48. package/documentation/print-dataflow-graph-wiki.js +15 -22
  49. package/documentation/print-interface-wiki.js +18 -1
  50. package/documentation/print-linter-wiki.js +5 -1
  51. package/documentation/print-normalized-ast-wiki.js +6 -8
  52. package/engines.d.ts +9 -0
  53. package/engines.js +38 -0
  54. package/linter/linter-executor.d.ts +2 -8
  55. package/linter/linter-executor.js +9 -4
  56. package/linter/linter-format.d.ts +8 -9
  57. package/linter/linter-rules.d.ts +57 -15
  58. package/linter/linter-rules.js +2 -0
  59. package/linter/rules/absolute-path.d.ts +1 -0
  60. package/linter/rules/dataframe-access-validation.d.ts +4 -3
  61. package/linter/rules/dataframe-access-validation.js +7 -4
  62. package/linter/rules/dead-code.d.ts +2 -1
  63. package/linter/rules/deprecated-functions.d.ts +15 -28
  64. package/linter/rules/deprecated-functions.js +5 -43
  65. package/linter/rules/file-path-validity.d.ts +2 -1
  66. package/linter/rules/file-path-validity.js +1 -1
  67. package/linter/rules/function-finder-util.d.ts +51 -0
  68. package/linter/rules/function-finder-util.js +77 -0
  69. package/linter/rules/naming-convention.d.ts +2 -1
  70. package/linter/rules/network-functions.d.ts +40 -0
  71. package/linter/rules/network-functions.js +24 -0
  72. package/linter/rules/seeded-randomness.d.ts +2 -1
  73. package/linter/rules/unused-definition.d.ts +2 -1
  74. package/linter/rules/useless-loop.d.ts +3 -2
  75. package/linter/rules/useless-loop.js +4 -6
  76. package/package.json +2 -1
  77. package/project/cache/flowr-analyzer-cache.d.ts +93 -0
  78. package/project/cache/flowr-analyzer-cache.js +156 -0
  79. package/project/cache/flowr-cache.d.ts +28 -0
  80. package/project/cache/flowr-cache.js +49 -0
  81. package/project/context/abstract-flowr-analyzer-context.d.ts +35 -0
  82. package/project/context/abstract-flowr-analyzer-context.js +46 -0
  83. package/project/context/flowr-analyzer-context.d.ts +48 -0
  84. package/project/context/flowr-analyzer-context.js +47 -0
  85. package/project/context/flowr-analyzer-dependencies-context.d.ts +38 -0
  86. package/project/context/flowr-analyzer-dependencies-context.js +39 -0
  87. package/project/context/flowr-analyzer-files-context.d.ts +86 -0
  88. package/project/context/flowr-analyzer-files-context.js +130 -0
  89. package/project/context/flowr-analyzer-loading-order-context.d.ts +76 -0
  90. package/project/context/flowr-analyzer-loading-order-context.js +90 -0
  91. package/project/context/flowr-file.d.ts +89 -0
  92. package/project/context/flowr-file.js +78 -0
  93. package/project/flowr-analyzer-builder.d.ts +106 -0
  94. package/project/flowr-analyzer-builder.js +197 -0
  95. package/project/flowr-analyzer.d.ts +125 -0
  96. package/project/flowr-analyzer.js +81 -0
  97. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +17 -0
  98. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +28 -0
  99. package/project/plugins/file-plugins/flowr-analyzer-file-plugin.d.ts +21 -0
  100. package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +34 -0
  101. package/project/plugins/file-plugins/flowr-description-file.d.ts +24 -0
  102. package/project/plugins/file-plugins/flowr-description-file.js +38 -0
  103. package/project/plugins/flowr-analyzer-plugin.d.ts +90 -0
  104. package/project/plugins/flowr-analyzer-plugin.js +82 -0
  105. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.d.ts +14 -0
  106. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +56 -0
  107. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-plugin.d.ts +13 -0
  108. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-plugin.js +33 -0
  109. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.d.ts +14 -0
  110. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +41 -0
  111. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.d.ts +10 -0
  112. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.js +29 -0
  113. package/project/plugins/package-version-plugins/package.d.ts +15 -0
  114. package/project/plugins/package-version-plugins/package.js +56 -0
  115. package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.d.ts +15 -0
  116. package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +44 -0
  117. package/queries/base-query-format.d.ts +2 -8
  118. package/queries/catalog/call-context-query/call-context-query-executor.d.ts +1 -1
  119. package/queries/catalog/call-context-query/call-context-query-executor.js +20 -13
  120. package/queries/catalog/call-context-query/call-context-query-format.d.ts +2 -3
  121. package/queries/catalog/call-context-query/call-context-query-format.js +2 -2
  122. package/queries/catalog/cluster-query/cluster-query-executor.d.ts +1 -1
  123. package/queries/catalog/cluster-query/cluster-query-executor.js +2 -2
  124. package/queries/catalog/cluster-query/cluster-query-format.d.ts +1 -54
  125. package/queries/catalog/cluster-query/cluster-query-format.js +2 -2
  126. package/queries/catalog/config-query/config-query-executor.d.ts +1 -1
  127. package/queries/catalog/config-query/config-query-executor.js +5 -5
  128. package/queries/catalog/config-query/config-query-format.d.ts +1 -1
  129. package/queries/catalog/config-query/config-query-format.js +1 -1
  130. package/queries/catalog/control-flow-query/control-flow-query-executor.d.ts +1 -1
  131. package/queries/catalog/control-flow-query/control-flow-query-executor.js +2 -3
  132. package/queries/catalog/control-flow-query/control-flow-query-format.d.ts +1 -54
  133. package/queries/catalog/control-flow-query/control-flow-query-format.js +2 -2
  134. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.d.ts +1 -1
  135. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.js +2 -2
  136. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.d.ts +1 -54
  137. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +1 -1
  138. package/queries/catalog/dataflow-query/dataflow-query-executor.d.ts +1 -1
  139. package/queries/catalog/dataflow-query/dataflow-query-executor.js +2 -2
  140. package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +1 -54
  141. package/queries/catalog/dataflow-query/dataflow-query-format.js +1 -1
  142. package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +1 -1
  143. package/queries/catalog/dependencies-query/dependencies-query-executor.js +19 -12
  144. package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +7 -56
  145. package/queries/catalog/dependencies-query/dependencies-query-format.js +7 -4
  146. package/queries/catalog/df-shape-query/df-shape-query-executor.d.ts +1 -1
  147. package/queries/catalog/df-shape-query/df-shape-query-executor.js +4 -4
  148. package/queries/catalog/df-shape-query/df-shape-query-format.d.ts +1 -54
  149. package/queries/catalog/df-shape-query/df-shape-query-format.js +1 -1
  150. package/queries/catalog/happens-before-query/happens-before-query-executor.d.ts +1 -1
  151. package/queries/catalog/happens-before-query/happens-before-query-executor.js +2 -1
  152. package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +1 -54
  153. package/queries/catalog/happens-before-query/happens-before-query-format.js +1 -1
  154. package/queries/catalog/id-map-query/id-map-query-executor.d.ts +1 -1
  155. package/queries/catalog/id-map-query/id-map-query-executor.js +2 -2
  156. package/queries/catalog/id-map-query/id-map-query-format.d.ts +1 -54
  157. package/queries/catalog/id-map-query/id-map-query-format.js +2 -2
  158. package/queries/catalog/lineage-query/lineage-query-executor.d.ts +1 -1
  159. package/queries/catalog/lineage-query/lineage-query-executor.js +2 -2
  160. package/queries/catalog/lineage-query/lineage-query-format.d.ts +1 -54
  161. package/queries/catalog/lineage-query/lineage-query-format.js +1 -1
  162. package/queries/catalog/linter-query/linter-query-executor.d.ts +1 -1
  163. package/queries/catalog/linter-query/linter-query-executor.js +2 -3
  164. package/queries/catalog/linter-query/linter-query-format.d.ts +1 -54
  165. package/queries/catalog/linter-query/linter-query-format.js +1 -1
  166. package/queries/catalog/location-map-query/location-map-query-executor.d.ts +1 -1
  167. package/queries/catalog/location-map-query/location-map-query-executor.js +3 -2
  168. package/queries/catalog/location-map-query/location-map-query-format.d.ts +1 -1
  169. package/queries/catalog/location-map-query/location-map-query-format.js +1 -1
  170. package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.d.ts +1 -1
  171. package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.js +2 -2
  172. package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +1 -54
  173. package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +1 -1
  174. package/queries/catalog/origin-query/origin-query-executor.d.ts +2 -2
  175. package/queries/catalog/origin-query/origin-query-executor.js +3 -3
  176. package/queries/catalog/origin-query/origin-query-format.d.ts +1 -54
  177. package/queries/catalog/origin-query/origin-query-format.js +1 -1
  178. package/queries/catalog/project-query/project-query-executor.d.ts +1 -1
  179. package/queries/catalog/project-query/project-query-executor.js +2 -2
  180. package/queries/catalog/project-query/project-query-format.d.ts +1 -54
  181. package/queries/catalog/project-query/project-query-format.js +1 -1
  182. package/queries/catalog/resolve-value-query/resolve-value-query-executor.d.ts +1 -1
  183. package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +4 -2
  184. package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +1 -54
  185. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -1
  186. package/queries/catalog/search-query/search-query-executor.d.ts +1 -1
  187. package/queries/catalog/search-query/search-query-executor.js +3 -3
  188. package/queries/catalog/search-query/search-query-format.d.ts +1 -54
  189. package/queries/catalog/search-query/search-query-format.js +1 -1
  190. package/queries/catalog/static-slice-query/static-slice-query-executor.d.ts +1 -1
  191. package/queries/catalog/static-slice-query/static-slice-query-executor.js +3 -3
  192. package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +1 -54
  193. package/queries/catalog/static-slice-query/static-slice-query-format.js +1 -1
  194. package/queries/query-print.d.ts +4 -4
  195. package/queries/query-print.js +12 -12
  196. package/queries/query.d.ts +29 -885
  197. package/queries/query.js +1 -1
  198. package/r-bridge/retriever.d.ts +6 -5
  199. package/r-bridge/retriever.js +9 -5
  200. package/search/flowr-search-executor.d.ts +3 -5
  201. package/search/flowr-search-executor.js +6 -4
  202. package/search/flowr-search-filters.d.ts +12 -6
  203. package/search/flowr-search-filters.js +1 -1
  204. package/search/flowr-search.d.ts +5 -16
  205. package/search/flowr-search.js +14 -5
  206. package/search/search-executor/search-enrichers.d.ts +37 -36
  207. package/search/search-executor/search-enrichers.js +4 -4
  208. package/search/search-executor/search-generators.d.ts +12 -12
  209. package/search/search-executor/search-generators.js +27 -19
  210. package/search/search-executor/search-mappers.d.ts +5 -5
  211. package/search/search-executor/search-transformer.d.ts +17 -17
  212. package/search/search-executor/search-transformer.js +14 -7
  213. package/util/collections/arrays.d.ts +1 -0
  214. package/util/collections/arrays.js +15 -0
  215. package/util/collections/objectmap.d.ts +17 -0
  216. package/util/collections/objectmap.js +28 -0
  217. package/util/containers.d.ts +0 -1
  218. package/util/containers.js +0 -1
  219. package/util/files.d.ts +17 -0
  220. package/util/files.js +65 -0
  221. package/util/formats/adapter.d.ts +4 -2
  222. package/util/formats/adapter.js +11 -4
  223. package/util/version.js +1 -1
@@ -10,8 +10,6 @@ import type { StaticSliceQuery } from './catalog/static-slice-query/static-slice
10
10
  import type { DataflowClusterQuery } from './catalog/cluster-query/cluster-query-format';
11
11
  import type { DependenciesQuery } from './catalog/dependencies-query/dependencies-query-format';
12
12
  import type { OutputFormatter } from '../util/text/ansi';
13
- import type { PipelineOutput } from '../core/steps/pipeline/pipeline';
14
- import type { DEFAULT_DATAFLOW_PIPELINE } from '../core/steps/pipeline/default-pipelines';
15
13
  import Joi from 'joi';
16
14
  import type { LocationMapQuery } from './catalog/location-map-query/location-map-query-format';
17
15
  import type { ConfigQuery } from './catalog/config-query/config-query-format';
@@ -25,31 +23,24 @@ import type { LinterQuery } from './catalog/linter-query/linter-query-format';
25
23
  import type { NodeId } from '../r-bridge/lang-4.x/ast/model/processing/node-id';
26
24
  import type { ControlFlowQuery } from './catalog/control-flow-query/control-flow-query-format';
27
25
  import type { DfShapeQuery } from './catalog/df-shape-query/df-shape-query-format';
28
- import type { AsyncOrSync, AsyncOrSyncType } from 'ts-essentials';
26
+ import type { AsyncOrSync } from 'ts-essentials';
29
27
  import type { FlowrConfigOptions } from '../config';
28
+ import type { FlowrAnalysisProvider } from '../project/flowr-analyzer';
30
29
  /**
31
30
  * These are all queries that can be executed from within flowR
32
- * {@link SynchronousQuery} are queries that can be executed synchronously, i.e., they do not return a Promise.
33
31
  */
34
32
  export type Query = CallContextQuery | ConfigQuery | SearchQuery | DataflowQuery | ControlFlowQuery | DataflowLensQuery | DfShapeQuery | NormalizedAstQuery | IdMapQuery | DataflowClusterQuery | StaticSliceQuery | LineageQuery | DependenciesQuery | LocationMapQuery | HappensBeforeQuery | ResolveValueQuery | ProjectQuery | OriginQuery | LinterQuery;
35
- export type SynchronousQuery = Exclude<Query, {
36
- executor: (query: Query) => Promise<unknown>;
37
- }>;
38
- export type SupportedSynchronousQueryTypes = SynchronousQuery['type'];
39
33
  export type QueryArgumentsWithType<QueryType extends BaseQueryFormat['type']> = Query & {
40
34
  type: QueryType;
41
35
  };
42
- export type QueryExecutor<Query extends BaseQueryFormat, Result extends BaseQueryResult> = (data: BasicQueryData, query: readonly Query[]) => AsyncOrSync<Result>;
43
- type SupportedQueries = {
44
- [QueryType in Query['type']]: SupportedQuery<QueryType>;
45
- };
36
+ export type QueryExecutor<Query extends BaseQueryFormat, Result extends Promise<BaseQueryResult>> = (data: BasicQueryData, query: readonly Query[]) => Result;
46
37
  export interface SupportedQuery<QueryType extends BaseQueryFormat['type'] = BaseQueryFormat['type']> {
47
- executor: QueryExecutor<QueryArgumentsWithType<QueryType>, BaseQueryResult>;
38
+ executor: QueryExecutor<QueryArgumentsWithType<QueryType>, Promise<BaseQueryResult>>;
48
39
  /** optional completion in, e.g., the repl */
49
40
  completer?: (splitLine: readonly string[], config: FlowrConfigOptions) => string[];
50
41
  /** optional query construction from an, e.g., repl line */
51
42
  fromLine?: (splitLine: readonly string[], config: FlowrConfigOptions) => Query | Query[] | undefined;
52
- asciiSummarizer: (formatter: OutputFormatter, processed: PipelineOutput<typeof DEFAULT_DATAFLOW_PIPELINE>, queryResults: BaseQueryResult, resultStrings: string[], query: readonly Query[]) => boolean;
43
+ asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, resultStrings: string[], query: readonly Query[]) => AsyncOrSync<boolean>;
53
44
  schema: Joi.ObjectSchema;
54
45
  /**
55
46
  * Flattens the involved query nodes to be added to a flowR search when the {@link fromQuery} function is used based on the given result after this query is executed.
@@ -60,13 +51,13 @@ export interface SupportedQuery<QueryType extends BaseQueryFormat['type'] = Base
60
51
  export declare const SupportedQueries: {
61
52
  readonly 'call-context': {
62
53
  readonly executor: typeof import("./catalog/call-context-query/call-context-query-executor").executeCallContextQueries;
63
- readonly asciiSummarizer: (formatter: OutputFormatter, processed: PipelineOutput<typeof DEFAULT_DATAFLOW_PIPELINE>, queryResults: BaseQueryResult, result: string[]) => boolean;
54
+ readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
64
55
  readonly schema: Joi.ObjectSchema<any>;
65
56
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
66
57
  };
67
58
  readonly config: {
68
59
  readonly executor: typeof import("./catalog/config-query/config-query-executor").executeConfigQuery;
69
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: unknown, queryResults: BaseQueryResult, result: string[]) => boolean;
60
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: unknown, queryResults: BaseQueryResult, result: string[]) => boolean;
70
61
  readonly completer: (partialLine: readonly string[], config: FlowrConfigOptions) => string[];
71
62
  readonly fromLine: (line: readonly string[], _config: FlowrConfigOptions) => [ConfigQuery];
72
63
  readonly schema: Joi.ObjectSchema<any>;
@@ -74,960 +65,111 @@ export declare const SupportedQueries: {
74
65
  };
75
66
  readonly 'control-flow': {
76
67
  readonly executor: typeof import("./catalog/control-flow-query/control-flow-query-executor").executeControlFlowQuery;
77
- readonly asciiSummarizer: (formatter: OutputFormatter, processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
78
- readonly name: "parse";
79
- readonly humanReadableName: "parse with R shell";
80
- readonly description: "Parse the given R code into an AST";
81
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
82
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
83
- readonly printer: {
84
- readonly 0: typeof import("../core/print/print").internalPrinter;
85
- readonly 2: {
86
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
87
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
88
- };
89
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
90
- };
91
- readonly dependencies: readonly [];
92
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
93
- } | {
94
- readonly name: "normalize";
95
- readonly humanReadableName: "normalize";
96
- readonly description: "Normalize the AST to flowR's AST";
97
- readonly processor: (results: {
98
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
99
- }, 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>>;
100
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
101
- readonly printer: {
102
- readonly 0: typeof import("../core/print/print").internalPrinter;
103
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
104
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
105
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
106
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
107
- };
108
- readonly dependencies: readonly ["parse"];
109
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
110
- } | {
111
- readonly humanReadableName: "dataflow";
112
- readonly processor: (results: {
113
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
114
- }, input: {
115
- request?: import("../r-bridge/retriever").RParseRequests;
116
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
117
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
118
- readonly requiredInput: {};
119
- readonly name: "dataflow";
120
- readonly description: "Construct the dataflow graph";
121
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
122
- readonly printer: {
123
- readonly 0: typeof import("../core/print/print").internalPrinter;
124
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
125
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
126
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
127
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
128
- };
129
- readonly dependencies: readonly ["normalize"];
130
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
68
+ readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
131
69
  readonly schema: Joi.ObjectSchema<any>;
132
70
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
133
71
  };
134
72
  readonly dataflow: {
135
73
  readonly executor: typeof import("./catalog/dataflow-query/dataflow-query-executor").executeDataflowQuery;
136
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
137
- readonly name: "parse";
138
- readonly humanReadableName: "parse with R shell";
139
- readonly description: "Parse the given R code into an AST";
140
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
141
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
142
- readonly printer: {
143
- readonly 0: typeof import("../core/print/print").internalPrinter;
144
- readonly 2: {
145
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
146
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
147
- };
148
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
149
- };
150
- readonly dependencies: readonly [];
151
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
152
- } | {
153
- readonly name: "normalize";
154
- readonly humanReadableName: "normalize";
155
- readonly description: "Normalize the AST to flowR's AST";
156
- readonly processor: (results: {
157
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
158
- }, 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>>;
159
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
160
- readonly printer: {
161
- readonly 0: typeof import("../core/print/print").internalPrinter;
162
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
163
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
164
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
165
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
166
- };
167
- readonly dependencies: readonly ["parse"];
168
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
169
- } | {
170
- readonly humanReadableName: "dataflow";
171
- readonly processor: (results: {
172
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
173
- }, input: {
174
- request?: import("../r-bridge/retriever").RParseRequests;
175
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
176
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
177
- readonly requiredInput: {};
178
- readonly name: "dataflow";
179
- readonly description: "Construct the dataflow graph";
180
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
181
- readonly printer: {
182
- readonly 0: typeof import("../core/print/print").internalPrinter;
183
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
184
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
185
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
186
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
187
- };
188
- readonly dependencies: readonly ["normalize"];
189
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
74
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
190
75
  readonly schema: Joi.ObjectSchema<any>;
191
76
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
192
77
  };
193
78
  readonly 'dataflow-lens': {
194
79
  readonly executor: typeof import("./catalog/dataflow-lens-query/dataflow-lens-query-executor").executeDataflowLensQuery;
195
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
196
- readonly name: "parse";
197
- readonly humanReadableName: "parse with R shell";
198
- readonly description: "Parse the given R code into an AST";
199
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
200
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
201
- readonly printer: {
202
- readonly 0: typeof import("../core/print/print").internalPrinter;
203
- readonly 2: {
204
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
205
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
206
- };
207
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
208
- };
209
- readonly dependencies: readonly [];
210
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
211
- } | {
212
- readonly name: "normalize";
213
- readonly humanReadableName: "normalize";
214
- readonly description: "Normalize the AST to flowR's AST";
215
- readonly processor: (results: {
216
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
217
- }, 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>>;
218
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
219
- readonly printer: {
220
- readonly 0: typeof import("../core/print/print").internalPrinter;
221
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
222
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
223
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
224
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
225
- };
226
- readonly dependencies: readonly ["parse"];
227
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
228
- } | {
229
- readonly humanReadableName: "dataflow";
230
- readonly processor: (results: {
231
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
232
- }, input: {
233
- request?: import("../r-bridge/retriever").RParseRequests;
234
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
235
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
236
- readonly requiredInput: {};
237
- readonly name: "dataflow";
238
- readonly description: "Construct the dataflow graph";
239
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
240
- readonly printer: {
241
- readonly 0: typeof import("../core/print/print").internalPrinter;
242
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
243
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
244
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
245
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
246
- };
247
- readonly dependencies: readonly ["normalize"];
248
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
80
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
249
81
  readonly schema: Joi.ObjectSchema<any>;
250
82
  readonly flattenInvolvedNodes: () => never[];
251
83
  };
252
84
  readonly 'df-shape': {
253
85
  readonly executor: typeof import("./catalog/df-shape-query/df-shape-query-executor").executeDfShapeQuery;
254
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
255
- readonly name: "parse";
256
- readonly humanReadableName: "parse with R shell";
257
- readonly description: "Parse the given R code into an AST";
258
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
259
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
260
- readonly printer: {
261
- readonly 0: typeof import("../core/print/print").internalPrinter;
262
- readonly 2: {
263
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
264
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
265
- };
266
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
267
- };
268
- readonly dependencies: readonly [];
269
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
270
- } | {
271
- readonly name: "normalize";
272
- readonly humanReadableName: "normalize";
273
- readonly description: "Normalize the AST to flowR's AST";
274
- readonly processor: (results: {
275
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
276
- }, 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>>;
277
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
278
- readonly printer: {
279
- readonly 0: typeof import("../core/print/print").internalPrinter;
280
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
281
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
282
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
283
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
284
- };
285
- readonly dependencies: readonly ["parse"];
286
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
287
- } | {
288
- readonly humanReadableName: "dataflow";
289
- readonly processor: (results: {
290
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
291
- }, input: {
292
- request?: import("../r-bridge/retriever").RParseRequests;
293
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
294
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
295
- readonly requiredInput: {};
296
- readonly name: "dataflow";
297
- readonly description: "Construct the dataflow graph";
298
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
299
- readonly printer: {
300
- readonly 0: typeof import("../core/print/print").internalPrinter;
301
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
302
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
303
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
304
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
305
- };
306
- readonly dependencies: readonly ["normalize"];
307
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
86
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
308
87
  readonly schema: Joi.ObjectSchema<any>;
309
88
  readonly flattenInvolvedNodes: () => never[];
310
89
  };
311
90
  readonly 'id-map': {
312
91
  readonly executor: typeof import("./catalog/id-map-query/id-map-query-executor").executeIdMapQuery;
313
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
314
- readonly name: "parse";
315
- readonly humanReadableName: "parse with R shell";
316
- readonly description: "Parse the given R code into an AST";
317
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
318
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
319
- readonly printer: {
320
- readonly 0: typeof import("../core/print/print").internalPrinter;
321
- readonly 2: {
322
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
323
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
324
- };
325
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
326
- };
327
- readonly dependencies: readonly [];
328
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
329
- } | {
330
- readonly name: "normalize";
331
- readonly humanReadableName: "normalize";
332
- readonly description: "Normalize the AST to flowR's AST";
333
- readonly processor: (results: {
334
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
335
- }, 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>>;
336
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
337
- readonly printer: {
338
- readonly 0: typeof import("../core/print/print").internalPrinter;
339
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
340
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
341
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
342
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
343
- };
344
- readonly dependencies: readonly ["parse"];
345
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
346
- } | {
347
- readonly humanReadableName: "dataflow";
348
- readonly processor: (results: {
349
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
350
- }, input: {
351
- request?: import("../r-bridge/retriever").RParseRequests;
352
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
353
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
354
- readonly requiredInput: {};
355
- readonly name: "dataflow";
356
- readonly description: "Construct the dataflow graph";
357
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
358
- readonly printer: {
359
- readonly 0: typeof import("../core/print/print").internalPrinter;
360
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
361
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
362
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
363
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
364
- };
365
- readonly dependencies: readonly ["normalize"];
366
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
92
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
367
93
  readonly schema: Joi.ObjectSchema<any>;
368
94
  readonly flattenInvolvedNodes: () => never[];
369
95
  };
370
96
  readonly 'normalized-ast': {
371
97
  readonly executor: typeof import("./catalog/normalized-ast-query/normalized-ast-query-executor").executeNormalizedAstQuery;
372
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
373
- readonly name: "parse";
374
- readonly humanReadableName: "parse with R shell";
375
- readonly description: "Parse the given R code into an AST";
376
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
377
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
378
- readonly printer: {
379
- readonly 0: typeof import("../core/print/print").internalPrinter;
380
- readonly 2: {
381
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
382
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
383
- };
384
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
385
- };
386
- readonly dependencies: readonly [];
387
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
388
- } | {
389
- readonly name: "normalize";
390
- readonly humanReadableName: "normalize";
391
- readonly description: "Normalize the AST to flowR's AST";
392
- readonly processor: (results: {
393
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
394
- }, 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>>;
395
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
396
- readonly printer: {
397
- readonly 0: typeof import("../core/print/print").internalPrinter;
398
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
399
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
400
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
401
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
402
- };
403
- readonly dependencies: readonly ["parse"];
404
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
405
- } | {
406
- readonly humanReadableName: "dataflow";
407
- readonly processor: (results: {
408
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
409
- }, input: {
410
- request?: import("../r-bridge/retriever").RParseRequests;
411
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
412
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
413
- readonly requiredInput: {};
414
- readonly name: "dataflow";
415
- readonly description: "Construct the dataflow graph";
416
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
417
- readonly printer: {
418
- readonly 0: typeof import("../core/print/print").internalPrinter;
419
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
420
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
421
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
422
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
423
- };
424
- readonly dependencies: readonly ["normalize"];
425
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
98
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
426
99
  readonly schema: Joi.ObjectSchema<any>;
427
100
  readonly flattenInvolvedNodes: () => never[];
428
101
  };
429
102
  readonly 'dataflow-cluster': {
430
103
  readonly executor: typeof import("./catalog/cluster-query/cluster-query-executor").executeDataflowClusterQuery;
431
- readonly asciiSummarizer: (formatter: OutputFormatter, processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
432
- readonly name: "parse";
433
- readonly humanReadableName: "parse with R shell";
434
- readonly description: "Parse the given R code into an AST";
435
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
436
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
437
- readonly printer: {
438
- readonly 0: typeof import("../core/print/print").internalPrinter;
439
- readonly 2: {
440
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
441
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
442
- };
443
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
444
- };
445
- readonly dependencies: readonly [];
446
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
447
- } | {
448
- readonly name: "normalize";
449
- readonly humanReadableName: "normalize";
450
- readonly description: "Normalize the AST to flowR's AST";
451
- readonly processor: (results: {
452
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
453
- }, 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>>;
454
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
455
- readonly printer: {
456
- readonly 0: typeof import("../core/print/print").internalPrinter;
457
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
458
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
459
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
460
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
461
- };
462
- readonly dependencies: readonly ["parse"];
463
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
464
- } | {
465
- readonly humanReadableName: "dataflow";
466
- readonly processor: (results: {
467
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
468
- }, input: {
469
- request?: import("../r-bridge/retriever").RParseRequests;
470
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
471
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
472
- readonly requiredInput: {};
473
- readonly name: "dataflow";
474
- readonly description: "Construct the dataflow graph";
475
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
476
- readonly printer: {
477
- readonly 0: typeof import("../core/print/print").internalPrinter;
478
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
479
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
480
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
481
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
482
- };
483
- readonly dependencies: readonly ["normalize"];
484
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
104
+ readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
485
105
  readonly schema: Joi.ObjectSchema<any>;
486
106
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
487
107
  };
488
108
  readonly 'static-slice': {
489
109
  readonly executor: typeof import("./catalog/static-slice-query/static-slice-query-executor").executeStaticSliceQuery;
490
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
491
- readonly name: "parse";
492
- readonly humanReadableName: "parse with R shell";
493
- readonly description: "Parse the given R code into an AST";
494
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
495
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
496
- readonly printer: {
497
- readonly 0: typeof import("../core/print/print").internalPrinter;
498
- readonly 2: {
499
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
500
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
501
- };
502
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
503
- };
504
- readonly dependencies: readonly [];
505
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
506
- } | {
507
- readonly name: "normalize";
508
- readonly humanReadableName: "normalize";
509
- readonly description: "Normalize the AST to flowR's AST";
510
- readonly processor: (results: {
511
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
512
- }, 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>>;
513
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
514
- readonly printer: {
515
- readonly 0: typeof import("../core/print/print").internalPrinter;
516
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
517
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
518
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
519
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
520
- };
521
- readonly dependencies: readonly ["parse"];
522
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
523
- } | {
524
- readonly humanReadableName: "dataflow";
525
- readonly processor: (results: {
526
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
527
- }, input: {
528
- request?: import("../r-bridge/retriever").RParseRequests;
529
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
530
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
531
- readonly requiredInput: {};
532
- readonly name: "dataflow";
533
- readonly description: "Construct the dataflow graph";
534
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
535
- readonly printer: {
536
- readonly 0: typeof import("../core/print/print").internalPrinter;
537
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
538
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
539
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
540
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
541
- };
542
- readonly dependencies: readonly ["normalize"];
543
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
110
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
544
111
  readonly schema: Joi.ObjectSchema<any>;
545
112
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
546
113
  };
547
114
  readonly lineage: {
548
115
  readonly executor: typeof import("./catalog/lineage-query/lineage-query-executor").executeLineageQuery;
549
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
550
- readonly name: "parse";
551
- readonly humanReadableName: "parse with R shell";
552
- readonly description: "Parse the given R code into an AST";
553
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
554
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
555
- readonly printer: {
556
- readonly 0: typeof import("../core/print/print").internalPrinter;
557
- readonly 2: {
558
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
559
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
560
- };
561
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
562
- };
563
- readonly dependencies: readonly [];
564
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
565
- } | {
566
- readonly name: "normalize";
567
- readonly humanReadableName: "normalize";
568
- readonly description: "Normalize the AST to flowR's AST";
569
- readonly processor: (results: {
570
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
571
- }, 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>>;
572
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
573
- readonly printer: {
574
- readonly 0: typeof import("../core/print/print").internalPrinter;
575
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
576
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
577
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
578
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
579
- };
580
- readonly dependencies: readonly ["parse"];
581
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
582
- } | {
583
- readonly humanReadableName: "dataflow";
584
- readonly processor: (results: {
585
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
586
- }, input: {
587
- request?: import("../r-bridge/retriever").RParseRequests;
588
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
589
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
590
- readonly requiredInput: {};
591
- readonly name: "dataflow";
592
- readonly description: "Construct the dataflow graph";
593
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
594
- readonly printer: {
595
- readonly 0: typeof import("../core/print/print").internalPrinter;
596
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
597
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
598
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
599
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
600
- };
601
- readonly dependencies: readonly ["normalize"];
602
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
116
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
603
117
  readonly schema: Joi.ObjectSchema<any>;
604
118
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
605
119
  };
606
120
  readonly dependencies: {
607
121
  readonly executor: typeof import("./catalog/dependencies-query/dependencies-query-executor").executeDependenciesQuery;
608
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
609
- readonly name: "parse";
610
- readonly humanReadableName: "parse with R shell";
611
- readonly description: "Parse the given R code into an AST";
612
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
613
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
614
- readonly printer: {
615
- readonly 0: typeof import("../core/print/print").internalPrinter;
616
- readonly 2: {
617
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
618
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
619
- };
620
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
621
- };
622
- readonly dependencies: readonly [];
623
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
624
- } | {
625
- readonly name: "normalize";
626
- readonly humanReadableName: "normalize";
627
- readonly description: "Normalize the AST to flowR's AST";
628
- readonly processor: (results: {
629
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
630
- }, 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>>;
631
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
632
- readonly printer: {
633
- readonly 0: typeof import("../core/print/print").internalPrinter;
634
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
635
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
636
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
637
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
638
- };
639
- readonly dependencies: readonly ["parse"];
640
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
641
- } | {
642
- readonly humanReadableName: "dataflow";
643
- readonly processor: (results: {
644
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
645
- }, input: {
646
- request?: import("../r-bridge/retriever").RParseRequests;
647
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
648
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
649
- readonly requiredInput: {};
650
- readonly name: "dataflow";
651
- readonly description: "Construct the dataflow graph";
652
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
653
- readonly printer: {
654
- readonly 0: typeof import("../core/print/print").internalPrinter;
655
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
656
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
657
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
658
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
659
- };
660
- readonly dependencies: readonly ["normalize"];
661
- }>>, queryResults: BaseQueryResult, result: string[], queries: readonly Query[]) => true;
122
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[], queries: readonly Query[]) => true;
662
123
  readonly schema: Joi.ObjectSchema<any>;
663
124
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult, query: readonly Query[]) => NodeId[];
664
125
  };
665
126
  readonly 'location-map': {
666
127
  readonly executor: typeof import("./catalog/location-map-query/location-map-query-executor").executeLocationMapQuery;
667
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: unknown, queryResults: BaseQueryResult, result: string[]) => boolean;
128
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: unknown, queryResults: BaseQueryResult, result: string[]) => boolean;
668
129
  readonly schema: Joi.ObjectSchema<any>;
669
130
  readonly flattenInvolvedNodes: () => never[];
670
131
  };
671
132
  readonly search: {
672
133
  readonly executor: typeof import("./catalog/search-query/search-query-executor").executeSearch;
673
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
674
- readonly name: "parse";
675
- readonly humanReadableName: "parse with R shell";
676
- readonly description: "Parse the given R code into an AST";
677
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
678
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
679
- readonly printer: {
680
- readonly 0: typeof import("../core/print/print").internalPrinter;
681
- readonly 2: {
682
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
683
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
684
- };
685
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
686
- };
687
- readonly dependencies: readonly [];
688
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
689
- } | {
690
- readonly name: "normalize";
691
- readonly humanReadableName: "normalize";
692
- readonly description: "Normalize the AST to flowR's AST";
693
- readonly processor: (results: {
694
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
695
- }, 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>>;
696
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
697
- readonly printer: {
698
- readonly 0: typeof import("../core/print/print").internalPrinter;
699
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
700
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
701
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
702
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
703
- };
704
- readonly dependencies: readonly ["parse"];
705
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
706
- } | {
707
- readonly humanReadableName: "dataflow";
708
- readonly processor: (results: {
709
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
710
- }, input: {
711
- request?: import("../r-bridge/retriever").RParseRequests;
712
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
713
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
714
- readonly requiredInput: {};
715
- readonly name: "dataflow";
716
- readonly description: "Construct the dataflow graph";
717
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
718
- readonly printer: {
719
- readonly 0: typeof import("../core/print/print").internalPrinter;
720
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
721
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
722
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
723
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
724
- };
725
- readonly dependencies: readonly ["normalize"];
726
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
134
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
727
135
  readonly schema: Joi.ObjectSchema<any>;
728
136
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
729
137
  };
730
138
  readonly 'happens-before': {
731
139
  readonly executor: typeof import("./catalog/happens-before-query/happens-before-query-executor").executeHappensBefore;
732
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
733
- readonly name: "parse";
734
- readonly humanReadableName: "parse with R shell";
735
- readonly description: "Parse the given R code into an AST";
736
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
737
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
738
- readonly printer: {
739
- readonly 0: typeof import("../core/print/print").internalPrinter;
740
- readonly 2: {
741
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
742
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
743
- };
744
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
745
- };
746
- readonly dependencies: readonly [];
747
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
748
- } | {
749
- readonly name: "normalize";
750
- readonly humanReadableName: "normalize";
751
- readonly description: "Normalize the AST to flowR's AST";
752
- readonly processor: (results: {
753
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
754
- }, 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>>;
755
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
756
- readonly printer: {
757
- readonly 0: typeof import("../core/print/print").internalPrinter;
758
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
759
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
760
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
761
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
762
- };
763
- readonly dependencies: readonly ["parse"];
764
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
765
- } | {
766
- readonly humanReadableName: "dataflow";
767
- readonly processor: (results: {
768
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
769
- }, input: {
770
- request?: import("../r-bridge/retriever").RParseRequests;
771
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
772
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
773
- readonly requiredInput: {};
774
- readonly name: "dataflow";
775
- readonly description: "Construct the dataflow graph";
776
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
777
- readonly printer: {
778
- readonly 0: typeof import("../core/print/print").internalPrinter;
779
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
780
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
781
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
782
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
783
- };
784
- readonly dependencies: readonly ["normalize"];
785
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
140
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
786
141
  readonly schema: Joi.ObjectSchema<any>;
787
142
  readonly flattenInvolvedNodes: () => never[];
788
143
  };
789
144
  readonly 'resolve-value': {
790
145
  readonly executor: typeof import("./catalog/resolve-value-query/resolve-value-query-executor").executeResolveValueQuery;
791
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
792
- readonly name: "parse";
793
- readonly humanReadableName: "parse with R shell";
794
- readonly description: "Parse the given R code into an AST";
795
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
796
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
797
- readonly printer: {
798
- readonly 0: typeof import("../core/print/print").internalPrinter;
799
- readonly 2: {
800
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
801
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
802
- };
803
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
804
- };
805
- readonly dependencies: readonly [];
806
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
807
- } | {
808
- readonly name: "normalize";
809
- readonly humanReadableName: "normalize";
810
- readonly description: "Normalize the AST to flowR's AST";
811
- readonly processor: (results: {
812
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
813
- }, 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>>;
814
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
815
- readonly printer: {
816
- readonly 0: typeof import("../core/print/print").internalPrinter;
817
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
818
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
819
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
820
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
821
- };
822
- readonly dependencies: readonly ["parse"];
823
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
824
- } | {
825
- readonly humanReadableName: "dataflow";
826
- readonly processor: (results: {
827
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
828
- }, input: {
829
- request?: import("../r-bridge/retriever").RParseRequests;
830
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
831
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
832
- readonly requiredInput: {};
833
- readonly name: "dataflow";
834
- readonly description: "Construct the dataflow graph";
835
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
836
- readonly printer: {
837
- readonly 0: typeof import("../core/print/print").internalPrinter;
838
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
839
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
840
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
841
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
842
- };
843
- readonly dependencies: readonly ["normalize"];
844
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
146
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
845
147
  readonly schema: Joi.ObjectSchema<any>;
846
148
  readonly flattenInvolvedNodes: () => never[];
847
149
  };
848
150
  readonly project: {
849
151
  readonly executor: typeof import("./catalog/project-query/project-query-executor").executeProjectQuery;
850
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
851
- readonly name: "parse";
852
- readonly humanReadableName: "parse with R shell";
853
- readonly description: "Parse the given R code into an AST";
854
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
855
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
856
- readonly printer: {
857
- readonly 0: typeof import("../core/print/print").internalPrinter;
858
- readonly 2: {
859
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
860
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
861
- };
862
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
863
- };
864
- readonly dependencies: readonly [];
865
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
866
- } | {
867
- readonly name: "normalize";
868
- readonly humanReadableName: "normalize";
869
- readonly description: "Normalize the AST to flowR's AST";
870
- readonly processor: (results: {
871
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
872
- }, 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>>;
873
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
874
- readonly printer: {
875
- readonly 0: typeof import("../core/print/print").internalPrinter;
876
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
877
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
878
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
879
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
880
- };
881
- readonly dependencies: readonly ["parse"];
882
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
883
- } | {
884
- readonly humanReadableName: "dataflow";
885
- readonly processor: (results: {
886
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
887
- }, input: {
888
- request?: import("../r-bridge/retriever").RParseRequests;
889
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
890
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
891
- readonly requiredInput: {};
892
- readonly name: "dataflow";
893
- readonly description: "Construct the dataflow graph";
894
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
895
- readonly printer: {
896
- readonly 0: typeof import("../core/print/print").internalPrinter;
897
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
898
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
899
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
900
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
901
- };
902
- readonly dependencies: readonly ["normalize"];
903
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
152
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
904
153
  readonly schema: Joi.ObjectSchema<any>;
905
154
  readonly flattenInvolvedNodes: () => never[];
906
155
  };
907
156
  readonly origin: {
908
157
  readonly executor: typeof import("./catalog/origin-query/origin-query-executor").executeResolveValueQuery;
909
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
910
- readonly name: "parse";
911
- readonly humanReadableName: "parse with R shell";
912
- readonly description: "Parse the given R code into an AST";
913
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
914
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
915
- readonly printer: {
916
- readonly 0: typeof import("../core/print/print").internalPrinter;
917
- readonly 2: {
918
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
919
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
920
- };
921
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
922
- };
923
- readonly dependencies: readonly [];
924
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
925
- } | {
926
- readonly name: "normalize";
927
- readonly humanReadableName: "normalize";
928
- readonly description: "Normalize the AST to flowR's AST";
929
- readonly processor: (results: {
930
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
931
- }, 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>>;
932
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
933
- readonly printer: {
934
- readonly 0: typeof import("../core/print/print").internalPrinter;
935
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
936
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
937
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
938
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
939
- };
940
- readonly dependencies: readonly ["parse"];
941
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
942
- } | {
943
- readonly humanReadableName: "dataflow";
944
- readonly processor: (results: {
945
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
946
- }, input: {
947
- request?: import("../r-bridge/retriever").RParseRequests;
948
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
949
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
950
- readonly requiredInput: {};
951
- readonly name: "dataflow";
952
- readonly description: "Construct the dataflow graph";
953
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
954
- readonly printer: {
955
- readonly 0: typeof import("../core/print/print").internalPrinter;
956
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
957
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
958
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
959
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
960
- };
961
- readonly dependencies: readonly ["normalize"];
962
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
158
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
963
159
  readonly schema: Joi.ObjectSchema<any>;
964
160
  readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
965
161
  };
966
162
  readonly linter: {
967
163
  readonly executor: typeof import("./catalog/linter-query/linter-query-executor").executeLinterQuery;
968
- readonly asciiSummarizer: (formatter: OutputFormatter, _processed: PipelineOutput<import("../core/steps/pipeline/pipeline").Pipeline<{
969
- readonly name: "parse";
970
- readonly humanReadableName: "parse with R shell";
971
- readonly description: "Parse the given R code into an AST";
972
- readonly processor: (_results: unknown, input: Partial<import("../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../r-bridge/parser").ParseStepOutput<string>>;
973
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
974
- readonly printer: {
975
- readonly 0: typeof import("../core/print/print").internalPrinter;
976
- readonly 2: {
977
- (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
978
- (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
979
- };
980
- readonly 5: ({ parsed }: import("../r-bridge/parser").ParseStepOutput<string>, config: import("../util/quads").QuadSerializationConfiguration) => string;
981
- };
982
- readonly dependencies: readonly [];
983
- readonly requiredInput: import("../r-bridge/parser").ParseRequiredInput<string>;
984
- } | {
985
- readonly name: "normalize";
986
- readonly humanReadableName: "normalize";
987
- readonly description: "Normalize the AST to flowR's AST";
988
- readonly processor: (results: {
989
- parse?: import("../r-bridge/parser").ParseStepOutput<string>;
990
- }, 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>>;
991
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
992
- readonly printer: {
993
- readonly 0: typeof import("../core/print/print").internalPrinter;
994
- readonly 2: typeof import("../core/print/normalize-printer").normalizedAstToJson;
995
- readonly 5: typeof import("../core/print/normalize-printer").normalizedAstToQuads;
996
- readonly 3: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaid;
997
- readonly 4: typeof import("../core/print/normalize-printer").printNormalizedAstToMermaidUrl;
998
- };
999
- readonly dependencies: readonly ["parse"];
1000
- readonly requiredInput: import("../core/steps/all/core/10-normalize").NormalizeRequiredInput;
1001
- } | {
1002
- readonly humanReadableName: "dataflow";
1003
- readonly processor: (results: {
1004
- normalize?: import("../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
1005
- }, input: {
1006
- request?: import("../r-bridge/retriever").RParseRequests;
1007
- parser?: import("../r-bridge/parser").Parser<import("../r-bridge/parser").KnownParserType>;
1008
- }, config: FlowrConfigOptions) => import("../dataflow/info").DataflowInformation;
1009
- readonly requiredInput: {};
1010
- readonly name: "dataflow";
1011
- readonly description: "Construct the dataflow graph";
1012
- readonly executed: import("../core/steps/pipeline-step").PipelineStepStage.OncePerFile;
1013
- readonly printer: {
1014
- readonly 0: typeof import("../core/print/print").internalPrinter;
1015
- readonly 2: typeof import("../core/print/dataflow-printer").dataflowGraphToJson;
1016
- readonly 5: typeof import("../core/print/dataflow-printer").dataflowGraphToQuads;
1017
- readonly 3: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaid;
1018
- readonly 4: typeof import("../core/print/dataflow-printer").dataflowGraphToMermaidUrl;
1019
- };
1020
- readonly dependencies: readonly ["normalize"];
1021
- }>>, queryResults: BaseQueryResult, result: string[]) => true;
164
+ readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
1022
165
  readonly schema: Joi.ObjectSchema<any>;
1023
166
  readonly flattenInvolvedNodes: () => never[];
1024
167
  };
1025
168
  };
1026
169
  export type SupportedQueryTypes = keyof typeof SupportedQueries;
1027
- export type QueryResult<Type extends Query['type']> = AsyncOrSync<ReturnType<typeof SupportedQueries[Type]['executor']>>;
1028
- export declare function executeQueriesOfSameType<SpecificQuery extends SynchronousQuery>(data: BasicQueryData, queries: readonly SpecificQuery[]): AsyncOrSyncType<QueryResult<SpecificQuery['type']>>;
170
+ export type QueryResult<Type extends Query['type']> = Promise<ReturnType<typeof SupportedQueries[Type]['executor']>>;
1029
171
  export declare function executeQueriesOfSameType<SpecificQuery extends Query>(data: BasicQueryData, queries: readonly SpecificQuery[]): QueryResult<SpecificQuery['type']>;
1030
- export type QueryResults<Base extends SupportedQueryTypes> = {
172
+ export type QueryResults<Base extends SupportedQueryTypes = SupportedQueryTypes> = {
1031
173
  readonly [QueryType in Base]: Awaited<QueryResult<QueryType>>;
1032
174
  } & BaseQueryResult;
1033
175
  type OmitFromValues<T, K extends string | number | symbol> = {
@@ -1035,7 +177,9 @@ type OmitFromValues<T, K extends string | number | symbol> = {
1035
177
  };
1036
178
  export type QueryResultsWithoutMeta<Queries extends Query> = OmitFromValues<Omit<QueryResults<Queries['type']>, '.meta'>, '.meta'>;
1037
179
  export type Queries<Base extends SupportedQueryTypes, VirtualArguments extends VirtualCompoundConstraint<Base> = VirtualCompoundConstraint<Base>> = readonly (QueryArgumentsWithType<Base> | VirtualQueryArgumentsWithType<Base, VirtualArguments>)[];
1038
- export declare function executeQueries<Base extends SupportedSynchronousQueryTypes, VirtualArguments extends VirtualCompoundConstraint<Base> = VirtualCompoundConstraint<Base>>(data: BasicQueryData, queries: Queries<Base, VirtualArguments>): QueryResults<Base>;
180
+ /**
181
+ * This is the main query execution function that takes a set of queries and executes them on the given data.
182
+ */
1039
183
  export declare function executeQueries<Base extends SupportedQueryTypes, VirtualArguments extends VirtualCompoundConstraint<Base> = VirtualCompoundConstraint<Base>>(data: BasicQueryData, queries: Queries<Base, VirtualArguments>): AsyncOrSync<QueryResults<Base>>;
1040
184
  export declare function SupportedQueriesSchema(): Joi.AlternativesSchema<any>;
1041
185
  export declare const CompoundQuerySchema: Joi.ObjectSchema<any>;