@eagleoutice/flowr 2.10.9 → 2.11.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 (417) hide show
  1. package/README.md +116 -38
  2. package/abstract-interpretation/absint-visitor.js +6 -3
  3. package/abstract-interpretation/domains/abstract-domain.d.ts +1 -1
  4. package/abstract-interpretation/domains/bounded-set-domain.d.ts +1 -1
  5. package/abstract-interpretation/domains/bounded-set-domain.js +1 -1
  6. package/abstract-interpretation/domains/interval-domain.d.ts +1 -1
  7. package/abstract-interpretation/domains/interval-domain.js +1 -1
  8. package/abstract-interpretation/domains/lattice.d.ts +1 -1
  9. package/abstract-interpretation/domains/partial-product-domain.d.ts +1 -1
  10. package/abstract-interpretation/domains/partial-product-domain.js +2 -2
  11. package/abstract-interpretation/domains/set-range-domain.d.ts +1 -1
  12. package/abstract-interpretation/domains/set-range-domain.js +1 -1
  13. package/abstract-interpretation/domains/set-upper-bound-domain.d.ts +1 -1
  14. package/abstract-interpretation/domains/set-upper-bound-domain.js +1 -1
  15. package/abstract-interpretation/domains/singleton-domain.d.ts +1 -1
  16. package/abstract-interpretation/domains/singleton-domain.js +1 -1
  17. package/abstract-interpretation/domains/state-abstract-domain.d.ts +1 -1
  18. package/abstract-interpretation/domains/state-abstract-domain.js +2 -2
  19. package/abstract-interpretation/unsupported-functions.d.ts +3 -2
  20. package/abstract-interpretation/unsupported-functions.js +38 -28
  21. package/cli/benchmark-app.js +2 -1
  22. package/cli/common/options.d.ts +2 -108
  23. package/cli/common/options.js +3 -27
  24. package/cli/common/script.js +3 -2
  25. package/cli/common/scripts-info.d.ts +2 -123
  26. package/cli/common/scripts-info.js +0 -17
  27. package/cli/flowr-main-options.d.ts +5 -0
  28. package/cli/flowr-main-options.js +10 -0
  29. package/cli/flowr.js +48 -11
  30. package/cli/repl/commands/repl-cfg.js +9 -9
  31. package/cli/repl/commands/repl-commands.js +5 -0
  32. package/cli/repl/commands/repl-dataflow.js +31 -24
  33. package/cli/repl/commands/repl-main.d.ts +6 -0
  34. package/cli/repl/commands/repl-normalize.js +15 -12
  35. package/cli/repl/commands/repl-parse.js +1 -1
  36. package/cli/repl/commands/repl-query.js +4 -5
  37. package/cli/repl/commands/repl-quit.js +2 -1
  38. package/cli/repl/core.d.ts +11 -0
  39. package/cli/repl/core.js +101 -3
  40. package/cli/repl/execute.js +3 -2
  41. package/cli/repl/parser/slice-query-parser.d.ts +16 -0
  42. package/cli/repl/parser/slice-query-parser.js +52 -0
  43. package/cli/repl/print-version.d.ts +3 -1
  44. package/cli/repl/print-version.js +21 -2
  45. package/cli/repl/server/connection.d.ts +3 -0
  46. package/cli/repl/server/connection.js +65 -31
  47. package/cli/repl/server/messages/message-analysis.d.ts +10 -0
  48. package/cli/repl/server/messages/message-analysis.js +6 -2
  49. package/cli/repl/server/messages/message-slice.d.ts +1 -1
  50. package/cli/script-core/summarizer-core.js +13 -32
  51. package/cli/wiki.d.ts +3 -1
  52. package/cli/wiki.js +6 -1
  53. package/config.d.ts +22 -10
  54. package/config.js +33 -7
  55. package/control-flow/diff-cfg.d.ts +1 -1
  56. package/control-flow/diff-cfg.js +1 -1
  57. package/control-flow/semantic-cfg-guided-visitor.js +2 -0
  58. package/control-flow/simple-visitor.js +6 -5
  59. package/control-flow/useless-loop.js +2 -2
  60. package/core/print/dataflow-printer.d.ts +2 -2
  61. package/core/print/dataflow-printer.js +2 -2
  62. package/core/steps/all/static-slicing/00-slice.js +1 -1
  63. package/data/pkgdb/pkgdb-latest.json.br +0 -0
  64. package/data/pkgdb/pkgdb-tiny.json.br +0 -0
  65. package/dataflow/environments/append.d.ts +2 -2
  66. package/dataflow/environments/append.js +4 -10
  67. package/dataflow/environments/apply-kill.d.ts +21 -0
  68. package/dataflow/environments/apply-kill.js +155 -0
  69. package/dataflow/environments/built-in-proc-name.d.ts +4 -0
  70. package/dataflow/environments/built-in-proc-name.js +4 -0
  71. package/dataflow/environments/built-in.d.ts +4 -0
  72. package/dataflow/environments/built-in.js +4 -0
  73. package/dataflow/environments/default-builtin-config.d.ts +183 -67
  74. package/dataflow/environments/default-builtin-config.js +358 -147
  75. package/dataflow/environments/environment.d.ts +49 -31
  76. package/dataflow/environments/environment.js +144 -25
  77. package/dataflow/environments/identifier.d.ts +65 -2
  78. package/dataflow/environments/identifier.js +37 -2
  79. package/dataflow/environments/overwrite.js +2 -10
  80. package/dataflow/environments/reference-to-maybe.d.ts +2 -0
  81. package/dataflow/environments/reference-to-maybe.js +56 -11
  82. package/dataflow/environments/resolve-by-name.d.ts +1 -1
  83. package/dataflow/environments/resolve-by-name.js +23 -9
  84. package/dataflow/environments/scoping.d.ts +9 -2
  85. package/dataflow/environments/scoping.js +15 -2
  86. package/dataflow/eval/values/general.js +4 -0
  87. package/dataflow/extractor.js +35 -4
  88. package/dataflow/graph/df-helper.d.ts +14 -0
  89. package/dataflow/graph/df-helper.js +41 -0
  90. package/dataflow/graph/graph.d.ts +4 -1
  91. package/dataflow/graph/graph.js +6 -2
  92. package/dataflow/info.d.ts +27 -1
  93. package/dataflow/internal/linker.d.ts +5 -1
  94. package/dataflow/internal/linker.js +34 -9
  95. package/dataflow/internal/process/functions/call/built-in/built-in-access.js +7 -5
  96. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +19 -0
  97. package/dataflow/internal/process/functions/call/built-in/built-in-attach.d.ts +1 -8
  98. package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +7 -13
  99. package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.d.ts +9 -48
  100. package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +30 -47
  101. package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +17 -0
  102. package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +7 -2
  103. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.d.ts +2 -2
  104. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +61 -1
  105. package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +9 -0
  106. package/dataflow/internal/process/functions/call/built-in/built-in-library.d.ts +37 -3
  107. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +391 -21
  108. package/dataflow/internal/process/functions/call/built-in/built-in-namespace-access.d.ts +13 -0
  109. package/dataflow/internal/process/functions/call/built-in/built-in-namespace-access.js +58 -0
  110. package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +1 -1
  111. package/dataflow/internal/process/functions/call/built-in/built-in-rm.d.ts +3 -2
  112. package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +132 -25
  113. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +9 -10
  114. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.d.ts +25 -0
  115. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +94 -0
  116. package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +11 -4
  117. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +30 -0
  118. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +279 -0
  119. package/dataflow/internal/process/functions/call/known-call-handling.js +4 -3
  120. package/dataflow/internal/process/functions/call/named-call-handling.d.ts +1 -1
  121. package/dataflow/internal/process/functions/call/named-call-handling.js +23 -0
  122. package/dataflow/origin/dfg-get-origin.d.ts +1 -1
  123. package/dataflow/origin/dfg-get-origin.js +1 -1
  124. package/dataflow/processor.d.ts +6 -0
  125. package/documentation/data/faq/faqs.d.ts +2 -1
  126. package/documentation/data/faq/faqs.js +78 -57
  127. package/documentation/data/interface/doc-writing-code.js +4 -80
  128. package/documentation/data/server/doc-data-server-messages.d.ts +2 -1
  129. package/documentation/data/server/doc-data-server-messages.js +15 -7
  130. package/documentation/doc-readme.js +15 -15
  131. package/documentation/doc-util/doc-cfg.d.ts +3 -1
  132. package/documentation/doc-util/doc-cfg.js +3 -3
  133. package/documentation/doc-util/doc-dfg.d.ts +3 -1
  134. package/documentation/doc-util/doc-dfg.js +3 -3
  135. package/documentation/doc-util/doc-files.d.ts +3 -1
  136. package/documentation/doc-util/doc-files.js +9 -6
  137. package/documentation/doc-util/doc-normalized-ast.d.ts +3 -1
  138. package/documentation/doc-util/doc-normalized-ast.js +2 -2
  139. package/documentation/doc-util/doc-query.d.ts +2 -1
  140. package/documentation/doc-util/doc-query.js +2 -2
  141. package/documentation/doc-util/doc-repl.js +1 -0
  142. package/documentation/doc-util/doc-structure.js +1 -2
  143. package/documentation/doc-util/doc-types.d.ts +6 -6
  144. package/documentation/doc-util/doc-types.js +11 -9
  145. package/documentation/issue-linting-rule.js +1 -2
  146. package/documentation/wiki-analyzer.js +9 -9
  147. package/documentation/wiki-cfg.js +40 -41
  148. package/documentation/wiki-core.js +121 -32
  149. package/documentation/wiki-create-linting-rules.d.ts +6 -0
  150. package/documentation/wiki-create-linting-rules.js +95 -0
  151. package/documentation/wiki-dataflow-graph.js +112 -77
  152. package/documentation/wiki-engine.js +1 -2
  153. package/documentation/wiki-faq.d.ts +2 -1
  154. package/documentation/wiki-faq.js +4 -4
  155. package/documentation/wiki-interface.js +22 -8
  156. package/documentation/wiki-linter.d.ts +1 -1
  157. package/documentation/wiki-linter.js +16 -6
  158. package/documentation/wiki-linting-and-testing.js +2 -2
  159. package/documentation/wiki-mk/doc-context.d.ts +3 -3
  160. package/documentation/wiki-mk/doc-maker.d.ts +2 -0
  161. package/documentation/wiki-mk/doc-maker.js +7 -1
  162. package/documentation/wiki-normalized-ast.js +5 -5
  163. package/documentation/wiki-onboarding.d.ts +2 -1
  164. package/documentation/wiki-onboarding.js +5 -5
  165. package/documentation/wiki-overview.js +4 -17
  166. package/documentation/wiki-package-database.d.ts +9 -0
  167. package/documentation/wiki-package-database.js +63 -0
  168. package/documentation/wiki-query.js +86 -84
  169. package/documentation/wiki-search.js +4 -5
  170. package/documentation/wiki-setup.js +6 -7
  171. package/gas.d.ts +74 -0
  172. package/gas.js +18 -0
  173. package/linter/linter-executor.js +2 -8
  174. package/linter/linter-format.d.ts +4 -11
  175. package/linter/linter-rules.d.ts +111 -86
  176. package/linter/linter-rules.js +9 -1
  177. package/linter/rules/absolute-path.d.ts +2 -7
  178. package/linter/rules/absolute-path.js +8 -5
  179. package/linter/rules/dataframe-access-validation.d.ts +1 -6
  180. package/linter/rules/dataframe-access-validation.js +8 -6
  181. package/linter/rules/dead-code.d.ts +2 -11
  182. package/linter/rules/dead-code.js +16 -11
  183. package/linter/rules/deprecated-functions.d.ts +3 -3
  184. package/linter/rules/file-path-validity.d.ts +1 -6
  185. package/linter/rules/file-path-validity.js +5 -5
  186. package/linter/rules/function-finder-util.d.ts +7 -11
  187. package/linter/rules/function-finder-util.js +9 -6
  188. package/linter/rules/naming-convention.d.ts +2 -7
  189. package/linter/rules/naming-convention.js +3 -2
  190. package/linter/rules/network-functions.d.ts +2 -7
  191. package/linter/rules/network-functions.js +14 -12
  192. package/linter/rules/no-leaked-credentials.d.ts +36 -0
  193. package/linter/rules/no-leaked-credentials.js +75 -0
  194. package/linter/rules/problematic-inputs.d.ts +1 -8
  195. package/linter/rules/problematic-inputs.js +5 -4
  196. package/linter/rules/roxygen-arguments.d.ts +2 -7
  197. package/linter/rules/roxygen-arguments.js +13 -20
  198. package/linter/rules/seeded-randomness.d.ts +2 -7
  199. package/linter/rules/seeded-randomness.js +7 -4
  200. package/linter/rules/software-has-license.d.ts +31 -0
  201. package/linter/rules/software-has-license.js +46 -0
  202. package/linter/rules/software-has-tests.d.ts +38 -0
  203. package/linter/rules/software-has-tests.js +48 -0
  204. package/linter/rules/stop-with-call-arg.d.ts +2 -7
  205. package/linter/rules/stop-with-call-arg.js +3 -2
  206. package/linter/rules/undefined-symbol.d.ts +39 -0
  207. package/linter/rules/undefined-symbol.js +80 -0
  208. package/linter/rules/unused-definition.d.ts +3 -8
  209. package/linter/rules/unused-definition.js +7 -5
  210. package/linter/rules/useless-loop.d.ts +2 -7
  211. package/linter/rules/useless-loop.js +5 -2
  212. package/package.json +5 -5
  213. package/project/cache/flowr-analyzer-cache.d.ts +2 -0
  214. package/project/cache/flowr-analyzer-cache.js +9 -1
  215. package/project/context/flowr-analyzer-context.d.ts +13 -14
  216. package/project/context/flowr-analyzer-context.js +4 -0
  217. package/project/context/flowr-analyzer-dependencies-context.d.ts +16 -8
  218. package/project/context/flowr-analyzer-dependencies-context.js +36 -4
  219. package/project/context/flowr-analyzer-environment-context.d.ts +2 -4
  220. package/project/context/flowr-analyzer-environment-context.js +3 -4
  221. package/project/context/flowr-analyzer-files-context.d.ts +13 -0
  222. package/project/context/flowr-analyzer-files-context.js +12 -2
  223. package/project/context/flowr-analyzer-gas-context.d.ts +28 -0
  224. package/project/context/flowr-analyzer-gas-context.js +101 -0
  225. package/project/context/flowr-file.d.ts +2 -0
  226. package/project/context/flowr-file.js +2 -0
  227. package/project/flowr-analyzer-builder.js +3 -0
  228. package/project/flowr-analyzer.d.ts +2 -1
  229. package/project/flowr-analyzer.js +3 -1
  230. package/project/plugins/file-plugins/files/flowr-namespace-file.d.ts +13 -15
  231. package/project/plugins/file-plugins/files/flowr-namespace-file.js +36 -13
  232. package/project/plugins/file-plugins/files/flowr-rmarkdown-file.d.ts +13 -7
  233. package/project/plugins/file-plugins/files/flowr-rmarkdown-file.js +56 -11
  234. package/project/plugins/file-plugins/flowr-analyzer-virtualenv-file-plugin.d.ts +27 -0
  235. package/project/plugins/file-plugins/flowr-analyzer-virtualenv-file-plugin.js +41 -0
  236. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.d.ts +1 -1
  237. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.js +2 -2
  238. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.d.ts +2 -1
  239. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.js +5 -5
  240. package/project/plugins/flowr-analyzer-plugin.d.ts +15 -8
  241. package/project/plugins/flowr-analyzer-plugin.js +14 -7
  242. package/project/plugins/gas-plugins/flowr-analyzer-gas-plugin.d.ts +19 -0
  243. package/project/plugins/gas-plugins/flowr-analyzer-gas-plugin.js +35 -0
  244. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.d.ts +18 -0
  245. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js +62 -0
  246. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-pkgdb-plugin.d.ts +63 -0
  247. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-pkgdb-plugin.js +174 -0
  248. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.d.ts +10 -0
  249. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.js +6 -0
  250. package/project/plugins/package-version-plugins/package.d.ts +3 -0
  251. package/project/plugins/package-version-plugins/package.js +12 -0
  252. package/project/plugins/package-version-plugins/pkgdb.d.ts +133 -0
  253. package/project/plugins/package-version-plugins/pkgdb.js +370 -0
  254. package/project/plugins/plugin-registry.d.ts +5 -1
  255. package/project/plugins/plugin-registry.js +10 -1
  256. package/project/plugins/project-discovery/flowr-analyzer-gitignore-project-discovery-plugin.d.ts +22 -0
  257. package/project/plugins/project-discovery/flowr-analyzer-gitignore-project-discovery-plugin.js +47 -0
  258. package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +1 -1
  259. package/queries/catalog/call-context-query/call-context-query-executor.js +62 -8
  260. package/queries/catalog/call-context-query/call-context-query-format.d.ts +4 -2
  261. package/queries/catalog/call-context-query/call-context-query-format.js +1 -0
  262. package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +8 -0
  263. package/queries/catalog/dependencies-query/dependencies-query-executor.js +31 -3
  264. package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +3 -1
  265. package/queries/catalog/dependencies-query/dependencies-query-format.js +3 -2
  266. package/queries/catalog/dependencies-query/function-info/function-info.d.ts +1 -1
  267. package/queries/catalog/dependencies-query/function-info/other-path-functions.d.ts +2 -0
  268. package/queries/catalog/dependencies-query/function-info/other-path-functions.js +27 -0
  269. package/queries/catalog/dependencies-query/function-info/read-functions.js +5 -4
  270. package/queries/catalog/dependencies-query/function-info/test-functions.d.ts +2 -0
  271. package/queries/catalog/dependencies-query/function-info/test-functions.js +18 -177
  272. package/queries/catalog/dependencies-query/function-info/visualize-functions.js +3 -1
  273. package/queries/catalog/df-shape-query/df-shape-query-format.js +1 -1
  274. package/queries/catalog/dice-query/dice-query-executor.d.ts +8 -0
  275. package/queries/catalog/dice-query/dice-query-executor.js +52 -0
  276. package/queries/catalog/dice-query/dice-query-format.d.ts +53 -0
  277. package/queries/catalog/dice-query/dice-query-format.js +102 -0
  278. package/queries/catalog/happens-before-query/happens-before-query-executor.js +2 -2
  279. package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +2 -0
  280. package/queries/catalog/input-sources-query/input-sources-query-format.js +1 -0
  281. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.d.ts +2 -0
  282. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +1 -0
  283. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +2 -0
  284. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +1 -0
  285. package/queries/catalog/linter-query/linter-query-executor.js +8 -0
  286. package/queries/catalog/location-map-query/location-map-query-format.d.ts +2 -0
  287. package/queries/catalog/location-map-query/location-map-query-format.js +1 -0
  288. package/queries/catalog/origin-query/origin-query-format.d.ts +2 -0
  289. package/queries/catalog/origin-query/origin-query-format.js +1 -0
  290. package/queries/catalog/provenance-query/provenance-query-format.d.ts +2 -0
  291. package/queries/catalog/provenance-query/provenance-query-format.js +1 -0
  292. package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +2 -0
  293. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -0
  294. package/queries/catalog/static-slice-query/static-slice-query-executor.js +1 -1
  295. package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +2 -0
  296. package/queries/catalog/static-slice-query/static-slice-query-format.js +1 -0
  297. package/queries/query.d.ts +18 -1
  298. package/queries/query.js +3 -1
  299. package/r-bridge/data/data.d.ts +7 -2
  300. package/r-bridge/data/data.js +8 -2
  301. package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +0 -1
  302. package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.d.ts +1 -1
  303. package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.js +1 -1
  304. package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.d.ts +1 -1
  305. package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.js +1 -1
  306. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.js +13 -4
  307. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +55 -44
  308. package/r-bridge/parser.js +2 -9
  309. package/r-bridge/shell.d.ts +8 -1
  310. package/r-bridge/shell.js +26 -7
  311. package/search/flowr-search-builder.d.ts +2 -2
  312. package/search/flowr-search-builder.js +1 -1
  313. package/search/flowr-search-filters.d.ts +30 -9
  314. package/search/flowr-search-filters.js +26 -21
  315. package/search/search-executor/search-enrichers.d.ts +601 -1
  316. package/search/search-executor/search-enrichers.js +30 -6
  317. package/slicing/static/static-slicer.d.ts +39 -11
  318. package/slicing/static/static-slicer.js +44 -14
  319. package/util/collections/queue.d.ts +16 -0
  320. package/util/collections/queue.js +38 -0
  321. package/util/log.d.ts +1 -1
  322. package/util/log.js +1 -1
  323. package/util/mermaid/dfg.d.ts +2 -2
  324. package/util/mermaid/dfg.js +2 -2
  325. package/util/mermaid/mermaid.d.ts +4 -0
  326. package/util/mermaid/mermaid.js +8 -1
  327. package/util/objects.d.ts +9 -0
  328. package/util/objects.js +54 -0
  329. package/util/proc.d.ts +6 -0
  330. package/util/proc.js +20 -0
  331. package/util/version.js +10 -2
  332. package/cli/common/features.d.ts +0 -9
  333. package/cli/common/features.js +0 -35
  334. package/cli/script-core/statistics-core.d.ts +0 -6
  335. package/cli/script-core/statistics-core.js +0 -103
  336. package/cli/script-core/statistics-helper-core.d.ts +0 -6
  337. package/cli/script-core/statistics-helper-core.js +0 -85
  338. package/cli/statistics-app.d.ts +0 -11
  339. package/cli/statistics-app.js +0 -16
  340. package/cli/statistics-helper-app.d.ts +0 -11
  341. package/cli/statistics-helper-app.js +0 -14
  342. package/statistics/features/common-syntax-probability.d.ts +0 -38
  343. package/statistics/features/common-syntax-probability.js +0 -169
  344. package/statistics/features/feature.d.ts +0 -179
  345. package/statistics/features/feature.js +0 -38
  346. package/statistics/features/post-processing.d.ts +0 -18
  347. package/statistics/features/post-processing.js +0 -26
  348. package/statistics/features/supported/assignments/assignments.d.ts +0 -12
  349. package/statistics/features/supported/assignments/assignments.js +0 -56
  350. package/statistics/features/supported/assignments/post-process.d.ts +0 -6
  351. package/statistics/features/supported/assignments/post-process.js +0 -126
  352. package/statistics/features/supported/comments/comments.d.ts +0 -18
  353. package/statistics/features/supported/comments/comments.js +0 -143
  354. package/statistics/features/supported/comments/post-process.d.ts +0 -6
  355. package/statistics/features/supported/comments/post-process.js +0 -51
  356. package/statistics/features/supported/control-flow/control-flow.d.ts +0 -17
  357. package/statistics/features/supported/control-flow/control-flow.js +0 -69
  358. package/statistics/features/supported/control-flow/post-process.d.ts +0 -6
  359. package/statistics/features/supported/control-flow/post-process.js +0 -66
  360. package/statistics/features/supported/data-access/data-access.d.ts +0 -15
  361. package/statistics/features/supported/data-access/data-access.js +0 -122
  362. package/statistics/features/supported/data-access/post-process.d.ts +0 -6
  363. package/statistics/features/supported/data-access/post-process.js +0 -108
  364. package/statistics/features/supported/defined-functions/defined-functions.d.ts +0 -34
  365. package/statistics/features/supported/defined-functions/defined-functions.js +0 -145
  366. package/statistics/features/supported/defined-functions/post-process.d.ts +0 -6
  367. package/statistics/features/supported/defined-functions/post-process.js +0 -168
  368. package/statistics/features/supported/expression-list/post-process.d.ts +0 -6
  369. package/statistics/features/supported/expression-list/post-process.js +0 -45
  370. package/statistics/features/supported/expression-list/statistics-expression-list.d.ts +0 -9
  371. package/statistics/features/supported/expression-list/statistics-expression-list.js +0 -37
  372. package/statistics/features/supported/loops/loops.d.ts +0 -20
  373. package/statistics/features/supported/loops/loops.js +0 -81
  374. package/statistics/features/supported/loops/post-process.d.ts +0 -6
  375. package/statistics/features/supported/loops/post-process.js +0 -73
  376. package/statistics/features/supported/used-functions/post-process.d.ts +0 -6
  377. package/statistics/features/supported/used-functions/post-process.js +0 -176
  378. package/statistics/features/supported/used-functions/used-functions.d.ts +0 -24
  379. package/statistics/features/supported/used-functions/used-functions.js +0 -99
  380. package/statistics/features/supported/used-packages/post-process.d.ts +0 -6
  381. package/statistics/features/supported/used-packages/post-process.js +0 -122
  382. package/statistics/features/supported/used-packages/used-packages.d.ts +0 -16
  383. package/statistics/features/supported/used-packages/used-packages.js +0 -140
  384. package/statistics/features/supported/values/post-process.d.ts +0 -6
  385. package/statistics/features/supported/values/post-process.js +0 -73
  386. package/statistics/features/supported/values/values.d.ts +0 -14
  387. package/statistics/features/supported/values/values.js +0 -111
  388. package/statistics/features/supported/variables/post-process.d.ts +0 -15
  389. package/statistics/features/supported/variables/post-process.js +0 -126
  390. package/statistics/features/supported/variables/variables.d.ts +0 -15
  391. package/statistics/features/supported/variables/variables.js +0 -62
  392. package/statistics/meta-statistics.d.ts +0 -32
  393. package/statistics/meta-statistics.js +0 -16
  394. package/statistics/output/file-provider.d.ts +0 -36
  395. package/statistics/output/file-provider.js +0 -96
  396. package/statistics/output/print-stats.d.ts +0 -29
  397. package/statistics/output/print-stats.js +0 -81
  398. package/statistics/output/statistics-file.d.ts +0 -36
  399. package/statistics/output/statistics-file.js +0 -68
  400. package/statistics/statistics.d.ts +0 -29
  401. package/statistics/statistics.js +0 -108
  402. package/statistics/summarizer/auto-detect.d.ts +0 -5
  403. package/statistics/summarizer/auto-detect.js +0 -34
  404. package/statistics/summarizer/first-phase/process.d.ts +0 -6
  405. package/statistics/summarizer/first-phase/process.js +0 -81
  406. package/statistics/summarizer/post-process/clusterer.d.ts +0 -25
  407. package/statistics/summarizer/post-process/clusterer.js +0 -40
  408. package/statistics/summarizer/post-process/file-based-count.d.ts +0 -16
  409. package/statistics/summarizer/post-process/file-based-count.js +0 -47
  410. package/statistics/summarizer/post-process/histogram.d.ts +0 -57
  411. package/statistics/summarizer/post-process/histogram.js +0 -126
  412. package/statistics/summarizer/post-process/post-process-output.d.ts +0 -14
  413. package/statistics/summarizer/post-process/post-process-output.js +0 -102
  414. package/statistics/summarizer/second-phase/process.d.ts +0 -15
  415. package/statistics/summarizer/second-phase/process.js +0 -118
  416. package/statistics/summarizer/summarizer.d.ts +0 -34
  417. package/statistics/summarizer/summarizer.js +0 -141
