@eagleoutice/flowr 2.13.15 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/README.md +31 -37
  2. package/abstract-interpretation/absint-visitor.js +1 -1
  3. package/abstract-interpretation/data-frame/mappers/access-mapper.js +4 -4
  4. package/abstract-interpretation/data-frame/mappers/arguments.js +7 -4
  5. package/abstract-interpretation/data-frame/mappers/function-mapper.js +18 -17
  6. package/abstract-interpretation/data-frame/mappers/replacement-mapper.js +6 -6
  7. package/abstract-interpretation/data-frame/resolve-args.d.ts +9 -4
  8. package/abstract-interpretation/data-frame/resolve-args.js +10 -5
  9. package/abstract-interpretation/unsupported-functions.d.ts +1 -0
  10. package/abstract-interpretation/unsupported-functions.js +1 -0
  11. package/benchmark/calibration.d.ts +12 -5
  12. package/benchmark/calibration.js +42 -14
  13. package/benchmark/slicer.d.ts +1 -1
  14. package/benchmark/slicer.js +5 -4
  15. package/benchmark/stats/size-of.js +1 -1
  16. package/benchmark/summarizer/first-phase/process.d.ts +2 -0
  17. package/benchmark/summarizer/first-phase/process.js +2 -0
  18. package/cli/common/options.d.ts +0 -31
  19. package/cli/common/options.js +1 -8
  20. package/cli/common/scripts-info.d.ts +0 -38
  21. package/cli/common/scripts-info.js +0 -8
  22. package/cli/repl/commands/repl-query.js +37 -2
  23. package/cli/repl/core.js +6 -3
  24. package/cli/repl/parser/slice-query-parser.js +1 -1
  25. package/cli/repl/print-version.js +2 -2
  26. package/config.d.ts +16 -0
  27. package/config.js +79 -0
  28. package/control-flow/control-flow-graph.d.ts +2 -0
  29. package/control-flow/control-flow-graph.js +2 -0
  30. package/control-flow/extract-cfg.js +1 -1
  31. package/control-flow/semantic-cfg-guided-visitor.d.ts +1 -1
  32. package/control-flow/semantic-cfg-guided-visitor.js +1 -1
  33. package/control-flow/useless-loop.js +1 -1
  34. package/core/print/slice-diff-ansi.js +1 -1
  35. package/core/steps/pipeline/create-pipeline.js +1 -1
  36. package/dataflow/cluster.js +2 -2
  37. package/dataflow/environments/built-in-props.d.ts +8 -1
  38. package/dataflow/environments/built-in-props.js +18 -0
  39. package/dataflow/environments/built-in.d.ts +7 -1
  40. package/dataflow/environments/built-in.js +42 -3
  41. package/dataflow/environments/default-builtin-config.d.ts +442 -10
  42. package/dataflow/environments/default-builtin-config.js +188 -18
  43. package/dataflow/environments/environment.d.ts +1 -1
  44. package/dataflow/environments/identifier.d.ts +7 -2
  45. package/dataflow/environments/identifier.js +6 -1
  46. package/dataflow/environments/query-fn-props.js +2 -2
  47. package/dataflow/environments/reference-to-maybe.js +5 -5
  48. package/dataflow/environments/resolve-by-name.d.ts +3 -0
  49. package/dataflow/environments/resolve-by-name.js +30 -5
  50. package/dataflow/environments/resolve-helper.d.ts +6 -0
  51. package/dataflow/environments/resolve-helper.js +6 -0
  52. package/dataflow/eval/resolve/alias-tracking.d.ts +5 -0
  53. package/dataflow/eval/resolve/alias-tracking.js +21 -14
  54. package/dataflow/eval/resolve/node-value.d.ts +6 -0
  55. package/dataflow/eval/resolve/node-value.js +15 -9
  56. package/dataflow/eval/resolve/resolve-argument.js +2 -2
  57. package/dataflow/eval/resolve/resolve-numbers.js +2 -2
  58. package/dataflow/eval/resolve/resolve-operators.js +4 -3
  59. package/dataflow/eval/resolve/resolve-strings.js +3 -3
  60. package/dataflow/eval/resolve/resolve-working-directory.js +2 -1
  61. package/dataflow/eval/resolve/resolve.d.ts +5 -5
  62. package/dataflow/eval/resolve/resolve.js +10 -11
  63. package/dataflow/eval/values/general.d.ts +4 -1
  64. package/dataflow/eval/values/general.js +4 -1
  65. package/dataflow/extractor.js +2 -1
  66. package/dataflow/fn/exceptions-of-function.js +5 -4
  67. package/dataflow/fn/higher-order-function.d.ts +1 -1
  68. package/dataflow/fn/higher-order-function.js +22 -2
  69. package/dataflow/graph/call-graph.d.ts +1 -1
  70. package/dataflow/graph/call-graph.js +15 -15
  71. package/dataflow/graph/df-helper.d.ts +17 -2
  72. package/dataflow/graph/df-helper.js +11 -5
  73. package/dataflow/graph/diff-dataflow-graph.js +6 -6
  74. package/dataflow/graph/edge.d.ts +27 -0
  75. package/dataflow/graph/edge.js +33 -0
  76. package/dataflow/graph/graph-helper.d.ts +4 -4
  77. package/dataflow/graph/graph-helper.js +5 -5
  78. package/dataflow/graph/graph.d.ts +11 -1
  79. package/dataflow/graph/graph.js +16 -5
  80. package/dataflow/graph/vertex.d.ts +47 -6
  81. package/dataflow/graph/vertex.js +47 -6
  82. package/dataflow/internal/linker.d.ts +1 -0
  83. package/dataflow/internal/linker.js +11 -9
  84. package/dataflow/internal/process/functions/call/built-in/built-in-access.js +2 -2
  85. package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +1 -1
  86. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +6 -5
  87. package/dataflow/internal/process/functions/call/built-in/built-in-class-generator.js +2 -2
  88. package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +6 -7
  89. package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +7 -6
  90. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.d.ts +1 -0
  91. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +19 -18
  92. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +6 -1
  93. package/dataflow/internal/process/functions/call/built-in/built-in-list.js +2 -2
  94. package/dataflow/internal/process/functions/call/built-in/built-in-local.js +2 -2
  95. package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +2 -2
  96. package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +5 -5
  97. package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +1 -1
  98. package/dataflow/internal/process/functions/call/built-in/built-in-register-hook.js +3 -3
  99. package/dataflow/internal/process/functions/call/built-in/built-in-replacement.js +3 -3
  100. package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +2 -2
  101. package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +3 -3
  102. package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +1 -1
  103. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +8 -2
  104. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.js +1 -1
  105. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +3 -3
  106. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +3 -1
  107. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +15 -12
  108. package/dataflow/internal/process/functions/call/common.d.ts +9 -1
  109. package/dataflow/internal/process/functions/call/common.js +17 -6
  110. package/dataflow/internal/process/functions/call/deferred.d.ts +7 -0
  111. package/dataflow/internal/process/functions/call/deferred.js +24 -1
  112. package/dataflow/internal/process/functions/call/known-call-handling.d.ts +3 -1
  113. package/dataflow/internal/process/functions/call/known-call-handling.js +6 -3
  114. package/dataflow/internal/process/functions/call/named-call-handling.js +44 -12
  115. package/dataflow/internal/process/functions/call/nse.d.ts +34 -5
  116. package/dataflow/internal/process/functions/call/nse.js +114 -6
  117. package/dataflow/internal/process/functions/call/quoted.d.ts +6 -0
  118. package/dataflow/internal/process/functions/call/quoted.js +26 -11
  119. package/dataflow/origin/dfg-get-origin.d.ts +1 -0
  120. package/dataflow/origin/dfg-get-origin.js +9 -6
  121. package/documentation/data/faq/faqs.js +88 -88
  122. package/documentation/data/faq/recommended-configs.js +1 -1
  123. package/documentation/data/faq/wiki-faq-store.js +1 -1
  124. package/documentation/doc-capabilities.js +1 -1
  125. package/documentation/doc-readme.js +1 -1
  126. package/documentation/doc-util/doc-auto-gen.js +6 -2
  127. package/documentation/doc-util/doc-functions.js +1 -1
  128. package/documentation/wiki-cfg.js +2 -2
  129. package/documentation/wiki-create-linting-rules.js +45 -45
  130. package/documentation/wiki-dataflow-graph.js +25 -18
  131. package/documentation/wiki-linting-and-testing.js +93 -5
  132. package/documentation/wiki-mk/doc-maker.js +1 -1
  133. package/documentation/wiki-overview.js +12 -1
  134. package/documentation/wiki-signature-database.js +3 -0
  135. package/linter/linter-format.d.ts +1 -0
  136. package/linter/linter-format.js +1 -0
  137. package/linter/rules/file-path-validity.js +1 -1
  138. package/linter/rules/function-finder-util.js +1 -1
  139. package/linter/rules/naming-convention.js +1 -1
  140. package/linter/rules/no-leaked-credentials.js +2 -1
  141. package/linter/rules/stop-with-call-arg.js +4 -4
  142. package/linter/rules/undefined-symbol-util.d.ts +1 -1
  143. package/linter/rules/undefined-symbol-util.js +5 -4
  144. package/linter/rules/undefined-symbol.js +3 -3
  145. package/linter/rules/unused-definition.js +2 -1
  146. package/package.json +35 -45
  147. package/project/context/flowr-analyzer-environment-context.d.ts +23 -0
  148. package/project/context/flowr-analyzer-environment-context.js +25 -0
  149. package/project/dependency-version-space.js +1 -2
  150. package/project/flowr-analyzer.js +1 -1
  151. package/project/plugins/file-plugins/files/flowr-rda-file.js +3 -3
  152. package/project/plugins/file-plugins/files/flowr-rmarkdown-file.js +2 -2
  153. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +3 -1
  154. package/project/sigdb/build.js +16 -16
  155. package/project/sigdb/codec.d.ts +1 -1
  156. package/project/sigdb/codec.js +13 -13
  157. package/project/sigdb/decompress.d.ts +1 -1
  158. package/project/sigdb/decompress.js +33 -33
  159. package/project/sigdb/index-format.js +2 -2
  160. package/project/sigdb/manifest.js +21 -21
  161. package/project/sigdb/memory-source.d.ts +64 -0
  162. package/project/sigdb/memory-source.js +133 -0
  163. package/project/sigdb/reader.js +13 -13
  164. package/queries/catalog/absint-query/absint-query-format.js +1 -1
  165. package/queries/catalog/call-context-query/call-context-query-executor.js +1 -1
  166. package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +2 -2
  167. package/queries/catalog/dependencies-query/dependencies-query-executor.js +2 -2
  168. package/queries/catalog/dependencies-query/dependencies-query-format.js +1 -1
  169. package/queries/catalog/dependencies-query/link-devices.js +2 -2
  170. package/queries/catalog/does-call-query/does-call-query-executor.js +2 -1
  171. package/queries/catalog/does-call-query/does-call-query-format.js +2 -1
  172. package/queries/catalog/input-sources-query/input-sources-query-format.js +1 -1
  173. package/queries/catalog/input-sources-query/simple-input-classifier.js +4 -4
  174. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +1 -1
  175. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +1 -1
  176. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.js +1 -1
  177. package/queries/catalog/location-map-query/location-map-query-format.js +2 -2
  178. package/queries/catalog/origin-query/origin-query-format.js +1 -1
  179. package/queries/catalog/provenance-query/provenance-query-format.js +1 -1
  180. package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +2 -2
  181. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -1
  182. package/queries/catalog/signature-query/signature-query-executor.d.ts +2 -0
  183. package/queries/catalog/signature-query/signature-query-executor.js +3 -2
  184. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.d.ts +1 -0
  185. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.js +1 -0
  186. package/r-bridge/lang-4.x/ast/model/processing/node-id.js +3 -3
  187. package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-call.js +1 -1
  188. package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-definition.js +1 -1
  189. package/r-bridge/retriever.d.ts +2 -1
  190. package/r-bridge/retriever.js +3 -2
  191. package/r-bridge/roxygen2/documentation-provider.d.ts +1 -0
  192. package/r-bridge/roxygen2/documentation-provider.js +1 -0
  193. package/r-bridge/roxygen2/roxygen-parse.d.ts +1 -1
  194. package/r-bridge/roxygen2/roxygen-parse.js +1 -1
  195. package/search/flowr-search-filters.d.ts +1 -1
  196. package/search/flowr-search-filters.js +2 -2
  197. package/search/search-executor/search-enrichers.js +4 -4
  198. package/search/search-executor/search-generators.js +1 -1
  199. package/slicing/criterion/parse.d.ts +1 -0
  200. package/slicing/criterion/parse.js +4 -3
  201. package/slicing/static/slice-call.d.ts +1 -1
  202. package/slicing/static/slice-call.js +2 -2
  203. package/slicing/static/static-slicer.js +4 -3
  204. package/util/assert.js +1 -1
  205. package/util/log.d.ts +4 -1
  206. package/util/log.js +15 -2
  207. package/util/logic.js +2 -2
  208. package/util/mermaid/cfg.js +1 -1
  209. package/util/mermaid/dfg.js +6 -6
  210. package/util/mermaid/mermaid.js +3 -1
  211. package/util/quads.js +19 -6
  212. package/util/r-version.d.ts +2 -0
  213. package/util/r-version.js +2 -0
  214. package/util/record.d.ts +1 -0
  215. package/util/record.js +1 -0
  216. package/util/schema.js +2 -2
  217. package/util/text/ansi.d.ts +2 -0
  218. package/util/text/ansi.js +8 -0
  219. package/util/text/name-rank.d.ts +29 -0
  220. package/util/text/name-rank.js +39 -0
  221. package/util/text/url-encoding.d.ts +15 -0
  222. package/util/text/url-encoding.js +59 -0
  223. package/util/version.js +1 -1
  224. package/cli/export-quads-app.d.ts +0 -7
  225. package/cli/export-quads-app.js +0 -44
