@eagleoutice/flowr 2.17.2 → 2.17.4
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 +9 -9
- package/cli/repl/commands/repl-signature.d.ts +1 -1
- package/cli/repl/completion.d.ts +23 -0
- package/cli/repl/completion.js +9 -0
- package/cli/repl/core.d.ts +0 -23
- package/cli/repl/core.js +0 -5
- package/cli/repl/parser/slice-query-parser.d.ts +1 -1
- package/cli/repl/parser/slice-query-parser.js +3 -3
- package/data/r-reexports.generated.d.ts +4 -0
- package/data/r-reexports.generated.js +43 -0
- package/dataflow/environments/built-in-props.d.ts +8 -1
- package/dataflow/environments/built-in-props.js +9 -1
- package/dataflow/environments/built-in.d.ts +5 -3
- package/dataflow/environments/built-in.js +5 -4
- package/dataflow/environments/default-builtin-config.d.ts +21 -3
- package/dataflow/environments/default-builtin-config.js +49 -47
- package/dataflow/eval/resolve/resolve-argument.js +11 -6
- package/dataflow/eval/resolve/resolve-numbers.d.ts +1 -178
- package/dataflow/eval/resolve/resolve-numbers.js +2 -13
- package/dataflow/eval/resolve/resolve-strings.d.ts +1 -93
- package/dataflow/eval/resolve/resolve-strings.js +2 -17
- package/dataflow/eval/resolve/resolve-working-directory.js +3 -4
- package/dataflow/extractor.js +44 -26
- package/dataflow/graph/df-helper.d.ts +10 -1
- package/dataflow/graph/df-helper.js +27 -3
- package/dataflow/internal/linker.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +8 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +44 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +3 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +9 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-new-env.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +0 -9
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +11 -21
- package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-with.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +13 -3
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +15 -5
- package/dataflow/internal/process/functions/call/known-call-handling.d.ts +1 -24
- package/dataflow/internal/process/functions/call/known-call-handling.js +8 -34
- package/dataflow/internal/process/functions/call/nse-kind.d.ts +24 -0
- package/dataflow/internal/process/functions/call/nse-kind.js +30 -0
- package/documentation/wiki-dataflow-graph.js +7 -2
- package/documentation/wiki-query.js +3 -2
- package/linter/rules/absolute-path.js +5 -5
- package/linter/rules/cmd-check/dependency-declaration.js +2 -2
- package/linter/rules/cmd-check/package-runtime.js +2 -2
- package/linter/rules/deprecated-functions.js +2 -2
- package/linter/rules/file-path-validity.js +5 -5
- package/linter/rules/function-finder-util.js +2 -2
- package/linter/rules/overwritten-file.js +2 -4
- package/linter/rules/secret-exfiltration.d.ts +3 -2
- package/linter/rules/secret-exfiltration.js +8 -3
- package/linter/rules/unused-import.js +20 -6
- package/package.json +1 -1
- package/project/cache/flowr-analyzer-controlflow-cache.d.ts +0 -6
- package/project/cache/flowr-analyzer-controlflow-cache.js +7 -27
- package/project/context/flowr-analyzer-context.d.ts +2 -2
- package/project/context/flowr-analyzer-context.js +2 -2
- package/project/context/flowr-analyzer-files-context.d.ts +8 -0
- package/project/context/flowr-analyzer-files-context.js +51 -6
- package/project/flowr-analyzer.d.ts +0 -9
- package/project/flowr-analyzer.js +7 -28
- package/project/plugins/file-plugins/files/flowr-namespace-file.d.ts +5 -3
- package/project/plugins/file-plugins/files/flowr-namespace-file.js +70 -163
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.d.ts +2 -3
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +2 -3
- package/project/plugins/file-plugins/flowr-analyzer-rprofile-file-plugin.js +3 -3
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js +2 -2
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-namespace-file-plugin.js +1 -2
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.d.ts +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +25 -3
- package/project/plugins/package-version-plugins/package.js +1 -1
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +2 -3
- package/project/sigdb/build.js +7 -6
- package/project/sigdb/decode.d.ts +2 -0
- package/project/sigdb/decode.js +9 -3
- package/project/sigdb/schema.d.ts +8 -3
- package/queries/catalog/absint-query/absint-query-format.d.ts +1 -1
- package/queries/catalog/config-query/config-query-format.d.ts +1 -1
- package/queries/catalog/config-query/config-query-format.js +4 -4
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +6 -5
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +1 -4
- package/queries/catalog/dependencies-query/dependencies-query-format.js +11 -11
- package/queries/catalog/dependencies-query/dependency-values.d.ts +9 -0
- package/queries/catalog/dependencies-query/dependency-values.js +13 -0
- package/queries/catalog/dependencies-query/function-info/remote-functions.js +2 -2
- package/queries/catalog/dependencies-query/function-info/write-functions.js +8 -7
- package/queries/catalog/dependencies-query/implicit-echo.js +2 -1
- package/queries/catalog/dependencies-query/plot-description.d.ts +1 -1
- package/queries/catalog/dependencies-query/plot-description.js +2 -2
- package/queries/catalog/dice-query/dice-query-format.d.ts +1 -1
- package/queries/catalog/files-query/files-query-format.d.ts +1 -1
- package/queries/catalog/linter-query/linter-query-format.d.ts +2 -2
- package/queries/catalog/linter-query/linter-query-format.js +13 -9
- package/queries/catalog/signature-query/signature-query-executor.d.ts +1 -1
- package/queries/catalog/taint-query/taint-query-format.d.ts +1 -1
- package/queries/query-function-filter.d.ts +1 -1
- package/queries/query.d.ts +2 -2
- package/r-bridge/init.js +1 -1
- package/search/flowr-search-filters.js +2 -2
- package/search/search-executor/search-generators.d.ts +0 -1
- package/search/search-executor/search-generators.js +5 -6
- package/search/search-logger.d.ts +1 -0
- package/search/search-logger.js +6 -0
- package/util/flowr-version.d.ts +1 -1
- package/util/flowr-version.js +2 -2
|
@@ -16,7 +16,7 @@ const hooks_1 = require("../hooks");
|
|
|
16
16
|
const identifier_1 = require("./identifier");
|
|
17
17
|
const built_in_proc_name_1 = require("./built-in-proc-name");
|
|
18
18
|
const built_in_eval_name_1 = require("./built-in-eval-name");
|
|
19
|
-
const
|
|
19
|
+
const nse_kind_1 = require("../internal/process/functions/call/nse-kind");
|
|
20
20
|
const nse_1 = require("../internal/process/functions/call/nse");
|
|
21
21
|
const data_masking_functions_1 = require("./data-masking-functions");
|
|
22
22
|
const built_in_props_1 = require("./built-in-props");
|
|
@@ -626,21 +626,21 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
626
626
|
{ type: 'constant', names: [identifier_1.Identifier.from(['month.abb', "base" /* PkgName.Base */])], value: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], assumePrimitive: true },
|
|
627
627
|
{ type: 'constant', names: [identifier_1.Identifier.from(['month.name', "base" /* PkgName.Base */])], value: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], assumePrimitive: true },
|
|
628
628
|
/* formula: operands are model terms/columns, not variables */
|
|
629
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['~', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { markArgsAsMasked:
|
|
629
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['~', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { markArgsAsMasked: nse_kind_1.NseArguments.All, sig: [['y', 0], ['model', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: false },
|
|
630
630
|
/* cohortBuilder has a `filter` too, and built-ins go by name, so dplyr's entry below wins in the environment
|
|
631
631
|
while this one still states what cohortBuilder's does */
|
|
632
632
|
{ type: 'function', names: [identifier_1.Identifier.from(['filter', "cohortBuilder" /* PkgName.CohortBuilder */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
633
633
|
/* data-masking: the non-data arguments name columns of the (first) data object, not variables */
|
|
634
|
-
{ type: 'function', names: data_masking_functions_1.DataMaskingFunctionIdentifiers, processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
634
|
+
{ type: 'function', names: data_masking_functions_1.DataMaskingFunctionIdentifiers, processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
635
635
|
/* slice_sample draws rows at random; registered after the block above, so this definition is the one that sticks */
|
|
636
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['slice_sample', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
636
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['slice_sample', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random, built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
637
637
|
{ type: 'function', names: [identifier_1.Identifier.from(['t', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigXDots }, assumePrimitive: true },
|
|
638
638
|
{ type: 'function', names: OtherTransforms, processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
639
639
|
{ type: 'function', names: ModelFits, processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Statistics] }, assumePrimitive: false },
|
|
640
640
|
/* data.table's in-place setters hand back their table invisibly */
|
|
641
641
|
{ type: 'function', names: identifier_1.Identifier.fromAll("data.table" /* PkgName.DataTable */, ['setDT', 'setorder', 'setorderv', 'setcolorder']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Transforms], props: built_in_props_1.CallProp.Invisible }, assumePrimitive: false },
|
|
642
642
|
/* data-masking without a data argument, e.g. `aes(x, y)` */
|
|
643
|
-
{ type: 'function', names: [...identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['aes', 'vars']), identifier_1.Identifier.from(['join_by', "dplyr" /* PkgName.Dplyr */]), ...identifier_1.Identifier.fromAllIn(["tibble" /* PkgName.Tibble */, "dplyr" /* PkgName.Dplyr */, "tidyr" /* PkgName.TidyR */], ['tibble', 'tribble'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { markArgsAsMasked:
|
|
643
|
+
{ type: 'function', names: [...identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['aes', 'vars']), identifier_1.Identifier.from(['join_by', "dplyr" /* PkgName.Dplyr */]), ...identifier_1.Identifier.fromAllIn(["tibble" /* PkgName.Tibble */, "dplyr" /* PkgName.Dplyr */, "tidyr" /* PkgName.TidyR */], ['tibble', 'tribble'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { markArgsAsMasked: nse_kind_1.NseArguments.All }, assumePrimitive: false },
|
|
644
644
|
/* an {@link BuiltInEvalName} marks what the value solver folds; a test checks the names against the handler tables */
|
|
645
645
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['+', '-', '*', '/', '^', '**', '%%', '%/%']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: SigAtomicBinOp }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Numeric },
|
|
646
646
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['==', '!=', '>', '<', '>=', '<=']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: SigAtomicBinOp }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Comparison },
|
|
@@ -762,7 +762,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
762
762
|
},
|
|
763
763
|
{ type: 'function', names: identifier_1.Identifier.fromAll("magick" /* PkgName.Magick */, ['image_graph', 'image_draw']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Configures, ambient: OpenDevice, tags: [built_in_props_1.SemanticCallTag.Graphics] }, assumePrimitive: true },
|
|
764
764
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.csv', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['header', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['quote', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['dec', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['fill', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['comment.char', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
765
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['scan', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.User], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
765
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['scan', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.User], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
766
766
|
/* the package functions that read or write a file, each naming the argument that holds the path; the
|
|
767
767
|
dependency query reads its `read` and `write` categories back from here rather than listing them again */
|
|
768
768
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.dcf', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -783,7 +783,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
783
783
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_rds', "readr" /* PkgName.Readr */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
784
784
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.xlsx', "xlsx" /* PkgName.Xlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
785
785
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.xlsx2', "xlsx" /* PkgName.Xlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
786
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['fread', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['input', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['cmd', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
786
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['fread', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['input', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['cmd', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
787
787
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_sas', "haven" /* PkgName.Haven */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
788
788
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_sav', "haven" /* PkgName.Haven */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
789
789
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_por', "haven" /* PkgName.Haven */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -820,8 +820,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
820
820
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_sf', "sf" /* PkgName.Sf */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
821
821
|
{ type: 'function', names: [identifier_1.Identifier.from(['st_read', "sf" /* PkgName.Sf */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
822
822
|
{ type: 'function', names: [identifier_1.Identifier.from(['readOGR', "rgdal" /* PkgName.Rgdal */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
823
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['stargazer', "stargazer" /* PkgName.Stargazer */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['out', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
824
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("texreg" /* PkgName.Texreg */, ['htmlreg', 'texreg']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['l', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
823
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['stargazer', "stargazer" /* PkgName.Stargazer */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['out', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
824
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("texreg" /* PkgName.Texreg */, ['htmlreg', 'texreg']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['l', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
825
825
|
{ type: 'function', names: [identifier_1.Identifier.from(['ogrInfo', "rgdal" /* PkgName.Rgdal */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
826
826
|
{ type: 'function', names: [identifier_1.Identifier.from(['ogrFIDs', "rgdal" /* PkgName.Rgdal */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
827
827
|
{ type: 'function', names: [identifier_1.Identifier.from(['OGRSpatialRef', "rgdal" /* PkgName.Rgdal */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['dsn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -905,8 +905,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
905
905
|
{ type: 'function', names: [identifier_1.Identifier.from(['write.xlsx', "xlsx" /* PkgName.Xlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
906
906
|
{ type: 'function', names: [identifier_1.Identifier.from(['write.xlsx2', "xlsx" /* PkgName.Xlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
907
907
|
{ type: 'function', names: [identifier_1.Identifier.from(['Export', "car" /* PkgName.Car */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
908
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['write.tree', "ape" /* PkgName.Ape */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['phy', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
909
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['write.nexus', "ape" /* PkgName.Ape */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['phy', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
908
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['write.tree', "ape" /* PkgName.Ape */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['phy', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
909
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['write.nexus', "ape" /* PkgName.Ape */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['phy', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
910
910
|
{ type: 'function', names: [identifier_1.Identifier.from(['write.phyloXML', "ape" /* PkgName.Ape */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['phy', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
911
911
|
{ type: 'function', names: [identifier_1.Identifier.from(['write_nexus_matrix', "Claddis" /* PkgName.Claddis */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['cladistic_matrix', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file_name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
912
912
|
{ type: 'function', names: [identifier_1.Identifier.from(['write_tnt_matrix', "Claddis" /* PkgName.Claddis */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['cladistic_matrix', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file_name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -919,10 +919,10 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
919
919
|
{ type: 'function', names: [identifier_1.Identifier.from(['writeWorksheetToFile', "XLConnect" /* PkgName.XlConnect */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
920
920
|
{ type: 'function', names: [identifier_1.Identifier.from(['visSave', "visNetwork" /* PkgName.VisNetwork */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['graph', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
921
921
|
{ type: 'function', names: [identifier_1.Identifier.from(['save_graph', "DiagrammeR" /* PkgName.DiagrammeR */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['graph', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
922
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave', "ggplot2" /* PkgName.GgPlot2 */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, readAllArguments: true, hasUnknownSideEffects: exports.LinkToLastGgPlot, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['plot', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['device', built_in_props_1.ArgProp.Flag], ['path', built_in_props_1.ArgProp.Resource], ['scale', built_in_props_1.ArgProp.Flag], ['width', built_in_props_1.ArgProp.Flag], ['height', built_in_props_1.ArgProp.Flag], ['units', built_in_props_1.ArgProp.Flag], ['dpi', built_in_props_1.ArgProp.Flag], ['limitsize', built_in_props_1.ArgProp.Flag], ['bg', built_in_props_1.ArgProp.Flag], ['create.dir', built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
922
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave', "ggplot2" /* PkgName.GgPlot2 */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, readAllArguments: true, hasUnknownSideEffects: exports.LinkToLastGgPlot, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['plot', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['device', built_in_props_1.ArgProp.Flag], ['path', built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['scale', built_in_props_1.ArgProp.Flag], ['width', built_in_props_1.ArgProp.Flag], ['height', built_in_props_1.ArgProp.Flag], ['units', built_in_props_1.ArgProp.Flag], ['dpi', built_in_props_1.ArgProp.Flag], ['limitsize', built_in_props_1.ArgProp.Flag], ['bg', built_in_props_1.ArgProp.Flag], ['create.dir', built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
923
923
|
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave2', "cowplot" /* PkgName.Cowplot */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, readAllArguments: true, hasUnknownSideEffects: exports.LinkToLastGgPlot, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
924
924
|
{ type: 'function', names: [identifier_1.Identifier.from(['write_json', "jsonlite" /* PkgName.Jsonlite */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
925
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['fwrite', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
925
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['fwrite', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
926
926
|
{ type: 'function', names: [identifier_1.Identifier.from(['write_xlsx', "writexl" /* PkgName.Writexl */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
927
927
|
{ type: 'function', names: [identifier_1.Identifier.from(['write.xlsx', "openxlsx" /* PkgName.OpenXlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
928
928
|
{ type: 'function', names: [identifier_1.Identifier.from(['vroom_write', "vroom" /* PkgName.Vroom */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -963,6 +963,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
963
963
|
{ type: 'function', names: [identifier_1.Identifier.from(['url', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Opens, built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['description', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
964
964
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['socketConnection', 'serverSocket']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Opens, built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['host', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
965
965
|
{ type: 'function', names: [identifier_1.Identifier.from(['rawConnection', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Opens], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
966
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['stdout', 'stderr', 'stdin']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Console] }, assumePrimitive: false },
|
|
966
967
|
{ type: 'function', names: [identifier_1.Identifier.from(['textConnection', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: { type: "open-text-connection" /* AmbientStateAccessType.OpenTextConnection */ }, tags: [built_in_props_1.SemanticCallTag.Opens], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
967
968
|
/* the calls that always reach the network, each naming the argument that carries the address; the
|
|
968
969
|
`network-functions` rule reads them back from here rather than keeping a list of its own */
|
|
@@ -993,9 +994,9 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
993
994
|
{ type: 'function', names: identifier_1.Identifier.fromAll("googledrive" /* PkgName.GoogleDrive */, ['shared_drive_rm']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
994
995
|
{ type: 'function', names: identifier_1.Identifier.fromAll("aws.s3" /* PkgName.AwsS3 */, ['s3read_using']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['FUN', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Callee], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
995
996
|
{ type: 'function', names: identifier_1.Identifier.fromAll("aws.s3" /* PkgName.AwsS3 */, ['s3write_using']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['FUN', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Callee], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
996
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['gcs_get_object', "googleCloudStorageR" /* PkgName.GoogleCloudStorageR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: Downloads, sig: [['object_name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['saveToDisk', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
997
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['gcs_get_object', "googleCloudStorageR" /* PkgName.GoogleCloudStorageR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: Downloads, sig: [['object_name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['saveToDisk', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written | built_in_props_1.ArgProp.Optional], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
997
998
|
{ type: 'function', names: [identifier_1.Identifier.from(['drive_download', "googledrive" /* PkgName.GoogleDrive */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: Downloads, sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written], ['type', built_in_props_1.ArgProp.Value], ['overwrite', built_in_props_1.ArgProp.Flag], ['verbose', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
998
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['req_perform', "httr2" /* PkgName.Httr2 */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: Downloads, sig: [['req', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written], ['verbosity', built_in_props_1.ArgProp.Value], ['mock', built_in_props_1.ArgProp.Value], ['error_call', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
999
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['req_perform', "httr2" /* PkgName.Httr2 */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: Downloads, sig: [['req', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written | built_in_props_1.ArgProp.Optional], ['verbosity', built_in_props_1.ArgProp.Value], ['mock', built_in_props_1.ArgProp.Value], ['error_call', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
999
1000
|
{ type: 'function', names: [identifier_1.Identifier.from(['download.packages', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['pkgs', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['destdir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1000
1001
|
{ type: 'function', names: [identifier_1.Identifier.from(['download_file', "xfun" /* PkgName.Xfun */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: Downloads, sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['output', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1001
1002
|
{ type: 'function', names: [identifier_1.Identifier.from(['download', "downloader" /* PkgName.Downloader */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: Downloads, sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
@@ -1051,21 +1052,22 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1051
1052
|
{ type: 'function', names: [identifier_1.Identifier.from(['with_connection', "withr" /* PkgName.Withr */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, props: built_in_props_1.CallProp.MayPure, tags: [built_in_props_1.SemanticCallTag.Closes], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['code', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1052
1053
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['readLines', 'readBin', 'readChar']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1053
1054
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['readRDS', 'dget']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1054
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['writeLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1055
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['writeLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1055
1056
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['writeBin', 'writeChar']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1056
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['saveRDS', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1057
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['saveRDS', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1057
1058
|
{ type: 'function', names: [identifier_1.Identifier.from(['save', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { namesIn: ['...', 'list'], props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['list', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1058
1059
|
{ type: 'function', names: [identifier_1.Identifier.from(['save.image', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.EnvContents, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1059
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['capture.output', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['append', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['type', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['split', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1060
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['capture.output', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['append', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['type', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['split', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1060
1061
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("fs" /* PkgName.Fs */, ['file_exists', 'dir_exists', 'file_info', 'file_size', 'dir_info']), ...identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['file.exists', 'file.size', 'file.info', 'file.mtime', 'Sys.readlink'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1061
1062
|
{ type: 'function', names: [identifier_1.Identifier.from(['dir.exists', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1062
1063
|
{ type: 'function', names: [identifier_1.Identifier.from(['file.access', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['names', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1063
1064
|
{ type: 'function', names: [identifier_1.Identifier.from(['file_test', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['op', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['y', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1064
1065
|
{ type: 'function', names: [identifier_1.Identifier.from(['normalizePath', "base" /* PkgName.Base */]), ...identifier_1.Identifier.fromAll("fs" /* PkgName.Fs */, ['path_abs', 'path_real'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: { type: "get-working-directory" /* AmbientStateAccessType.GetWorkingDirectory */ }, props: built_in_props_1.CallProp.Ambient, sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['winslash', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['mustWork', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1065
|
-
{ type: 'function', names: identifier_1.Identifier.
|
|
1066
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['write
|
|
1067
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['write.
|
|
1068
|
-
{ type: 'function', names: identifier_1.Identifier.
|
|
1066
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['dput', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1067
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['write', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1068
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['write.dcf', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1069
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['write.table', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1070
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['write.csv', 'write.csv2']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1069
1071
|
{ type: 'function', names: identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['read.table', 'read.delim', 'read.csv2', 'read.delim2']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1070
1072
|
{ type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: Downloads, sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
1071
1073
|
{ type: 'function', names: [identifier_1.Identifier.from(['jitter', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random], sig: [['x', built_in_props_1.ArgProp.NoDefault], ['factor', 0], ['amount', 0]] }, assumePrimitive: true },
|
|
@@ -1137,7 +1139,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1137
1139
|
{ type: 'function', names: namespacePlotFunctions(exports.TinyPlotAddons), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: { type: 'link-to-last-call', callName: toRegex([...exports.TinyPlotCrate, ...exports.TinyPlotAddons]) }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1138
1140
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("magick" /* PkgName.Magick */, ['image_capture']), ...identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.capture'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1139
1141
|
/* they put what the device holds on disk */
|
|
1140
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['image_write', "magick" /* PkgName.Magick */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['image', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: true },
|
|
1142
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['image_write', "magick" /* PkgName.Magick */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['image', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: true },
|
|
1141
1143
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.off']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, libFn: true, ambient: { type: "close-device" /* AmbientStateAccessType.CloseDevice */ }, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Closes, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1142
1144
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['graphics.off']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, libFn: true, ambient: { type: "close-device" /* AmbientStateAccessType.CloseDevice */, all: true }, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Closes, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1143
1145
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.cur', 'dev.list', 'dev.size', 'dev.capabilities']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, libFn: true, ambient: ReadDevices, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
@@ -1176,7 +1178,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1176
1178
|
hasUnknownSideEffects: true,
|
|
1177
1179
|
sig: [['.NAME', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]],
|
|
1178
1180
|
/* the routine usually comes from useDynLib, but it may be a variable holding a symbol */
|
|
1179
|
-
markArgsAsMasked:
|
|
1181
|
+
markArgsAsMasked: nse_kind_1.NseArguments.First,
|
|
1180
1182
|
treatAsFnCall: {
|
|
1181
1183
|
'.Call': ['.NAME'],
|
|
1182
1184
|
'.External': ['.NAME'],
|
|
@@ -1193,7 +1195,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1193
1195
|
},
|
|
1194
1196
|
{ type: 'function', names: [identifier_1.Identifier.from(['eval', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Eval, config: { includeFunctionCall: true, supportFunctionCall: false, keepEnvironment: true, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['expr', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['enclos', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1195
1197
|
{ type: 'function', names: [identifier_1.Identifier.from(['evalText', "SoDA" /* PkgName.Soda */]), identifier_1.Identifier.from(['evalText', "FastUtils" /* PkgName.FastUtils */])], processor: built_in_proc_name_1.BuiltInProcName.Eval, config: { includeFunctionCall: true, supportFunctionCall: true, keepEnvironment: true, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1196
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['cat', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: { type: 'link-to-last-call', callName: /^sink$/ }, ambient: ReadPrintingOptions, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['...', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1198
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['cat', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: { type: 'link-to-last-call', callName: /^sink$/ }, ambient: ReadPrintingOptions, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['...', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1197
1199
|
{ type: 'function', names: [identifier_1.Identifier.from(['switch', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { alternativeArgsFrom: 1, useAsProcessor: built_in_proc_name_1.BuiltInProcName.Switch, props: built_in_props_1.CallProp.Pure, sig: [['EXPR', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1198
1200
|
{ type: 'function', names: ['return'], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { cfg: 1 /* ExitPointType.Return */, keepArgumentOut: true, useAsProcessor: built_in_proc_name_1.BuiltInProcName.Return, props: built_in_props_1.CallProp.Pure, sig: [['value', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias]] }, assumePrimitive: true },
|
|
1199
1201
|
{
|
|
@@ -1539,7 +1541,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1539
1541
|
/* native code */
|
|
1540
1542
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['dyn.load']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ffi | built_in_props_1.CallProp.Invisible, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1541
1543
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['getNativeSymbolInfo']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ffi, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1542
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['sourceCpp', "Rcpp" /* PkgName.Rcpp */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Ffi | built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1544
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['sourceCpp', "Rcpp" /* PkgName.Rcpp */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Ffi | built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional]] }, assumePrimitive: false },
|
|
1543
1545
|
/* ambient state: options, environment variables, the clock, the session itself */
|
|
1544
1546
|
{ type: 'function', names: [identifier_1.Identifier.from(['Sys.getenv', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, ambient: { type: "read-keyed" /* AmbientStateAccessType.ReadKeyed */, state: ambient_state_name_1.KeyedState.Env, keys: { from: 'parameter', signature: ['x', 'unset', 'names', 'allowEmpty'], names: ['x'] } }, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1545
1547
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['Sys.info', 'Sys.getpid', 'getRversion', 'R.Version', 'Sys.time', 'Sys.Date', 'Sys.timezone', 'date', 'proc.time', 'interactive']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
@@ -1639,27 +1641,27 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1639
1641
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['matrix', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['nrow', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ncol', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['byrow', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['dimnames', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1640
1642
|
/* the tidyverse verbs, under the names R declares them with. They keep the data mask the group above
|
|
1641
1643
|
gives them; what this adds is which argument is the data and what the further ones are called */
|
|
1642
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['mutate', 'select', 'rename']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1644
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['mutate', 'select', 'rename']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1643
1645
|
/* `transmute` is one of them and deprecated on top of it */
|
|
1644
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['transmute', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1646
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['transmute', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1645
1647
|
{ type: 'function', names: [identifier_1.Identifier.from(['filter', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['filter', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sides', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['circular', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['init', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1646
1648
|
{ type: 'function', names: [identifier_1.Identifier.from(['step', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Prints], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['scope', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['scale', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['direction', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['trace', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['steps', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['k', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1647
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['filter', "dplyr" /* PkgName.Dplyr */]), identifier_1.Identifier.from(['slice', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1648
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['summarise', 'summarize']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1649
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['arrange', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1650
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['group_by', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1651
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['distinct', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1652
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['relocate', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1653
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['count', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1654
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pull', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1655
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['nest', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1649
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['filter', "dplyr" /* PkgName.Dplyr */]), identifier_1.Identifier.from(['slice', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.preserve', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1650
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['summarise', 'summarize']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.groups', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1651
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['arrange', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by_group', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1652
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['group_by', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.add', built_in_props_1.ArgProp.Flag], ['.drop', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1653
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['distinct', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.keep_all', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1654
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['relocate', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.before', built_in_props_1.ArgProp.Value], ['.after', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1655
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['count', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['wt', built_in_props_1.ArgProp.Value], ['sort', built_in_props_1.ArgProp.Flag], ['name', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1656
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pull', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['.data', built_in_props_1.ArgProp.Value], ['var', built_in_props_1.ArgProp.Value], ['name', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1657
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['nest', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1656
1658
|
/* `drop_na` names its first argument `data`, not `.data`, so it gets a line of its own */
|
|
1657
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['drop_na', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1658
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_longer', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1659
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_wider', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1660
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['separate', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1661
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['unite', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1662
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['subset', 'transform']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1659
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['drop_na', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1660
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_longer', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['cols', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_to', built_in_props_1.ArgProp.Value], ['values_to', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1661
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_wider', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_from', built_in_props_1.ArgProp.Value], ['values_from', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1662
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['separate', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['into', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag], ['convert', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1663
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['unite', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1664
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['subset', 'transform']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1663
1665
|
/* these share the `f(x, ...)` shape above, but R puts one more formal before the `...`: leaving it out
|
|
1664
1666
|
would shift every position after it, so each names its own */
|
|
1665
1667
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['sort', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['decreasing', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
@@ -1672,9 +1674,9 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1672
1674
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['grepl', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Narrows], sig: [['pattern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ignore.case', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1673
1675
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['match', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Narrows], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['table', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['nomatch', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['incomparables', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1674
1676
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['lengths', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Narrows], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Shape], ['use.names', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1675
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['readLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['n', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ok', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['warn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['encoding', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['skipNul', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1676
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['writeLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1677
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['write.table', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['append', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['quote', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1677
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['readLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['n', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ok', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['warn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['encoding', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['skipNul', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1678
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['writeLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1679
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['write.table', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Optional], ['append', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['quote', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1678
1680
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: Downloads, sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Written], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['quiet', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['cacheOK', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['extra', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['headers', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1679
1681
|
/* deprecated and defunct functions of base R */
|
|
1680
1682
|
{
|
|
@@ -1692,7 +1694,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1692
1694
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['id', 'progress_estimated', 'add_rownames', 'tbl_df', 'src_local', 'summarise_each', 'summarize_', 'summarise_', 'slice_', 'select_vars_', 'select_', 'rename_vars_', 'rename_', 'transmute_', 'tally_', 'mutate_', 'group_indices_', 'group_by_', 'funs_', 'filter_', 'do_', 'distinct_', 'count_', 'arrange_', 'add_tally_', 'add_count_', 'funs', 'combine', 'changes', 'location', 'eval_tbls2', 'eval_tbls', 'compare_tbls2', 'compare_tbls', 'bench_tbls', 'current_vars', 'select_var', 'rename_vars', 'select_vars', 'failwith', 'all_equal']) },
|
|
1693
1695
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: [identifier_1.Identifier.make('fct_explicit_na', "forcats" /* PkgName.Forecats */)] },
|
|
1694
1696
|
/* deprecated, but still data-masking: restating the mask keeps the column names out of the variable resolution */
|
|
1695
|
-
{ overrides: true, type: 'function', processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked:
|
|
1697
|
+
{ overrides: true, type: 'function', processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: nse_kind_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms] }, names: [...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['with_groups']), ...identifier_1.Identifier.fromAll("tidyr" /* PkgName.TidyR */, ['spread', 'separate_rows', 'gather', 'extract'])] },
|
|
1696
1698
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['is.ggplot', 'guide_train', 'aes_auto', 'aes_']) },
|
|
1697
1699
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated], props: built_in_props_1.CallProp.Invisible }, names: identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['gg_dep']) },
|
|
1698
1700
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("plyr" /* PkgName.Plyr */, ['liply', 'isplit2']) },
|
|
@@ -13,7 +13,8 @@ const df_helper_1 = require("../../graph/df-helper");
|
|
|
13
13
|
const query_fn_props_1 = require("../../environments/query-fn-props");
|
|
14
14
|
const built_in_props_1 = require("../../environments/built-in-props");
|
|
15
15
|
const function_semantics_1 = require("../../fn/function-semantics");
|
|
16
|
-
const
|
|
16
|
+
const identifier_1 = require("../../environments/identifier");
|
|
17
|
+
const dependency_values_1 = require("../../../queries/catalog/dependencies-query/dependency-values");
|
|
17
18
|
const general_1 = require("../values/general");
|
|
18
19
|
const r_value_2 = require("../values/r-value");
|
|
19
20
|
const convert_values_1 = require("../../../r-bridge/lang-4.x/convert-values");
|
|
@@ -90,11 +91,11 @@ function argumentValues(variableResolve, graph, vertex, ref, resolveValue, ctx,
|
|
|
90
91
|
}
|
|
91
92
|
const values = resolveBasedOnConfig(variableResolve, graph, vertex, valueNode, resolveValue, ctx, callContext)
|
|
92
93
|
?? openedResourceOf(variableResolve, graph, valueNode.info.id, ctx, opening)
|
|
93
|
-
?? [
|
|
94
|
+
?? [dependency_values_1.Unknown];
|
|
94
95
|
return new Set(values);
|
|
95
96
|
}
|
|
96
97
|
/**
|
|
97
|
-
* The resource a call that `argument` reads from opens, like the file of `gzfile(f)` in `read.csv(gzfile(f))`. A call
|
|
98
|
+
* The resource a call that `argument` reads from opens, like the file of `gzfile(f)` in `read.csv(gzfile(f))`, or the console stream it names, like `stderr` for `stderr()`. A call
|
|
98
99
|
* already in `opening` is skipped: in `gzfile(d)` with `d` unknown, the provenance of `d` leads back to that very call.
|
|
99
100
|
*/
|
|
100
101
|
function openedResourceOf(variableResolve, graph, argument, ctx, opening) {
|
|
@@ -104,13 +105,17 @@ function openedResourceOf(variableResolve, graph, argument, ctx, opening) {
|
|
|
104
105
|
}
|
|
105
106
|
const vertex = graph.getVertex(id);
|
|
106
107
|
const info = vertex_1.DfgVertex.isFunctionCall(vertex) ? (0, query_fn_props_1.callFnProps)(id, { graph, environment: ctx.env.cleanEnv() }) : undefined;
|
|
108
|
+
if (info !== undefined && function_semantics_1.FunctionSemantics.call.props.hasAll(info, [built_in_props_1.SemanticCallTag.Console])) {
|
|
109
|
+
/* a console stream, named as the dependencies name it */
|
|
110
|
+
return [identifier_1.Identifier.getName(info.name)];
|
|
111
|
+
}
|
|
107
112
|
const resource = info?.sig?.findIndex(([, p]) => (p & built_in_props_1.ArgProp.Resource) !== 0) ?? -1;
|
|
108
113
|
if (vertex === undefined || !function_semantics_1.FunctionSemantics.call.props.hasAll(info, [built_in_props_1.SemanticCallTag.Opens]) || (resource < 0 && info?.sig === undefined)) {
|
|
109
114
|
continue;
|
|
110
115
|
}
|
|
111
116
|
else if (resource < 0) {
|
|
112
117
|
/* a handle on data in memory (`textConnection(x)`) names no resource at all */
|
|
113
|
-
return [
|
|
118
|
+
return [dependency_values_1.Constant];
|
|
114
119
|
}
|
|
115
120
|
const values = argumentStringValues(variableResolve, graph, vertex, resource, info?.sig?.[resource][0], true, ctx, undefined, undefined, new Set([...opening, id]));
|
|
116
121
|
return values === undefined ? undefined : [...values.values()].flatMap(v => [...v]).filter(assert_1.isNotUndefined);
|
|
@@ -156,12 +161,12 @@ function stringsOfValue(value, full) {
|
|
|
156
161
|
return (0, r_value_2.isValue)(value.value) ? [value.value.valueOf() ? convert_values_1.RTrue : convert_values_1.RFalse] : undefined;
|
|
157
162
|
case 'vector':
|
|
158
163
|
return (0, r_value_2.isValue)(value.elements)
|
|
159
|
-
? (0, string_constants_1.collectStrings)(value.elements, !full) ?? (value.elements.every(r_value_2.isValue) ? [
|
|
164
|
+
? (0, string_constants_1.collectStrings)(value.elements, !full) ?? (value.elements.every(r_value_2.isValue) ? [dependency_values_1.Constant] : undefined)
|
|
160
165
|
: undefined;
|
|
161
166
|
case 'number':
|
|
162
167
|
case 'interval':
|
|
163
168
|
case 'null':
|
|
164
|
-
return [
|
|
169
|
+
return [dependency_values_1.Constant];
|
|
165
170
|
default:
|
|
166
171
|
return undefined;
|
|
167
172
|
}
|