@@ -6,6 +6,27 @@ import { CascadeAction } from '../../queries/catalog/call-context-query/cascade-
6
6
  import { KnownHooks } from '../hooks';
7
7
  import { Identifier } from './identifier';
8
8
  import { BuiltInProcName } from './built-in-proc-name';
9
+ /** Which stack environment an env-returning/-transforming builtin denotes (see {@link StackEnvBuiltins}). */
10
+ export declare enum StackEnvKind {
11
+ Global = 0,
12
+ Base = 1,
13
+ Empty = 2,
14
+ Current = 3,
15
+ Parent = 4,
16
+ Named = 5
17
+ }
18
+ /** Maps the env-returning/-transforming base builtins and constants to the stack environment each denotes. */
19
+ export declare const StackEnvBuiltins: {
20
+ readonly globalenv: StackEnvKind.Global;
21
+ readonly baseenv: StackEnvKind.Base;
22
+ readonly emptyenv: StackEnvKind.Empty;
23
+ readonly environment: StackEnvKind.Current;
24
+ readonly 'parent.env': StackEnvKind.Parent;
25
+ readonly 'as.environment': StackEnvKind.Named;
26
+ readonly '.GlobalEnv': StackEnvKind.Global;
27
+ readonly '.BaseEnv': StackEnvKind.Base;
28
+ readonly '.BaseNamespaceEnv': StackEnvKind.Base;
29
+ };
9
30
  export declare const GgPlotCreate: readonly ["ggplot", "ggplotly", "ggMarginal", "ggcorrplot", "ggseasonplot", "ggdendrogram", "qmap", "qplot", "quickplot", "autoplot", "grid.arrange", "fviz_pca_biplot", "fviz_pca", "fviz_pca_ind", "fviz_pca_var", "fviz_screeplot", "fviz_mca_biplot", "fviz_mca", "fviz_mca_ind", "fviz_mca_var", "fviz_cluster", "fviz_dend", "ggsurvplot"];