@@ -1,3 +1,4 @@
1
+ import type { BuiltInDefinitions } from './built-in-config';
1
2
  import { ExitPointType } from '../info';
2
3
  import type { DataflowGraph } from '../graph/graph';
3
4
  import type { DataflowGraphVertexInfo } from '../graph/vertex';
@@ -51,6 +52,31 @@ export declare const GgPlotImplicitAddons: readonly ["geom_count", "geom_bin_2d"
51
52
  export declare const PlotFunctionsWithAddParam: Set<string>;
52
53
  export declare const GraphicsPlotAddons: string[];
53
54
  export declare const GgPlotAddons: string[];
55
+ /** what flowR states about one of the functions it defines, in the words a page shows */
56
+ export interface StatedSignature {
57
+ /** the package the definition is for, `base` when it names none */
58
+ readonly pkg: string;
59
+ /**
60
+ * The formals flowR models, `x, ...`, or `undefined` where it declares none. Not R's own declaration:
61
+ * flowR names the arguments it has something to say about, so a page must not print an empty list as
62
+ * though the function took nothing.
63
+ */
64
+ readonly params?: string;
65
+ /** what it does, from {@link callPropWords} */
66
+ readonly props: readonly string[];
67
+ }
68
+ /**
69
+ * What flowR states about every function it carries a definition for, as `name -> signatures`. A name may be
70
+ * defined for several packages (`filter` is dplyr's and cohortBuilder's), so all of them are here and the
71
+ * caller picks by package; {@link statedSignatureOf} does that. The signature browser and the playground both
72
+ * show this next to what a database says, so both read it from here.
73
+ */
74
+ export declare function statedSignatures(definitions?: BuiltInDefinitions): Map<string, StatedSignature[]>;
75
+ /**
76
+ * The one of {@link statedSignatures} a reader means: the definition for `pkg` when there is one, else base
77
+ * R's, else whichever came first. `undefined` when flowR states nothing about the name at all.
78
+ */
79
+ export declare function statedSignatureOf(stated: ReadonlyMap<string, readonly StatedSignature[]>, name: string, pkg?: string): StatedSignature | undefined;
54
80
  /**
55
81
  * R's group generics: a class claims every member of a group at once, with an `Ops.cls` (S3) or a
56
82
  * `setMethod('Arith', ...)` (S4), so a call to any member may dispatch to a method named after the group.
@@ -218,7 +244,7 @@ export declare const WrittenBuiltinDefinitions: [{
218
244
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
219
245
  readonly config: {
220
246
  readonly props: CallProp.Pure;
221
- readonly sig: [["from", ArgProp.Value], ["to", ArgProp.Value]];
247
+ readonly sig: [["from", number], ["to", number]];
222
248
  };
223
249
  readonly assumePrimitive: true;
224
250
  readonly evalHandler: BuiltInEvalName.Seq;
@@ -409,7 +435,7 @@ export declare const WrittenBuiltinDefinitions: [{
409
435
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
410
436
  readonly config: {
411
437
  readonly props: CallProp.Pure;
412
- readonly sig: [["object", ArgProp.Value]];
438
+ readonly sig: [["object", ArgProp.Value], ["...", ArgProp.Value]];
413
439
  };
414
440
  readonly assumePrimitive: true;
415
441
  }, {
@@ -537,7 +563,7 @@ export declare const WrittenBuiltinDefinitions: [{
537
563
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
538
564
  readonly config: {
539
565
  readonly props: number;
540
- readonly sig: [["filename", ArgProp.Resource]];
566
+ readonly sig: [["filename", ArgProp.Resource], ["width", ArgProp.Value], ["height", ArgProp.Value], ["...", ArgProp.Value]];
541
567
  };
542
568
  readonly assumePrimitive: true;
543
569
  }, {
@@ -546,7 +572,7 @@ export declare const WrittenBuiltinDefinitions: [{
546
572
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
547
573
  readonly config: {
548
574
  readonly props: number;
549
- readonly sig: [["file", ArgProp.Resource]];
575
+ readonly sig: [["file", ArgProp.Resource], ["type", ArgProp.Value], ["height", ArgProp.Value], ["width", ArgProp.Value], ["...", ArgProp.Value]];
550
576
  };
551
577
  readonly assumePrimitive: true;
552
578
  }, {
@@ -563,7 +589,7 @@ export declare const WrittenBuiltinDefinitions: [{
563
589
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
564
590
  readonly config: {
565
591
  readonly props: number;
566
- readonly sig: [["file", ArgProp.Resource]];
592
+ readonly sig: [["file", ArgProp.Resource], ["header", ArgProp.Flag], ["sep", ArgProp.Value], ["quote", ArgProp.Value], ["dec", ArgProp.Value], ["fill", ArgProp.Flag], ["comment.char", ArgProp.Value], ["...", ArgProp.Value]];
567
593
  };
568
594
  readonly assumePrimitive: true;
569
595
  }, {
@@ -653,7 +679,7 @@ export declare const WrittenBuiltinDefinitions: [{
653
679
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
654
680
  readonly config: {
655
681
  readonly props: number;
656
- readonly sig: [["...", ArgProp.Value], ["file", ArgProp.Resource]];
682
+ readonly sig: [["...", ArgProp.Value], ["list", ArgProp.Value], ["file", ArgProp.Resource]];
657
683
  };
658
684
  readonly assumePrimitive: false;
659
685
  }, {
@@ -683,12 +709,22 @@ export declare const WrittenBuiltinDefinitions: [{
683
709
  readonly sig: [["x", ArgProp.Value], ["file", ArgProp.Resource]];
684
710
  };
685
711
  readonly assumePrimitive: false;
712
+ }, {
713
+ readonly type: "function";
714
+ readonly names: [Identifier];
715
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
716
+ readonly config: {
717
+ readonly props: number;
718
+ readonly sig: [["x", ArgProp.Value], ["file", ArgProp.Resource]];
719
+ };
720
+ readonly assumePrimitive: false;
686
721
  }, {
687
722
  readonly type: "function";
688
723
  readonly names: Identifier[];
689
724
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
690
725
  readonly config: {
691
726
  readonly props: number;
727
+ readonly sig: [["x", ArgProp.Value], ["file", ArgProp.Resource]];
692
728
  };
693
729
  readonly assumePrimitive: false;
694
730
  }, {
@@ -770,7 +806,7 @@ export declare const WrittenBuiltinDefinitions: [{
770
806
  readonly nameOfFunctionArgument: "FUN";
771
807
  readonly unquoteFunction: true;
772
808
  readonly props: CallProp.MayPure;
773
- readonly sig: [["FUN", ArgProp.Callee]];
809
+ readonly sig: [["FUN", ArgProp.Callee], ["...", ArgProp.Value]];
774
810
  };
775
811
  readonly assumePrimitive: false;
776
812
  }, {
@@ -782,7 +818,19 @@ export declare const WrittenBuiltinDefinitions: [{
782
818
  readonly nameOfFunctionArgument: "FUN";
783
819
  readonly unquoteFunction: true;
784
820
  readonly props: CallProp.MayPure;
785
- readonly sig: [["X", ArgProp.Value], ["FUN", ArgProp.Callee]];
821
+ readonly sig: [["X", ArgProp.Value], ["FUN", ArgProp.Callee], ["...", ArgProp.Value]];
822
+ };
823
+ readonly assumePrimitive: false;
824
+ }, {
825
+ readonly type: "function";
826
+ readonly names: [Identifier];
827
+ readonly processor: BuiltInProcName.Apply;
828
+ readonly config: {
829
+ readonly indexOfFunction: 1;
830
+ readonly nameOfFunctionArgument: "FUN";
831
+ readonly unquoteFunction: true;
832
+ readonly props: CallProp.MayPure;
833
+ readonly sig: [["X", ArgProp.Value], ["FUN", ArgProp.Callee], ["FUN.VALUE", ArgProp.Shape], ["...", ArgProp.Value]];
786
834
  };
787
835
  readonly assumePrimitive: false;
788
836
  }, {
@@ -807,6 +855,30 @@ export declare const WrittenBuiltinDefinitions: [{
807
855
  readonly props: CallProp.MayPure;
808
856
  };
809
857
  readonly assumePrimitive: false;
858
+ }, {
859
+ readonly type: "function";
860
+ readonly names: [Identifier];
861
+ readonly processor: BuiltInProcName.Apply;
862
+ readonly config: {
863
+ readonly indexOfFunction: 0;
864
+ readonly nameOfFunctionArgument: "f";
865
+ readonly unquoteFunction: true;
866
+ readonly props: CallProp.MayPure;
867
+ readonly sig: [["f", ArgProp.Callee], ["...", ArgProp.Value]];
868
+ };
869
+ readonly assumePrimitive: false;
870
+ }, {
871
+ readonly type: "function";
872
+ readonly names: [Identifier];
873
+ readonly processor: BuiltInProcName.Apply;
874
+ readonly config: {
875
+ readonly indexOfFunction: 0;
876
+ readonly nameOfFunctionArgument: "f";
877
+ readonly unquoteFunction: true;
878
+ readonly props: CallProp.MayPure;
879
+ readonly sig: [["f", ArgProp.Callee], ["x", ArgProp.Value]];
880
+ };
881
+ readonly assumePrimitive: false;
810
882
  }, {
811
883
  readonly type: "function";
812
884
  readonly names: Identifier[];
@@ -816,7 +888,7 @@ export declare const WrittenBuiltinDefinitions: [{
816
888
  readonly nameOfFunctionArgument: "f";
817
889
  readonly unquoteFunction: true;
818
890
  readonly props: CallProp.MayPure;
819
- readonly sig: [["f", ArgProp.Callee]];
891
+ readonly sig: [["f", ArgProp.Callee], ["x", ArgProp.Value], ["right", ArgProp.Flag], ["nomatch", ArgProp.Value]];
820
892
  };
821
893
  readonly assumePrimitive: false;
822
894
  }, {
@@ -854,7 +926,7 @@ export declare const WrittenBuiltinDefinitions: [{
854
926
  readonly callName: RegExp;
855
927
  };
856
928
  readonly props: number;
857
- readonly sig: [["x", number]];
929
+ readonly sig: [["x", number], ["...", number]];
858
930
  };
859
931
  readonly assumePrimitive: false;
860
932
  }, {
@@ -2564,6 +2636,366 @@ export declare const WrittenBuiltinDefinitions: [{
2564
2636
  readonly readIndices: false;
2565
2637
  readonly props: CallProp.Scope;
2566
2638
  };
2639
+ }, {
2640
+ readonly type: "function";
2641
+ readonly names: [Identifier];
2642
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2643
+ readonly config: {
2644
+ readonly props: CallProp.Pure;
2645
+ readonly sig: [["fmt", ArgProp.Value], ["...", ArgProp.Value]];
2646
+ };
2647
+ readonly assumePrimitive: true;
2648
+ }, {
2649
+ readonly type: "function";
2650
+ readonly names: [Identifier];
2651
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2652
+ readonly config: {
2653
+ readonly props: CallProp.Pure;
2654
+ readonly sig: FnSig;
2655
+ };
2656
+ readonly assumePrimitive: true;
2657
+ }, {
2658
+ readonly type: "function";
2659
+ readonly names: [Identifier];
2660
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2661
+ readonly config: {
2662
+ readonly props: CallProp.Pure;
2663
+ readonly sig: [["pattern", ArgProp.Value], ["x", ArgProp.Value], ["ignore.case", ArgProp.Flag], ["perl", ArgProp.Flag], ["value", ArgProp.Flag], ["fixed", ArgProp.Flag], ["useBytes", ArgProp.Flag], ["invert", ArgProp.Flag]];
2664
+ };
2665
+ readonly assumePrimitive: true;
2666
+ }, {
2667
+ readonly type: "function";
2668
+ readonly names: Identifier[];
2669
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2670
+ readonly config: {
2671
+ readonly props: CallProp.Pure;
2672
+ readonly sig: [["pattern", ArgProp.Value], ["replacement", ArgProp.Value], ["x", ArgProp.Value], ["ignore.case", ArgProp.Flag], ["perl", ArgProp.Flag], ["fixed", ArgProp.Flag], ["useBytes", ArgProp.Flag]];
2673
+ };
2674
+ readonly assumePrimitive: true;
2675
+ }, {
2676
+ readonly type: "function";
2677
+ readonly names: [Identifier];
2678
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2679
+ readonly config: {
2680
+ readonly props: CallProp.Pure;
2681
+ readonly sig: [["x", ArgProp.Value], ["start", ArgProp.Value], ["stop", ArgProp.Value]];
2682
+ };
2683
+ readonly assumePrimitive: true;
2684
+ }, {
2685
+ readonly type: "function";
2686
+ readonly names: [Identifier];
2687
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2688
+ readonly config: {
2689
+ readonly props: CallProp.Pure;
2690
+ readonly sig: [["text", ArgProp.Value], ["first", ArgProp.Value], ["last", ArgProp.Value]];
2691
+ };
2692
+ readonly assumePrimitive: true;
2693
+ }, {
2694
+ readonly type: "function";
2695
+ readonly names: [Identifier];
2696
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2697
+ readonly config: {
2698
+ readonly props: CallProp.Pure;
2699
+ readonly sig: [["x", ArgProp.Value], ["split", ArgProp.Value], ["fixed", ArgProp.Flag], ["perl", ArgProp.Flag], ["useBytes", ArgProp.Flag]];
2700
+ };
2701
+ readonly assumePrimitive: true;
2702
+ }, {
2703
+ readonly type: "function";
2704
+ readonly names: [Identifier];
2705
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2706
+ readonly config: {
2707
+ readonly props: CallProp.Pure;
2708
+ readonly sig: [["x", ArgProp.Value], ["which", ArgProp.Flag], ["whitespace", ArgProp.Value]];
2709
+ };
2710
+ readonly assumePrimitive: true;
2711
+ readonly evalHandler: BuiltInEvalName.StringFn;
2712
+ }, {
2713
+ readonly type: "function";
2714
+ readonly names: [Identifier];
2715
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2716
+ readonly config: {
2717
+ readonly props: CallProp.Pure;
2718
+ readonly sig: [["x", ArgProp.Value], ["base", ArgProp.Value]];
2719
+ };
2720
+ readonly assumePrimitive: true;
2721
+ }, {
2722
+ readonly type: "function";
2723
+ readonly names: [Identifier];
2724
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2725
+ readonly config: {
2726
+ readonly props: CallProp.Pure;
2727
+ readonly sig: [["data", ArgProp.Value], ["nrow", ArgProp.Value], ["ncol", ArgProp.Value], ["byrow", ArgProp.Flag], ["dimnames", ArgProp.Value]];
2728
+ };
2729
+ readonly assumePrimitive: true;
2730
+ }, {
2731
+ readonly type: "function";
2732
+ readonly names: Identifier[];
2733
+ readonly processor: BuiltInProcName.Default;
2734
+ readonly config: {
2735
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2736
+ readonly props: CallProp.Pure;
2737
+ readonly sig: FnSig;
2738
+ };
2739
+ readonly assumePrimitive: false;
2740
+ }, {
2741
+ readonly type: "function";
2742
+ readonly names: [Identifier, Identifier];
2743
+ readonly processor: BuiltInProcName.Default;
2744
+ readonly config: {
2745
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2746
+ readonly props: CallProp.Pure;
2747
+ readonly sig: [...[name: string, props: number][], [".by", ArgProp.Value], [".preserve", ArgProp.Flag]];
2748
+ };
2749
+ readonly assumePrimitive: false;
2750
+ }, {
2751
+ readonly type: "function";
2752
+ readonly names: Identifier[];
2753
+ readonly processor: BuiltInProcName.Default;
2754
+ readonly config: {
2755
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2756
+ readonly props: CallProp.Pure;
2757
+ readonly sig: [...[name: string, props: number][], [".by", ArgProp.Value], [".groups", ArgProp.Flag]];
2758
+ };
2759
+ readonly assumePrimitive: false;
2760
+ }, {
2761
+ readonly type: "function";
2762
+ readonly names: [Identifier];
2763
+ readonly processor: BuiltInProcName.Default;
2764
+ readonly config: {
2765
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2766
+ readonly props: CallProp.Pure;
2767
+ readonly sig: [...[name: string, props: number][], [".by_group", ArgProp.Flag]];
2768
+ };
2769
+ readonly assumePrimitive: false;
2770
+ }, {
2771
+ readonly type: "function";
2772
+ readonly names: [Identifier];
2773
+ readonly processor: BuiltInProcName.Default;
2774
+ readonly config: {
2775
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2776
+ readonly props: CallProp.Pure;
2777
+ readonly sig: [...[name: string, props: number][], [".add", ArgProp.Flag], [".drop", ArgProp.Flag]];
2778
+ };
2779
+ readonly assumePrimitive: false;
2780
+ }, {
2781
+ readonly type: "function";
2782
+ readonly names: [Identifier];
2783
+ readonly processor: BuiltInProcName.Default;
2784
+ readonly config: {
2785
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2786
+ readonly props: CallProp.Pure;
2787
+ readonly sig: [...[name: string, props: number][], [".keep_all", ArgProp.Flag]];
2788
+ };
2789
+ readonly assumePrimitive: false;
2790
+ }, {
2791
+ readonly type: "function";
2792
+ readonly names: [Identifier];
2793
+ readonly processor: BuiltInProcName.Default;
2794
+ readonly config: {
2795
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2796
+ readonly props: CallProp.Pure;
2797
+ readonly sig: [...[name: string, props: number][], [".before", ArgProp.Value], [".after", ArgProp.Value]];
2798
+ };
2799
+ readonly assumePrimitive: false;
2800
+ }, {
2801
+ readonly type: "function";
2802
+ readonly names: [Identifier];
2803
+ readonly processor: BuiltInProcName.Default;
2804
+ readonly config: {
2805
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2806
+ readonly props: CallProp.Pure;
2807
+ readonly sig: [["x", ArgProp.Value], ["...", ArgProp.Value], ["wt", ArgProp.Value], ["sort", ArgProp.Flag], ["name", ArgProp.Value]];
2808
+ };
2809
+ readonly assumePrimitive: false;
2810
+ }, {
2811
+ readonly type: "function";
2812
+ readonly names: [Identifier];
2813
+ readonly processor: BuiltInProcName.Default;
2814
+ readonly config: {
2815
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2816
+ readonly props: CallProp.Pure;
2817
+ readonly sig: [[".data", ArgProp.Value], ["var", ArgProp.Value], ["name", ArgProp.Value], ["...", ArgProp.Value]];
2818
+ };
2819
+ readonly assumePrimitive: false;
2820
+ }, {
2821
+ readonly type: "function";
2822
+ readonly names: [Identifier];
2823
+ readonly processor: BuiltInProcName.Default;
2824
+ readonly config: {
2825
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2826
+ readonly props: CallProp.Pure;
2827
+ readonly sig: FnSig;
2828
+ };
2829
+ readonly assumePrimitive: false;
2830
+ }, {
2831
+ readonly type: "function";
2832
+ readonly names: [Identifier];
2833
+ readonly processor: BuiltInProcName.Default;
2834
+ readonly config: {
2835
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2836
+ readonly props: CallProp.Pure;
2837
+ readonly sig: [["data", ArgProp.Value], ["...", ArgProp.Value]];
2838
+ };
2839
+ readonly assumePrimitive: false;
2840
+ }, {
2841
+ readonly type: "function";
2842
+ readonly names: [Identifier];
2843
+ readonly processor: BuiltInProcName.Default;
2844
+ readonly config: {
2845
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2846
+ readonly props: CallProp.Pure;
2847
+ readonly sig: [["data", ArgProp.Value], ["cols", ArgProp.Value], ["...", ArgProp.Value], ["names_to", ArgProp.Value], ["values_to", ArgProp.Value]];
2848
+ };
2849
+ readonly assumePrimitive: false;
2850
+ }, {
2851
+ readonly type: "function";
2852
+ readonly names: [Identifier];
2853
+ readonly processor: BuiltInProcName.Default;
2854
+ readonly config: {
2855
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2856
+ readonly props: CallProp.Pure;
2857
+ readonly sig: [["data", ArgProp.Value], ["...", ArgProp.Value], ["names_from", ArgProp.Value], ["values_from", ArgProp.Value]];
2858
+ };
2859
+ readonly assumePrimitive: false;
2860
+ }, {
2861
+ readonly type: "function";
2862
+ readonly names: [Identifier];
2863
+ readonly processor: BuiltInProcName.Default;
2864
+ readonly config: {
2865
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2866
+ readonly props: CallProp.Pure;
2867
+ readonly sig: [["data", ArgProp.Value], ["col", ArgProp.Value], ["into", ArgProp.Value], ["sep", ArgProp.Value], ["remove", ArgProp.Flag], ["convert", ArgProp.Flag]];
2868
+ };
2869
+ readonly assumePrimitive: false;
2870
+ }, {
2871
+ readonly type: "function";
2872
+ readonly names: [Identifier];
2873
+ readonly processor: BuiltInProcName.Default;
2874
+ readonly config: {
2875
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2876
+ readonly props: CallProp.Pure;
2877
+ readonly sig: [["data", ArgProp.Value], ["col", ArgProp.Value], ["...", ArgProp.Value], ["sep", ArgProp.Value], ["remove", ArgProp.Flag]];
2878
+ };
2879
+ readonly assumePrimitive: false;
2880
+ }, {
2881
+ readonly type: "function";
2882
+ readonly names: Identifier[];
2883
+ readonly processor: BuiltInProcName.Default;
2884
+ readonly config: {
2885
+ readonly markArgsAsMasked: NseArguments.AllButFirst;
2886
+ readonly props: CallProp.Pure;
2887
+ readonly sig: [["x", ArgProp.Value], ["...", ArgProp.Value]];
2888
+ };
2889
+ readonly assumePrimitive: false;
2890
+ }, {
2891
+ readonly type: "function";
2892
+ readonly names: [Identifier];
2893
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2894
+ readonly config: {
2895
+ readonly props: CallProp.Pure;
2896
+ readonly sig: [["x", ArgProp.Value], ["decreasing", ArgProp.Flag], ["...", ArgProp.Value]];
2897
+ };
2898
+ readonly assumePrimitive: true;
2899
+ }, {
2900
+ readonly type: "function";
2901
+ readonly names: Identifier[];
2902
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2903
+ readonly config: {
2904
+ readonly props: CallProp.Pure;
2905
+ readonly sig: [["x", ArgProp.Value], ["incomparables", ArgProp.Value], ["...", ArgProp.Value]];
2906
+ };
2907
+ readonly assumePrimitive: true;
2908
+ }, {
2909
+ readonly type: "function";
2910
+ readonly names: [Identifier];
2911
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2912
+ readonly config: {
2913
+ readonly props: CallProp.Pure;
2914
+ readonly sig: [["x", ArgProp.Value], ["row.names", ArgProp.Value], ["optional", ArgProp.Flag], ["...", ArgProp.Value]];
2915
+ };
2916
+ readonly assumePrimitive: true;
2917
+ }, {
2918
+ readonly type: "function";
2919
+ readonly names: [Identifier];
2920
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2921
+ readonly config: {
2922
+ readonly props: CallProp.Pure;
2923
+ readonly sig: [["x", ArgProp.Value], ["na.rm", ArgProp.Flag], ["...", ArgProp.Value]];
2924
+ };
2925
+ readonly assumePrimitive: true;
2926
+ }, {
2927
+ readonly type: "function";
2928
+ readonly names: [Identifier];
2929
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2930
+ readonly config: {
2931
+ readonly props: number;
2932
+ readonly sig: [["x", ArgProp.Shape], ["type", ArgProp.Value], ["allowNA", ArgProp.Flag], ["keepNA", ArgProp.Flag]];
2933
+ };
2934
+ readonly assumePrimitive: true;
2935
+ readonly evalHandler: BuiltInEvalName.StringFn;
2936
+ }, {
2937
+ readonly type: "function";
2938
+ readonly names: [Identifier];
2939
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2940
+ readonly config: {
2941
+ readonly props: CallProp.Pure;
2942
+ readonly sig: [["pattern", ArgProp.Value], ["x", ArgProp.Value], ["ignore.case", ArgProp.Flag], ["perl", ArgProp.Flag], ["fixed", ArgProp.Flag], ["useBytes", ArgProp.Flag]];
2943
+ };
2944
+ readonly assumePrimitive: true;
2945
+ }, {
2946
+ readonly type: "function";
2947
+ readonly names: [Identifier];
2948
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2949
+ readonly config: {
2950
+ readonly props: CallProp.Pure;
2951
+ readonly sig: [["x", ArgProp.Value], ["table", ArgProp.Value], ["nomatch", ArgProp.Value], ["incomparables", ArgProp.Value]];
2952
+ };
2953
+ readonly assumePrimitive: true;
2954
+ }, {
2955
+ readonly type: "function";
2956
+ readonly names: [Identifier];
2957
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2958
+ readonly config: {
2959
+ readonly props: number;
2960
+ readonly sig: [["x", ArgProp.Shape], ["use.names", ArgProp.Flag]];
2961
+ };
2962
+ readonly assumePrimitive: true;
2963
+ }, {
2964
+ readonly type: "function";
2965
+ readonly names: [Identifier];
2966
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2967
+ readonly config: {
2968
+ readonly props: number;
2969
+ readonly sig: [["con", ArgProp.Resource], ["n", ArgProp.Value], ["ok", ArgProp.Flag], ["warn", ArgProp.Flag], ["encoding", ArgProp.Value], ["skipNul", ArgProp.Flag]];
2970
+ };
2971
+ readonly assumePrimitive: false;
2972
+ }, {
2973
+ readonly type: "function";
2974
+ readonly names: [Identifier];
2975
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2976
+ readonly config: {
2977
+ readonly props: number;
2978
+ readonly sig: [["text", ArgProp.Value], ["con", ArgProp.Resource], ["sep", ArgProp.Value], ["useBytes", ArgProp.Flag]];
2979
+ };
2980
+ readonly assumePrimitive: false;
2981
+ }, {
2982
+ readonly type: "function";
2983
+ readonly names: [Identifier];
2984
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2985
+ readonly config: {
2986
+ readonly props: number;
2987
+ readonly sig: [["x", ArgProp.Value], ["file", ArgProp.Resource], ["append", ArgProp.Flag], ["quote", ArgProp.Flag], ["sep", ArgProp.Value]];
2988
+ };
2989
+ readonly assumePrimitive: false;
2990
+ }, {
2991
+ readonly type: "function";
2992
+ readonly names: [Identifier];
2993
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2994
+ readonly config: {
2995
+ readonly props: number;
2996
+ readonly sig: [["url", ArgProp.Resource], ["destfile", ArgProp.Resource], ["method", ArgProp.Value], ["quiet", ArgProp.Flag], ["mode", ArgProp.Value], ["cacheOK", ArgProp.Flag], ["extra", ArgProp.Value], ["headers", ArgProp.Value], ["...", ArgProp.Value]];
2997
+ };
2998
+ readonly assumePrimitive: false;
2567
2999
  }];
2568
3000
  /**
2569
3001
  * Contains the built-in definitions recognized by flowR