@eagleoutice/flowr 2.5.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -35
- package/abstract-interpretation/data-frame/absint-visitor.d.ts +1 -1
- package/abstract-interpretation/data-frame/absint-visitor.js +1 -1
- package/cli/flowr.js +11 -33
- package/cli/repl/commands/repl-cfg.d.ts +5 -5
- package/cli/repl/commands/repl-cfg.js +21 -22
- package/cli/repl/commands/repl-commands.d.ts +3 -3
- package/cli/repl/commands/repl-commands.js +2 -0
- package/cli/repl/commands/repl-dataflow.d.ts +5 -5
- package/cli/repl/commands/repl-dataflow.js +27 -30
- package/cli/repl/commands/repl-execute.d.ts +1 -1
- package/cli/repl/commands/repl-execute.js +8 -7
- package/cli/repl/commands/repl-lineage.d.ts +2 -2
- package/cli/repl/commands/repl-lineage.js +11 -11
- package/cli/repl/commands/repl-main.d.ts +35 -7
- package/cli/repl/commands/repl-normalize.d.ts +3 -3
- package/cli/repl/commands/repl-normalize.js +15 -19
- package/cli/repl/commands/repl-parse.d.ts +2 -2
- package/cli/repl/commands/repl-parse.js +14 -8
- package/cli/repl/commands/repl-query.d.ts +3 -3
- package/cli/repl/commands/repl-query.js +29 -19
- package/cli/repl/commands/repl-quit.js +1 -0
- package/cli/repl/commands/repl-version.d.ts +1 -16
- package/cli/repl/commands/repl-version.js +2 -18
- package/cli/repl/core.d.ts +12 -9
- package/cli/repl/core.js +26 -12
- package/cli/repl/print-version.js +2 -2
- package/cli/repl/server/connection.d.ts +7 -3
- package/cli/repl/server/connection.js +46 -50
- package/cli/repl/server/messages/message-hello.d.ts +1 -1
- package/cli/repl/server/messages/message-slice.d.ts +1 -1
- package/cli/repl/server/server.js +2 -2
- package/cli/slicer-app.js +1 -1
- package/config.d.ts +1 -1
- package/config.js +4 -1
- package/control-flow/extract-cfg.d.ts +1 -1
- package/control-flow/extract-cfg.js +1 -1
- package/core/pipeline-executor.d.ts +5 -0
- package/core/pipeline-executor.js +5 -0
- package/core/steps/all/core/20-dataflow.d.ts +3 -1
- package/core/steps/pipeline/create-pipeline.js +1 -1
- package/core/steps/pipeline/default-pipelines.d.ts +24 -8
- package/core/steps/pipeline/default-pipelines.js +4 -1
- package/dataflow/environments/default-builtin-config.js +8 -0
- package/dataflow/eval/resolve/alias-tracking.js +2 -0
- package/dataflow/eval/resolve/resolve.js +3 -0
- package/dataflow/eval/values/r-value.d.ts +4 -1
- package/dataflow/eval/values/r-value.js +2 -0
- package/dataflow/extractor.d.ts +4 -1
- package/dataflow/extractor.js +7 -5
- package/dataflow/fn/higher-order-function.d.ts +9 -0
- package/dataflow/fn/higher-order-function.js +75 -0
- package/dataflow/graph/dataflowgraph-builder.d.ts +11 -12
- package/dataflow/graph/dataflowgraph-builder.js +6 -6
- package/documentation/doc-util/doc-query.d.ts +3 -6
- package/documentation/doc-util/doc-query.js +5 -17
- package/documentation/doc-util/doc-repl.js +5 -2
- package/documentation/doc-util/doc-search.js +7 -10
- package/documentation/doc-util/doc-structure.d.ts +4 -0
- package/documentation/doc-util/doc-structure.js +28 -0
- package/documentation/doc-util/doc-types.d.ts +5 -1
- package/documentation/doc-util/doc-types.js +29 -3
- package/documentation/print-analyzer-wiki.d.ts +1 -0
- package/documentation/print-analyzer-wiki.js +137 -0
- package/documentation/print-core-wiki.d.ts +2 -1
- package/documentation/print-core-wiki.js +58 -4
- package/documentation/print-dataflow-graph-wiki.js +16 -23
- package/documentation/print-interface-wiki.js +18 -1
- package/documentation/print-linter-wiki.js +5 -1
- package/documentation/print-normalized-ast-wiki.js +6 -8
- package/documentation/print-query-wiki.js +20 -0
- package/documentation/print-readme.js +1 -1
- package/engines.d.ts +9 -0
- package/engines.js +38 -0
- package/linter/linter-executor.d.ts +2 -8
- package/linter/linter-executor.js +9 -4
- package/linter/linter-format.d.ts +8 -9
- package/linter/linter-rules.d.ts +57 -15
- package/linter/linter-rules.js +2 -0
- package/linter/rules/absolute-path.d.ts +1 -0
- package/linter/rules/dataframe-access-validation.d.ts +4 -3
- package/linter/rules/dataframe-access-validation.js +7 -4
- package/linter/rules/dead-code.d.ts +2 -1
- package/linter/rules/deprecated-functions.d.ts +15 -28
- package/linter/rules/deprecated-functions.js +5 -43
- package/linter/rules/file-path-validity.d.ts +2 -1
- package/linter/rules/file-path-validity.js +1 -1
- package/linter/rules/function-finder-util.d.ts +51 -0
- package/linter/rules/function-finder-util.js +77 -0
- package/linter/rules/naming-convention.d.ts +2 -1
- package/linter/rules/network-functions.d.ts +40 -0
- package/linter/rules/network-functions.js +24 -0
- package/linter/rules/seeded-randomness.d.ts +2 -1
- package/linter/rules/unused-definition.d.ts +2 -1
- package/linter/rules/useless-loop.d.ts +3 -2
- package/linter/rules/useless-loop.js +4 -6
- package/package.json +2 -1
- package/project/cache/flowr-analyzer-cache.d.ts +94 -0
- package/project/cache/flowr-analyzer-cache.js +164 -0
- package/project/cache/flowr-cache.d.ts +28 -0
- package/project/cache/flowr-cache.js +49 -0
- package/project/cfg-kind.d.ts +17 -0
- package/project/cfg-kind.js +22 -0
- package/project/context/abstract-flowr-analyzer-context.d.ts +39 -0
- package/project/context/abstract-flowr-analyzer-context.js +46 -0
- package/project/context/flowr-analyzer-context.d.ts +54 -0
- package/project/context/flowr-analyzer-context.js +58 -0
- package/project/context/flowr-analyzer-dependencies-context.d.ts +39 -0
- package/project/context/flowr-analyzer-dependencies-context.js +43 -0
- package/project/context/flowr-analyzer-files-context.d.ts +87 -0
- package/project/context/flowr-analyzer-files-context.js +134 -0
- package/project/context/flowr-analyzer-loading-order-context.d.ts +77 -0
- package/project/context/flowr-analyzer-loading-order-context.js +96 -0
- package/project/context/flowr-file.d.ts +89 -0
- package/project/context/flowr-file.js +78 -0
- package/project/flowr-analyzer-builder.d.ts +106 -0
- package/project/flowr-analyzer-builder.js +197 -0
- package/project/flowr-analyzer.d.ts +126 -0
- package/project/flowr-analyzer.js +88 -0
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +17 -0
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +28 -0
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.d.ts +21 -0
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +34 -0
- package/project/plugins/file-plugins/flowr-description-file.d.ts +24 -0
- package/project/plugins/file-plugins/flowr-description-file.js +38 -0
- package/project/plugins/flowr-analyzer-plugin.d.ts +90 -0
- package/project/plugins/flowr-analyzer-plugin.js +82 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.d.ts +14 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +56 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-plugin.d.ts +13 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-plugin.js +33 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.d.ts +14 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +41 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.d.ts +10 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.js +29 -0
- package/project/plugins/package-version-plugins/package.d.ts +15 -0
- package/project/plugins/package-version-plugins/package.js +56 -0
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.d.ts +15 -0
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +44 -0
- package/queries/base-query-format.d.ts +2 -8
- package/queries/catalog/call-context-query/call-context-query-executor.d.ts +1 -1
- package/queries/catalog/call-context-query/call-context-query-executor.js +21 -13
- package/queries/catalog/call-context-query/call-context-query-format.d.ts +2 -3
- package/queries/catalog/call-context-query/call-context-query-format.js +2 -2
- package/queries/catalog/cluster-query/cluster-query-executor.d.ts +1 -1
- package/queries/catalog/cluster-query/cluster-query-executor.js +2 -2
- package/queries/catalog/cluster-query/cluster-query-format.d.ts +1 -54
- package/queries/catalog/cluster-query/cluster-query-format.js +2 -2
- package/queries/catalog/config-query/config-query-executor.d.ts +1 -1
- package/queries/catalog/config-query/config-query-executor.js +5 -5
- package/queries/catalog/config-query/config-query-format.d.ts +1 -1
- package/queries/catalog/config-query/config-query-format.js +1 -1
- package/queries/catalog/control-flow-query/control-flow-query-executor.d.ts +1 -1
- package/queries/catalog/control-flow-query/control-flow-query-executor.js +3 -3
- package/queries/catalog/control-flow-query/control-flow-query-format.d.ts +1 -54
- package/queries/catalog/control-flow-query/control-flow-query-format.js +2 -2
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.d.ts +1 -1
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.js +2 -2
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.d.ts +1 -54
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +1 -1
- package/queries/catalog/dataflow-query/dataflow-query-executor.d.ts +1 -1
- package/queries/catalog/dataflow-query/dataflow-query-executor.js +2 -2
- package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +1 -54
- package/queries/catalog/dataflow-query/dataflow-query-format.js +1 -1
- package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +1 -1
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +19 -12
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +7 -56
- package/queries/catalog/dependencies-query/dependencies-query-format.js +7 -4
- package/queries/catalog/df-shape-query/df-shape-query-executor.d.ts +1 -1
- package/queries/catalog/df-shape-query/df-shape-query-executor.js +4 -4
- package/queries/catalog/df-shape-query/df-shape-query-format.d.ts +1 -54
- package/queries/catalog/df-shape-query/df-shape-query-format.js +1 -1
- package/queries/catalog/happens-before-query/happens-before-query-executor.d.ts +1 -1
- package/queries/catalog/happens-before-query/happens-before-query-executor.js +2 -1
- package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +1 -54
- package/queries/catalog/happens-before-query/happens-before-query-format.js +1 -1
- package/queries/catalog/id-map-query/id-map-query-executor.d.ts +1 -1
- package/queries/catalog/id-map-query/id-map-query-executor.js +2 -2
- package/queries/catalog/id-map-query/id-map-query-format.d.ts +1 -54
- package/queries/catalog/id-map-query/id-map-query-format.js +2 -2
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.d.ts +3 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +45 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +22 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +32 -0
- package/queries/catalog/lineage-query/lineage-query-executor.d.ts +1 -1
- package/queries/catalog/lineage-query/lineage-query-executor.js +2 -2
- package/queries/catalog/lineage-query/lineage-query-format.d.ts +1 -54
- package/queries/catalog/lineage-query/lineage-query-format.js +1 -1
- package/queries/catalog/linter-query/linter-query-executor.d.ts +1 -1
- package/queries/catalog/linter-query/linter-query-executor.js +2 -3
- package/queries/catalog/linter-query/linter-query-format.d.ts +1 -54
- package/queries/catalog/linter-query/linter-query-format.js +1 -1
- package/queries/catalog/location-map-query/location-map-query-executor.d.ts +1 -1
- package/queries/catalog/location-map-query/location-map-query-executor.js +3 -2
- package/queries/catalog/location-map-query/location-map-query-format.d.ts +1 -1
- package/queries/catalog/location-map-query/location-map-query-format.js +1 -1
- package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.d.ts +1 -1
- package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.js +2 -2
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +1 -54
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +1 -1
- package/queries/catalog/origin-query/origin-query-executor.d.ts +2 -2
- package/queries/catalog/origin-query/origin-query-executor.js +3 -3
- package/queries/catalog/origin-query/origin-query-format.d.ts +1 -54
- package/queries/catalog/origin-query/origin-query-format.js +1 -1
- package/queries/catalog/project-query/project-query-executor.d.ts +1 -1
- package/queries/catalog/project-query/project-query-executor.js +2 -2
- package/queries/catalog/project-query/project-query-format.d.ts +1 -54
- package/queries/catalog/project-query/project-query-format.js +1 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-executor.d.ts +1 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +4 -2
- package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +1 -54
- package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -1
- package/queries/catalog/search-query/search-query-executor.d.ts +1 -1
- package/queries/catalog/search-query/search-query-executor.js +3 -3
- package/queries/catalog/search-query/search-query-format.d.ts +1 -54
- package/queries/catalog/search-query/search-query-format.js +1 -1
- package/queries/catalog/static-slice-query/static-slice-query-executor.d.ts +1 -1
- package/queries/catalog/static-slice-query/static-slice-query-executor.js +3 -3
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +1 -54
- package/queries/catalog/static-slice-query/static-slice-query-format.js +1 -1
- package/queries/query-print.d.ts +4 -4
- package/queries/query-print.js +12 -12
- package/queries/query.d.ts +37 -885
- package/queries/query.js +3 -1
- package/r-bridge/parser.d.ts +7 -0
- package/r-bridge/retriever.d.ts +6 -5
- package/r-bridge/retriever.js +9 -5
- package/search/flowr-search-executor.d.ts +3 -5
- package/search/flowr-search-executor.js +6 -4
- package/search/flowr-search-filters.d.ts +12 -6
- package/search/flowr-search-filters.js +1 -1
- package/search/flowr-search.d.ts +5 -16
- package/search/flowr-search.js +14 -5
- package/search/search-executor/search-enrichers.d.ts +37 -36
- package/search/search-executor/search-enrichers.js +5 -4
- package/search/search-executor/search-generators.d.ts +12 -12
- package/search/search-executor/search-generators.js +27 -19
- package/search/search-executor/search-mappers.d.ts +5 -5
- package/search/search-executor/search-transformer.d.ts +17 -17
- package/search/search-executor/search-transformer.js +14 -7
- package/util/collections/arrays.d.ts +1 -0
- package/util/collections/arrays.js +15 -0
- package/util/collections/objectmap.d.ts +17 -0
- package/util/collections/objectmap.js +28 -0
- package/util/containers.d.ts +0 -1
- package/util/containers.js +0 -1
- package/util/files.d.ts +17 -0
- package/util/files.js +65 -0
- package/util/formats/adapter.d.ts +4 -2
- package/util/formats/adapter.js +11 -4
- package/util/r-value.d.ts +1 -1
- package/util/r-value.js +2 -0
- package/util/version.d.ts +17 -0
- package/util/version.js +28 -1
package/queries/query.d.ts
CHANGED
|
@@ -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,26 @@ 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
|
|
26
|
+
import type { AsyncOrSync } from 'ts-essentials';
|
|
29
27
|
import type { FlowrConfigOptions } from '../config';
|
|
28
|
+
import type { InspectHigherOrderQuery } from './catalog/inspect-higher-order-query/inspect-higher-order-query-format';
|
|
29
|
+
import type { FlowrAnalysisProvider } from '../project/flowr-analyzer';
|
|
30
30
|
/**
|
|
31
31
|
* These are all queries that can be executed from within flowR
|
|
32
32
|
* {@link SynchronousQuery} are queries that can be executed synchronously, i.e., they do not return a Promise.
|
|
33
33
|
*/
|
|
34
|
-
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'];
|
|
34
|
+
export type Query = CallContextQuery | ConfigQuery | SearchQuery | DataflowQuery | ControlFlowQuery | DataflowLensQuery | DfShapeQuery | NormalizedAstQuery | IdMapQuery | DataflowClusterQuery | StaticSliceQuery | LineageQuery | DependenciesQuery | LocationMapQuery | HappensBeforeQuery | InspectHigherOrderQuery | ResolveValueQuery | ProjectQuery | OriginQuery | LinterQuery;
|
|
39
35
|
export type QueryArgumentsWithType<QueryType extends BaseQueryFormat['type']> = Query & {
|
|
40
36
|
type: QueryType;
|
|
41
37
|
};
|
|
42
|
-
export type QueryExecutor<Query extends BaseQueryFormat, Result extends BaseQueryResult
|
|
43
|
-
type SupportedQueries = {
|
|
44
|
-
[QueryType in Query['type']]: SupportedQuery<QueryType>;
|
|
45
|
-
};
|
|
38
|
+
export type QueryExecutor<Query extends BaseQueryFormat, Result extends Promise<BaseQueryResult>> = (data: BasicQueryData, query: readonly Query[]) => Result;
|
|
46
39
|
export interface SupportedQuery<QueryType extends BaseQueryFormat['type'] = BaseQueryFormat['type']> {
|
|
47
|
-
executor: QueryExecutor<QueryArgumentsWithType<QueryType>, BaseQueryResult
|
|
40
|
+
executor: QueryExecutor<QueryArgumentsWithType<QueryType>, Promise<BaseQueryResult>>;
|
|
48
41
|
/** optional completion in, e.g., the repl */
|
|
49
42
|
completer?: (splitLine: readonly string[], config: FlowrConfigOptions) => string[];
|
|
50
43
|
/** optional query construction from an, e.g., repl line */
|
|
51
44
|
fromLine?: (splitLine: readonly string[], config: FlowrConfigOptions) => Query | Query[] | undefined;
|
|
52
|
-
asciiSummarizer: (formatter: OutputFormatter,
|
|
45
|
+
asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, resultStrings: string[], query: readonly Query[]) => AsyncOrSync<boolean>;
|
|
53
46
|
schema: Joi.ObjectSchema;
|
|
54
47
|
/**
|
|
55
48
|
* 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 +53,13 @@ export interface SupportedQuery<QueryType extends BaseQueryFormat['type'] = Base
|
|
|
60
53
|
export declare const SupportedQueries: {
|
|
61
54
|
readonly 'call-context': {
|
|
62
55
|
readonly executor: typeof import("./catalog/call-context-query/call-context-query-executor").executeCallContextQueries;
|
|
63
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
56
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
|
|
64
57
|
readonly schema: Joi.ObjectSchema<any>;
|
|
65
58
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
66
59
|
};
|
|
67
60
|
readonly config: {
|
|
68
61
|
readonly executor: typeof import("./catalog/config-query/config-query-executor").executeConfigQuery;
|
|
69
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
62
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: unknown, queryResults: BaseQueryResult, result: string[]) => true;
|
|
70
63
|
readonly completer: (partialLine: readonly string[], config: FlowrConfigOptions) => string[];
|
|
71
64
|
readonly fromLine: (line: readonly string[], _config: FlowrConfigOptions) => [ConfigQuery];
|
|
72
65
|
readonly schema: Joi.ObjectSchema<any>;
|
|
@@ -74,960 +67,117 @@ export declare const SupportedQueries: {
|
|
|
74
67
|
};
|
|
75
68
|
readonly 'control-flow': {
|
|
76
69
|
readonly executor: typeof import("./catalog/control-flow-query/control-flow-query-executor").executeControlFlowQuery;
|
|
77
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
70
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
|
|
131
71
|
readonly schema: Joi.ObjectSchema<any>;
|
|
132
72
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
133
73
|
};
|
|
134
74
|
readonly dataflow: {
|
|
135
75
|
readonly executor: typeof import("./catalog/dataflow-query/dataflow-query-executor").executeDataflowQuery;
|
|
136
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
76
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
190
77
|
readonly schema: Joi.ObjectSchema<any>;
|
|
191
78
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
192
79
|
};
|
|
193
80
|
readonly 'dataflow-lens': {
|
|
194
81
|
readonly executor: typeof import("./catalog/dataflow-lens-query/dataflow-lens-query-executor").executeDataflowLensQuery;
|
|
195
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
82
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
249
83
|
readonly schema: Joi.ObjectSchema<any>;
|
|
250
84
|
readonly flattenInvolvedNodes: () => never[];
|
|
251
85
|
};
|
|
252
86
|
readonly 'df-shape': {
|
|
253
87
|
readonly executor: typeof import("./catalog/df-shape-query/df-shape-query-executor").executeDfShapeQuery;
|
|
254
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
88
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
308
89
|
readonly schema: Joi.ObjectSchema<any>;
|
|
309
90
|
readonly flattenInvolvedNodes: () => never[];
|
|
310
91
|
};
|
|
311
92
|
readonly 'id-map': {
|
|
312
93
|
readonly executor: typeof import("./catalog/id-map-query/id-map-query-executor").executeIdMapQuery;
|
|
313
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
94
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
367
95
|
readonly schema: Joi.ObjectSchema<any>;
|
|
368
96
|
readonly flattenInvolvedNodes: () => never[];
|
|
369
97
|
};
|
|
370
98
|
readonly 'normalized-ast': {
|
|
371
99
|
readonly executor: typeof import("./catalog/normalized-ast-query/normalized-ast-query-executor").executeNormalizedAstQuery;
|
|
372
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
100
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
426
101
|
readonly schema: Joi.ObjectSchema<any>;
|
|
427
102
|
readonly flattenInvolvedNodes: () => never[];
|
|
428
103
|
};
|
|
429
104
|
readonly 'dataflow-cluster': {
|
|
430
105
|
readonly executor: typeof import("./catalog/cluster-query/cluster-query-executor").executeDataflowClusterQuery;
|
|
431
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
106
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
|
|
485
107
|
readonly schema: Joi.ObjectSchema<any>;
|
|
486
108
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
487
109
|
};
|
|
488
110
|
readonly 'static-slice': {
|
|
489
111
|
readonly executor: typeof import("./catalog/static-slice-query/static-slice-query-executor").executeStaticSliceQuery;
|
|
490
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
112
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
544
113
|
readonly schema: Joi.ObjectSchema<any>;
|
|
545
114
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
546
115
|
};
|
|
547
116
|
readonly lineage: {
|
|
548
117
|
readonly executor: typeof import("./catalog/lineage-query/lineage-query-executor").executeLineageQuery;
|
|
549
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
118
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
603
119
|
readonly schema: Joi.ObjectSchema<any>;
|
|
604
120
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
605
121
|
};
|
|
606
122
|
readonly dependencies: {
|
|
607
123
|
readonly executor: typeof import("./catalog/dependencies-query/dependencies-query-executor").executeDependenciesQuery;
|
|
608
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
124
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[], queries: readonly Query[]) => true;
|
|
662
125
|
readonly schema: Joi.ObjectSchema<any>;
|
|
663
126
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult, query: readonly Query[]) => NodeId[];
|
|
664
127
|
};
|
|
665
128
|
readonly 'location-map': {
|
|
666
129
|
readonly executor: typeof import("./catalog/location-map-query/location-map-query-executor").executeLocationMapQuery;
|
|
667
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
130
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: unknown, queryResults: BaseQueryResult, result: string[]) => boolean;
|
|
668
131
|
readonly schema: Joi.ObjectSchema<any>;
|
|
669
132
|
readonly flattenInvolvedNodes: () => never[];
|
|
670
133
|
};
|
|
671
134
|
readonly search: {
|
|
672
135
|
readonly executor: typeof import("./catalog/search-query/search-query-executor").executeSearch;
|
|
673
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
136
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
727
137
|
readonly schema: Joi.ObjectSchema<any>;
|
|
728
138
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
729
139
|
};
|
|
730
140
|
readonly 'happens-before': {
|
|
731
141
|
readonly executor: typeof import("./catalog/happens-before-query/happens-before-query-executor").executeHappensBefore;
|
|
732
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
142
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
786
143
|
readonly schema: Joi.ObjectSchema<any>;
|
|
787
144
|
readonly flattenInvolvedNodes: () => never[];
|
|
788
145
|
};
|
|
146
|
+
readonly 'inspect-higher-order': {
|
|
147
|
+
readonly executor: typeof import("./catalog/inspect-higher-order-query/inspect-higher-order-query-executor").executeHigherOrderQuery;
|
|
148
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, processed: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => Promise<boolean>;
|
|
149
|
+
readonly schema: Joi.ObjectSchema<any>;
|
|
150
|
+
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
151
|
+
};
|
|
789
152
|
readonly 'resolve-value': {
|
|
790
153
|
readonly executor: typeof import("./catalog/resolve-value-query/resolve-value-query-executor").executeResolveValueQuery;
|
|
791
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
154
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
845
155
|
readonly schema: Joi.ObjectSchema<any>;
|
|
846
156
|
readonly flattenInvolvedNodes: () => never[];
|
|
847
157
|
};
|
|
848
158
|
readonly project: {
|
|
849
159
|
readonly executor: typeof import("./catalog/project-query/project-query-executor").executeProjectQuery;
|
|
850
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
160
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
904
161
|
readonly schema: Joi.ObjectSchema<any>;
|
|
905
162
|
readonly flattenInvolvedNodes: () => never[];
|
|
906
163
|
};
|
|
907
164
|
readonly origin: {
|
|
908
165
|
readonly executor: typeof import("./catalog/origin-query/origin-query-executor").executeResolveValueQuery;
|
|
909
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
166
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
963
167
|
readonly schema: Joi.ObjectSchema<any>;
|
|
964
168
|
readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
|
|
965
169
|
};
|
|
966
170
|
readonly linter: {
|
|
967
171
|
readonly executor: typeof import("./catalog/linter-query/linter-query-executor").executeLinterQuery;
|
|
968
|
-
readonly asciiSummarizer: (formatter: OutputFormatter,
|
|
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;
|
|
172
|
+
readonly asciiSummarizer: (formatter: OutputFormatter, _analyzer: FlowrAnalysisProvider, queryResults: BaseQueryResult, result: string[]) => true;
|
|
1022
173
|
readonly schema: Joi.ObjectSchema<any>;
|
|
1023
174
|
readonly flattenInvolvedNodes: () => never[];
|
|
1024
175
|
};
|
|
1025
176
|
};
|
|
1026
177
|
export type SupportedQueryTypes = keyof typeof SupportedQueries;
|
|
1027
|
-
export type QueryResult<Type extends Query['type']> =
|
|
1028
|
-
export declare function executeQueriesOfSameType<SpecificQuery extends SynchronousQuery>(data: BasicQueryData, queries: readonly SpecificQuery[]): AsyncOrSyncType<QueryResult<SpecificQuery['type']>>;
|
|
178
|
+
export type QueryResult<Type extends Query['type']> = Promise<ReturnType<typeof SupportedQueries[Type]['executor']>>;
|
|
1029
179
|
export declare function executeQueriesOfSameType<SpecificQuery extends Query>(data: BasicQueryData, queries: readonly SpecificQuery[]): QueryResult<SpecificQuery['type']>;
|
|
1030
|
-
export type QueryResults<Base extends SupportedQueryTypes> = {
|
|
180
|
+
export type QueryResults<Base extends SupportedQueryTypes = SupportedQueryTypes> = {
|
|
1031
181
|
readonly [QueryType in Base]: Awaited<QueryResult<QueryType>>;
|
|
1032
182
|
} & BaseQueryResult;
|
|
1033
183
|
type OmitFromValues<T, K extends string | number | symbol> = {
|
|
@@ -1035,7 +185,9 @@ type OmitFromValues<T, K extends string | number | symbol> = {
|
|
|
1035
185
|
};
|
|
1036
186
|
export type QueryResultsWithoutMeta<Queries extends Query> = OmitFromValues<Omit<QueryResults<Queries['type']>, '.meta'>, '.meta'>;
|
|
1037
187
|
export type Queries<Base extends SupportedQueryTypes, VirtualArguments extends VirtualCompoundConstraint<Base> = VirtualCompoundConstraint<Base>> = readonly (QueryArgumentsWithType<Base> | VirtualQueryArgumentsWithType<Base, VirtualArguments>)[];
|
|
1038
|
-
|
|
188
|
+
/**
|
|
189
|
+
* This is the main query execution function that takes a set of queries and executes them on the given data.
|
|
190
|
+
*/
|
|
1039
191
|
export declare function executeQueries<Base extends SupportedQueryTypes, VirtualArguments extends VirtualCompoundConstraint<Base> = VirtualCompoundConstraint<Base>>(data: BasicQueryData, queries: Queries<Base, VirtualArguments>): AsyncOrSync<QueryResults<Base>>;
|
|
1040
192
|
export declare function SupportedQueriesSchema(): Joi.AlternativesSchema<any>;
|
|
1041
193
|
export declare const CompoundQuerySchema: Joi.ObjectSchema<any>;
|