@eagleoutice/flowr 2.6.1 → 2.6.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 +142 -39
- package/abstract-interpretation/data-frame/absint-info.d.ts +1 -1
- package/abstract-interpretation/data-frame/absint-visitor.d.ts +2 -3
- package/abstract-interpretation/data-frame/absint-visitor.js +17 -12
- package/abstract-interpretation/data-frame/dataframe-domain.d.ts +18 -12
- package/abstract-interpretation/data-frame/dataframe-domain.js +25 -13
- package/abstract-interpretation/data-frame/mappers/access-mapper.d.ts +0 -1
- package/abstract-interpretation/data-frame/mappers/access-mapper.js +0 -1
- package/abstract-interpretation/data-frame/mappers/arguments.d.ts +1 -10
- package/abstract-interpretation/data-frame/mappers/arguments.js +0 -7
- package/abstract-interpretation/data-frame/mappers/assignment-mapper.d.ts +0 -1
- package/abstract-interpretation/data-frame/mappers/assignment-mapper.js +0 -1
- package/abstract-interpretation/data-frame/mappers/function-mapper.d.ts +9 -10
- package/abstract-interpretation/data-frame/mappers/function-mapper.js +21 -18
- package/abstract-interpretation/data-frame/mappers/replacement-mapper.d.ts +0 -1
- package/abstract-interpretation/data-frame/mappers/replacement-mapper.js +0 -1
- package/abstract-interpretation/data-frame/resolve-args.d.ts +1 -1
- package/abstract-interpretation/data-frame/semantics.d.ts +3 -4
- package/abstract-interpretation/data-frame/semantics.js +179 -162
- package/abstract-interpretation/data-frame/shape-inference.d.ts +4 -7
- package/abstract-interpretation/data-frame/shape-inference.js +10 -12
- package/abstract-interpretation/domains/abstract-domain.d.ts +59 -18
- package/abstract-interpretation/domains/abstract-domain.js +74 -1
- package/abstract-interpretation/domains/bounded-set-domain.d.ts +37 -24
- package/abstract-interpretation/domains/bounded-set-domain.js +70 -47
- package/abstract-interpretation/domains/interval-domain.d.ts +33 -25
- package/abstract-interpretation/domains/interval-domain.js +109 -50
- package/abstract-interpretation/domains/lattice.d.ts +19 -11
- package/abstract-interpretation/domains/mapped-abstract-domain.d.ts +34 -0
- package/abstract-interpretation/domains/mapped-abstract-domain.js +189 -0
- package/abstract-interpretation/domains/positive-interval-domain.d.ts +16 -12
- package/abstract-interpretation/domains/positive-interval-domain.js +20 -11
- package/abstract-interpretation/domains/product-domain.d.ts +18 -23
- package/abstract-interpretation/domains/product-domain.js +11 -19
- package/abstract-interpretation/domains/satisfiable-domain.d.ts +29 -0
- package/abstract-interpretation/domains/satisfiable-domain.js +24 -0
- package/abstract-interpretation/domains/set-upper-bound-domain.d.ts +54 -0
- package/abstract-interpretation/domains/set-upper-bound-domain.js +197 -0
- package/abstract-interpretation/domains/singleton-domain.d.ts +24 -19
- package/abstract-interpretation/domains/singleton-domain.js +52 -37
- package/abstract-interpretation/domains/state-abstract-domain.d.ts +8 -24
- package/abstract-interpretation/domains/state-abstract-domain.js +2 -167
- package/abstract-interpretation/normalized-ast-fold.d.ts +2 -8
- package/abstract-interpretation/normalized-ast-fold.js +0 -5
- package/benchmark/slicer.d.ts +4 -7
- package/benchmark/slicer.js +27 -31
- package/benchmark/stats/print.d.ts +6 -0
- package/benchmark/stats/print.js +6 -0
- package/benchmark/stats/size-of.d.ts +0 -1
- package/benchmark/stats/size-of.js +0 -1
- package/benchmark/stats/stats.d.ts +2 -2
- package/benchmark/stopwatch.d.ts +11 -13
- package/benchmark/stopwatch.js +11 -13
- package/benchmark/summarizer/first-phase/input.d.ts +6 -0
- package/benchmark/summarizer/first-phase/input.js +6 -0
- package/benchmark/summarizer/first-phase/process.d.ts +13 -1
- package/benchmark/summarizer/first-phase/process.js +13 -1
- package/benchmark/summarizer/second-phase/graph.d.ts +5 -0
- package/benchmark/summarizer/second-phase/graph.js +5 -0
- package/benchmark/summarizer/second-phase/process.d.ts +12 -0
- package/benchmark/summarizer/second-phase/process.js +12 -0
- package/benchmark/summarizer/summarizer.d.ts +1 -2
- package/cli/benchmark-app.js +0 -2
- package/cli/common/features.d.ts +7 -1
- package/cli/common/features.js +6 -0
- package/cli/common/script.d.ts +3 -1
- package/cli/common/script.js +3 -1
- package/cli/common/scripts-info.d.ts +3 -1
- package/cli/common/scripts-info.js +3 -0
- package/cli/export-quads-app.js +1 -1
- package/cli/flowr-main-options.d.ts +3 -0
- package/cli/flowr-main-options.js +3 -0
- package/cli/repl/commands/repl-commands.d.ts +13 -0
- package/cli/repl/commands/repl-commands.js +13 -2
- package/cli/repl/commands/repl-dataflow.js +2 -1
- package/cli/repl/commands/repl-execute.d.ts +4 -0
- package/cli/repl/commands/repl-execute.js +6 -2
- package/cli/repl/commands/repl-main.d.ts +15 -9
- package/cli/repl/commands/repl-parse.js +18 -6
- package/cli/repl/commands/repl-query.js +16 -5
- package/cli/repl/core.d.ts +24 -6
- package/cli/repl/core.js +42 -30
- package/cli/repl/execute.d.ts +0 -2
- package/cli/repl/execute.js +0 -2
- package/cli/repl/parser/slice-query-parser.d.ts +14 -0
- package/cli/repl/parser/slice-query-parser.js +34 -0
- package/cli/repl/print-version.d.ts +6 -0
- package/cli/repl/print-version.js +6 -0
- package/cli/repl/server/compact.d.ts +8 -0
- package/cli/repl/server/compact.js +8 -0
- package/cli/repl/server/connection.d.ts +4 -3
- package/cli/repl/server/connection.js +5 -32
- package/cli/repl/server/messages/all-messages.d.ts +1 -3
- package/cli/repl/server/messages/all-messages.js +0 -1
- package/cli/repl/server/messages/message-analysis.d.ts +0 -2
- package/cli/repl/server/messages/message-query.d.ts +1 -1
- package/cli/repl/server/messages/message-repl.d.ts +0 -1
- package/cli/repl/server/send.d.ts +6 -0
- package/cli/repl/server/send.js +6 -0
- package/cli/repl/server/server.d.ts +1 -1
- package/cli/repl/server/validate.d.ts +10 -1
- package/cli/repl/server/validate.js +9 -0
- package/cli/run-script.d.ts +1 -2
- package/cli/run-script.js +0 -1
- package/cli/script-core/statistics-core.d.ts +3 -0
- package/cli/script-core/statistics-core.js +3 -0
- package/cli/script-core/statistics-helper-core.d.ts +4 -1
- package/cli/script-core/statistics-helper-core.js +5 -1
- package/cli/script-core/summarizer-core.d.ts +3 -0
- package/cli/script-core/summarizer-core.js +3 -0
- package/cli/slicer-app.js +3 -4
- package/cli/summarizer-app.d.ts +2 -3
- package/cli/summarizer-app.js +2 -3
- package/cli/wiki.d.ts +4 -0
- package/cli/wiki.js +165 -0
- package/config.d.ts +21 -3
- package/config.js +21 -0
- package/control-flow/basic-cfg-guided-visitor.d.ts +1 -2
- package/control-flow/basic-cfg-guided-visitor.js +0 -1
- package/control-flow/cfg-dead-code.js +13 -3
- package/control-flow/cfg-simplification.d.ts +5 -2
- package/control-flow/cfg-simplification.js +3 -0
- package/control-flow/cfg-to-basic-blocks.d.ts +1 -1
- package/control-flow/control-flow-graph.d.ts +20 -12
- package/control-flow/control-flow-graph.js +16 -4
- package/control-flow/dfg-cfg-guided-visitor.d.ts +2 -3
- package/control-flow/diff-cfg.d.ts +3 -5
- package/control-flow/diff-cfg.js +0 -1
- package/control-flow/extract-cfg.d.ts +12 -9
- package/control-flow/extract-cfg.js +44 -7
- package/control-flow/happens-before.d.ts +1 -1
- package/control-flow/semantic-cfg-guided-visitor.d.ts +4 -33
- package/control-flow/semantic-cfg-guided-visitor.js +0 -28
- package/control-flow/simple-visitor.d.ts +1 -3
- package/control-flow/simple-visitor.js +2 -4
- package/control-flow/syntax-cfg-guided-visitor.d.ts +1 -2
- package/control-flow/useless-loop.d.ts +3 -6
- package/control-flow/useless-loop.js +16 -10
- package/core/pipeline-executor.d.ts +11 -22
- package/core/pipeline-executor.js +13 -25
- package/core/print/dataflow-printer.d.ts +19 -0
- package/core/print/dataflow-printer.js +19 -0
- package/core/print/normalize-printer.d.ts +21 -1
- package/core/print/normalize-printer.js +21 -1
- package/core/print/parse-printer.d.ts +6 -1
- package/core/print/parse-printer.js +5 -0
- package/core/print/print.d.ts +0 -1
- package/core/print/print.js +0 -1
- package/core/print/slice-diff-ansi.d.ts +3 -0
- package/core/print/slice-diff-ansi.js +3 -0
- package/core/steps/all/core/00-parse.d.ts +2 -2
- package/core/steps/all/core/00-parse.js +1 -1
- package/core/steps/all/core/01-parse-tree-sitter.d.ts +1 -11
- package/core/steps/all/core/10-normalize.d.ts +3 -6
- package/core/steps/all/core/10-normalize.js +1 -13
- package/core/steps/all/core/11-normalize-tree-sitter.d.ts +5 -5
- package/core/steps/all/core/11-normalize-tree-sitter.js +2 -3
- package/core/steps/all/core/20-dataflow.d.ts +3 -4
- package/core/steps/all/core/20-dataflow.js +2 -2
- package/core/steps/all/static-slicing/00-slice.d.ts +1 -2
- package/core/steps/all/static-slicing/00-slice.js +1 -1
- package/core/steps/all/static-slicing/10-reconstruct.d.ts +8 -0
- package/core/steps/all/static-slicing/10-reconstruct.js +4 -1
- package/core/steps/pipeline/create-pipeline.d.ts +1 -1
- package/core/steps/pipeline/default-pipelines.d.ts +94 -95
- package/core/steps/pipeline/default-pipelines.js +8 -12
- package/core/steps/pipeline/pipeline.d.ts +1 -8
- package/core/steps/pipeline/pipeline.js +1 -3
- package/core/steps/pipeline-step.d.ts +0 -1
- package/core/steps/pipeline-step.js +0 -1
- package/dataflow/cluster.d.ts +3 -0
- package/dataflow/cluster.js +3 -0
- package/dataflow/environments/append.d.ts +1 -1
- package/dataflow/environments/built-in-config.d.ts +1 -5
- package/dataflow/environments/built-in-config.js +0 -1
- package/dataflow/environments/built-in.d.ts +10 -5
- package/dataflow/environments/built-in.js +6 -1
- package/dataflow/environments/clone.d.ts +1 -2
- package/dataflow/environments/clone.js +12 -2
- package/dataflow/environments/default-builtin-config.d.ts +3 -0
- package/dataflow/environments/default-builtin-config.js +4 -1
- package/dataflow/environments/diff.d.ts +11 -2
- package/dataflow/environments/diff.js +11 -2
- package/dataflow/environments/environment.d.ts +3 -3
- package/dataflow/environments/environment.js +8 -6
- package/dataflow/environments/identifier.d.ts +0 -4
- package/dataflow/environments/identifier.js +0 -1
- package/dataflow/environments/overwrite.d.ts +1 -2
- package/dataflow/environments/overwrite.js +3 -16
- package/dataflow/environments/resolve-by-name.d.ts +4 -4
- package/dataflow/environments/resolve-by-name.js +3 -2
- package/dataflow/environments/scoping.d.ts +9 -2
- package/dataflow/environments/scoping.js +8 -1
- package/dataflow/eval/resolve/alias-tracking.d.ts +4 -10
- package/dataflow/eval/resolve/alias-tracking.js +11 -14
- package/dataflow/eval/resolve/resolve-argument.d.ts +1 -1
- package/dataflow/eval/resolve/resolve-argument.js +2 -2
- package/dataflow/eval/resolve/resolve.d.ts +1 -7
- package/dataflow/eval/resolve/resolve.js +0 -5
- package/dataflow/eval/values/general.d.ts +1 -3
- package/dataflow/eval/values/general.js +0 -1
- package/dataflow/eval/values/intervals/interval-constants.d.ts +7 -1
- package/dataflow/eval/values/intervals/interval-constants.js +6 -0
- package/dataflow/eval/values/logical/logical-constants.d.ts +4 -1
- package/dataflow/eval/values/logical/logical-constants.js +3 -0
- package/dataflow/eval/values/r-value.d.ts +12 -0
- package/dataflow/eval/values/r-value.js +12 -0
- package/dataflow/eval/values/scalar/scalar-consatnts.d.ts +7 -1
- package/dataflow/eval/values/scalar/scalar-consatnts.js +6 -0
- package/dataflow/eval/values/sets/set-constants.d.ts +7 -2
- package/dataflow/eval/values/sets/set-constants.js +6 -0
- package/dataflow/eval/values/string/string-constants.d.ts +16 -1
- package/dataflow/eval/values/string/string-constants.js +15 -0
- package/dataflow/eval/values/vectors/vector-constants.d.ts +1 -1
- package/dataflow/extractor.d.ts +3 -4
- package/dataflow/extractor.js +25 -22
- package/dataflow/graph/dataflowgraph-builder.d.ts +20 -38
- package/dataflow/graph/dataflowgraph-builder.js +6 -23
- package/dataflow/graph/diff-dataflow-graph.d.ts +16 -6
- package/dataflow/graph/diff-dataflow-graph.js +12 -1
- package/dataflow/graph/edge.d.ts +9 -0
- package/dataflow/graph/edge.js +9 -0
- package/dataflow/graph/graph.d.ts +9 -28
- package/dataflow/graph/graph.js +4 -28
- package/dataflow/graph/invert-dfg.d.ts +3 -0
- package/dataflow/graph/invert-dfg.js +3 -0
- package/dataflow/graph/quads.d.ts +1 -1
- package/dataflow/graph/unknown-replacement.d.ts +8 -0
- package/dataflow/graph/unknown-replacement.js +8 -0
- package/dataflow/graph/unknown-side-effect.d.ts +8 -0
- package/dataflow/graph/unknown-side-effect.js +8 -0
- package/dataflow/graph/vertex.d.ts +9 -9
- package/dataflow/graph/vertex.js +9 -1
- package/dataflow/info.d.ts +16 -10
- package/dataflow/info.js +27 -1
- package/dataflow/internal/linker.d.ts +25 -9
- package/dataflow/internal/linker.js +30 -11
- package/dataflow/internal/process/functions/call/argument/make-argument.d.ts +6 -0
- package/dataflow/internal/process/functions/call/argument/make-argument.js +6 -1
- package/dataflow/internal/process/functions/call/argument/unpack-argument.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-access.d.ts +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-access.js +6 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.d.ts +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +4 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.d.ts +6 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +9 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.d.ts +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.d.ts +5 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.d.ts +10 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +7 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-get.d.ts +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-get.js +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.d.ts +5 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +5 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-library.d.ts +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-list.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-list.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-pipe.d.ts +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +6 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.d.ts +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.d.ts +10 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +8 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.d.ts +6 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.js +5 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.d.ts +4 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +3 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +34 -12
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +90 -68
- package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.d.ts +5 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.js +5 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-vector.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-vector.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.d.ts +5 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +4 -1
- package/dataflow/internal/process/functions/call/common.d.ts +11 -5
- package/dataflow/internal/process/functions/call/common.js +9 -3
- package/dataflow/internal/process/functions/call/default-call-handling.d.ts +5 -0
- package/dataflow/internal/process/functions/call/default-call-handling.js +5 -0
- package/dataflow/internal/process/functions/call/known-call-handling.d.ts +12 -5
- package/dataflow/internal/process/functions/call/known-call-handling.js +10 -3
- package/dataflow/internal/process/functions/call/named-call-handling.d.ts +7 -1
- package/dataflow/internal/process/functions/call/named-call-handling.js +10 -4
- package/dataflow/internal/process/functions/call/unnamed-call-handling.d.ts +4 -1
- package/dataflow/internal/process/functions/call/unnamed-call-handling.js +3 -0
- package/dataflow/internal/process/functions/process-argument.d.ts +8 -2
- package/dataflow/internal/process/functions/process-argument.js +6 -0
- package/dataflow/internal/process/functions/process-parameter.d.ts +5 -2
- package/dataflow/internal/process/functions/process-parameter.js +7 -4
- package/dataflow/internal/process/process-symbol.d.ts +3 -0
- package/dataflow/internal/process/process-symbol.js +3 -0
- package/dataflow/internal/process/process-uninteresting-leaf.d.ts +3 -0
- package/dataflow/internal/process/process-uninteresting-leaf.js +3 -0
- package/dataflow/internal/process/process-value.d.ts +3 -0
- package/dataflow/internal/process/process-value.js +3 -0
- package/dataflow/origin/dfg-get-origin.d.ts +0 -2
- package/dataflow/origin/dfg-get-symbol-refs.d.ts +6 -8
- package/dataflow/origin/dfg-get-symbol-refs.js +7 -9
- package/dataflow/processor.d.ts +6 -12
- package/dataflow/processor.js +0 -1
- package/documentation/data/dfg/doc-data-dfg-util.d.ts +6 -2
- package/documentation/data/dfg/doc-data-dfg-util.js +6 -0
- package/documentation/data/faq/faqs.d.ts +5 -0
- package/documentation/data/faq/faqs.js +87 -0
- package/documentation/data/faq/recommended-configs.d.ts +36 -0
- package/documentation/data/faq/recommended-configs.js +40 -0
- package/documentation/data/faq/wiki-faq-store.d.ts +19 -0
- package/documentation/data/faq/wiki-faq-store.js +83 -0
- package/documentation/data/server/doc-data-server-messages.d.ts +3 -0
- package/documentation/data/server/doc-data-server-messages.js +5 -64
- package/documentation/doc-capabilities.d.ts +9 -0
- package/documentation/{print-capabilities-markdown.js → doc-capabilities.js} +18 -21
- package/documentation/doc-readme.d.ts +9 -0
- package/documentation/{print-readme.js → doc-readme.js} +136 -35
- package/documentation/doc-util/doc-auto-gen.d.ts +6 -0
- package/documentation/doc-util/doc-auto-gen.js +6 -0
- package/documentation/doc-util/doc-benchmarks.d.ts +14 -0
- package/documentation/doc-util/doc-benchmarks.js +14 -0
- package/documentation/doc-util/doc-cfg.d.ts +7 -1
- package/documentation/doc-util/doc-cfg.js +14 -8
- package/documentation/doc-util/doc-cli-option.d.ts +9 -0
- package/documentation/doc-util/doc-cli-option.js +9 -0
- package/documentation/doc-util/doc-code.d.ts +24 -0
- package/documentation/doc-util/doc-code.js +24 -0
- package/documentation/doc-util/doc-dfg.d.ts +12 -6
- package/documentation/doc-util/doc-dfg.js +19 -10
- package/documentation/doc-util/doc-env.d.ts +3 -0
- package/documentation/doc-util/doc-env.js +3 -0
- package/documentation/doc-util/doc-escape.d.ts +6 -1
- package/documentation/doc-util/doc-escape.js +11 -1
- package/documentation/doc-util/doc-files.d.ts +11 -0
- package/documentation/doc-util/doc-files.js +15 -4
- package/documentation/doc-util/doc-general.d.ts +26 -0
- package/documentation/doc-util/doc-general.js +26 -0
- package/documentation/doc-util/doc-normalized-ast.d.ts +14 -3
- package/documentation/doc-util/doc-normalized-ast.js +16 -7
- package/documentation/doc-util/doc-query.d.ts +26 -3
- package/documentation/doc-util/doc-query.js +34 -12
- package/documentation/doc-util/doc-repl.d.ts +6 -0
- package/documentation/doc-util/doc-repl.js +6 -0
- package/documentation/doc-util/doc-search.d.ts +3 -18
- package/documentation/doc-util/doc-search.js +6 -62
- package/documentation/doc-util/doc-server-message.d.ts +18 -6
- package/documentation/doc-util/doc-server-message.js +17 -5
- package/documentation/doc-util/doc-structure.d.ts +9 -0
- package/documentation/doc-util/doc-structure.js +10 -1
- package/documentation/doc-util/doc-types.d.ts +90 -11
- package/documentation/doc-util/doc-types.js +128 -39
- package/documentation/index.d.ts +9 -9
- package/documentation/index.js +9 -9
- package/documentation/issue-linting-rule.d.ts +9 -0
- package/documentation/{print-linter-issue.js → issue-linting-rule.js} +20 -23
- package/documentation/wiki-analyzer.d.ts +9 -0
- package/documentation/wiki-analyzer.js +412 -0
- package/documentation/wiki-cfg.d.ts +9 -0
- package/documentation/{print-cfg-wiki.js → wiki-cfg.js} +144 -160
- package/documentation/wiki-core.d.ts +14 -0
- package/documentation/{print-core-wiki.js → wiki-core.js} +167 -175
- package/documentation/wiki-dataflow-graph.d.ts +9 -0
- package/documentation/{print-dataflow-graph-wiki.js → wiki-dataflow-graph.js} +145 -175
- package/documentation/wiki-engine.d.ts +9 -0
- package/documentation/{print-engines-wiki.js → wiki-engine.js} +27 -42
- package/documentation/wiki-faq.d.ts +8 -0
- package/documentation/wiki-faq.js +22 -0
- package/documentation/wiki-interface.d.ts +9 -0
- package/documentation/{print-interface-wiki.js → wiki-interface.js} +60 -57
- package/documentation/wiki-linter.d.ts +9 -0
- package/documentation/{print-linter-wiki.js → wiki-linter.js} +52 -48
- package/documentation/wiki-linting-and-testing.d.ts +9 -0
- package/documentation/{print-linting-and-testing-wiki.js → wiki-linting-and-testing.js} +25 -32
- package/documentation/wiki-mk/doc-context.d.ts +186 -0
- package/documentation/wiki-mk/doc-context.js +84 -0
- package/documentation/wiki-mk/doc-maker.d.ts +95 -0
- package/documentation/wiki-mk/doc-maker.js +133 -0
- package/documentation/wiki-normalized-ast.d.ts +9 -0
- package/documentation/{print-normalized-ast-wiki.js → wiki-normalized-ast.js} +64 -47
- package/documentation/wiki-onboarding.d.ts +8 -0
- package/documentation/{print-onboarding-wiki.js → wiki-onboarding.js} +18 -15
- package/documentation/wiki-query.d.ts +9 -0
- package/documentation/{print-query-wiki.js → wiki-query.js} +65 -80
- package/documentation/wiki-search.d.ts +9 -0
- package/documentation/wiki-search.js +61 -0
- package/engines.d.ts +1 -1
- package/linter/linter-executor.d.ts +6 -3
- package/linter/linter-executor.js +6 -2
- package/linter/linter-format.d.ts +10 -2
- package/linter/linter-format.js +8 -0
- package/linter/linter-rules.d.ts +13 -17
- package/linter/rules/absolute-path.d.ts +4 -6
- package/linter/rules/absolute-path.js +2 -2
- package/linter/rules/dataframe-access-validation.d.ts +4 -5
- package/linter/rules/dataframe-access-validation.js +21 -19
- package/linter/rules/dead-code.d.ts +2 -2
- package/linter/rules/deprecated-functions.d.ts +2 -6
- package/linter/rules/file-path-validity.d.ts +2 -3
- package/linter/rules/file-path-validity.js +4 -4
- package/linter/rules/function-finder-util.d.ts +2 -7
- package/linter/rules/naming-convention.d.ts +15 -4
- package/linter/rules/naming-convention.js +14 -2
- package/linter/rules/network-functions.d.ts +2 -2
- package/linter/rules/network-functions.js +1 -1
- package/linter/rules/seeded-randomness.d.ts +4 -4
- package/linter/rules/seeded-randomness.js +33 -13
- package/linter/rules/unused-definition.d.ts +3 -4
- package/linter/rules/useless-loop.d.ts +3 -4
- package/linter/rules/useless-loop.js +2 -2
- package/package.json +7 -18
- package/project/cache/flowr-analyzer-cache.d.ts +9 -19
- package/project/cache/flowr-analyzer-cache.js +17 -44
- package/project/cache/flowr-analyzer-controlflow-cache.d.ts +34 -0
- package/project/cache/flowr-analyzer-controlflow-cache.js +79 -0
- package/project/context/flowr-analyzer-context.d.ts +31 -9
- package/project/context/flowr-analyzer-context.js +48 -4
- package/project/context/flowr-analyzer-dependencies-context.d.ts +0 -1
- package/project/context/flowr-analyzer-files-context.d.ts +63 -15
- package/project/context/flowr-analyzer-files-context.js +110 -39
- package/project/context/flowr-file.d.ts +32 -11
- package/project/context/flowr-file.js +30 -9
- package/project/flowr-analyzer-builder.d.ts +23 -31
- package/project/flowr-analyzer-builder.js +35 -74
- package/project/flowr-analyzer.d.ts +79 -29
- package/project/flowr-analyzer.js +59 -15
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +8 -2
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +13 -5
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.d.ts +3 -3
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +11 -5
- package/project/plugins/file-plugins/flowr-description-file.d.ts +3 -5
- package/project/plugins/file-plugins/flowr-description-file.js +0 -1
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-jupyter-file-plugin.d.ts +22 -0
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-jupyter-file-plugin.js +33 -0
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.d.ts +22 -0
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.js +33 -0
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.d.ts +22 -0
- package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.js +33 -0
- package/project/plugins/file-plugins/notebooks/flowr-jupyter-file.d.ts +20 -0
- package/project/plugins/file-plugins/notebooks/flowr-jupyter-file.js +42 -0
- package/project/plugins/file-plugins/notebooks/flowr-rmarkdown-file.d.ts +59 -0
- package/project/plugins/file-plugins/notebooks/flowr-rmarkdown-file.js +132 -0
- package/project/plugins/file-plugins/notebooks/notebook.d.ts +0 -0
- package/project/plugins/file-plugins/notebooks/notebook.js +2 -0
- package/project/plugins/flowr-analyzer-plugin-defaults.d.ts +5 -0
- package/project/plugins/flowr-analyzer-plugin-defaults.js +23 -0
- package/project/plugins/flowr-analyzer-plugin.d.ts +2 -0
- package/project/plugins/flowr-analyzer-plugin.js +2 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +1 -1
- package/project/plugins/plugin-registry.d.ts +34 -0
- package/project/plugins/plugin-registry.js +62 -0
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.d.ts +1 -1
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +7 -1
- package/queries/base-query-format.d.ts +2 -2
- package/queries/catalog/call-context-query/call-context-query-executor.d.ts +3 -0
- package/queries/catalog/call-context-query/call-context-query-executor.js +7 -2
- package/queries/catalog/call-context-query/call-context-query-format.d.ts +3 -3
- package/queries/catalog/call-context-query/identify-link-to-last-call-relation.d.ts +16 -4
- package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +34 -18
- package/queries/catalog/cluster-query/cluster-query-executor.d.ts +3 -0
- package/queries/catalog/cluster-query/cluster-query-executor.js +3 -0
- package/queries/catalog/cluster-query/cluster-query-format.d.ts +1 -1
- package/queries/catalog/config-query/config-query-executor.d.ts +3 -0
- package/queries/catalog/config-query/config-query-executor.js +3 -0
- package/queries/catalog/config-query/config-query-format.d.ts +5 -2
- package/queries/catalog/config-query/config-query-format.js +13 -16
- package/queries/catalog/control-flow-query/control-flow-query-executor.d.ts +3 -0
- package/queries/catalog/control-flow-query/control-flow-query-executor.js +3 -0
- package/queries/catalog/control-flow-query/control-flow-query-format.d.ts +3 -3
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.d.ts +3 -0
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.js +3 -0
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.d.ts +1 -1
- package/queries/catalog/dataflow-query/dataflow-query-executor.d.ts +3 -0
- package/queries/catalog/dataflow-query/dataflow-query-executor.js +3 -0
- package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +1 -1
- package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +4 -1
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +7 -4
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +4 -1
- package/queries/catalog/dependencies-query/dependencies-query-format.js +5 -2
- package/queries/catalog/df-shape-query/df-shape-query-executor.d.ts +4 -1
- package/queries/catalog/df-shape-query/df-shape-query-executor.js +8 -4
- package/queries/catalog/df-shape-query/df-shape-query-format.d.ts +10 -3
- package/queries/catalog/df-shape-query/df-shape-query-format.js +25 -5
- package/queries/catalog/happens-before-query/happens-before-query-executor.d.ts +4 -0
- package/queries/catalog/happens-before-query/happens-before-query-executor.js +4 -0
- package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +1 -1
- package/queries/catalog/id-map-query/id-map-query-executor.d.ts +3 -0
- package/queries/catalog/id-map-query/id-map-query-executor.js +3 -0
- package/queries/catalog/id-map-query/id-map-query-format.d.ts +1 -1
- 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 +3 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +2 -2
- package/queries/catalog/linter-query/linter-query-executor.d.ts +4 -0
- package/queries/catalog/linter-query/linter-query-executor.js +4 -0
- package/queries/catalog/linter-query/linter-query-format.d.ts +12 -3
- package/queries/catalog/linter-query/linter-query-format.js +80 -2
- package/queries/catalog/location-map-query/location-map-query-executor.d.ts +4 -0
- package/queries/catalog/location-map-query/location-map-query-executor.js +7 -2
- package/queries/catalog/location-map-query/location-map-query-format.d.ts +7 -1
- package/queries/catalog/location-map-query/location-map-query-format.js +12 -0
- package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.d.ts +3 -0
- package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.js +3 -0
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-executor.d.ts +7 -1
- package/queries/catalog/origin-query/origin-query-executor.js +6 -0
- package/queries/catalog/origin-query/origin-query-format.d.ts +7 -1
- package/queries/catalog/origin-query/origin-query-format.js +17 -1
- package/queries/catalog/project-query/project-query-executor.d.ts +3 -0
- package/queries/catalog/project-query/project-query-executor.js +6 -1
- package/queries/catalog/project-query/project-query-format.d.ts +1 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-executor.d.ts +6 -0
- package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +6 -0
- package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +7 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-format.js +19 -1
- package/queries/catalog/search-query/search-query-executor.d.ts +3 -0
- package/queries/catalog/search-query/search-query-executor.js +3 -0
- package/queries/catalog/search-query/search-query-format.d.ts +1 -1
- package/queries/catalog/static-slice-query/static-slice-query-executor.d.ts +9 -0
- package/queries/catalog/static-slice-query/static-slice-query-executor.js +10 -1
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +7 -1
- package/queries/catalog/static-slice-query/static-slice-query-format.js +30 -1
- package/queries/query-print.d.ts +20 -4
- package/queries/query-print.js +18 -2
- package/queries/query.d.ts +93 -55
- package/queries/query.js +55 -23
- package/queries/virtual-query/virtual-queries.d.ts +1 -2
- package/r-bridge/data/get.d.ts +6 -0
- package/r-bridge/data/get.js +6 -0
- package/r-bridge/lang-4.x/ast/model/collect.d.ts +2 -2
- package/r-bridge/lang-4.x/ast/model/collect.js +4 -1
- package/r-bridge/lang-4.x/ast/model/model.d.ts +8 -11
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.js +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-project.d.ts +29 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-project.js +15 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.js +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.js +3 -0
- package/r-bridge/lang-4.x/ast/model/operators.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/model/processing/decorate.d.ts +11 -14
- package/r-bridge/lang-4.x/ast/model/processing/decorate.js +30 -17
- package/r-bridge/lang-4.x/ast/model/processing/fold.d.ts +1 -1
- package/r-bridge/lang-4.x/ast/model/processing/node-id.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/model/processing/node-id.js +0 -1
- package/r-bridge/lang-4.x/ast/model/processing/role.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/model/processing/stateful-fold.d.ts +1 -2
- package/r-bridge/lang-4.x/ast/model/processing/visitor.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/model/processing/visitor.js +0 -1
- package/r-bridge/lang-4.x/ast/model/type.d.ts +6 -5
- package/r-bridge/lang-4.x/ast/model/type.js +6 -5
- package/r-bridge/lang-4.x/ast/model/versions.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/model/versions.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/json/format.js +1 -1
- package/r-bridge/lang-4.x/ast/parser/json/parser.d.ts +12 -12
- package/r-bridge/lang-4.x/ast/parser/json/parser.js +11 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/control/normalize-if-then.d.ts +1 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/expression/normalize-expression.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/expression/normalize-expression.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-argument.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-argument.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-call.d.ts +1 -3
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-call.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-definition.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-definition.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-parameter.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-parameter.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-break.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-break.js +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-for.d.ts +4 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-for.js +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-next.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-next.js +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-repeat.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-repeat.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-while.d.ts +4 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-while.js +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/normalize-access.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/normalize-access.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-binary.d.ts +1 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-unary.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-unary.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/other/normalize-comment.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/other/normalize-comment.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/other/normalize-line-directive.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/other/normalize-line-directive.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-delimiter.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-delimiter.js +3 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-expressions.d.ts +9 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-expressions.js +9 -0
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-root.d.ts +4 -3
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-root.js +20 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-single-node.d.ts +1 -3
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-single-node.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.d.ts +1 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.d.ts +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.js +0 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-symbol.d.ts +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-symbol.js +0 -2
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.d.ts +14 -5
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.js +13 -6
- package/r-bridge/lang-4.x/convert-values.d.ts +12 -1
- package/r-bridge/lang-4.x/convert-values.js +12 -1
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.d.ts +7 -2
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.js +18 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.d.ts +15 -2
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +62 -24
- package/r-bridge/parser.d.ts +43 -12
- package/r-bridge/parser.js +27 -13
- package/r-bridge/retriever.d.ts +25 -16
- package/r-bridge/retriever.js +29 -5
- package/r-bridge/shell-executor.d.ts +3 -3
- package/r-bridge/shell-executor.js +6 -1
- package/r-bridge/shell.d.ts +24 -23
- package/r-bridge/shell.js +37 -31
- package/reconstruct/auto-select/auto-select-defaults.d.ts +0 -2
- package/reconstruct/auto-select/magic-comments.d.ts +1 -2
- package/reconstruct/auto-select/magic-comments.js +2 -3
- package/reconstruct/reconstruct.d.ts +18 -12
- package/reconstruct/reconstruct.js +19 -10
- package/search/flowr-search-builder.d.ts +12 -5
- package/search/flowr-search-builder.js +7 -2
- package/search/flowr-search-executor.d.ts +3 -3
- package/search/flowr-search-filters.d.ts +14 -1
- package/search/flowr-search-filters.js +13 -0
- package/search/flowr-search-printer.d.ts +6 -0
- package/search/flowr-search-printer.js +6 -0
- package/search/flowr-search-traverse.d.ts +1 -1
- package/search/flowr-search.d.ts +15 -3
- package/search/search-executor/search-enrichers.d.ts +16 -6
- package/search/search-executor/search-enrichers.js +4 -3
- package/search/search-executor/search-generators.d.ts +19 -10
- package/search/search-executor/search-generators.js +57 -5
- package/search/search-executor/search-mappers.d.ts +8 -5
- package/search/search-executor/search-mappers.js +3 -0
- package/search/search-executor/search-transformer.d.ts +19 -16
- package/search/search-executor/search-transformer.js +3 -0
- package/slicing/criterion/collect-all.d.ts +13 -12
- package/slicing/criterion/collect-all.js +1 -1
- package/slicing/criterion/parse.d.ts +4 -2
- package/slicing/criterion/parse.js +8 -6
- package/slicing/static/fingerprint.d.ts +9 -1
- package/slicing/static/fingerprint.js +8 -0
- package/slicing/static/slice-call.d.ts +2 -2
- package/slicing/static/static-slicer.d.ts +8 -4
- package/slicing/static/static-slicer.js +5 -1
- package/slicing/static/visiting-queue.d.ts +1 -1
- package/statistics/features/common-syntax-probability.d.ts +10 -1
- package/statistics/features/common-syntax-probability.js +9 -0
- package/statistics/features/feature.d.ts +0 -4
- package/statistics/features/feature.js +0 -1
- package/statistics/features/post-processing.d.ts +6 -0
- package/statistics/features/post-processing.js +6 -0
- package/statistics/features/supported/assignments/assignments.js +1 -1
- package/statistics/features/supported/assignments/post-process.d.ts +3 -0
- package/statistics/features/supported/assignments/post-process.js +3 -0
- package/statistics/features/supported/comments/post-process.d.ts +3 -0
- package/statistics/features/supported/comments/post-process.js +3 -0
- package/statistics/features/supported/control-flow/control-flow.js +1 -1
- package/statistics/features/supported/control-flow/post-process.d.ts +3 -0
- package/statistics/features/supported/control-flow/post-process.js +3 -0
- package/statistics/features/supported/data-access/data-access.d.ts +1 -1
- package/statistics/features/supported/data-access/data-access.js +1 -1
- package/statistics/features/supported/data-access/post-process.d.ts +3 -0
- package/statistics/features/supported/data-access/post-process.js +3 -0
- package/statistics/features/supported/defined-functions/defined-functions.d.ts +1 -1
- package/statistics/features/supported/defined-functions/defined-functions.js +1 -1
- package/statistics/features/supported/expression-list/post-process.d.ts +3 -0
- package/statistics/features/supported/expression-list/post-process.js +3 -0
- package/statistics/features/supported/expression-list/statistics-expression-list.js +1 -1
- package/statistics/features/supported/loops/loops.js +1 -1
- package/statistics/features/supported/loops/post-process.d.ts +3 -0
- package/statistics/features/supported/loops/post-process.js +3 -0
- package/statistics/features/supported/used-functions/used-functions.d.ts +1 -1
- package/statistics/features/supported/used-functions/used-functions.js +1 -1
- package/statistics/features/supported/used-packages/post-process.d.ts +3 -0
- package/statistics/features/supported/used-packages/post-process.js +3 -0
- package/statistics/features/supported/values/post-process.d.ts +3 -0
- package/statistics/features/supported/values/post-process.js +3 -0
- package/statistics/features/supported/variables/post-process.d.ts +7 -1
- package/statistics/features/supported/variables/post-process.js +6 -0
- package/statistics/features/supported/variables/variables.js +1 -1
- package/statistics/meta-statistics.d.ts +8 -9
- package/statistics/output/file-provider.d.ts +5 -6
- package/statistics/output/file-provider.js +5 -6
- package/statistics/output/print-stats.d.ts +13 -1
- package/statistics/output/print-stats.js +12 -0
- package/statistics/output/statistics-file.d.ts +1 -2
- package/statistics/output/statistics-file.js +0 -1
- package/statistics/statistics.d.ts +3 -4
- package/statistics/statistics.js +4 -4
- package/statistics/summarizer/auto-detect.d.ts +3 -0
- package/statistics/summarizer/auto-detect.js +3 -0
- package/statistics/summarizer/post-process/clusterer.d.ts +3 -4
- package/statistics/summarizer/post-process/clusterer.js +0 -2
- package/statistics/summarizer/post-process/file-based-count.d.ts +0 -1
- package/statistics/summarizer/post-process/file-based-count.js +0 -1
- package/statistics/summarizer/post-process/histogram.d.ts +0 -2
- package/statistics/summarizer/post-process/histogram.js +0 -2
- package/statistics/summarizer/post-process/post-process-output.d.ts +2 -4
- package/statistics/summarizer/post-process/post-process-output.js +0 -3
- package/statistics/summarizer/second-phase/process.d.ts +5 -3
- package/statistics/summarizer/second-phase/process.js +3 -1
- package/statistics/summarizer/summarizer.d.ts +1 -2
- package/util/assert.d.ts +56 -2
- package/util/assert.js +56 -2
- package/util/collections/arrays.d.ts +10 -5
- package/util/collections/arrays.js +10 -5
- package/util/collections/defaultmap.d.ts +11 -11
- package/util/collections/defaultmap.js +11 -11
- package/util/containers.d.ts +2 -7
- package/util/containers.js +0 -5
- package/util/diff-graph.d.ts +0 -1
- package/util/diff-graph.js +0 -1
- package/util/diff.d.ts +3 -1
- package/util/diff.js +3 -1
- package/util/files.d.ts +12 -12
- package/util/files.js +11 -11
- package/util/html-hover-over.d.ts +5 -0
- package/util/html-hover-over.js +5 -0
- package/util/json.d.ts +13 -0
- package/util/json.js +13 -0
- package/util/log.d.ts +2 -2
- package/util/log.js +2 -2
- package/util/mermaid/ast.d.ts +7 -3
- package/util/mermaid/ast.js +39 -8
- package/util/mermaid/cfg.d.ts +1 -1
- package/util/mermaid/cfg.js +1 -1
- package/util/mermaid/dfg.d.ts +12 -4
- package/util/mermaid/dfg.js +9 -1
- package/util/mermaid/mermaid.d.ts +6 -1
- package/util/mermaid/mermaid.js +6 -1
- package/util/numbers.d.ts +7 -0
- package/util/numbers.js +7 -0
- package/util/objects.d.ts +0 -2
- package/util/os.d.ts +3 -0
- package/util/os.js +3 -0
- package/util/parallel.d.ts +4 -4
- package/util/parallel.js +4 -4
- package/util/prefix.d.ts +0 -1
- package/util/prefix.js +0 -1
- package/util/quads.d.ts +14 -17
- package/util/quads.js +3 -5
- package/util/r-value.d.ts +10 -1
- package/util/r-value.js +21 -0
- package/util/random.d.ts +3 -0
- package/util/random.js +3 -0
- package/util/range.d.ts +9 -3
- package/util/range.js +15 -2
- package/util/schema.d.ts +14 -1
- package/util/schema.js +15 -2
- package/util/simple-df/dfg-view.d.ts +4 -1
- package/util/simple-df/dfg-view.js +4 -1
- package/util/summarizer.d.ts +9 -1
- package/util/summarizer.js +9 -0
- package/util/text/ansi.d.ts +3 -0
- package/util/text/ansi.js +3 -0
- package/util/text/args.d.ts +2 -4
- package/util/text/args.js +7 -5
- package/util/text/text.d.ts +4 -0
- package/util/text/text.js +4 -0
- package/util/text/time.d.ts +0 -1
- package/util/text/time.js +0 -1
- package/util/version.d.ts +12 -3
- package/util/version.js +12 -3
- package/abstract-interpretation/data-frame/domain.d.ts +0 -107
- package/abstract-interpretation/data-frame/domain.js +0 -315
- package/abstract-interpretation/domains/set-bounded-set-domain.d.ts +0 -43
- package/abstract-interpretation/domains/set-bounded-set-domain.js +0 -164
- package/cli/repl/commands/repl-lineage.d.ts +0 -15
- package/cli/repl/commands/repl-lineage.js +0 -66
- package/cli/repl/server/messages/message-lineage.d.ts +0 -17
- package/cli/repl/server/messages/message-lineage.js +0 -25
- package/documentation/print-analyzer-wiki.d.ts +0 -1
- package/documentation/print-analyzer-wiki.js +0 -137
- package/documentation/print-capabilities-markdown.d.ts +0 -1
- package/documentation/print-cfg-wiki.d.ts +0 -1
- package/documentation/print-core-wiki.d.ts +0 -2
- package/documentation/print-dataflow-graph-wiki.d.ts +0 -1
- package/documentation/print-engines-wiki.d.ts +0 -1
- package/documentation/print-faq-wiki.d.ts +0 -1
- package/documentation/print-faq-wiki.js +0 -90
- package/documentation/print-interface-wiki.d.ts +0 -1
- package/documentation/print-linter-issue.d.ts +0 -1
- package/documentation/print-linter-wiki.d.ts +0 -1
- package/documentation/print-linting-and-testing-wiki.d.ts +0 -1
- package/documentation/print-normalized-ast-wiki.d.ts +0 -1
- package/documentation/print-onboarding-wiki.d.ts +0 -1
- package/documentation/print-query-wiki.d.ts +0 -1
- package/documentation/print-readme.d.ts +0 -1
- package/documentation/print-search-wiki.d.ts +0 -1
- package/documentation/print-search-wiki.js +0 -74
- package/queries/catalog/lineage-query/lineage-query-executor.d.ts +0 -3
- package/queries/catalog/lineage-query/lineage-query-executor.js +0 -22
- package/queries/catalog/lineage-query/lineage-query-format.d.ts +0 -22
- package/queries/catalog/lineage-query/lineage-query-format.js +0 -31
- package/util/formats/adapter-format.d.ts +0 -6
- package/util/formats/adapter-format.js +0 -3
- package/util/formats/adapter.d.ts +0 -18
- package/util/formats/adapter.js +0 -49
- package/util/formats/adapters/r-adapter.d.ts +0 -4
- package/util/formats/adapters/r-adapter.js +0 -7
- package/util/formats/adapters/rmd-adapter.d.ts +0 -26
- package/util/formats/adapters/rmd-adapter.js +0 -91
package/util/r-value.d.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Value, type ValueInterval, type ValueLogical, type ValueNumber, type ValueString, type ValueVector } from '../dataflow/eval/values/r-value';
|
|
2
2
|
import type { RLogicalValue } from '../r-bridge/lang-4.x/ast/model/nodes/r-logical';
|
|
3
3
|
import { type RNumberValue, type RStringValue } from '../r-bridge/lang-4.x/convert-values';
|
|
4
|
+
/**
|
|
5
|
+
* Checks whether the given value is an R string value.
|
|
6
|
+
*/
|
|
4
7
|
export declare function isRStringValue(value: unknown): value is RStringValue;
|
|
8
|
+
/**
|
|
9
|
+
* Checks whether the given value is an R number value.
|
|
10
|
+
*/
|
|
5
11
|
export declare function isRNumberValue(value: unknown): value is RNumberValue;
|
|
12
|
+
/**
|
|
13
|
+
* Checks whether the given value is an R logical value.
|
|
14
|
+
*/
|
|
6
15
|
export declare function isRLogicalValue(value: unknown): value is RLogicalValue;
|
|
7
16
|
export declare function unwrapRValue(value: RStringValue | string): string;
|
|
8
17
|
export declare function unwrapRValue(value: RNumberValue | number): number;
|
package/util/r-value.js
CHANGED
|
@@ -13,15 +13,27 @@ const assert_1 = require("./assert");
|
|
|
13
13
|
function isRValue(value) {
|
|
14
14
|
return isRStringValue(value) || isRNumberValue(value) || isRLogicalValue(value) || typeof value === 'string' || typeof value === 'number';
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Checks whether the given value is an R string value.
|
|
18
|
+
*/
|
|
16
19
|
function isRStringValue(value) {
|
|
17
20
|
return typeof value === 'object' && value !== null && 'str' in value && typeof value.str === 'string';
|
|
18
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Checks whether the given value is an R number value.
|
|
24
|
+
*/
|
|
19
25
|
function isRNumberValue(value) {
|
|
20
26
|
return typeof value === 'object' && value !== null && 'num' in value && typeof value.num === 'number';
|
|
21
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Checks whether the given value is an R logical value.
|
|
30
|
+
*/
|
|
22
31
|
function isRLogicalValue(value) {
|
|
23
32
|
return typeof value === 'boolean';
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Unwraps an R value to a (TS) native value.
|
|
36
|
+
*/
|
|
25
37
|
function unwrapRValue(value) {
|
|
26
38
|
if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
|
|
27
39
|
return value;
|
|
@@ -36,6 +48,9 @@ function unwrapRValue(value) {
|
|
|
36
48
|
return undefined;
|
|
37
49
|
}
|
|
38
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Unwraps an R vector to a (TS) native array.
|
|
53
|
+
*/
|
|
39
54
|
function unwrapRVector(value) {
|
|
40
55
|
if (!Array.isArray(value)) {
|
|
41
56
|
return undefined;
|
|
@@ -56,6 +71,9 @@ function unwrapRVector(value) {
|
|
|
56
71
|
return undefined;
|
|
57
72
|
}
|
|
58
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Unwraps an R value to a string representation.
|
|
76
|
+
*/
|
|
59
77
|
function unwrapRValueToString(value) {
|
|
60
78
|
if (typeof value === 'string') {
|
|
61
79
|
return value;
|
|
@@ -76,6 +94,9 @@ function unwrapRValueToString(value) {
|
|
|
76
94
|
return undefined;
|
|
77
95
|
}
|
|
78
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Unlifts an R value to its core representation.
|
|
99
|
+
*/
|
|
79
100
|
function unliftRValue(value) {
|
|
80
101
|
if (!(0, r_value_1.isValue)(value)) {
|
|
81
102
|
return undefined;
|
package/util/random.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare const ALPHABET_LOWERCASE: readonly string[];
|
|
2
2
|
export declare const ALPHABET_UPPERCASE: readonly string[];
|
|
3
3
|
export declare const ALPHABET: readonly string[];
|
|
4
|
+
/**
|
|
5
|
+
* Generates a random string of the given length using the provided symbols.
|
|
6
|
+
*/
|
|
4
7
|
export declare function randomString(length: number, symbols?: readonly string[]): string;
|
package/util/random.js
CHANGED
|
@@ -10,6 +10,9 @@ exports.ALPHABET = [...exports.ALPHABET_LOWERCASE, ...exports.ALPHABET_UPPERCASE
|
|
|
10
10
|
function isPositiveFiniteInteger(length) {
|
|
11
11
|
return isFinite(length) && length >= 0 && length === Math.floor(length);
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Generates a random string of the given length using the provided symbols.
|
|
15
|
+
*/
|
|
13
16
|
function randomString(length, symbols = exports.ALPHABET) {
|
|
14
17
|
(0, assert_1.guard)(isPositiveFiniteInteger(length), `length must be a positive, finite integer (${length} >= 0)`);
|
|
15
18
|
(0, assert_1.guard)(symbols.length > 0, 'there must be at least one symbol to use');
|
package/util/range.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export type SourcePosition = [
|
|
|
12
12
|
];
|
|
13
13
|
/**
|
|
14
14
|
* Describe the start and end {@link SourcePosition|source position} of an element.
|
|
15
|
-
*
|
|
16
15
|
* @see {@link rangeFrom} - to create a range
|
|
17
16
|
* @see {@link mergeRanges} - to merge multiple ranges
|
|
18
17
|
* @see {@link getRangeStart} - to get the start of a range
|
|
@@ -38,13 +37,17 @@ export declare function getRangeEnd(p: SourceRange): SourcePosition;
|
|
|
38
37
|
export declare function getRangeEnd(p: SourceRange | undefined): SourcePosition | undefined;
|
|
39
38
|
/**
|
|
40
39
|
* This does not ensure ordering of start and end!
|
|
41
|
-
*
|
|
42
40
|
* @param sl - start line
|
|
43
41
|
* @param sc - start column
|
|
44
42
|
* @param el - end line
|
|
45
43
|
* @param ec - end column
|
|
46
44
|
*/
|
|
47
45
|
export declare function rangeFrom(sl: number | string, sc: number | string, el: number | string, ec: number | string): SourceRange;
|
|
46
|
+
/**
|
|
47
|
+
* Merges multiple source ranges into a single source range that spans from the earliest start to the latest end.
|
|
48
|
+
* If you are interested in combining overlapping ranges into a minimal set of ranges, see {@link combineRanges}.
|
|
49
|
+
* @throws if no ranges are provided
|
|
50
|
+
*/
|
|
48
51
|
export declare function mergeRanges(...rs: (SourceRange | undefined)[]): SourceRange;
|
|
49
52
|
/**
|
|
50
53
|
* @returns true iff `r1` starts and ends before `r2` starts (i.e., if `r1` and `r2` do not overlap and `r1` comes before `r2`
|
|
@@ -60,7 +63,6 @@ export declare function rangesOverlap([r1sl, r1sc, r1el, r1ec]: SourceRange, [r2
|
|
|
60
63
|
export declare function addRanges([r1sl, r1sc, r1el, r1ec]: SourceRange, [r2sl, r2sc, r2el, r2ec]: SourceRange): SourceRange;
|
|
61
64
|
/**
|
|
62
65
|
* Provides a comparator for {@link SourceRange}s that sorts them in ascending order.
|
|
63
|
-
*
|
|
64
66
|
* @returns a positive number if `r1` comes after `r2`, a negative number if `r1` comes before `r2`, and `0` if they are equal
|
|
65
67
|
*/
|
|
66
68
|
export declare function rangeCompare([r1sl, r1sc, ,]: SourceRange, [r2sl, r2sc, ,]: SourceRange): number;
|
|
@@ -68,4 +70,8 @@ export declare function rangeCompare([r1sl, r1sc, ,]: SourceRange, [r2sl, r2sc,
|
|
|
68
70
|
* Checks if the first range is a subset of the second range.
|
|
69
71
|
*/
|
|
70
72
|
export declare function rangeIsSubsetOf([r1sl, r1sc, r1el, r1ec]: SourceRange, [r2sl, r2sc, r2el, r2ec]: SourceRange): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Combines overlapping or subset ranges into a minimal set of ranges.
|
|
75
|
+
* If you are interested in merging overlapping ranges, see {@link mergeRanges}.
|
|
76
|
+
*/
|
|
71
77
|
export declare function combineRanges(...ranges: SourceRange[]): SourceRange[];
|
package/util/range.js
CHANGED
|
@@ -11,15 +11,20 @@ exports.rangeCompare = rangeCompare;
|
|
|
11
11
|
exports.rangeIsSubsetOf = rangeIsSubsetOf;
|
|
12
12
|
exports.combineRanges = combineRanges;
|
|
13
13
|
const assert_1 = require("./assert");
|
|
14
|
+
/**
|
|
15
|
+
* Returns the start position of a source range.
|
|
16
|
+
*/
|
|
14
17
|
function getRangeStart(p) {
|
|
15
18
|
return p === undefined ? undefined : [p[0], p[1]];
|
|
16
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns the end position of a source range.
|
|
22
|
+
*/
|
|
17
23
|
function getRangeEnd(p) {
|
|
18
24
|
return p === undefined ? undefined : [p[2], p[3]];
|
|
19
25
|
}
|
|
20
26
|
/**
|
|
21
27
|
* This does not ensure ordering of start and end!
|
|
22
|
-
*
|
|
23
28
|
* @param sl - start line
|
|
24
29
|
* @param sc - start column
|
|
25
30
|
* @param el - end line
|
|
@@ -28,6 +33,11 @@ function getRangeEnd(p) {
|
|
|
28
33
|
function rangeFrom(sl, sc, el, ec) {
|
|
29
34
|
return [Number(sl), Number(sc), Number(el), Number(ec)];
|
|
30
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Merges multiple source ranges into a single source range that spans from the earliest start to the latest end.
|
|
38
|
+
* If you are interested in combining overlapping ranges into a minimal set of ranges, see {@link combineRanges}.
|
|
39
|
+
* @throws if no ranges are provided
|
|
40
|
+
*/
|
|
31
41
|
function mergeRanges(...rs) {
|
|
32
42
|
const rsSafe = rs.filter(assert_1.isNotUndefined);
|
|
33
43
|
(0, assert_1.guard)(rsSafe.length > 0, 'Cannot merge no ranges');
|
|
@@ -56,7 +66,6 @@ function addRanges([r1sl, r1sc, r1el, r1ec], [r2sl, r2sc, r2el, r2ec]) {
|
|
|
56
66
|
}
|
|
57
67
|
/**
|
|
58
68
|
* Provides a comparator for {@link SourceRange}s that sorts them in ascending order.
|
|
59
|
-
*
|
|
60
69
|
* @returns a positive number if `r1` comes after `r2`, a negative number if `r1` comes before `r2`, and `0` if they are equal
|
|
61
70
|
*/
|
|
62
71
|
function rangeCompare([r1sl, r1sc, ,], [r2sl, r2sc, ,]) {
|
|
@@ -73,6 +82,10 @@ function rangeCompare([r1sl, r1sc, ,], [r2sl, r2sc, ,]) {
|
|
|
73
82
|
function rangeIsSubsetOf([r1sl, r1sc, r1el, r1ec], [r2sl, r2sc, r2el, r2ec]) {
|
|
74
83
|
return (r1sl > r2sl || r1sl === r2sl && r1sc >= r2sc) && (r1el < r2el || r1sl === r2sl && r1ec <= r2ec);
|
|
75
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Combines overlapping or subset ranges into a minimal set of ranges.
|
|
87
|
+
* If you are interested in merging overlapping ranges, see {@link mergeRanges}.
|
|
88
|
+
*/
|
|
76
89
|
function combineRanges(...ranges) {
|
|
77
90
|
return ranges.filter(range => !ranges.some(other => range !== other && rangeIsSubsetOf(range, other)));
|
|
78
91
|
}
|
package/util/schema.d.ts
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
import type Joi from 'joi';
|
|
2
|
-
import type
|
|
2
|
+
import { type OutputFormatter } from './text/ansi';
|
|
3
3
|
interface SchemaLine {
|
|
4
4
|
level: number;
|
|
5
5
|
text: string;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* Describes a Joi schema in a human-readable way.
|
|
9
|
+
*/
|
|
7
10
|
export declare function describeSchema(schema: Joi.Schema, f?: OutputFormatter): string;
|
|
11
|
+
/**
|
|
12
|
+
* Provides a generic description for any Joi schema.
|
|
13
|
+
* You probably want to use {@link describeSchema}.
|
|
14
|
+
*/
|
|
8
15
|
export declare function genericDescription(level: number, formatter: OutputFormatter, name: string, desc: Joi.Description | undefined): SchemaLine[];
|
|
16
|
+
/**
|
|
17
|
+
* Creates the header line(s) for a schema description.
|
|
18
|
+
*/
|
|
9
19
|
export declare function headerLine(level: number, formatter: OutputFormatter, name: string, type: string, flags: object | undefined): SchemaLine[];
|
|
20
|
+
/**
|
|
21
|
+
* Describes a Joi object schema.
|
|
22
|
+
*/
|
|
10
23
|
export declare function describeObject(level: number, formatter: OutputFormatter, desc: Joi.Description): SchemaLine[];
|
|
11
24
|
export {};
|
package/util/schema.js
CHANGED
|
@@ -5,12 +5,19 @@ exports.genericDescription = genericDescription;
|
|
|
5
5
|
exports.headerLine = headerLine;
|
|
6
6
|
exports.describeObject = describeObject;
|
|
7
7
|
const ansi_1 = require("./text/ansi");
|
|
8
|
+
/**
|
|
9
|
+
* Describes a Joi schema in a human-readable way.
|
|
10
|
+
*/
|
|
8
11
|
function describeSchema(schema, f = ansi_1.formatter) {
|
|
9
12
|
const description = schema.describe();
|
|
10
13
|
const lines = genericDescription(1, f, f.format('.', { effect: ansi_1.ColorEffect.Foreground, color: 7 /* Colors.White */ }), description);
|
|
11
14
|
const indent = ' '.repeat(4);
|
|
12
15
|
return lines.map(line => `${indent.repeat(line.level - 1)}${line.text}`).join('\n');
|
|
13
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Provides a generic description for any Joi schema.
|
|
19
|
+
* You probably want to use {@link describeSchema}.
|
|
20
|
+
*/
|
|
14
21
|
function genericDescription(level, formatter, name, desc) {
|
|
15
22
|
if (!desc) {
|
|
16
23
|
return [];
|
|
@@ -52,6 +59,9 @@ function printFlags(flags) {
|
|
|
52
59
|
}
|
|
53
60
|
return flagText.trim().length > 0 ? '[' + flagText + ']' : '';
|
|
54
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Creates the header line(s) for a schema description.
|
|
64
|
+
*/
|
|
55
65
|
function headerLine(level, formatter, name, type, flags) {
|
|
56
66
|
const text = `- ${(0, ansi_1.bold)(name, formatter)} ${formatter.format(type, { effect: ansi_1.ColorEffect.Foreground, color: 7 /* Colors.White */ })} ${printFlags(flags)}`;
|
|
57
67
|
const baseLine = { level, text };
|
|
@@ -60,15 +70,18 @@ function headerLine(level, formatter, name, type, flags) {
|
|
|
60
70
|
}
|
|
61
71
|
return [baseLine];
|
|
62
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* Describes a Joi object schema.
|
|
75
|
+
*/
|
|
63
76
|
function describeObject(level, formatter, desc) {
|
|
64
|
-
|
|
77
|
+
let lines = [];
|
|
65
78
|
if (!('keys' in desc)) {
|
|
66
79
|
return lines;
|
|
67
80
|
}
|
|
68
81
|
for (const key in desc.keys) {
|
|
69
82
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
70
83
|
const keySchema = desc.keys[key];
|
|
71
|
-
lines.
|
|
84
|
+
lines = lines.concat(genericDescription(level + 1, formatter, key, keySchema));
|
|
72
85
|
}
|
|
73
86
|
return lines;
|
|
74
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataflowGraph } from '../../dataflow/graph/graph';
|
|
2
2
|
import { VertexType } from '../../dataflow/graph/vertex';
|
|
3
|
-
import type
|
|
3
|
+
import { type MergeableRecord } from '../objects';
|
|
4
4
|
import type { DeepPartial } from 'ts-essentials';
|
|
5
5
|
export interface ReduceVertexOptions extends MergeableRecord {
|
|
6
6
|
tags: VertexType[];
|
|
@@ -13,4 +13,7 @@ export interface ReduceVertexOptions extends MergeableRecord {
|
|
|
13
13
|
export interface ReduceOptions extends MergeableRecord {
|
|
14
14
|
vertices: ReduceVertexOptions;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Produces a reduced version of the given dataflow graph according to the given options.
|
|
18
|
+
*/
|
|
16
19
|
export declare function reduceDfg(dfg: DataflowGraph, options: DeepPartial<ReduceOptions>): DataflowGraph;
|
|
@@ -7,7 +7,7 @@ const objects_1 = require("../objects");
|
|
|
7
7
|
const assert_1 = require("../assert");
|
|
8
8
|
const defaultReduceOptions = {
|
|
9
9
|
vertices: {
|
|
10
|
-
tags:
|
|
10
|
+
tags: Object.values(vertex_1.VertexType),
|
|
11
11
|
nameRegex: '.*',
|
|
12
12
|
blacklistWithName: false,
|
|
13
13
|
keepEnv: false,
|
|
@@ -33,6 +33,9 @@ function makeFilter(options, idMap) {
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Produces a reduced version of the given dataflow graph according to the given options.
|
|
38
|
+
*/
|
|
36
39
|
function reduceDfg(dfg, options) {
|
|
37
40
|
const newDfg = new graph_1.DataflowGraph(dfg.idMap);
|
|
38
41
|
const applyOptions = (0, objects_1.deepMergeObject)(defaultReduceOptions, options);
|
package/util/summarizer.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export declare abstract class Summarizer<Output, Configuration extends CommonSum
|
|
|
24
24
|
/**
|
|
25
25
|
* First phase of the summary, can be used to extract all data of interest from the individual
|
|
26
26
|
* benchmark or statistic results. This can write temporary files based on the configuration.
|
|
27
|
-
*
|
|
28
27
|
* @param useTypeClassification - Whether to split the analysis based on the detected type (e.g. 'test', 'example', ...)
|
|
29
28
|
*/
|
|
30
29
|
abstract preparationPhase(useTypeClassification: boolean): Promise<void>;
|
|
@@ -34,6 +33,15 @@ export declare abstract class Summarizer<Output, Configuration extends CommonSum
|
|
|
34
33
|
*/
|
|
35
34
|
abstract summarizePhase(): Promise<Output>;
|
|
36
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Converts the summarized measurement to a CSV line.
|
|
38
|
+
*/
|
|
37
39
|
export declare function summarizedMeasurement2Csv(a: SummarizedMeasurement): string;
|
|
40
|
+
/**
|
|
41
|
+
* Generates the CSV header for summarized measurements.
|
|
42
|
+
*/
|
|
38
43
|
export declare function summarizedMeasurement2CsvHeader(prefix?: string): string;
|
|
44
|
+
/**
|
|
45
|
+
* Summarizes the given measurement data.
|
|
46
|
+
*/
|
|
39
47
|
export declare function summarizeMeasurement(data: number[], totalNumberOfDataPoints?: number): SummarizedMeasurement;
|
package/util/summarizer.js
CHANGED
|
@@ -14,13 +14,22 @@ class Summarizer {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.Summarizer = Summarizer;
|
|
17
|
+
/**
|
|
18
|
+
* Converts the summarized measurement to a CSV line.
|
|
19
|
+
*/
|
|
17
20
|
function summarizedMeasurement2Csv(a) {
|
|
18
21
|
return `${a.min},${a.max},${a.median},${a.mean},${a.std},${a.total}`;
|
|
19
22
|
}
|
|
20
23
|
const summarizedKeys = ['min', 'max', 'median', 'mean', 'std', 'total'];
|
|
24
|
+
/**
|
|
25
|
+
* Generates the CSV header for summarized measurements.
|
|
26
|
+
*/
|
|
21
27
|
function summarizedMeasurement2CsvHeader(prefix) {
|
|
22
28
|
return summarizedKeys.map(k => prefix ? `${prefix}-${k}` : k).join(',');
|
|
23
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Summarizes the given measurement data.
|
|
32
|
+
*/
|
|
24
33
|
function summarizeMeasurement(data, totalNumberOfDataPoints) {
|
|
25
34
|
// just to avoid in-place modification
|
|
26
35
|
const sorted = [...data].sort((a, b) => a - b);
|
package/util/text/ansi.d.ts
CHANGED
|
@@ -48,4 +48,7 @@ export declare const ansiFormatter: {
|
|
|
48
48
|
getFormatString(options?: FormatOptions): string;
|
|
49
49
|
};
|
|
50
50
|
export declare let formatter: OutputFormatter;
|
|
51
|
+
/**
|
|
52
|
+
* (Globally) sets the output formatter used by the utility functions in this module.
|
|
53
|
+
*/
|
|
51
54
|
export declare function setFormatter(setFormatter: OutputFormatter): void;
|
package/util/text/ansi.js
CHANGED
|
@@ -82,6 +82,9 @@ exports.ansiFormatter = {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
exports.formatter = exports.ansiFormatter;
|
|
85
|
+
/**
|
|
86
|
+
* (Globally) sets the output formatter used by the utility functions in this module.
|
|
87
|
+
*/
|
|
85
88
|
function setFormatter(setFormatter) {
|
|
86
89
|
exports.formatter = setFormatter;
|
|
87
90
|
}
|
package/util/text/args.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Just to avoid another library for splitting arguments, we use this module to provide what we need.
|
|
3
|
-
*
|
|
4
3
|
* @module
|
|
5
4
|
*/
|
|
6
5
|
/**
|
|
@@ -10,9 +9,8 @@
|
|
|
10
9
|
* this splits the arguments similar to common shell interpreters (i.e., `a`, `b c`, and `d`).
|
|
11
10
|
*
|
|
12
11
|
* When escapeQuote is set to false instead, we keep quotation marks in the result (i.e., `a`, `"b c"`, and `d`.).
|
|
13
|
-
*
|
|
14
12
|
* @param inputString - The string to split
|
|
15
13
|
* @param escapeQuote - Keep quotes in args
|
|
16
|
-
* @param split - The
|
|
14
|
+
* @param split - The character or character sequence to split on (can not be backslash or quote!)
|
|
17
15
|
*/
|
|
18
|
-
export declare function splitAtEscapeSensitive(inputString: string, escapeQuote?: boolean, split?: string): string[];
|
|
16
|
+
export declare function splitAtEscapeSensitive(inputString: string, escapeQuote?: boolean, split?: RegExp | string): string[];
|
package/util/text/args.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Just to avoid another library for splitting arguments, we use this module to provide what we need.
|
|
4
|
-
*
|
|
5
4
|
* @module
|
|
6
5
|
*/
|
|
7
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -13,17 +12,18 @@ exports.splitAtEscapeSensitive = splitAtEscapeSensitive;
|
|
|
13
12
|
* this splits the arguments similar to common shell interpreters (i.e., `a`, `b c`, and `d`).
|
|
14
13
|
*
|
|
15
14
|
* When escapeQuote is set to false instead, we keep quotation marks in the result (i.e., `a`, `"b c"`, and `d`.).
|
|
16
|
-
*
|
|
17
15
|
* @param inputString - The string to split
|
|
18
16
|
* @param escapeQuote - Keep quotes in args
|
|
19
|
-
* @param split - The
|
|
17
|
+
* @param split - The character or character sequence to split on (can not be backslash or quote!)
|
|
20
18
|
*/
|
|
21
19
|
function splitAtEscapeSensitive(inputString, escapeQuote = true, split = ' ') {
|
|
22
20
|
const args = [];
|
|
23
21
|
let current = '';
|
|
24
22
|
let inQuotes = false;
|
|
25
23
|
let escaped = false;
|
|
26
|
-
for (
|
|
24
|
+
for (let i = 0; i < inputString.length; i++) {
|
|
25
|
+
const c = inputString[i];
|
|
26
|
+
const sub = inputString.slice(i);
|
|
27
27
|
if (escaped) {
|
|
28
28
|
escaped = false;
|
|
29
29
|
switch (c) {
|
|
@@ -48,7 +48,9 @@ function splitAtEscapeSensitive(inputString, escapeQuote = true, split = ' ') {
|
|
|
48
48
|
default: current += c;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
else if (
|
|
51
|
+
else if (!inQuotes
|
|
52
|
+
&& current !== ''
|
|
53
|
+
&& (split instanceof RegExp ? split.test(sub) : inputString.slice(i, i + split.length) === split)) {
|
|
52
54
|
args.push(current);
|
|
53
55
|
current = '';
|
|
54
56
|
}
|
package/util/text/text.d.ts
CHANGED
package/util/text/text.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.nth = nth;
|
|
4
4
|
const assert_1 = require("../assert");
|
|
5
|
+
/**
|
|
6
|
+
* Returns the nth ordinal representation of the given number.
|
|
7
|
+
* @example `nth(1)` returns '1st'
|
|
8
|
+
*/
|
|
5
9
|
function nth(n) {
|
|
6
10
|
(0, assert_1.guard)(isFinite(n) && n >= 1, 'n must be a non-negative number');
|
|
7
11
|
const num = String(n);
|
package/util/text/time.d.ts
CHANGED
package/util/text/time.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.date2string = date2string;
|
|
|
4
4
|
exports.printAsMs = printAsMs;
|
|
5
5
|
/**
|
|
6
6
|
* Retrieve a string in the form of "YYYY-MM-DD-HH-MM-SS-MS" from a Date object.
|
|
7
|
-
*
|
|
8
7
|
* @param date - The date to convert, defaults to the current date
|
|
9
8
|
*/
|
|
10
9
|
function date2string(date = new Date()) {
|
package/util/version.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { SemVer } from 'semver';
|
|
2
2
|
import type { KnownParser } from '../r-bridge/parser';
|
|
3
3
|
import type { ReplOutput } from '../cli/repl/commands/repl-main';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ReadonlyFlowrAnalysisProvider } from '../project/flowr-analyzer';
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves the current flowR version as a new {@link SemVer} object.
|
|
7
|
+
*/
|
|
5
8
|
export declare function flowrVersion(): SemVer;
|
|
6
9
|
type Version = `${number}.${number}.${number}`;
|
|
7
10
|
/**
|
|
@@ -14,6 +17,12 @@ export interface VersionInformation {
|
|
|
14
17
|
r: Version | 'unknown' | 'none';
|
|
15
18
|
engine: string;
|
|
16
19
|
}
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the version information for flowR and the given parser or analysis provider.
|
|
22
|
+
*/
|
|
23
|
+
export declare function retrieveVersionInformation(input: KnownParser | ReadonlyFlowrAnalysisProvider): Promise<VersionInformation>;
|
|
24
|
+
/**
|
|
25
|
+
* Displays the version information to the given output.
|
|
26
|
+
*/
|
|
27
|
+
export declare function printVersionInformation(output: ReplOutput, input: KnownParser | ReadonlyFlowrAnalysisProvider): Promise<void>;
|
|
19
28
|
export {};
|
package/util/version.js
CHANGED
|
@@ -6,11 +6,17 @@ exports.printVersionInformation = printVersionInformation;
|
|
|
6
6
|
const semver_1 = require("semver");
|
|
7
7
|
const assert_1 = require("./assert");
|
|
8
8
|
// this is automatically replaced with the current version by release-it
|
|
9
|
-
const version = '2.6.
|
|
9
|
+
const version = '2.6.3';
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the current flowR version as a new {@link SemVer} object.
|
|
12
|
+
*/
|
|
10
13
|
function flowrVersion() {
|
|
11
14
|
return new semver_1.SemVer(version);
|
|
12
15
|
}
|
|
13
16
|
const versionRegex = /^\d+\.\d+\.\d+/m;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves the version information for flowR and the given parser or analysis provider.
|
|
19
|
+
*/
|
|
14
20
|
async function retrieveVersionInformation(input) {
|
|
15
21
|
const flowr = flowrVersion().toString();
|
|
16
22
|
let r;
|
|
@@ -20,14 +26,17 @@ async function retrieveVersionInformation(input) {
|
|
|
20
26
|
name = input.name;
|
|
21
27
|
}
|
|
22
28
|
else {
|
|
23
|
-
const parserInformation =
|
|
24
|
-
r = parserInformation.name === 'r-shell' ? parserInformation.rVersion : 'unknown';
|
|
29
|
+
const parserInformation = input.parserInformation();
|
|
30
|
+
r = parserInformation.name === 'r-shell' ? (await parserInformation.rVersion()) : 'unknown';
|
|
25
31
|
name = parserInformation.name;
|
|
26
32
|
}
|
|
27
33
|
(0, assert_1.guard)(versionRegex.test(flowr), `flowR version ${flowr} does not match the expected format!`);
|
|
28
34
|
(0, assert_1.guard)(r === 'unknown' || r === 'none' || versionRegex.test(r), `R version ${r} does not match the expected format!`);
|
|
29
35
|
return { flowr: flowr, r: r, engine: name };
|
|
30
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Displays the version information to the given output.
|
|
39
|
+
*/
|
|
31
40
|
async function printVersionInformation(output, input) {
|
|
32
41
|
const { flowr, r, engine } = await retrieveVersionInformation(input);
|
|
33
42
|
output.stdout(`Engine: ${engine}`);
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import type { NodeId } from '../../r-bridge/lang-4.x/ast/model/processing/node-id';
|
|
2
|
-
type Interval = [number, number];
|
|
3
|
-
/** The bottom element (least element) of the positive interval domain representing no possible values, explicitly given as "bottom". */
|
|
4
|
-
export declare const IntervalBottom = "bottom";
|
|
5
|
-
/** The top element (greatest element) of the positive interval domain representing all possible values, defined as the interval from 0 to infinity. */
|
|
6
|
-
export declare const IntervalTop: [0, number];
|
|
7
|
-
/** The positive interval domain representing possible integer values. */
|
|
8
|
-
export type IntervalDomain = Interval | typeof IntervalBottom;
|
|
9
|
-
/** The bottom element (least element) of the column names domain representing no possible column name, defined as the empty list []. */
|
|
10
|
-
export declare const ColNamesBottom: [];
|
|
11
|
-
/** The top element (greatest element) of the column names domain representing all possible values, explicitly given as "top". */
|
|
12
|
-
export declare const ColNamesTop = "top";
|
|
13
|
-
/** The column names domain defined as bounded string set domain representing possible column names. */
|
|
14
|
-
export type ColNamesDomain = string[] | typeof ColNamesTop;
|
|
15
|
-
/**
|
|
16
|
-
* The data frame shape domain representing possible data frame shapes, defined as product domain of
|
|
17
|
-
* the {@link ColNamesDomain} for the columns names and {@link IntervalDomain} for the number of columns and rows.
|
|
18
|
-
* */
|
|
19
|
-
export interface DataFrameDomain {
|
|
20
|
-
colnames: ColNamesDomain;
|
|
21
|
-
cols: IntervalDomain;
|
|
22
|
-
rows: IntervalDomain;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* The bottom element (least element) of the data frame shape domain representing no possible value, mapping the columns names to {@link ColNamesBottom}
|
|
26
|
-
* and the number of columns and rows to {@link IntervalBottom}.
|
|
27
|
-
*/
|
|
28
|
-
export declare const DataFrameBottom: {
|
|
29
|
-
readonly colnames: [];
|
|
30
|
-
readonly cols: "bottom";
|
|
31
|
-
readonly rows: "bottom";
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* The top element (greatest element) of the data frame shape domain representing all possible value, mapping the columns names to {@link ColNamesTop}
|
|
35
|
-
* and the number of columns and rows to {@link IntervalTop}.
|
|
36
|
-
*/
|
|
37
|
-
export declare const DataFrameTop: {
|
|
38
|
-
readonly colnames: "top";
|
|
39
|
-
readonly cols: [0, number];
|
|
40
|
-
readonly rows: [0, number];
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* The data frame shape state domain representing possible memory states, mapping AST node IDs to data frame shape values of the {@link DataFrameDomain}.
|
|
44
|
-
*/
|
|
45
|
-
export type DataFrameStateDomain = Map<NodeId, DataFrameDomain>;
|
|
46
|
-
/** Checks if two abstract values of the column names domain are equal. */
|
|
47
|
-
export declare function equalColNames(set1: ColNamesDomain, set2: ColNamesDomain): boolean;
|
|
48
|
-
/** Checks if two abstract values of the column names domain are ordered according to the partial ordering of the column names lattice. */
|
|
49
|
-
export declare function leqColNames(set1: ColNamesDomain, set2: ColNamesDomain): boolean;
|
|
50
|
-
/** Joins two abstract values of the columns names domain according to the column names lattice by creating the least upper bound (LUB). */
|
|
51
|
-
export declare function joinColNames(set1: ColNamesDomain, set2: ColNamesDomain, maxColNames?: number): ColNamesDomain;
|
|
52
|
-
/** Meets two abstract values of the columns names domain according to the column names lattice by creating the greatest lower bound (GLB). */
|
|
53
|
-
export declare function meetColNames(set1: ColNamesDomain, set2: ColNamesDomain): ColNamesDomain;
|
|
54
|
-
/** Subtracts an abstract value from another abstract value of the column names domain by performing a set minus. */
|
|
55
|
-
export declare function subtractColNames(set1: ColNamesDomain, set2: ColNamesDomain): ColNamesDomain;
|
|
56
|
-
/**
|
|
57
|
-
* Widens two abstract values of the column names domain via naive widening to soundly over-approximate the join in (possibly infinite) fixpoint iterations.
|
|
58
|
-
*
|
|
59
|
-
* This is technically not necessary, as the join is limited by the maximum number of inferred column names.
|
|
60
|
-
* However, this speeds up the iteration in larger loops significantly, as we are over-approximating the column names much earlier.
|
|
61
|
-
*/
|
|
62
|
-
export declare function wideningColNames(set1: ColNamesDomain, set2: ColNamesDomain): ColNamesDomain;
|
|
63
|
-
/** Checks whether an abstract value of the column names domain satisfies a column name */
|
|
64
|
-
export declare function satisfiesColsNames(set: ColNamesDomain, value: string): boolean;
|
|
65
|
-
/** Checks if two abstract values of the positive interval domain are equal. */
|
|
66
|
-
export declare function equalInterval(interval1: IntervalDomain, interval2: IntervalDomain): boolean;
|
|
67
|
-
/** Checks if two abstract values of the positive interval domain are ordered according to the partial ordering of the positive interval lattice. */
|
|
68
|
-
export declare function leqInterval(interval1: IntervalDomain, interval2: IntervalDomain): boolean;
|
|
69
|
-
/** Joins two abstract values of the positive interval domain according to the positive interval lattice by creating the least upper bound (LUB). */
|
|
70
|
-
export declare function joinInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
71
|
-
/** Meets two abstract values of the positive interval domain according to the positive interval lattice by creating the greatest lower bound (GLB). */
|
|
72
|
-
export declare function meetInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
73
|
-
/** Adds two abstract values of the positive interval domain, by adding the lower bounds and upper bounds. */
|
|
74
|
-
export declare function addInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
75
|
-
/** Subtracts an abstract value from another abstract values of the positive interval domain, by subtracting the lower bounds and upper bounds. */
|
|
76
|
-
export declare function subtractInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
77
|
-
/** Creates the minium of two abstract values of the positive interval domain, by creating the minimum of the lower bounds and upper bounds. */
|
|
78
|
-
export declare function minInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
79
|
-
/** Creates the maximum of two abstract values of the positive interval domain, by creating the maximum of the lower bounds and upper bounds. */
|
|
80
|
-
export declare function maxInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
81
|
-
/** Extrends the lower bound of an abstract value of the positive interval domain to 0. */
|
|
82
|
-
export declare function extendIntervalToZero(interval: IntervalDomain): IntervalDomain;
|
|
83
|
-
/** Extrends the upper bound of an abstract value of the positive interval domain to infinity. */
|
|
84
|
-
export declare function extendIntervalToInfinity(interval: IntervalDomain): IntervalDomain;
|
|
85
|
-
/** Widens two abstract values of the positive interval domain via naive widening to soundly over-approximate the join in (possibly infinite) fixpoint iterations. */
|
|
86
|
-
export declare function wideningInterval(interval1: IntervalDomain, interval2: IntervalDomain): IntervalDomain;
|
|
87
|
-
/** Checks whether an abstract value of the positive interval domain satisfies a numeric value. */
|
|
88
|
-
export declare function satisfiesInterval(interval: IntervalDomain, value: number): boolean;
|
|
89
|
-
/** Checks whether a numeric value satisfies the less-than relation with an abstract value of the positive interval domain. */
|
|
90
|
-
export declare function satisfiesLeqInterval(interval: IntervalDomain, value: number): boolean;
|
|
91
|
-
/** Checks if two abstract values of the data frame shape domain are equal. */
|
|
92
|
-
export declare function equalDataFrameDomain(value1: DataFrameDomain, value2: DataFrameDomain): boolean;
|
|
93
|
-
/** Joins multiple abstract values of the data frame shape domain by creating the least upper bound (LUB). */
|
|
94
|
-
export declare function joinDataFrames(...values: DataFrameDomain[]): DataFrameDomain;
|
|
95
|
-
/** Meets multiple abstract values of the data frame shape domain by creating the greatest lower bound (GLB). */
|
|
96
|
-
export declare function meetDataFrames(...values: DataFrameDomain[]): DataFrameDomain;
|
|
97
|
-
/** Widens two abstract values of the data frame shape domain by widening the column names and number of columns and rows. */
|
|
98
|
-
export declare function wideningDataFrames(value1: DataFrameDomain, value2: DataFrameDomain): DataFrameDomain;
|
|
99
|
-
/** Checks if two abstract states of the data frame shape state domain are equal. */
|
|
100
|
-
export declare function equalDataFrameState(state1: DataFrameStateDomain, state2: DataFrameStateDomain): boolean;
|
|
101
|
-
/** Joins multiple abstract states of the data frame shape state domain by joining each data frame shape of the states. */
|
|
102
|
-
export declare function joinDataFrameStates(...states: DataFrameStateDomain[]): DataFrameStateDomain;
|
|
103
|
-
/** Meets multiple abstract states of the data frame shape state domain by meeting each data frame shape of the states. */
|
|
104
|
-
export declare function meetDataFrameStates(...states: DataFrameStateDomain[]): DataFrameStateDomain;
|
|
105
|
-
/** Widens two abstract states of the data frame shape state domain by widening each data frame shape of the states. */
|
|
106
|
-
export declare function wideningDataFrameStates(state1: DataFrameStateDomain, state2: DataFrameStateDomain): DataFrameStateDomain;
|
|
107
|
-
export {};
|