10
31
  export declare const TinyPlotCrate: readonly ["tinyplot", "plt"];
11
32
  export declare const GraphicsPlotCreate: string[];
@@ -20,45 +41,85 @@ export declare const GgPlotAddons: string[];
20
41
  */
21
42
  export declare const DefaultBuiltinConfig: [{
22
43
  readonly type: "constant";
23
- readonly names: ["NULL", "NA", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_"];
44
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
24
45
  readonly value: null;
25
46
  readonly assumePrimitive: true;
26
47
  }, {
27
48
  readonly type: "constant";
28
- readonly names: [".GlobalEnv", ".BaseNamespaceEnv", ".BaseEnv"];
49
+ readonly names: [Identifier];
50
+ readonly value: number;
51
+ readonly assumePrimitive: true;
52
+ }, {
53
+ readonly type: "constant";
54
+ readonly names: [Identifier, Identifier, Identifier];
29
55
  readonly value: null;
30
56
  readonly assumePrimitive: true;
31
57
  }, {
32
58
  readonly type: "constant";
33
- readonly names: ["TRUE", "T"];
59
+ readonly names: [Identifier, Identifier];
34
60
  readonly value: true;
35
61
  readonly assumePrimitive: true;
36
62
  }, {
37
63
  readonly type: "constant";
38
- readonly names: ["FALSE", "F"];
64
+ readonly names: [Identifier, Identifier];
39
65
  readonly value: false;
40
66
  readonly assumePrimitive: true;
67
+ }, {
68
+ readonly type: "constant";
69
+ readonly names: [Identifier];
70
+ readonly value: number;
71
+ readonly assumePrimitive: true;
72
+ }, {
73
+ readonly type: "constant";
74
+ readonly names: [Identifier];
75
+ readonly value: number;
76
+ readonly assumePrimitive: true;
77
+ }, {
78
+ readonly type: "constant";
79
+ readonly names: [Identifier];
80
+ readonly value: number;
81
+ readonly assumePrimitive: true;
82
+ }, {
83
+ readonly type: "constant";
84
+ readonly names: [Identifier];
85
+ readonly value: string[];
86
+ readonly assumePrimitive: true;
87
+ }, {
88
+ readonly type: "constant";
89
+ readonly names: [Identifier];
90
+ readonly value: string[];
91
+ readonly assumePrimitive: true;
92
+ }, {
93
+ readonly type: "constant";
94
+ readonly names: [Identifier];
95
+ readonly value: readonly ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
96
+ readonly assumePrimitive: true;
97
+ }, {
98
+ readonly type: "constant";
99
+ readonly names: [Identifier];
100
+ readonly value: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
101
+ readonly assumePrimitive: true;
41
102
  }, {
42
103
  readonly type: "function";
43
- readonly names: ["~", "+", "-", "*", "/", "^", "!", "?", "**", "==", "!=", ">", "<", ">=", "<=", "%%", "%/%", "%*%", "%in%", ":", "rep", "seq", "seq_len", "seq_along", "seq.int", "gsub", "which", "class", "dimnames", "min", "max", "intersect", "subset", "match", "sqrt", "abs", "round", "floor", "ceiling", "signif", "trunc", "log", "log10", "log2", "sum", "mean", "unique", "paste", "paste0", "read.csv", "is.null", "numeric", "as.character", "as.integer", "as.logical", "as.numeric", "as.matrix", "rbind", "nrow", "ncol", "tryCatch", "expression", "factor", "missing", "as.data.frame", "data.frame", "na.omit", "rownames", "names", "order", "length", "any", "dim", "matrix", "cbind", "nchar", "pdf", "jpeg", "png", "windows", "postscript", "xfig", "bitmap", "pictex", "cairo_pdf", "svg", "bmp", "tiff", "X11", "quartz", "jitter"];
104
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
44
105
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
45
106
  readonly config: {};
46
107
  readonly assumePrimitive: true;
47
108
  }, {
48
109
  readonly type: "function";
49
- readonly names: ["t", "aperm"];
110
+ readonly names: [Identifier, Identifier];
50
111
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
51
112
  readonly config: {};
52
113
  readonly assumePrimitive: false;
53
114
  }, {
54
115
  readonly type: "function";
55
- readonly names: ["rm"];
116
+ readonly names: [Identifier];
56
117
  readonly processor: BuiltInProcName.Rm;
57
118
  readonly config: {};
58
119
  readonly assumePrimitive: true;
59
120
  }, {
60
121
  readonly type: "function";
61
- readonly names: ["options"];
122
+ readonly names: [Identifier];
62
123
  readonly processor: BuiltInProcName.Default;
63
124
  readonly config: {
64
125
  readonly hasUnknownSideEffects: true;
@@ -67,7 +128,7 @@ export declare const DefaultBuiltinConfig: [{
67
128
  readonly assumePrimitive: false;
68
129
  }, {
69
130
  readonly type: "function";
70
- readonly names: ["mapply", "Mapply"];
131
+ readonly names: [Identifier, Identifier];
71
132
  readonly processor: BuiltInProcName.Apply;
72
133
  readonly config: {
73
134
  readonly indexOfFunction: 0;
@@ -76,7 +137,7 @@ export declare const DefaultBuiltinConfig: [{
76
137
  readonly assumePrimitive: false;
77
138
  }, {
78
139
  readonly type: "function";
79
- readonly names: ["lapply", "sapply", "vapply"];
140
+ readonly names: [Identifier, Identifier, Identifier];
80
141
  readonly processor: BuiltInProcName.Apply;
81
142
  readonly config: {
82
143
  readonly indexOfFunction: 1;
@@ -85,7 +146,7 @@ export declare const DefaultBuiltinConfig: [{
85
146
  readonly assumePrimitive: false;
86
147
  }, {
87
148
  readonly type: "function";
88
- readonly names: ["Lapply", "Sapply", "Vapply"];
149
+ readonly names: [Identifier, Identifier, Identifier];
89
150
  readonly processor: BuiltInProcName.Apply;
90
151
  readonly config: {
91
152
  readonly indexOfFunction: 1;
@@ -94,7 +155,7 @@ export declare const DefaultBuiltinConfig: [{
94
155
  readonly assumePrimitive: false;
95
156
  }, {
96
157
  readonly type: "function";
97
- readonly names: ["apply", "tapply", "Tapply"];
158
+ readonly names: [Identifier, Identifier, Identifier];
98
159
  readonly processor: BuiltInProcName.Apply;
99
160
  readonly config: {
100
161
  readonly indexOfFunction: 2;
@@ -103,7 +164,7 @@ export declare const DefaultBuiltinConfig: [{
103
164
  readonly assumePrimitive: false;
104
165
  }, {
105
166
  readonly type: "function";
106
- readonly names: ["print", "message", "warning", "warn", "info"];
167
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
107
168
  readonly processor: BuiltInProcName.Default;
108
169
  readonly config: {
109
170
  readonly returnsNthArgument: 0;
@@ -116,7 +177,7 @@ export declare const DefaultBuiltinConfig: [{
116
177
  readonly assumePrimitive: false;
117
178
  }, {
118
179
  readonly type: "function";
119
- readonly names: ["invisible"];
180
+ readonly names: [Identifier];
120
181
  readonly processor: BuiltInProcName.Default;
121
182
  readonly config: {
122
183
  readonly returnsNthArgument: 0;
@@ -181,7 +242,7 @@ export declare const DefaultBuiltinConfig: [{
181
242
  readonly assumePrimitive: true;
182
243
  }, {
183
244
  readonly type: "function";
184
- readonly names: ["image_write", "image_capture", "dev.capture", "dev.off"];
245
+ readonly names: [Identifier, Identifier, Identifier, Identifier];
185
246
  readonly processor: BuiltInProcName.Default;
186
247
  readonly config: {
187
248
  readonly libFn: true;
@@ -202,7 +263,7 @@ export declare const DefaultBuiltinConfig: [{
202
263
  readonly assumePrimitive: true;
203
264
  }, {
204
265
  readonly type: "function";
205
- readonly names: ["load", "load_all", "setwd", "set.seed"];
266
+ readonly names: [Identifier, Identifier, Identifier, Identifier];
206
267
  readonly processor: BuiltInProcName.Default;
207
268
  readonly config: {
208
269
  readonly hasUnknownSideEffects: true;
@@ -211,7 +272,7 @@ export declare const DefaultBuiltinConfig: [{
211
272
  readonly assumePrimitive: false;
212
273
  }, {
213
274
  readonly type: "function";
214
- readonly names: ["body", "formals", "environment"];
275
+ readonly names: [Identifier, Identifier, Identifier];
215
276
  readonly processor: BuiltInProcName.Default;
216
277
  readonly config: {
217
278
  readonly hasUnknownSideEffects: true;
@@ -220,7 +281,7 @@ export declare const DefaultBuiltinConfig: [{
220
281
  readonly assumePrimitive: true;
221
282
  }, {
222
283
  readonly type: "function";
223
- readonly names: [".Call", ".External", ".C", ".Fortran"];
284
+ readonly names: [Identifier, Identifier, Identifier, Identifier];
224
285
  readonly processor: BuiltInProcName.Default;
225
286
  readonly config: {
226
287
  readonly hasUnknownSideEffects: true;
@@ -235,7 +296,7 @@ export declare const DefaultBuiltinConfig: [{
235
296
  readonly assumePrimitive: true;
236
297
  }, {
237
298
  readonly type: "function";
238
- readonly names: ["eval"];
299
+ readonly names: [Identifier];
239
300
  readonly processor: BuiltInProcName.Eval;
240
301
  readonly config: {
241
302
  readonly includeFunctionCall: true;
@@ -244,7 +305,7 @@ export declare const DefaultBuiltinConfig: [{
244
305
  readonly assumePrimitive: true;
245
306
  }, {
246
307
  readonly type: "function";
247
- readonly names: ["evalText"];
308
+ readonly names: [Identifier];
248
309
  readonly processor: BuiltInProcName.Eval;
249
310
  readonly config: {
250
311
  readonly includeFunctionCall: true;
@@ -253,7 +314,7 @@ export declare const DefaultBuiltinConfig: [{
253
314
  readonly assumePrimitive: true;
254
315
  }, {
255
316
  readonly type: "function";
256
- readonly names: ["cat"];
317
+ readonly names: [Identifier];
257
318
  readonly processor: BuiltInProcName.Default;
258
319
  readonly config: {
259
320
  readonly forceArgs: "all";
@@ -265,7 +326,7 @@ export declare const DefaultBuiltinConfig: [{
265
326
  readonly assumePrimitive: false;
266
327
  }, {
267
328
  readonly type: "function";
268
- readonly names: ["switch"];
329
+ readonly names: [Identifier];
269
330
  readonly processor: BuiltInProcName.Default;
270
331
  readonly config: {
271
332
  readonly forceArgs: readonly [true];
@@ -283,7 +344,7 @@ export declare const DefaultBuiltinConfig: [{
283
344
  readonly assumePrimitive: true;
284
345
  }, {
285
346
  readonly type: "function";
286
- readonly names: ["stop", "abort", "cli_abort", "throw", "stop_bad_type", "stop_bad_element_type", "stop_bad_element_length"];
347
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
287
348
  readonly processor: BuiltInProcName.Default;
288
349
  readonly config: {
289
350
  readonly useAsProcessor: BuiltInProcName.Stop;
@@ -293,7 +354,7 @@ export declare const DefaultBuiltinConfig: [{
293
354
  readonly assumePrimitive: false;
294
355
  }, {
295
356
  readonly type: "function";
296
- readonly names: ["try"];
357
+ readonly names: [Identifier];
297
358
  readonly processor: BuiltInProcName.Try;
298
359
  readonly config: {
299
360
  readonly block: "expr";
@@ -302,7 +363,7 @@ export declare const DefaultBuiltinConfig: [{
302
363
  readonly assumePrimitive: true;
303
364
  }, {
304
365
  readonly type: "function";
305
- readonly names: ["tryCatch", "tryCatchLog"];
366
+ readonly names: [Identifier, Identifier];
306
367
  readonly processor: BuiltInProcName.Try;
307
368
  readonly config: {
308
369
  readonly block: "expr";
@@ -314,7 +375,7 @@ export declare const DefaultBuiltinConfig: [{
314
375
  readonly assumePrimitive: true;
315
376
  }, {
316
377
  readonly type: "function";
317
- readonly names: ["stopifnot", "assert_that"];
378
+ readonly names: [Identifier, Identifier];
318
379
  readonly processor: BuiltInProcName.StopIfNot;
319
380
  readonly config: {};
320
381
  readonly assumePrimitive: false;
@@ -343,7 +404,7 @@ export declare const DefaultBuiltinConfig: [{
343
404
  readonly assumePrimitive: true;
344
405
  }, {
345
406
  readonly type: "function";
346
- readonly names: ["source"];
407
+ readonly names: [Identifier];
347
408
  readonly processor: BuiltInProcName.Source;
348
409
  readonly config: {
349
410
  readonly includeFunctionCall: true;
@@ -366,6 +427,22 @@ export declare const DefaultBuiltinConfig: [{
366
427
  readonly treatIndicesAsString: true;
367
428
  };
368
429
  readonly assumePrimitive: true;
430
+ }, {
431
+ readonly type: "function";
432
+ readonly names: ["::"];
433
+ readonly processor: BuiltInProcName.NamespaceAccess;
434
+ readonly config: {
435
+ readonly internal: false;
436
+ };
437
+ readonly assumePrimitive: true;
438
+ }, {
439
+ readonly type: "function";
440
+ readonly names: [":::"];
441
+ readonly processor: BuiltInProcName.NamespaceAccess;
442
+ readonly config: {
443
+ readonly internal: true;
444
+ };
445
+ readonly assumePrimitive: true;
369
446
  }, {
370
447
  readonly type: "function";
371
448
  readonly names: ["if"];
@@ -374,7 +451,7 @@ export declare const DefaultBuiltinConfig: [{
374
451
  readonly assumePrimitive: true;
375
452
  }, {
376
453
  readonly type: "function";
377
- readonly names: ["ifelse", "fifelse", "IfElse"];
454
+ readonly names: [Identifier, Identifier, "IfElse"];
378
455
  readonly processor: BuiltInProcName.IfThenElse;
379
456
  readonly config: {
380
457
  readonly args: {
@@ -386,7 +463,7 @@ export declare const DefaultBuiltinConfig: [{
386
463
  readonly assumePrimitive: true;
387
464
  }, {
388
465
  readonly type: "function";
389
- readonly names: ["if_else"];
466
+ readonly names: [Identifier];
390
467
  readonly processor: BuiltInProcName.IfThenElse;
391
468
  readonly config: {
392
469
  readonly args: {
@@ -398,16 +475,49 @@ export declare const DefaultBuiltinConfig: [{
398
475
  readonly assumePrimitive: true;
399
476
  }, {
400
477
  readonly type: "function";
401
- readonly names: ["get"];
478
+ readonly names: [Identifier];
402
479
  readonly processor: BuiltInProcName.Get;
403
480
  readonly config: {};
404
481
  readonly assumePrimitive: false;
405
482
  }, {
406
483
  readonly type: "function";
407
- readonly names: [Identifier, Identifier, Identifier];
484
+ readonly names: [Identifier, Identifier];
408
485
  readonly processor: BuiltInProcName.Library;
409
486
  readonly config: {};
410
487
  readonly assumePrimitive: false;
488
+ }, {
489
+ readonly type: "function";
490
+ readonly names: [Identifier];
491
+ readonly processor: BuiltInProcName.Library;
492
+ readonly config: {
493
+ readonly characterOnly: true;
494
+ };
495
+ readonly assumePrimitive: false;
496
+ }, {
497
+ readonly type: "function";
498
+ readonly names: [Identifier, Identifier];
499
+ readonly processor: BuiltInProcName.Library;
500
+ readonly config: {
501
+ readonly namespaceOnly: true;
502
+ readonly characterOnly: true;
503
+ };
504
+ readonly assumePrimitive: false;
505
+ }, {
506
+ readonly type: "function";
507
+ readonly names: [Identifier];
508
+ readonly processor: BuiltInProcName.Library;
509
+ readonly config: {
510
+ readonly fromImports: true;
511
+ };
512
+ readonly assumePrimitive: false;
513
+ }, {
514
+ readonly type: "function";
515
+ readonly names: [Identifier, Identifier];
516
+ readonly processor: BuiltInProcName.Library;
517
+ readonly config: {
518
+ readonly boxUse: true;
519
+ };
520
+ readonly assumePrimitive: false;
411
521
  }, {
412
522
  readonly type: "function";
413
523
  readonly names: ["<-", "="];
@@ -418,13 +528,13 @@ export declare const DefaultBuiltinConfig: [{
418
528
  readonly assumePrimitive: true;
419
529
  }, {
420
530
  readonly type: "function";
421
- readonly names: [":="];
531
+ readonly names: [Identifier];
422
532
  readonly processor: BuiltInProcName.Assignment;
423
533
  readonly config: {};
424
534
  readonly assumePrimitive: true;
425
535
  }, {
426
536
  readonly type: "function";
427
- readonly names: ["assign", "setValidity"];
537
+ readonly names: [Identifier, Identifier];
428
538
  readonly processor: BuiltInProcName.Assignment;
429
539
  readonly config: {
430
540
  readonly targetVariable: true;
@@ -434,7 +544,7 @@ export declare const DefaultBuiltinConfig: [{
434
544
  readonly assumePrimitive: true;
435
545
  }, {
436
546
  readonly type: "function";
437
- readonly names: ["setMethod"];
547
+ readonly names: [Identifier];
438
548
  readonly processor: BuiltInProcName.AssignmentLike;
439
549
  readonly config: {
440
550
  readonly targetVariable: true;
@@ -452,7 +562,7 @@ export declare const DefaultBuiltinConfig: [{
452
562
  readonly assumePrimitive: true;
453
563
  }, {
454
564
  readonly type: "function";
455
- readonly names: ["delayedAssign"];
565
+ readonly names: [Identifier];
456
566
  readonly processor: BuiltInProcName.Assignment;
457
567
  readonly config: {
458
568
  readonly quoteSource: true;
@@ -489,7 +599,7 @@ export declare const DefaultBuiltinConfig: [{
489
599
  readonly assumePrimitive: true;
490
600
  }, {
491
601
  readonly type: "function";
492
- readonly names: ["&&", "&"];
602
+ readonly names: [Identifier, Identifier];
493
603
  readonly processor: BuiltInProcName.SpecialBinOp;
494
604
  readonly config: {
495
605
  readonly lazy: true;
@@ -498,7 +608,7 @@ export declare const DefaultBuiltinConfig: [{
498
608
  readonly assumePrimitive: true;
499
609
  }, {
500
610
  readonly type: "function";
501
- readonly names: ["||", "|"];
611
+ readonly names: [Identifier, Identifier];
502
612
  readonly processor: BuiltInProcName.SpecialBinOp;
503
613
  readonly config: {
504
614
  readonly lazy: true;
@@ -515,7 +625,7 @@ export declare const DefaultBuiltinConfig: [{
515
625
  readonly assumePrimitive: true;
516
626
  }, {
517
627
  readonly type: "function";
518
- readonly names: ["%>%", "%!>%"];
628
+ readonly names: [Identifier, "%!>%"];
519
629
  readonly processor: BuiltInProcName.Pipe;
520
630
  readonly config: {
521
631
  readonly pipePlaceholderName: ".";
@@ -524,7 +634,7 @@ export declare const DefaultBuiltinConfig: [{
524
634
  readonly assumePrimitive: true;
525
635
  }, {
526
636
  readonly type: "function";
527
- readonly names: ["%<>%"];
637
+ readonly names: [Identifier];
528
638
  readonly processor: BuiltInProcName.Pipe;
529
639
  readonly config: {
530
640
  readonly pipePlaceholderName: ".";
@@ -534,7 +644,7 @@ export declare const DefaultBuiltinConfig: [{
534
644
  readonly assumePrimitive: true;
535
645
  }, {
536
646
  readonly type: "function";
537
- readonly names: ["%T>%"];
647
+ readonly names: [Identifier];
538
648
  readonly processor: BuiltInProcName.Pipe;
539
649
  readonly config: {
540
650
  readonly pipePlaceholderName: ".";
@@ -909,7 +1019,7 @@ export declare const DefaultBuiltinConfig: [{
909
1019
  readonly assumePrimitive: true;
910
1020
  }, {
911
1021
  readonly type: "function";
912
- readonly names: ["quote", "bquote"];
1022
+ readonly names: [Identifier, Identifier];
913
1023
  readonly processor: BuiltInProcName.Quote;
914
1024
  readonly config: {
915
1025
  readonly quoteArgumentsWithIndex: 0;
@@ -917,7 +1027,7 @@ export declare const DefaultBuiltinConfig: [{
917
1027
  readonly assumePrimitive: true;
918
1028
  }, {
919
1029
  readonly type: "function";
920
- readonly names: ["substitute"];
1030
+ readonly names: [Identifier];
921
1031
  readonly processor: BuiltInProcName.Quote;
922
1032
  readonly config: {
923
1033
  readonly quoteArgumentsWithIndex: 0;
@@ -945,7 +1055,7 @@ export declare const DefaultBuiltinConfig: [{
945
1055
  readonly assumePrimitive: false;
946
1056
  }, {
947
1057
  readonly type: "function";
948
- readonly names: ["local"];
1058
+ readonly names: [Identifier];
949
1059
  readonly processor: BuiltInProcName.Local;
950
1060
  readonly config: {
951
1061
  readonly args: {
@@ -956,25 +1066,31 @@ export declare const DefaultBuiltinConfig: [{
956
1066
  readonly assumePrimitive: false;
957
1067
  }, {
958
1068
  readonly type: "function";
959
- readonly names: ["with", "within"];
1069
+ readonly names: [Identifier, Identifier];
960
1070
  readonly processor: BuiltInProcName.With;
961
1071
  readonly config: {};
962
1072
  readonly assumePrimitive: false;
963
1073
  }, {
964
1074
  readonly type: "function";
965
- readonly names: ["new.env", Identifier];
1075
+ readonly names: [Identifier, Identifier];
966
1076
  readonly processor: BuiltInProcName.NewEnv;
967
1077
  readonly config: {};
968
1078
  readonly assumePrimitive: true;
969
1079
  }, {
970
1080
  readonly type: "function";
971
- readonly names: ["globalenv", "baseenv", "emptyenv", "parent.env", "parent.frame", "environmentName", "as.environment", "pos.to.env", "sys.frame", "sys.frames", "topenv"];
1081
+ readonly names: Identifier[];
1082
+ readonly processor: BuiltInProcName.StackEnv;
1083
+ readonly config: {};
1084
+ readonly assumePrimitive: true;
1085
+ }, {
1086
+ readonly type: "function";
1087
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
972
1088
  readonly processor: BuiltInProcName.Default;
973
1089
  readonly config: {};
974
1090
  readonly assumePrimitive: true;
975
1091
  }, {
976
1092
  readonly type: "function";
977
- readonly names: ["load", "load_image"];
1093
+ readonly names: [Identifier, "load_image"];
978
1094
  readonly processor: BuiltInProcName.Default;
979
1095
  readonly config: {
980
1096
  readonly hasUnknownSideEffects: true;
@@ -982,7 +1098,7 @@ export declare const DefaultBuiltinConfig: [{
982
1098
  readonly assumePrimitive: false;
983
1099
  }, {
984
1100
  readonly type: "function";
985
- readonly names: ["attach"];
1101
+ readonly names: [Identifier];
986
1102
  readonly processor: BuiltInProcName.Attach;
987
1103
  readonly config: {};
988
1104
  readonly assumePrimitive: false;
@@ -1006,7 +1122,7 @@ export declare const DefaultBuiltinConfig: [{
1006
1122
  readonly assumePrimitive: true;
1007
1123
  }, {
1008
1124
  readonly type: "function";
1009
- readonly names: ["do.call"];
1125
+ readonly names: [Identifier];
1010
1126
  readonly processor: BuiltInProcName.Apply;
1011
1127
  readonly config: {
1012
1128
  readonly indexOfFunction: 0;
@@ -1015,7 +1131,7 @@ export declare const DefaultBuiltinConfig: [{
1015
1131
  readonly assumePrimitive: true;
1016
1132
  }, {
1017
1133
  readonly type: "function";
1018
- readonly names: ["UseMethod"];
1134
+ readonly names: [Identifier];
1019
1135
  readonly processor: BuiltInProcName.S3Dispatch;
1020
1136
  readonly config: {
1021
1137
  readonly args: {
@@ -1026,7 +1142,7 @@ export declare const DefaultBuiltinConfig: [{
1026
1142
  readonly assumePrimitive: true;
1027
1143
  }, {
1028
1144
  readonly type: "function";
1029
- readonly names: ["NextMethod"];
1145
+ readonly names: [Identifier];
1030
1146
  readonly processor: BuiltInProcName.S3Dispatch;
1031
1147
  readonly config: {
1032
1148
  readonly args: {
@@ -1038,7 +1154,7 @@ export declare const DefaultBuiltinConfig: [{
1038
1154
  readonly assumePrimitive: true;
1039
1155
  }, {
1040
1156
  readonly type: "function";
1041
- readonly names: ["new_generic"];
1157
+ readonly names: [Identifier];
1042
1158
  readonly processor: BuiltInProcName.S7NewGeneric;
1043
1159
  readonly config: {
1044
1160
  readonly args: {
@@ -1050,7 +1166,7 @@ export declare const DefaultBuiltinConfig: [{
1050
1166
  readonly assumePrimitive: true;
1051
1167
  }, {
1052
1168
  readonly type: "function";
1053
- readonly names: ["setGeneric"];
1169
+ readonly names: [Identifier];
1054
1170
  readonly processor: BuiltInProcName.S7NewGeneric;
1055
1171
  readonly config: {
1056
1172
  readonly args: {
@@ -1062,7 +1178,7 @@ export declare const DefaultBuiltinConfig: [{
1062
1178
  readonly assumePrimitive: true;
1063
1179
  }, {
1064
1180
  readonly type: "function";
1065
- readonly names: ["S7_dispatch"];
1181
+ readonly names: [Identifier];
1066
1182
  readonly processor: BuiltInProcName.S7Dispatch;
1067
1183
  readonly config: {
1068
1184
  readonly libFn: true;
@@ -1070,7 +1186,7 @@ export declare const DefaultBuiltinConfig: [{
1070
1186
  readonly assumePrimitive: true;
1071
1187
  }, {
1072
1188
  readonly type: "function";
1073
- readonly names: [".Primitive", ".Internal"];
1189
+ readonly names: [Identifier, Identifier];
1074
1190
  readonly processor: BuiltInProcName.Apply;
1075
1191
  readonly config: {
1076
1192
  readonly indexOfFunction: 0;
@@ -1080,7 +1196,7 @@ export declare const DefaultBuiltinConfig: [{
1080
1196
  readonly assumePrimitive: true;
1081
1197
  }, {
1082
1198
  readonly type: "function";
1083
- readonly names: ["interference"];
1199
+ readonly names: [Identifier];
1084
1200
  readonly processor: BuiltInProcName.Apply;
1085
1201
  readonly config: {
1086
1202
  readonly unquoteFunction: true;
@@ -1090,7 +1206,7 @@ export declare const DefaultBuiltinConfig: [{
1090
1206
  readonly assumePrimitive: false;
1091
1207
  }, {
1092
1208
  readonly type: "function";
1093
- readonly names: ["ddply"];
1209
+ readonly names: [Identifier];
1094
1210
  readonly processor: BuiltInProcName.Apply;
1095
1211
  readonly config: {
1096
1212
  readonly unquoteFunction: true;
@@ -1101,13 +1217,13 @@ export declare const DefaultBuiltinConfig: [{
1101
1217
  readonly assumePrimitive: false;
1102
1218
  }, {
1103
1219
  readonly type: "function";
1104
- readonly names: ["list"];
1220
+ readonly names: [Identifier];
1105
1221
  readonly processor: BuiltInProcName.List;
1106
1222
  readonly config: {};
1107
1223
  readonly assumePrimitive: true;
1108
1224
  }, {
1109
1225
  readonly type: "function";
1110
- readonly names: ["Recall"];
1226
+ readonly names: [Identifier];
1111
1227
  readonly processor: BuiltInProcName.Recall;
1112
1228
  readonly config: {
1113
1229
  readonly libFn: true;
@@ -1115,7 +1231,7 @@ export declare const DefaultBuiltinConfig: [{
1115
1231
  readonly assumePrimitive: false;
1116
1232
  }, {
1117
1233
  readonly type: "function";
1118
- readonly names: ["sys.function"];
1234
+ readonly names: [Identifier];
1119
1235
  readonly processor: BuiltInProcName.Recall;
1120
1236
  readonly config: {
1121
1237
  readonly libFn: true;
@@ -1124,7 +1240,7 @@ export declare const DefaultBuiltinConfig: [{
1124
1240
  readonly assumePrimitive: false;
1125
1241
  }, {
1126
1242
  readonly type: "function";
1127
- readonly names: ["c"];
1243
+ readonly names: [Identifier];
1128
1244
  readonly processor: BuiltInProcName.Vector;
1129
1245
  readonly config: {};
1130
1246
  readonly assumePrimitive: true;
@@ -1145,7 +1261,7 @@ export declare const DefaultBuiltinConfig: [{
1145
1261
  };
1146
1262
  }, {
1147
1263
  readonly type: "function";
1148
- readonly names: ["setnames", "setNames", "setkey", "setkeyv", "setindex", "setindexv", "setattr"];
1264
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
1149
1265
  readonly processor: BuiltInProcName.Assignment;
1150
1266
  readonly config: {
1151
1267
  readonly canBeReplacement: false;
@@ -1155,7 +1271,7 @@ export declare const DefaultBuiltinConfig: [{
1155
1271
  };
1156
1272
  }, {
1157
1273
  readonly type: "function";
1158
- readonly names: ["sys.on.exit", "par", "tpar", "sink", "requireNamespace", "loadNamespace", "attachNamespace", "asNamespace", Identifier, "unname", "data", "dir.create", "dir_create", "Sys.chmod", "unlink", "file.remove", "file.rename", "file.copy", "file.link", "file.append", "Sys.junction"];
1274
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
1159
1275
  readonly processor: BuiltInProcName.Default;
1160
1276
  readonly config: {
1161
1277
  readonly hasUnknownSideEffects: true;
@@ -1163,7 +1279,7 @@ export declare const DefaultBuiltinConfig: [{
1163
1279
  readonly assumePrimitive: false;
1164
1280
  }, {
1165
1281
  readonly type: "function";
1166
- readonly names: ["tinytheme", "theme_set", Identifier, "library.dynam", "install.packages", "install", "install_github", "install_gitlab", "install_bitbucket", "install_url", "install_git", "install_svn", "install_local", "install_version", "update_packages"];
1282
+ readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
1167
1283
  readonly processor: BuiltInProcName.Default;
1168
1284
  readonly config: {
1169
1285
  readonly hasUnknownSideEffects: true;
@@ -1172,7 +1288,7 @@ export declare const DefaultBuiltinConfig: [{
1172
1288
  readonly assumePrimitive: false;
1173
1289
  }, {
1174
1290
  readonly type: "function";
1175
- readonly names: ["on.exit"];
1291
+ readonly names: [Identifier];
1176
1292
  readonly processor: BuiltInProcName.RegisterHook;
1177
1293
  readonly config: {
1178
1294
  readonly hook: KnownHooks;
@@ -1197,14 +1313,14 @@ export declare const DefaultBuiltinConfig: [{
1197
1313
  }, {
1198
1314
  readonly type: "replacement";
1199
1315
  readonly suffixes: ["<-", "<<-"];
1200
- readonly names: ["[", "[[", "names", "dimnames", "attributes", "attr", "class", "levels", "rownames", "colnames", "body", "environment", "formals"];
1316
+ readonly names: ["[", "[[", Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
1201
1317
  readonly config: {
1202
1318
  readonly readIndices: true;
1203
1319
  };
1204
1320
  }, {
1205
1321
  readonly type: "replacement";
1206
1322
  readonly suffixes: ["<-", "<<-"];
1207
- readonly names: ["method"];
1323
+ readonly names: [Identifier];
1208
1324
  readonly config: {
1209
1325
  readonly readIndices: true;
1210
1326
  readonly constructName: "s7";