@eagleoutice/flowr 2.16.1 → 2.16.3
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 +10 -10
- package/abstract-interpretation/data-frame/arguments.js +4 -3
- package/abstract-interpretation/data-frame/dataframe-semantics.js +1 -2
- package/abstract-interpretation/data-frame/semantics.d.ts +2 -2
- package/abstract-interpretation/data-frame/semantics.js +2 -6
- package/benchmark/slicer.js +1 -3
- package/benchmark/summarizer/first-phase/input.js +1 -12
- package/benchmark/summarizer/second-phase/process.d.ts +7 -0
- package/benchmark/summarizer/second-phase/process.js +15 -12
- package/cli/repl/commands/repl-cfg.js +18 -49
- package/cli/repl/commands/repl-clipboard.d.ts +2 -0
- package/cli/repl/commands/repl-clipboard.js +5 -0
- package/cli/repl/commands/repl-commands.js +2 -2
- package/cli/repl/commands/repl-dataflow.js +21 -55
- package/cli/repl/commands/repl-normalize.js +15 -28
- package/cli/repl/commands/repl-parse.js +2 -2
- package/cli/repl/commands/repl-query.js +10 -10
- package/cli/repl/commands/repl-signature.js +4 -4
- package/cli/repl/server/connection.d.ts +1 -0
- package/cli/repl/server/connection.js +8 -30
- package/cli/repl/server/messages/message-analysis.js +1 -1
- package/config.d.ts +6 -0
- package/config.js +7 -4
- package/control-flow/cfg-dead-code.js +5 -14
- package/control-flow/cfg-to-basic-blocks.js +1 -6
- package/control-flow/control-flow-graph.d.ts +2 -16
- package/control-flow/control-flow-graph.js +8 -66
- package/control-flow/diff-cfg.js +10 -23
- package/control-flow/semantic-cfg-guided-visitor.js +5 -11
- package/control-flow/simple-visitor.js +2 -2
- package/core/steps/pipeline/default-pipelines.d.ts +138 -138
- package/data/r-base-packages.generated.js +0 -1
- package/data/r-base-primitives.generated.js +0 -1
- package/data/r-s3-generics.generated.d.ts +5 -0
- package/data/r-s3-generics.generated.js +103 -0
- package/dataflow/cluster.js +2 -1
- package/dataflow/environments/append.d.ts +1 -0
- package/dataflow/environments/built-in-props.d.ts +15 -2
- package/dataflow/environments/built-in-props.js +31 -4
- package/dataflow/environments/built-in.js +15 -9
- package/dataflow/environments/clone.d.ts +1 -0
- package/dataflow/environments/clone.js +1 -0
- package/dataflow/environments/default-builtin-config.d.ts +385 -25
- package/dataflow/environments/default-builtin-config.js +186 -106
- package/dataflow/environments/define.d.ts +1 -0
- package/dataflow/environments/define.js +1 -0
- package/dataflow/environments/environment.d.ts +27 -0
- package/dataflow/environments/environment.js +37 -16
- package/dataflow/environments/frame-memory.d.ts +9 -1
- package/dataflow/environments/frame-memory.js +12 -1
- package/dataflow/environments/identifier.d.ts +1 -2
- package/dataflow/environments/identifier.js +5 -7
- package/dataflow/environments/overwrite.js +1 -0
- package/dataflow/environments/query-fn-props.d.ts +3 -0
- package/dataflow/environments/query-fn-props.js +7 -0
- package/dataflow/environments/resolve-by-name.js +11 -4
- package/dataflow/environments/scoping.d.ts +3 -0
- package/dataflow/environments/scoping.js +3 -0
- package/dataflow/eval/resolve/alias-tracking.js +3 -3
- package/dataflow/eval/resolve/resolve-argument.d.ts +7 -3
- package/dataflow/eval/resolve/resolve-argument.js +21 -12
- package/dataflow/eval/resolve/resolve-numbers.js +5 -2
- package/dataflow/eval/resolve/resolve-strings.d.ts +1 -1
- package/dataflow/eval/resolve/resolve-working-directory.js +2 -2
- package/dataflow/eval/resolve/resolve.js +1 -2
- package/dataflow/eval/values/intervals/interval-constants.js +1 -6
- package/dataflow/eval/values/r-value.js +1 -6
- package/dataflow/extractor.js +17 -17
- package/dataflow/fn/argument-roles.js +15 -15
- package/dataflow/fn/class-declaration.js +7 -7
- package/dataflow/fn/frame-reflection.d.ts +1 -23
- package/dataflow/fn/frame-reflection.js +8 -95
- package/dataflow/fn/function-props.d.ts +0 -3
- package/dataflow/fn/function-props.js +9 -11
- package/dataflow/fn/function-semantics.d.ts +1 -0
- package/dataflow/fn/strict-function.js +15 -14
- package/dataflow/graph/call-graph.d.ts +8 -0
- package/dataflow/graph/call-graph.js +40 -25
- package/dataflow/graph/dataflowgraph-builder.d.ts +0 -60
- package/dataflow/graph/dataflowgraph-builder.js +15 -135
- package/dataflow/graph/df-helper.d.ts +56 -4
- package/dataflow/graph/df-helper.js +116 -1
- package/dataflow/graph/diff-dataflow-graph.js +13 -15
- package/dataflow/graph/graph-helper.d.ts +20 -0
- package/dataflow/graph/graph-helper.js +18 -0
- package/dataflow/graph/graph.js +15 -8
- package/dataflow/graph/match-args.d.ts +1 -1
- package/dataflow/graph/match-args.js +3 -3
- package/dataflow/internal/linker.d.ts +4 -10
- package/dataflow/internal/linker.js +21 -29
- package/dataflow/internal/process/functions/call/built-in/built-in-access.js +2 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +5 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +39 -22
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +19 -21
- package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +3 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-env-contents.js +6 -11
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +6 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +14 -13
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +27 -13
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +6 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +33 -35
- package/dataflow/internal/process/functions/call/built-in/built-in-get.js +3 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +6 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +12 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-list.js +3 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-load.js +7 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-local.js +5 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-new-env.js +3 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +2 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +14 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +6 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +1 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.js +5 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +4 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.js +7 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +1 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +2 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +5 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +4 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +8 -9
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +4 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-with.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +36 -38
- package/dataflow/internal/process/functions/call/common.d.ts +3 -1
- package/dataflow/internal/process/functions/call/common.js +6 -7
- package/dataflow/internal/process/functions/call/deferred.js +8 -8
- package/dataflow/internal/process/functions/call/known-call-handling.d.ts +11 -4
- package/dataflow/internal/process/functions/call/known-call-handling.js +11 -7
- package/dataflow/internal/process/functions/call/named-call-handling.js +64 -11
- package/dataflow/internal/process/functions/call/nse.js +4 -4
- package/dataflow/internal/process/functions/call/quoted.js +16 -14
- package/dataflow/internal/process/functions/call/unnamed-call-handling.js +2 -2
- package/dataflow/internal/process/functions/process-parameter.js +2 -2
- package/dataflow/internal/process/process-named-call.js +1 -1
- package/dataflow/origin/dfg-get-origin.js +2 -2
- package/dataflow/origin/dfg-get-symbol-refs.d.ts +1 -0
- package/dataflow/origin/dfg-get-symbol-refs.js +3 -8
- package/documentation/data/faq/wiki-faq-store.js +2 -2
- package/documentation/doc-capabilities.js +2 -1
- package/documentation/doc-util/doc-functions.js +2 -2
- package/documentation/doc-util/doc-repl.js +4 -4
- package/documentation/doc-util/doc-types.js +2 -2
- package/documentation/wiki-absint.js +2 -1
- package/documentation/wiki-cfg.js +2 -1
- package/documentation/wiki-create-linting-rules.js +1 -1
- package/documentation/wiki-dataflow-graph.js +6 -6
- package/documentation/wiki-interface.js +3 -2
- package/documentation/wiki-linter.js +54 -4
- package/documentation/wiki-mk/doc-maker.js +1 -2
- package/documentation/wiki-query.js +25 -0
- package/documentation/wiki-search.js +2 -1
- package/documentation/wiki-signature-database.js +0 -2
- package/linter/linter-executor.js +4 -0
- package/linter/linter-rules.d.ts +526 -4
- package/linter/linter-rules.js +39 -1
- package/linter/linter-tags.d.ts +6 -0
- package/linter/linter-tags.js +6 -0
- package/linter/rules/absolute-path.js +4 -3
- package/linter/rules/cmd-check/bogus-return.d.ts +29 -0
- package/linter/rules/cmd-check/bogus-return.js +63 -0
- package/linter/rules/cmd-check/call-arguments.d.ts +63 -0
- package/linter/rules/cmd-check/call-arguments.js +211 -0
- package/linter/rules/cmd-check/class-string-comparison.d.ts +48 -0
- package/linter/rules/cmd-check/class-string-comparison.js +135 -0
- package/linter/rules/cmd-check/cmd-check-util.d.ts +67 -0
- package/linter/rules/cmd-check/cmd-check-util.js +169 -0
- package/linter/rules/cmd-check/compiled-code.d.ts +86 -0
- package/linter/rules/cmd-check/compiled-code.js +350 -0
- package/linter/rules/cmd-check/conformance.d.ts +47 -0
- package/linter/rules/cmd-check/conformance.js +166 -0
- package/linter/rules/cmd-check/dependency-declaration.d.ts +95 -0
- package/linter/rules/cmd-check/dependency-declaration.js +299 -0
- package/linter/rules/cmd-check/description-metadata.d.ts +63 -0
- package/linter/rules/cmd-check/description-metadata.js +393 -0
- package/linter/rules/cmd-check/documentation-mismatch.d.ts +54 -0
- package/linter/rules/cmd-check/documentation-mismatch.js +407 -0
- package/linter/rules/cmd-check/file-checks.d.ts +29 -0
- package/linter/rules/cmd-check/file-checks.js +34 -0
- package/linter/rules/cmd-check/foreign-function-calls.d.ts +54 -0
- package/linter/rules/cmd-check/foreign-function-calls.js +115 -0
- package/linter/rules/cmd-check/global-environment-modification.d.ts +61 -0
- package/linter/rules/cmd-check/global-environment-modification.js +237 -0
- package/linter/rules/cmd-check/namespace-tampering.d.ts +52 -0
- package/linter/rules/cmd-check/namespace-tampering.js +162 -0
- package/linter/rules/cmd-check/non-ascii-code.d.ts +51 -0
- package/linter/rules/cmd-check/non-ascii-code.js +112 -0
- package/linter/rules/cmd-check/package-code.d.ts +30 -0
- package/linter/rules/cmd-check/package-code.js +141 -0
- package/linter/rules/cmd-check/package-data.d.ts +49 -0
- package/linter/rules/cmd-check/package-data.js +181 -0
- package/linter/rules/cmd-check/package-files.d.ts +41 -0
- package/linter/rules/cmd-check/package-files.js +157 -0
- package/linter/rules/cmd-check/package-hooks.d.ts +57 -0
- package/linter/rules/cmd-check/package-hooks.js +165 -0
- package/linter/rules/cmd-check/package-metafiles.d.ts +49 -0
- package/linter/rules/cmd-check/package-metafiles.js +292 -0
- package/linter/rules/cmd-check/package-runtime.d.ts +67 -0
- package/linter/rules/cmd-check/package-runtime.js +284 -0
- package/linter/rules/cmd-check/package-structure.d.ts +85 -0
- package/linter/rules/cmd-check/package-structure.js +320 -0
- package/linter/rules/cmd-check/rd-files.d.ts +67 -0
- package/linter/rules/cmd-check/rd-files.js +621 -0
- package/linter/rules/cmd-check/s-three-method-consistency.d.ts +72 -0
- package/linter/rules/cmd-check/s-three-method-consistency.js +206 -0
- package/linter/rules/cmd-check/true-false-abbreviation.d.ts +45 -0
- package/linter/rules/cmd-check/true-false-abbreviation.js +121 -0
- package/linter/rules/deprecated-functions.js +4 -4
- package/linter/rules/function-finder-util.d.ts +1 -1
- package/linter/rules/function-finder-util.js +1 -3
- package/linter/rules/naming-convention.d.ts +1 -1
- package/linter/rules/naming-convention.js +13 -14
- package/linter/rules/network-functions.d.ts +4 -3
- package/linter/rules/network-functions.js +14 -12
- package/linter/rules/no-leaked-credentials.d.ts +8 -3
- package/linter/rules/no-leaked-credentials.js +134 -36
- package/linter/rules/problematic-inputs.d.ts +1 -1
- package/linter/rules/problematic-inputs.js +21 -14
- package/linter/rules/seeded-randomness.js +5 -5
- package/linter/rules/software-has-license.d.ts +1 -1
- package/linter/rules/software-has-license.js +1 -1
- package/linter/rules/unclosed-connection.js +3 -3
- package/linter/rules/undefined-symbol-util.js +16 -32
- package/linter/rules/undefined-symbol.d.ts +2 -0
- package/linter/rules/undefined-symbol.js +33 -3
- package/linter/rules/unescaped-arguments.d.ts +13 -2
- package/linter/rules/unescaped-arguments.js +104 -15
- package/linter/rules/unused-definition.js +13 -19
- package/package.json +1 -1
- package/project/cache/flowr-analyzer-cache.js +1 -1
- package/project/context/flowr-analyzer-context.js +1 -1
- package/project/context/flowr-analyzer-environment-context.d.ts +1 -1
- package/project/context/flowr-analyzer-files-context.d.ts +6 -0
- package/project/context/flowr-analyzer-files-context.js +3 -0
- package/project/context/flowr-analyzer-incremental-analysis-context.d.ts +0 -2
- package/project/context/flowr-analyzer-incremental-analysis-context.js +0 -4
- package/project/context/flowr-file.d.ts +4 -0
- package/project/context/flowr-file.js +4 -0
- package/project/flowr-analyzer-builder.js +1 -1
- package/project/plugins/file-plugins/files/flowr-description-file.js +2 -2
- package/project/plugins/file-plugins/files/flowr-jupyter-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-jupyter-file.js +4 -0
- package/project/plugins/file-plugins/files/flowr-manifest-files.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-manifest-files.js +11 -14
- package/project/plugins/file-plugins/files/flowr-namespace-file.d.ts +3 -0
- package/project/plugins/file-plugins/files/flowr-namespace-file.js +25 -15
- package/project/plugins/file-plugins/files/flowr-rd-file.d.ts +44 -0
- package/project/plugins/file-plugins/files/flowr-rd-file.js +130 -61
- package/project/plugins/file-plugins/files/flowr-rda-file.d.ts +0 -1
- package/project/plugins/file-plugins/files/flowr-rda-file.js +4 -16
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.js +4 -0
- package/project/plugins/file-plugins/files/flowr-sweave-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-sweave-file.js +4 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.d.ts +0 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +1 -5
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.d.ts +2 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js +2 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-session-info-plugin.js +3 -7
- package/project/sigdb/build.js +16 -30
- package/project/sigdb/dict.d.ts +4 -6
- package/project/sigdb/dict.js +125 -31
- package/project/sigdb/reader.js +2 -18
- package/project/sigdb/sigdb-download.js +14 -23
- package/queries/base-query-format.d.ts +2 -0
- package/queries/base-query-format.js +10 -2
- package/queries/catalog/absint-query/absint-query-format.d.ts +1 -1
- package/queries/catalog/absint-query/absint-query-format.js +5 -7
- package/queries/catalog/call-context-query/call-context-query-executor.js +26 -33
- package/queries/catalog/call-context-query/call-context-query-format.d.ts +1 -1
- package/queries/catalog/call-context-query/call-context-query-format.js +1 -3
- package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +2 -4
- package/queries/catalog/call-context-query/identify-link-to-nested-call-relation.js +1 -4
- package/queries/catalog/call-graph-query/call-graph-query-format.js +2 -3
- package/queries/catalog/config-query/config-query-format.js +3 -3
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +2 -3
- package/queries/catalog/dataflow-query/dataflow-query-format.js +2 -3
- package/queries/catalog/dependencies-query/data-flow.d.ts +43 -0
- package/queries/catalog/dependencies-query/data-flow.js +173 -0
- package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +18 -0
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +108 -12
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +17 -1
- package/queries/catalog/dependencies-query/dependencies-query-format.js +14 -11
- package/queries/catalog/dependencies-query/function-info/derived-functions.js +2 -1
- package/queries/catalog/dependencies-query/function-info/function-info.d.ts +2 -0
- package/queries/catalog/dependencies-query/function-info/library-functions.js +13 -13
- package/queries/catalog/dependencies-query/function-info/read-functions.js +1 -1
- package/queries/catalog/dependencies-query/function-info/remote-functions.js +3 -3
- package/queries/catalog/dependencies-query/function-info/source-functions.js +2 -2
- package/queries/catalog/dependencies-query/function-info/test-functions.js +8 -8
- package/queries/catalog/dependencies-query/function-info/transform-functions.d.ts +8 -0
- package/queries/catalog/dependencies-query/function-info/transform-functions.js +17 -0
- package/queries/catalog/dependencies-query/function-info/write-functions.js +4 -0
- package/queries/catalog/dependencies-query/implicit-echo.d.ts +5 -3
- package/queries/catalog/dependencies-query/implicit-echo.js +33 -34
- package/queries/catalog/dependencies-query/link-devices.d.ts +3 -2
- package/queries/catalog/dependencies-query/link-devices.js +9 -6
- package/queries/catalog/dependencies-query/plot-description.d.ts +10 -0
- package/queries/catalog/dependencies-query/plot-description.js +119 -0
- package/queries/catalog/dependencies-query/plot-objects.d.ts +13 -0
- package/queries/catalog/dependencies-query/plot-objects.js +61 -0
- package/queries/catalog/dice-query/dice-query-format.d.ts +2 -2
- package/queries/catalog/dice-query/dice-query-format.js +3 -40
- package/queries/catalog/does-call-query/does-call-query-format.d.ts +1 -1
- package/queries/catalog/does-call-query/does-call-query-format.js +2 -2
- package/queries/catalog/function-info-query/function-info-query-format.js +2 -2
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-executor.js +2 -1
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.js +2 -2
- package/queries/catalog/happens-before-query/happens-before-query-format.js +2 -2
- package/queries/catalog/id-map-query/id-map-query-format.js +1 -3
- package/queries/catalog/input-sources-query/input-source-functions.d.ts +6 -4
- package/queries/catalog/input-sources-query/input-source-functions.js +11 -6
- package/queries/catalog/input-sources-query/input-sources-query-executor.js +3 -3
- package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +1 -1
- package/queries/catalog/input-sources-query/input-sources-query-format.js +11 -5
- package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +12 -4
- package/queries/catalog/input-sources-query/simple-input-classifier.js +237 -40
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +4 -7
- package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-executor.js +1 -1
- package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-format.js +3 -2
- package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.js +2 -2
- package/queries/catalog/linter-query/linter-query-executor.js +10 -3
- package/queries/catalog/linter-query/linter-query-format.d.ts +4 -1
- package/queries/catalog/linter-query/linter-query-format.js +32 -21
- 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 -3
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +2 -3
- package/queries/catalog/origin-query/origin-query-executor.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-executor.js +3 -3
- package/queries/catalog/origin-query/origin-query-format.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-format.js +4 -5
- package/queries/catalog/project-query/project-query-format.js +2 -2
- package/queries/catalog/provenance-query/provenance-query-format.js +2 -3
- package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +1 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-format.js +4 -4
- package/queries/catalog/search-query/search-query-format.js +1 -3
- package/queries/catalog/signature-query/signature-query-executor.js +3 -3
- package/queries/catalog/signature-query/signature-query-format.js +2 -2
- package/queries/catalog/slice-query-options.d.ts +16 -0
- package/queries/catalog/slice-query-options.js +28 -0
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +2 -2
- package/queries/catalog/static-slice-query/static-slice-query-format.js +3 -42
- package/queries/query-print.d.ts +4 -0
- package/queries/query-print.js +17 -1
- package/queries/query.d.ts +3 -3
- package/queries/query.js +3 -4
- package/r-bridge/lang-4.x/ast/model/model.d.ts +27 -3
- package/r-bridge/lang-4.x/ast/model/model.js +28 -1
- package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.d.ts +20 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.js +25 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +18 -2
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.js +15 -6
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +17 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.js +20 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/operators.js +0 -2
- package/r-bridge/lang-4.x/ast/model/processing/decorate.js +1 -6
- package/r-bridge/lang-4.x/ast/model/processing/fold.js +1 -6
- package/r-bridge/lang-4.x/ast/model/processing/node-id.js +4 -3
- package/r-bridge/lang-4.x/ast/parser/json/format.js +2 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/control/normalize-if-then.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-argument.js +2 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-call.js +4 -20
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-definition.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-next.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-repeat.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-while.js +2 -9
- package/r-bridge/lang-4.x/ast/parser/main/internal/normalize-access.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-binary.js +2 -10
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-unary.js +2 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-expressions.js +3 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-symbol.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.d.ts +6 -1
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.js +7 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.d.ts +0 -10
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +30 -82
- package/r-bridge/retriever.d.ts +0 -4
- package/r-bridge/retriever.js +0 -13
- package/r-bridge/roxygen2/documentation-provider.js +3 -7
- package/r-bridge/shell.js +3 -8
- package/reconstruct/auto-select/magic-comments.js +8 -7
- package/reconstruct/inline/source-inline-map.d.ts +3 -0
- package/reconstruct/inline/source-inline-map.js +8 -7
- package/reconstruct/reconstruct.d.ts +1 -1
- package/reconstruct/reconstruct.js +33 -109
- package/search/flowr-search-printer.js +4 -15
- package/search/search-executor/search-enrichers.js +5 -3
- package/search/search-executor/search-generators.js +1 -1
- package/slicing/criterion/filters/all-variables.js +1 -2
- package/slicing/static/fingerprint.js +11 -2
- package/slicing/static/slice-call.d.ts +2 -8
- package/slicing/static/slice-call.js +8 -18
- package/slicing/static/static-slicer.js +81 -6
- package/util/collections/arrays.js +1 -1
- package/util/collections/set.js +1 -1
- package/util/diff-graph.d.ts +4 -0
- package/util/diff-graph.js +12 -0
- package/util/files.js +2 -6
- package/util/json.js +1 -15
- package/util/mermaid/cfg.js +10 -17
- package/util/mermaid/dfg.js +6 -8
- package/util/objects.d.ts +1 -1
- package/util/quads.js +4 -13
- package/util/r-author.js +5 -5
- package/util/range.d.ts +9 -0
- package/util/range.js +11 -0
- package/util/schema.js +3 -3
- package/util/simple-df/dfg-view.js +2 -1
- package/util/text/ansi.js +1 -2
- package/util/text/playground-link.js +2 -1
- package/util/text/r-highlight.js +2 -1
- package/util/text/strings.d.ts +2 -0
- package/util/text/strings.js +5 -0
- package/util/text/time.js +1 -2
- package/util/version.js +4 -3
- package/dataflow/fn/recursive-function.d.ts +0 -6
- package/dataflow/fn/recursive-function.js +0 -32
- package/dataflow/internal/process/functions/call/argument/unpack-argument.d.ts +0 -16
- package/dataflow/internal/process/functions/call/argument/unpack-argument.js +0 -27
|
@@ -7,26 +7,6 @@ import { PipelineExecutor } from '../../pipeline-executor';
|
|
|
7
7
|
import type { RShell } from '../../../r-bridge/shell';
|
|
8
8
|
import type { TreeSitterExecutor } from '../../../r-bridge/lang-4.x/tree-sitter/tree-sitter-executor';
|
|
9
9
|
export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
|
|
10
|
-
readonly humanReadableName: "dataflow";
|
|
11
|
-
readonly processor: (results: {
|
|
12
|
-
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
13
|
-
}, input: {
|
|
14
|
-
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
15
|
-
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
16
|
-
}) => import("../../../dataflow/info").DataflowInformation;
|
|
17
|
-
readonly requiredInput: {};
|
|
18
|
-
readonly name: "dataflow";
|
|
19
|
-
readonly description: "Construct the dataflow graph";
|
|
20
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
21
|
-
readonly printer: {
|
|
22
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
23
|
-
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
24
|
-
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
25
|
-
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
26
|
-
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
27
|
-
};
|
|
28
|
-
readonly dependencies: readonly ["normalize"];
|
|
29
|
-
} | {
|
|
30
10
|
readonly name: "parse";
|
|
31
11
|
readonly humanReadableName: "parse with R shell";
|
|
32
12
|
readonly description: "Parse the given R code into an AST";
|
|
@@ -59,6 +39,26 @@ export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
|
|
|
59
39
|
};
|
|
60
40
|
readonly dependencies: readonly ["parse"];
|
|
61
41
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
42
|
+
} | {
|
|
43
|
+
readonly humanReadableName: "dataflow";
|
|
44
|
+
readonly processor: (results: {
|
|
45
|
+
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
46
|
+
}, input: {
|
|
47
|
+
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
48
|
+
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
49
|
+
}) => import("../../../dataflow/info").DataflowInformation;
|
|
50
|
+
readonly requiredInput: {};
|
|
51
|
+
readonly name: "dataflow";
|
|
52
|
+
readonly description: "Construct the dataflow graph";
|
|
53
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
54
|
+
readonly printer: {
|
|
55
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
56
|
+
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
57
|
+
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
58
|
+
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
59
|
+
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
60
|
+
};
|
|
61
|
+
readonly dependencies: readonly ["normalize"];
|
|
62
62
|
} | {
|
|
63
63
|
readonly name: "slice";
|
|
64
64
|
readonly humanReadableName: "static slice";
|
|
@@ -90,26 +90,6 @@ export declare const DEFAULT_SLICING_PIPELINE: import("./pipeline").Pipeline<{
|
|
|
90
90
|
readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
|
|
91
91
|
}>;
|
|
92
92
|
export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
93
|
-
readonly humanReadableName: "dataflow";
|
|
94
|
-
readonly processor: (results: {
|
|
95
|
-
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
96
|
-
}, input: {
|
|
97
|
-
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
98
|
-
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
99
|
-
}) => import("../../../dataflow/info").DataflowInformation;
|
|
100
|
-
readonly requiredInput: {};
|
|
101
|
-
readonly name: "dataflow";
|
|
102
|
-
readonly description: "Construct the dataflow graph";
|
|
103
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
104
|
-
readonly printer: {
|
|
105
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
106
|
-
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
107
|
-
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
108
|
-
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
109
|
-
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
110
|
-
};
|
|
111
|
-
readonly dependencies: readonly ["normalize"];
|
|
112
|
-
} | {
|
|
113
93
|
readonly name: "parse";
|
|
114
94
|
readonly humanReadableName: "parse with R shell";
|
|
115
95
|
readonly description: "Parse the given R code into an AST";
|
|
@@ -142,6 +122,26 @@ export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline"
|
|
|
142
122
|
};
|
|
143
123
|
readonly dependencies: readonly ["parse"];
|
|
144
124
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
125
|
+
} | {
|
|
126
|
+
readonly humanReadableName: "dataflow";
|
|
127
|
+
readonly processor: (results: {
|
|
128
|
+
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
129
|
+
}, input: {
|
|
130
|
+
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
131
|
+
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
132
|
+
}) => import("../../../dataflow/info").DataflowInformation;
|
|
133
|
+
readonly requiredInput: {};
|
|
134
|
+
readonly name: "dataflow";
|
|
135
|
+
readonly description: "Construct the dataflow graph";
|
|
136
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
137
|
+
readonly printer: {
|
|
138
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
139
|
+
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
140
|
+
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
141
|
+
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
142
|
+
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
143
|
+
};
|
|
144
|
+
readonly dependencies: readonly ["normalize"];
|
|
145
145
|
} | {
|
|
146
146
|
readonly name: "slice";
|
|
147
147
|
readonly humanReadableName: "static slice";
|
|
@@ -173,26 +173,6 @@ export declare const DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline"
|
|
|
173
173
|
readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
|
|
174
174
|
}>;
|
|
175
175
|
export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
176
|
-
readonly humanReadableName: "dataflow";
|
|
177
|
-
readonly processor: (results: {
|
|
178
|
-
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
179
|
-
}, input: {
|
|
180
|
-
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
181
|
-
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
182
|
-
}) => import("../../../dataflow/info").DataflowInformation;
|
|
183
|
-
readonly requiredInput: {};
|
|
184
|
-
readonly name: "dataflow";
|
|
185
|
-
readonly description: "Construct the dataflow graph";
|
|
186
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
187
|
-
readonly printer: {
|
|
188
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
189
|
-
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
190
|
-
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
191
|
-
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
192
|
-
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
193
|
-
};
|
|
194
|
-
readonly dependencies: readonly ["normalize"];
|
|
195
|
-
} | {
|
|
196
176
|
readonly name: "parse";
|
|
197
177
|
readonly humanReadableName: "parse with R shell";
|
|
198
178
|
readonly description: "Parse the given R code into an AST";
|
|
@@ -225,6 +205,26 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
|
|
|
225
205
|
};
|
|
226
206
|
readonly dependencies: readonly ["parse"];
|
|
227
207
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
208
|
+
} | {
|
|
209
|
+
readonly humanReadableName: "dataflow";
|
|
210
|
+
readonly processor: (results: {
|
|
211
|
+
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
212
|
+
}, input: {
|
|
213
|
+
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
214
|
+
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
215
|
+
}) => import("../../../dataflow/info").DataflowInformation;
|
|
216
|
+
readonly requiredInput: {};
|
|
217
|
+
readonly name: "dataflow";
|
|
218
|
+
readonly description: "Construct the dataflow graph";
|
|
219
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
220
|
+
readonly printer: {
|
|
221
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
222
|
+
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
223
|
+
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
224
|
+
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
225
|
+
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
226
|
+
};
|
|
227
|
+
readonly dependencies: readonly ["normalize"];
|
|
228
228
|
} | {
|
|
229
229
|
readonly name: "slice";
|
|
230
230
|
readonly humanReadableName: "static slice";
|
|
@@ -241,38 +241,6 @@ export declare const DEFAULT_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipel
|
|
|
241
241
|
readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
|
|
242
242
|
}>;
|
|
243
243
|
export declare const TREE_SITTER_SLICING_PIPELINE: import("./pipeline").Pipeline<{
|
|
244
|
-
readonly name: "parse";
|
|
245
|
-
readonly humanReadableName: "parse with tree-sitter";
|
|
246
|
-
readonly description: "Parse the given R code into an AST using tree-sitter";
|
|
247
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
|
|
248
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
249
|
-
readonly printer: {
|
|
250
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
251
|
-
readonly 2: {
|
|
252
|
-
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
253
|
-
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
readonly dependencies: readonly [];
|
|
257
|
-
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
|
|
258
|
-
} | {
|
|
259
|
-
readonly name: "normalize";
|
|
260
|
-
readonly humanReadableName: "normalize tree-sitter tree";
|
|
261
|
-
readonly description: "Normalize the AST to flowR's AST";
|
|
262
|
-
readonly processor: (results: {
|
|
263
|
-
parse?: import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>;
|
|
264
|
-
}, input: Partial<import("../all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/nodes/r-project").RProject<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
265
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
266
|
-
readonly printer: {
|
|
267
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
268
|
-
readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
|
|
269
|
-
readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
|
|
270
|
-
readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
|
|
271
|
-
readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
|
|
272
|
-
};
|
|
273
|
-
readonly dependencies: readonly ["parse"];
|
|
274
|
-
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
275
|
-
} | {
|
|
276
244
|
readonly humanReadableName: "dataflow";
|
|
277
245
|
readonly processor: (results: {
|
|
278
246
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
@@ -321,8 +289,7 @@ export declare const TREE_SITTER_SLICING_PIPELINE: import("./pipeline").Pipeline
|
|
|
321
289
|
};
|
|
322
290
|
readonly dependencies: readonly ["slice"];
|
|
323
291
|
readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
|
|
324
|
-
}
|
|
325
|
-
export declare const TREE_SITTER_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
292
|
+
} | {
|
|
326
293
|
readonly name: "parse";
|
|
327
294
|
readonly humanReadableName: "parse with tree-sitter";
|
|
328
295
|
readonly description: "Parse the given R code into an AST using tree-sitter";
|
|
@@ -354,7 +321,8 @@ export declare const TREE_SITTER_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipel
|
|
|
354
321
|
};
|
|
355
322
|
readonly dependencies: readonly ["parse"];
|
|
356
323
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
357
|
-
}
|
|
324
|
+
}>;
|
|
325
|
+
export declare const TREE_SITTER_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
358
326
|
readonly humanReadableName: "dataflow";
|
|
359
327
|
readonly processor: (results: {
|
|
360
328
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
@@ -403,8 +371,7 @@ export declare const TREE_SITTER_SLICE_AND_RECONSTRUCT_PIPELINE: import("./pipel
|
|
|
403
371
|
};
|
|
404
372
|
readonly dependencies: readonly ["slice"];
|
|
405
373
|
readonly requiredInput: import("../all/static-slicing/10-reconstruct").ReconstructRequiredInput;
|
|
406
|
-
}
|
|
407
|
-
export declare const TREE_SITTER_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
374
|
+
} | {
|
|
408
375
|
readonly name: "parse";
|
|
409
376
|
readonly humanReadableName: "parse with tree-sitter";
|
|
410
377
|
readonly description: "Parse the given R code into an AST using tree-sitter";
|
|
@@ -436,7 +403,8 @@ export declare const TREE_SITTER_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./p
|
|
|
436
403
|
};
|
|
437
404
|
readonly dependencies: readonly ["parse"];
|
|
438
405
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
439
|
-
}
|
|
406
|
+
}>;
|
|
407
|
+
export declare const TREE_SITTER_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./pipeline").Pipeline<{
|
|
440
408
|
readonly humanReadableName: "dataflow";
|
|
441
409
|
readonly processor: (results: {
|
|
442
410
|
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
@@ -470,37 +438,11 @@ export declare const TREE_SITTER_SLICE_WITHOUT_RECONSTRUCT_PIPELINE: import("./p
|
|
|
470
438
|
};
|
|
471
439
|
readonly dependencies: readonly ["dataflow"];
|
|
472
440
|
readonly requiredInput: import("../all/static-slicing/00-slice").SliceRequiredInput;
|
|
473
|
-
}>;
|
|
474
|
-
/**
|
|
475
|
-
* The default pipeline for working with flowR, including the dataflow step.
|
|
476
|
-
* See the {@link DEFAULT_NORMALIZE_PIPELINE} for the pipeline without the dataflow step
|
|
477
|
-
* and the {@link DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE} for the pipeline with slicing and reconstructing steps
|
|
478
|
-
*/
|
|
479
|
-
export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
|
|
480
|
-
readonly humanReadableName: "dataflow";
|
|
481
|
-
readonly processor: (results: {
|
|
482
|
-
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
483
|
-
}, input: {
|
|
484
|
-
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
485
|
-
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
486
|
-
}) => import("../../../dataflow/info").DataflowInformation;
|
|
487
|
-
readonly requiredInput: {};
|
|
488
|
-
readonly name: "dataflow";
|
|
489
|
-
readonly description: "Construct the dataflow graph";
|
|
490
|
-
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
491
|
-
readonly printer: {
|
|
492
|
-
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
493
|
-
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
494
|
-
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
495
|
-
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
496
|
-
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
497
|
-
};
|
|
498
|
-
readonly dependencies: readonly ["normalize"];
|
|
499
441
|
} | {
|
|
500
442
|
readonly name: "parse";
|
|
501
|
-
readonly humanReadableName: "parse with
|
|
502
|
-
readonly description: "Parse the given R code into an AST";
|
|
503
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<
|
|
443
|
+
readonly humanReadableName: "parse with tree-sitter";
|
|
444
|
+
readonly description: "Parse the given R code into an AST using tree-sitter";
|
|
445
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
|
|
504
446
|
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
505
447
|
readonly printer: {
|
|
506
448
|
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
@@ -508,16 +450,15 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
|
|
|
508
450
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
509
451
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
510
452
|
};
|
|
511
|
-
readonly 5: (p: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
512
453
|
};
|
|
513
454
|
readonly dependencies: readonly [];
|
|
514
|
-
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<
|
|
455
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
|
|
515
456
|
} | {
|
|
516
457
|
readonly name: "normalize";
|
|
517
|
-
readonly humanReadableName: "normalize";
|
|
458
|
+
readonly humanReadableName: "normalize tree-sitter tree";
|
|
518
459
|
readonly description: "Normalize the AST to flowR's AST";
|
|
519
460
|
readonly processor: (results: {
|
|
520
|
-
parse?: import("../../../r-bridge/parser").ParseStepOutput<
|
|
461
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>;
|
|
521
462
|
}, input: Partial<import("../all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/nodes/r-project").RProject<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
522
463
|
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
523
464
|
readonly printer: {
|
|
@@ -530,11 +471,16 @@ export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
|
|
|
530
471
|
readonly dependencies: readonly ["parse"];
|
|
531
472
|
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
532
473
|
}>;
|
|
533
|
-
|
|
474
|
+
/**
|
|
475
|
+
* The default pipeline for working with flowR, including the dataflow step.
|
|
476
|
+
* See the {@link DEFAULT_NORMALIZE_PIPELINE} for the pipeline without the dataflow step
|
|
477
|
+
* and the {@link DEFAULT_SLICE_AND_RECONSTRUCT_PIPELINE} for the pipeline with slicing and reconstructing steps
|
|
478
|
+
*/
|
|
479
|
+
export declare const DEFAULT_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
|
|
534
480
|
readonly name: "parse";
|
|
535
|
-
readonly humanReadableName: "parse with
|
|
536
|
-
readonly description: "Parse the given R code into an AST
|
|
537
|
-
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<
|
|
481
|
+
readonly humanReadableName: "parse with R shell";
|
|
482
|
+
readonly description: "Parse the given R code into an AST";
|
|
483
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<string>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<string>>;
|
|
538
484
|
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
539
485
|
readonly printer: {
|
|
540
486
|
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
@@ -542,15 +488,16 @@ export declare const TREE_SITTER_DATAFLOW_PIPELINE: import("./pipeline").Pipelin
|
|
|
542
488
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
543
489
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
544
490
|
};
|
|
491
|
+
readonly 5: (p: import("../../../r-bridge/parser").ParseStepOutput<string>, config: import("../../../util/quads").QuadSerializationConfiguration) => string;
|
|
545
492
|
};
|
|
546
493
|
readonly dependencies: readonly [];
|
|
547
|
-
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<
|
|
494
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<string>;
|
|
548
495
|
} | {
|
|
549
496
|
readonly name: "normalize";
|
|
550
|
-
readonly humanReadableName: "normalize
|
|
497
|
+
readonly humanReadableName: "normalize";
|
|
551
498
|
readonly description: "Normalize the AST to flowR's AST";
|
|
552
499
|
readonly processor: (results: {
|
|
553
|
-
parse?: import("../../../r-bridge/parser").ParseStepOutput<
|
|
500
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<string>;
|
|
554
501
|
}, input: Partial<import("../all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/nodes/r-project").RProject<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
555
502
|
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
556
503
|
readonly printer: {
|
|
@@ -583,6 +530,59 @@ export declare const TREE_SITTER_DATAFLOW_PIPELINE: import("./pipeline").Pipelin
|
|
|
583
530
|
};
|
|
584
531
|
readonly dependencies: readonly ["normalize"];
|
|
585
532
|
}>;
|
|
533
|
+
export declare const TREE_SITTER_DATAFLOW_PIPELINE: import("./pipeline").Pipeline<{
|
|
534
|
+
readonly humanReadableName: "dataflow";
|
|
535
|
+
readonly processor: (results: {
|
|
536
|
+
normalize?: import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst;
|
|
537
|
+
}, input: {
|
|
538
|
+
parser?: Parser<import("../../../r-bridge/parser").KnownParserType>;
|
|
539
|
+
context?: import("../../../project/context/flowr-analyzer-context").FlowrAnalyzerContext;
|
|
540
|
+
}) => import("../../../dataflow/info").DataflowInformation;
|
|
541
|
+
readonly requiredInput: {};
|
|
542
|
+
readonly name: "dataflow";
|
|
543
|
+
readonly description: "Construct the dataflow graph";
|
|
544
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
545
|
+
readonly printer: {
|
|
546
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
547
|
+
readonly 2: typeof import("../../print/dataflow-printer").dataflowGraphToJson;
|
|
548
|
+
readonly 5: typeof import("../../print/dataflow-printer").dataflowGraphToQuads;
|
|
549
|
+
readonly 3: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
550
|
+
readonly 4: (this: void, graph: import("../../..").DataflowGraph | import("../../../dataflow/info").DataflowInformation, includeEnvironments?: boolean, mark?: ReadonlySet<import("../../..").NodeId>, simplified?: boolean, qualifyBaseR?: boolean) => string;
|
|
551
|
+
};
|
|
552
|
+
readonly dependencies: readonly ["normalize"];
|
|
553
|
+
} | {
|
|
554
|
+
readonly name: "parse";
|
|
555
|
+
readonly humanReadableName: "parse with tree-sitter";
|
|
556
|
+
readonly description: "Parse the given R code into an AST using tree-sitter";
|
|
557
|
+
readonly processor: (_results: unknown, input: Partial<import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>>) => Promise<import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>>;
|
|
558
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
559
|
+
readonly printer: {
|
|
560
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
561
|
+
readonly 2: {
|
|
562
|
+
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
563
|
+
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
readonly dependencies: readonly [];
|
|
567
|
+
readonly requiredInput: import("../../../r-bridge/parser").ParseRequiredInput<import("web-tree-sitter").Tree>;
|
|
568
|
+
} | {
|
|
569
|
+
readonly name: "normalize";
|
|
570
|
+
readonly humanReadableName: "normalize tree-sitter tree";
|
|
571
|
+
readonly description: "Normalize the AST to flowR's AST";
|
|
572
|
+
readonly processor: (results: {
|
|
573
|
+
parse?: import("../../../r-bridge/parser").ParseStepOutput<import("web-tree-sitter").Tree>;
|
|
574
|
+
}, input: Partial<import("../all/core/10-normalize").NormalizeRequiredInput>) => import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").NormalizedAst<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation, import("../../../r-bridge/lang-4.x/ast/model/nodes/r-project").RProject<import("../../../r-bridge/lang-4.x/ast/model/processing/decorate").ParentInformation>>;
|
|
575
|
+
readonly executed: import("../pipeline-step").PipelineStepStage.OncePerFile;
|
|
576
|
+
readonly printer: {
|
|
577
|
+
readonly 0: typeof import("../../print/print").internalPrinter;
|
|
578
|
+
readonly 2: typeof import("../../print/normalize-printer").normalizedAstToJson;
|
|
579
|
+
readonly 5: typeof import("../../print/normalize-printer").normalizedAstToQuads;
|
|
580
|
+
readonly 3: typeof import("../../print/normalize-printer").printNormalizedAstToMermaid;
|
|
581
|
+
readonly 4: typeof import("../../print/normalize-printer").printNormalizedAstToMermaidUrl;
|
|
582
|
+
};
|
|
583
|
+
readonly dependencies: readonly ["parse"];
|
|
584
|
+
readonly requiredInput: import("../all/core/10-normalize").NormalizeRequiredInput;
|
|
585
|
+
}>;
|
|
586
586
|
/** The pipeline to use when you want to parse and normalize your R file, see {@link DEFAULT_DATAFLOW_PIPELINE} for the additional `dataflow` step */
|
|
587
587
|
export declare const DEFAULT_NORMALIZE_PIPELINE: import("./pipeline").Pipeline<{
|
|
588
588
|
readonly name: "parse";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RBasePackageStore = void 0;
|
|
4
|
-
/* eslint-disable */
|
|
5
4
|
/*
|
|
6
5
|
* GENERATED from the flowr-sigdb bundle by scripts/gen-base-packages.ts on 2026-09-16 -- do not edit.
|
|
7
6
|
* bundle: v8|2026-07-19|a3cdbf4d8e58dde2,cc4093180737bbaf,e1390711ba58c661,c0a7ca9838d56152
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RBasePrimitives = void 0;
|
|
4
|
-
/* eslint-disable */
|
|
5
4
|
/*
|
|
6
5
|
* GENERATED, do not edit: base names the flowr-sigdb base export list drops (it kept only plain closures,
|
|
7
6
|
* discarding `.Primitive`/`.Internal`-backed ones) plus base constants. R 4.6.0 (2026-04-24). Regenerate:
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RS3Generics = void 0;
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/*
|
|
6
|
+
* GENERATED by scripts/gen-r-s3-generics.R with R version 4.6.1 (2026-06-24) -- do not edit.
|
|
7
|
+
* genericFormals: the S3 generics of the base packages with the formals R reports for them.
|
|
8
|
+
* groupGenericFormals: the formals of the S3 group generics (see ?groupGeneric).
|
|
9
|
+
* nonS3Methods: per package, functions that look like S3 methods but are none (tools:::nonS3methods).
|
|
10
|
+
*/
|
|
11
|
+
exports.RS3Generics = {
|
|
12
|
+
genericFormals: {
|
|
13
|
+
"-": ["e1", "e2"], "!": ["x"], "!=": ["e1", "e2"], ".AtNames": [], ".DollarNames": [], "[": [], "[[": [], "[[<-": [], "[<-": [], "@": [],
|
|
14
|
+
"@<-": [], "*": ["e1", "e2"], "/": ["e1", "e2"], "&": ["e1", "e2"], "%*%": ["x", "y"], "%/%": ["e1", "e2"], "%%": ["e1", "e2"],
|
|
15
|
+
"^": ["e1", "e2"], "+": ["e1", "e2"], "<": ["e1", "e2"], "<=": ["e1", "e2"], "==": ["e1", "e2"], ">": ["e1", "e2"], ">=": ["e1", "e2"],
|
|
16
|
+
"|": ["e1", "e2"], "$": [], "$<-": [], "abs": ["x"], "acos": ["x"], "acosh": ["x"], "add1": ["object", "scope", "..."], "aggregate": [],
|
|
17
|
+
"AIC": ["object", "...", "k"], "alias": [], "all": ["...", "na.rm"], "all.equal": ["target", "current", "..."], "anova": ["object", "..."],
|
|
18
|
+
"ansari.test": [], "any": ["...", "na.rm"], "anyDuplicated": ["x", "incomparables", "..."], "anyNA": ["x", "recursive"],
|
|
19
|
+
"aperm": ["a", "perm", "..."], "ar.burg": [], "ar.yw": [], "Arg": ["z"], "as.array": ["x", "..."], "as.call": ["x"],
|
|
20
|
+
"as.character": ["x", "..."], "as.complex": ["x", "..."], "as.data.frame": ["x", "row.names", "optional", "..."], "as.Date": ["x", "..."],
|
|
21
|
+
"as.dendrogram": [], "as.dist": [], "as.double": ["x", "..."], "as.environment": ["x"], "as.expression": ["x", "..."],
|
|
22
|
+
"as.function": ["x", "..."], "as.hclust": [], "as.integer": ["x", "..."], "as.list": ["x", "..."], "as.logical": ["x", "..."],
|
|
23
|
+
"as.matrix": ["x", "..."], "as.null": ["x", "..."], "as.numeric": ["x", "..."], "as.person": [], "as.personList": [],
|
|
24
|
+
"as.POSIXct": ["x", "tz", "..."], "as.POSIXlt": ["x", "tz", "..."], "as.raster": [], "as.raw": ["x"], "as.Rconcordance": [],
|
|
25
|
+
"as.single": ["x", "..."], "as.stepfun": [], "as.table": ["x", "..."], "as.ts": [], "as.vector": ["x", "mode"], "asin": ["x"], "asinh": ["x"],
|
|
26
|
+
"atan": ["x"], "atanh": ["x"], "Axis": [], "barplot": [], "bartlett.test": [], "BIC": [], "biplot": ["x", "..."], "bitstring": [],
|
|
27
|
+
"boxplot": [], "by": ["data", "INDICES", "FUN", "...", "simplify"], "c": ["..."], "case.names": [], "cbind": ["...", "deparse.level"],
|
|
28
|
+
"cdplot": [], "ceiling": ["x"], "chol": ["x", "..."], "chooseOpsMethod": ["x", "y", "mx", "my", "cl", "reverse"], "close": ["con", "..."],
|
|
29
|
+
"coef": ["object", "..."], "coefficients": [], "Complex": [], "conditionCall": ["c"], "conditionMessage": ["c"],
|
|
30
|
+
"confint": ["object", "parm", "level", "..."], "Conj": ["z"], "contour": ["x", "..."], "cooks.distance": [], "cophenetic": [], "cor.test": [],
|
|
31
|
+
"cos": ["x"], "cosh": ["x"], "cospi": ["x"], "cummax": ["x"], "cummin": ["x"], "cumprod": ["x"], "cumsum": ["x"], "cut": ["x", "..."],
|
|
32
|
+
"cycle": [], "deltat": [], "density": [], "deriv": [], "deriv3": [], "determinant": ["x", "logarithm", "..."], "deviance": ["object", "..."],
|
|
33
|
+
"df.residual": ["object", "..."], "dfbeta": [], "dfbetas": [], "dffits": [], "diff": ["x", "..."], "diffinv": [], "digamma": ["x"],
|
|
34
|
+
"dim": ["x"], "dim<-": ["x", "value"], "dimnames": ["x"], "dimnames<-": ["x", "value"], "drop1": ["object", "scope", "..."],
|
|
35
|
+
"droplevels": ["x", "..."], "dummy.coef": [], "duplicated": ["x", "incomparables", "..."], "edit": ["name", "..."], "effects": [], "end": [],
|
|
36
|
+
"estVar": [], "exp": ["x"], "expm1": ["x"], "extractAIC": ["fit", "scale", "k", "..."], "family": [], "fitted": ["object", "..."],
|
|
37
|
+
"fitted.values": [], "fligner.test": [], "floor": ["x"], "flush": ["con"], "format": ["x", "..."], "formula": ["x", "..."], "free1way": [],
|
|
38
|
+
"frequency": [], "friedman.test": [], "ftable": [], "gamma": ["x"], "getCall": [], "getDLLRegisteredRoutines": ["dll", "addNames"],
|
|
39
|
+
"getInitial": [], "glyphJust": [], "hatvalues": [], "head": [], "hist": ["x", "..."], "identify": ["x", "..."], "Im": ["z"],
|
|
40
|
+
"image": ["x", "..."], "influence": [], "is.array": ["x"], "is.finite": ["x"], "is.infinite": ["x"], "is.matrix": ["x"], "is.na": ["x"],
|
|
41
|
+
"is.na<-": ["x", "value"], "is.nan": ["x"], "is.numeric": ["x"], "is.unsorted": ["x", "na.rm", "strictly"], "isS3stdGeneric": [],
|
|
42
|
+
"isSymmetric": ["object", "..."], "julian": ["x", "..."], "kappa": ["z", "..."], "kernapply": [], "knots": [], "kruskal.test": [],
|
|
43
|
+
"ks.test": [], "labels": ["object", "..."], "lag": [], "length": ["x"], "length<-": ["x", "value"], "lengths": ["x", "use.names"],
|
|
44
|
+
"levels": ["x"], "levels<-": ["x", "value"], "lgamma": ["x"], "lines": ["x", "..."], "log": ["x", "base"], "log10": ["x"], "log1p": ["x"],
|
|
45
|
+
"log2": ["x"], "logLik": ["object", "..."], "makepredictcall": [], "Math": [], "matrixOps": [], "mauchly.test": [], "max": ["...", "na.rm"],
|
|
46
|
+
"mean": ["x", "..."], "median": [], "merge": ["x", "y", "..."], "min": ["...", "na.rm"], "Mod": ["z"], "model.frame": ["formula", "..."],
|
|
47
|
+
"model.matrix": ["object", "..."], "model.tables": [], "monthplot": [], "months": ["x", "abbreviate"], "mood.test": [], "mosaicplot": [],
|
|
48
|
+
"mtfrm": ["x"], "na.action": [], "na.contiguous": [], "na.exclude": [], "na.fail": [], "na.omit": [], "nameOfClass": ["x"], "names": ["x"],
|
|
49
|
+
"names<-": ["x", "value"], "napredict": [], "naprint": [], "naresid": [], "nchar": ["x", "type", "allowNA", "keepNA"], "NLSstAsymptotic": [],
|
|
50
|
+
"NLSstClosestX": [], "NLSstLfAsymptote": [], "NLSstRtAsymptote": [], "nobs": [], "open": ["con", "..."], "Ops": [], "pacf": [],
|
|
51
|
+
"pairs": ["x", "..."], "persp": [], "plot": ["x", "y", "..."], "points": ["x", "..."], "ppr": [], "prcomp": [], "predict": ["object", "..."],
|
|
52
|
+
"preplot": [], "pretty": ["x", "..."], "princomp": [], "print": ["x", "..."], "prod": ["...", "na.rm"], "profile": ["fitted", "..."],
|
|
53
|
+
"proj": [], "prompt": [], "qqnorm": ["y", "..."], "qr": ["x", "..."], "quade.test": [], "quantile": [], "quarters": ["x", "abbreviate"],
|
|
54
|
+
"range": ["...", "na.rm"], "rbind": ["...", "deparse.level"], "Re": ["z"], "relevel": [], "relist": [], "reorder": [], "rep": ["x", "..."],
|
|
55
|
+
"rep_len": ["x", "length.out"], "rep.int": ["x", "times"], "resid": [], "residuals": ["object", "..."], "rev": ["x"],
|
|
56
|
+
"round": ["x", "digits", "..."], "row.names": ["x"], "row.names<-": ["x", "value"], "rowsum": ["x", "group", "reorder", "..."],
|
|
57
|
+
"rstandard": [], "rstudent": [], "scale": ["x", "center", "scale"], "screeplot": [], "se.contrast": ["object", "..."], "seek": ["con", "..."],
|
|
58
|
+
"selfStart": [], "seq": ["..."], "seq.int": ["from", "to", "by", "length.out", "along.with", "..."], "sequence": ["nvec", "..."], "sigma": [],
|
|
59
|
+
"sign": ["x"], "signif": ["x", "digits"], "simulate": [], "sin": ["x"], "sinh": ["x"], "sinpi": ["x"], "solve": ["a", "b", "..."],
|
|
60
|
+
"sort": ["x", "decreasing", "..."], "sort_by": ["x", "y", "..."], "sortedXyData": [], "spineplot": [], "split": ["x", "f", "drop", "..."],
|
|
61
|
+
"split<-": ["x", "f", "drop", "...", "value"], "sqrt": ["x"], "SSD": [], "stack": [], "start": [], "str": ["object", "..."], "stripchart": [],
|
|
62
|
+
"subset": ["x", "..."], "sum": ["...", "na.rm"], "summary": ["object", "..."], "Summary": [], "sunflowerplot": [], "t": ["x"], "t.test": [],
|
|
63
|
+
"tail": [], "tan": ["x"], "tanh": ["x"], "tanpi": ["x"], "terms": ["x", "..."], "text": ["x", "..."], "time": [], "toBibtex": [], "toHTML": [],
|
|
64
|
+
"toLatex": [], "toRd": [], "toString": ["x", "..."], "transform": ["_data", "..."], "trigamma": ["x"], "trunc": ["x", "..."],
|
|
65
|
+
"truncate": ["con", "..."], "tsdiag": [], "tsSmooth": [], "TukeyHSD": [], "type.convert": [], "unique": ["x", "incomparables", "..."],
|
|
66
|
+
"units": ["x"], "units<-": ["x", "value"], "unlist": ["x", "recursive", "use.names"], "unstack": [], "update": ["object", "..."],
|
|
67
|
+
"upgrade": [], "var.test": [], "variable.names": [], "vcov": ["object", "..."], "weekdays": ["x", "abbreviate"], "weighted.mean": [],
|
|
68
|
+
"weights": [], "wilcox.test": [], "window": [], "window<-": [], "with": ["data", "expr", "..."], "within": ["data", "expr", "..."],
|
|
69
|
+
"xtfrm": ["x"]
|
|
70
|
+
},
|
|
71
|
+
groupGenericFormals: {
|
|
72
|
+
"Ops": ["e1", "e2"], "Math": ["x", "..."], "Summary": ["...", "na.rm"], "Complex": ["z"], "matrixOps": ["x", "y"]
|
|
73
|
+
},
|
|
74
|
+
nonS3Methods: {
|
|
75
|
+
"AMORE": ["sim.MLPnet"], "ape": ["sort.index"], "arm": ["sigma.hat"], "assist": ["chol.new"],
|
|
76
|
+
"base": ["all.equal", "all.names", "all.vars", "as.data.frame.vector", "format.info", "format.pval", "max.col", "qr.Q", "qr.R", "qr.X", "qr.coef", "qr.fitted", "qr.qty", "qr.qy", "qr.resid", "qr.solve", "rep.int", "seq.int", "sort.int", "sort.list"],
|
|
77
|
+
"BiocGenerics": ["rep.int"], "boot": ["exp.tilt"], "BSDA": ["sign.test"], "calibrator": ["t.fun"], "car": ["scatterplot.matrix"],
|
|
78
|
+
"ChemometricsWithR": ["lda.loofun"], "clusterfly": ["ggobi.som"], "coda": ["as.mcmc.list"], "crossdes": ["all.combn"], "ctv": ["update.views"],
|
|
79
|
+
"deSolve": ["plot.1D"], "effects": ["all.effects"], "ElectoGraph": ["plot.wedding.cake"], "elliptic": ["sigma.laurent"],
|
|
80
|
+
"equivalence": ["sign.boot"], "fields": ["qr.q2ty", "qr.yq2"], "FrF2": ["all.2fis.clear.catlg"], "gbm": ["pretty.gbm.tree", "quantile.rug"],
|
|
81
|
+
"genetics": ["diseq.ci"], "GLDEX": ["hist.su", "pretty.su"], "gpclib": ["scale.poly"],
|
|
82
|
+
"graphics": ["close.screen", "plot.design", "plot.new", "plot.window", "plot.xy", "split.screen"], "grDevices": ["boxplot.stats"],
|
|
83
|
+
"hier.part": ["all.regs"], "Hmisc": ["abs.error.pred", "all.digits", "all.is.numeric", "format.df", "format.pval", "t.test.cluster"],
|
|
84
|
+
"HyperbolicDist": ["log.hist"], "ic.infer": ["all.R2"], "lasso2": ["qr.rtr.inv"], "latticeExtra": ["xyplot.list"],
|
|
85
|
+
"LinearizedSVR": ["sigma.est"], "locfit": ["density.lf", "plot.eval"],
|
|
86
|
+
"MASS": ["frequency.polygon", "gamma.dispersion", "gamma.shape", "hist.FD", "hist.scott"],
|
|
87
|
+
"Matrix": ["qr.Q", "qr.R", "qr.coef", "qr.fitted", "qr.qty", "qr.qy", "qr.resid"], "moments": ["all.cumulants", "all.moments"],
|
|
88
|
+
"mosaic": ["t.test"], "mratios": ["t.test.ration", "t.test.ratio.default", "t.test.ratio.formula"],
|
|
89
|
+
"ncdf": ["open.ncdf", "close.ncdf", "dim.create.ncdf", "dim.def.ncdf", "dim.inq.ncdf", "dim.same.ncdf"],
|
|
90
|
+
"PerformanceAnalytics": ["mean.LCL", "mean.UCL", "mean.geometric", "mean.stderr"], "plyr": ["rbind.fill", "rbind.fill.matrix"],
|
|
91
|
+
"quadprog": ["solve.QP", "solve.QP.compact"], "RCurl": ["merge.list"], "reposTools": ["update.packages2"], "reshape": ["all.vars.character"],
|
|
92
|
+
"rgeos": ["scale.poly"], "Rmpfr": ["mpfr.is.0", "mpfr.is.integer"],
|
|
93
|
+
"RNetCDF": ["close.nc", "dim.def.nc", "dim.inq.nc", "dim.rename.nc", "open.nc", "print.nc"], "rowr": ["cbind.fill"], "sac": ["cumsum.test"],
|
|
94
|
+
"sfsmisc": ["cumsum.test"], "sm": ["print.graph"], "SMPracticals": ["exp.gibbs"],
|
|
95
|
+
"SparseM": ["as.matrix.csc", "as.matrix.csr", "as.matrix.ssc", "as.matrix.ssr", "as.matrix.coo", "is.matrix.csc", "is.matrix.csr", "is.matrix.ssc", "is.matrix.ssr", "is.matrix.coo"],
|
|
96
|
+
"spatstat": ["lengths.psp"], "splusTimeDate": ["sort.list"], "splusTimeSeries": ["sort.list"],
|
|
97
|
+
"stats": ["anova.lmlist", "expand.model.frame", "fitted.values", "influence.measures", "lag.plot", "qr.influence", "t.test", "plot.spec.phase", "plot.spec.coherency"],
|
|
98
|
+
"stremo": ["sigma.hat"], "supclust": ["sign.change", "sign.flip"], "TANOVA": ["sigma.hat"], "TeachingDemos": ["sigma.test"],
|
|
99
|
+
"tensorA": ["chol.tensor"], "utils": ["close.socket", "flush.console", "update.packages"], "wavelets": ["plot.dwt.multiple"],
|
|
100
|
+
"XML": ["text.SAX"]
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=r-s3-generics.generated.js.map
|
package/dataflow/cluster.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.findAllClusters = findAllClusters;
|
|
|
4
4
|
const edge_1 = require("./graph/edge");
|
|
5
5
|
const assert_1 = require("../util/assert");
|
|
6
6
|
const vertex_1 = require("./graph/vertex");
|
|
7
|
+
const identifier_1 = require("./environments/identifier");
|
|
7
8
|
/**
|
|
8
9
|
* Find all clusters in the given dataflow graph.
|
|
9
10
|
*/
|
|
@@ -72,7 +73,7 @@ function makeCluster(graph, from, notReached, incoming) {
|
|
|
72
73
|
continue;
|
|
73
74
|
}
|
|
74
75
|
// don't cluster for function content if it isn't returned
|
|
75
|
-
if (edge_1.DfEdge.doesNotIncludeType(e, edge_1.EdgeType.Returns) && info.onlyBuiltin && info.name === '{') {
|
|
76
|
+
if (edge_1.DfEdge.doesNotIncludeType(e, edge_1.EdgeType.Returns) && vertex_1.DfgVertex.isFunctionCall(info) && info.onlyBuiltin && identifier_1.Identifier.getName(info.name) === '{') {
|
|
76
77
|
continue;
|
|
77
78
|
}
|
|
78
79
|
reach(dest);
|
|
@@ -6,6 +6,7 @@ import type { IdentifierDefinition } from './identifier';
|
|
|
6
6
|
export declare function uniqueMergeValuesInDefinitions(old: readonly IdentifierDefinition[], value: readonly IdentifierDefinition[]): IdentifierDefinition[];
|
|
7
7
|
/**
|
|
8
8
|
* Adds all writes of `next` to `base` (i.e., the operations of `next` *might* happen).
|
|
9
|
+
* @useInstead {@link REnvironment.append}
|
|
9
10
|
*/
|
|
10
11
|
export declare function appendEnvironment(base: REnvironmentInformation, next: REnvironmentInformation | undefined): REnvironmentInformation;
|
|
11
12
|
export declare function appendEnvironment(base: REnvironmentInformation | undefined, next: REnvironmentInformation): REnvironmentInformation;
|