@eagleoutice/flowr 2.16.5 → 2.16.7

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 (316) hide show
  1. package/README.md +21 -15
  2. package/abstract-interpretation/data-frame/dataframe-semantics.d.ts +2 -0
  3. package/abstract-interpretation/data-frame/dataframe-semantics.js +3 -1
  4. package/abstract-interpretation/data-frame/resolve-args.d.ts +1 -7
  5. package/abstract-interpretation/data-frame/resolve-args.js +2 -11
  6. package/cli/repl/commands/repl-cfg.js +5 -19
  7. package/cli/repl/commands/repl-code-command.d.ts +10 -0
  8. package/cli/repl/commands/repl-code-command.js +18 -0
  9. package/cli/repl/commands/repl-dataflow.js +34 -59
  10. package/cli/repl/commands/repl-normalize.js +24 -41
  11. package/cli/repl/commands/repl-query.js +10 -17
  12. package/config.js +3 -3
  13. package/control-flow/cfg-dead-code.js +15 -2
  14. package/control-flow/useless-loop.js +1 -2
  15. package/data/r-base-packages.generated.d.ts +1 -1
  16. package/data/r-base-packages.generated.js +3 -3
  17. package/dataflow/environments/ambient-state-name.d.ts +80 -0
  18. package/dataflow/environments/ambient-state-name.js +113 -0
  19. package/dataflow/environments/built-in-eval-name.d.ts +3 -1
  20. package/dataflow/environments/built-in-eval-name.js +2 -0
  21. package/dataflow/environments/built-in-props.d.ts +27 -7
  22. package/dataflow/environments/built-in-props.js +59 -44
  23. package/dataflow/environments/built-in.d.ts +5 -2
  24. package/dataflow/environments/built-in.js +22 -5
  25. package/dataflow/environments/default-builtin-config.d.ts +538 -14
  26. package/dataflow/environments/default-builtin-config.js +189 -123
  27. package/dataflow/environments/environment.d.ts +7 -1
  28. package/dataflow/environments/environment.js +19 -1
  29. package/dataflow/environments/identifier.d.ts +11 -0
  30. package/dataflow/eval/resolve/alias-tracking.d.ts +13 -3
  31. package/dataflow/eval/resolve/alias-tracking.js +66 -37
  32. package/dataflow/eval/resolve/resolve-argument.d.ts +4 -2
  33. package/dataflow/eval/resolve/resolve-argument.js +23 -11
  34. package/dataflow/eval/resolve/resolve.d.ts +5 -0
  35. package/dataflow/eval/resolve/resolve.js +25 -3
  36. package/dataflow/eval/values/r-value.d.ts +4 -2
  37. package/dataflow/eval/values/r-value.js +3 -1
  38. package/dataflow/eval/values/string/string-constants.d.ts +7 -1
  39. package/dataflow/eval/values/string/string-constants.js +38 -36
  40. package/dataflow/extractor.js +105 -2
  41. package/dataflow/fn/argument-roles.js +22 -8
  42. package/dataflow/fn/function-semantics.d.ts +3 -2
  43. package/dataflow/fn/strict-function.js +13 -2
  44. package/dataflow/graph/df-helper.d.ts +14 -1
  45. package/dataflow/graph/df-helper.js +37 -4
  46. package/dataflow/graph/graph.d.ts +6 -0
  47. package/dataflow/graph/graph.js +6 -0
  48. package/dataflow/internal/linker.d.ts +4 -1
  49. package/dataflow/internal/linker.js +11 -7
  50. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-keys.d.ts +41 -0
  51. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-keys.js +88 -0
  52. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +19 -44
  53. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +125 -158
  54. package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +6 -1
  55. package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +35 -9
  56. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +10 -1
  57. package/dataflow/internal/process/functions/call/built-in/built-in-attach.d.ts +4 -1
  58. package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +6 -1
  59. package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +1 -1
  60. package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +3 -2
  61. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.d.ts +7 -0
  62. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +21 -12
  63. package/dataflow/internal/process/functions/call/built-in/built-in-get.d.ts +1 -1
  64. package/dataflow/internal/process/functions/call/built-in/built-in-get.js +8 -1
  65. package/dataflow/internal/process/functions/call/built-in/built-in-library.d.ts +3 -0
  66. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +5 -0
  67. package/dataflow/internal/process/functions/call/built-in/built-in-local.js +5 -2
  68. package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +11 -12
  69. package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.d.ts +1 -1
  70. package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +6 -0
  71. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.js +1 -1
  72. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.d.ts +7 -0
  73. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +42 -0
  74. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +11 -0
  75. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +29 -4
  76. package/dataflow/internal/process/functions/call/common.js +3 -4
  77. package/dataflow/internal/process/functions/call/deferred.d.ts +3 -2
  78. package/dataflow/internal/process/functions/call/deferred.js +17 -9
  79. package/dataflow/internal/process/functions/call/quoted.js +1 -1
  80. package/documentation/doc-capabilities.js +3 -2
  81. package/documentation/doc-readme.js +1 -2
  82. package/documentation/doc-util/doc-dfg.js +2 -2
  83. package/documentation/doc-util/doc-query.d.ts +3 -1
  84. package/documentation/doc-util/doc-query.js +4 -4
  85. package/documentation/wiki-create-linting-rules.js +1 -1
  86. package/documentation/wiki-linter.js +16 -206
  87. package/documentation/wiki-linting-and-testing.js +31 -64
  88. package/documentation/wiki-query.js +41 -0
  89. package/index.d.ts +1 -0
  90. package/index.js +5 -1
  91. package/linter/linter-format.d.ts +6 -0
  92. package/linter/linter-format.js +10 -0
  93. package/linter/linter-rules.d.ts +155 -103
  94. package/linter/linter-rules.js +2 -0
  95. package/linter/linter-util.d.ts +23 -0
  96. package/linter/linter-util.js +58 -0
  97. package/linter/rules/absolute-path.d.ts +2 -2
  98. package/linter/rules/absolute-path.js +1 -4
  99. package/linter/rules/cmd-check/bogus-return.d.ts +2 -2
  100. package/linter/rules/cmd-check/bogus-return.js +3 -7
  101. package/linter/rules/cmd-check/call-arguments.d.ts +2 -2
  102. package/linter/rules/cmd-check/class-string-comparison.d.ts +2 -2
  103. package/linter/rules/cmd-check/class-string-comparison.js +3 -7
  104. package/linter/rules/cmd-check/cmd-check-util.d.ts +8 -9
  105. package/linter/rules/cmd-check/cmd-check-util.js +14 -26
  106. package/linter/rules/cmd-check/compiled-code.d.ts +8 -3
  107. package/linter/rules/cmd-check/compiled-code.js +3 -13
  108. package/linter/rules/cmd-check/dependency-declaration.d.ts +2 -2
  109. package/linter/rules/cmd-check/dependency-declaration.js +6 -7
  110. package/linter/rules/cmd-check/description-metadata.d.ts +4 -4
  111. package/linter/rules/cmd-check/documentation-mismatch.d.ts +2 -2
  112. package/linter/rules/cmd-check/documentation-mismatch.js +4 -11
  113. package/linter/rules/cmd-check/file-checks.d.ts +19 -6
  114. package/linter/rules/cmd-check/file-checks.js +13 -5
  115. package/linter/rules/cmd-check/foreign-function-calls.d.ts +2 -2
  116. package/linter/rules/cmd-check/global-environment-modification.d.ts +2 -2
  117. package/linter/rules/cmd-check/global-environment-modification.js +3 -2
  118. package/linter/rules/cmd-check/namespace-tampering.d.ts +2 -2
  119. package/linter/rules/cmd-check/namespace-tampering.js +9 -9
  120. package/linter/rules/cmd-check/non-ascii-code.d.ts +2 -2
  121. package/linter/rules/cmd-check/package-data.d.ts +11 -5
  122. package/linter/rules/cmd-check/package-data.js +5 -12
  123. package/linter/rules/cmd-check/package-files.js +4 -10
  124. package/linter/rules/cmd-check/package-hooks.d.ts +2 -2
  125. package/linter/rules/cmd-check/package-hooks.js +10 -8
  126. package/linter/rules/cmd-check/package-metafiles.d.ts +8 -3
  127. package/linter/rules/cmd-check/package-metafiles.js +3 -12
  128. package/linter/rules/cmd-check/package-runtime.d.ts +18 -5
  129. package/linter/rules/cmd-check/package-runtime.js +64 -20
  130. package/linter/rules/cmd-check/package-structure.d.ts +11 -5
  131. package/linter/rules/cmd-check/package-structure.js +4 -12
  132. package/linter/rules/cmd-check/rd-files.d.ts +8 -3
  133. package/linter/rules/cmd-check/rd-files.js +4 -14
  134. package/linter/rules/cmd-check/s-three-method-consistency.d.ts +2 -2
  135. package/linter/rules/cmd-check/s-three-method-consistency.js +3 -4
  136. package/linter/rules/cmd-check/true-false-abbreviation.d.ts +2 -2
  137. package/linter/rules/dataframe-access-validation.d.ts +2 -2
  138. package/linter/rules/dataframe-access-validation.js +5 -8
  139. package/linter/rules/dead-code.d.ts +5 -4
  140. package/linter/rules/dead-code.js +25 -14
  141. package/linter/rules/deprecated-functions.d.ts +3 -3
  142. package/linter/rules/deprecated-functions.js +16 -23
  143. package/linter/rules/file-path-validity.d.ts +2 -2
  144. package/linter/rules/file-path-validity.js +3 -6
  145. package/linter/rules/function-finder-util.d.ts +3 -3
  146. package/linter/rules/function-finder-util.js +7 -14
  147. package/linter/rules/namespace-access.d.ts +2 -2
  148. package/linter/rules/namespace-access.js +6 -9
  149. package/linter/rules/naming-convention.d.ts +2 -2
  150. package/linter/rules/naming-convention.js +1 -4
  151. package/linter/rules/network-functions.d.ts +3 -3
  152. package/linter/rules/no-leaked-credentials.d.ts +2 -2
  153. package/linter/rules/no-leaked-credentials.js +1 -4
  154. package/linter/rules/overwritten-file.d.ts +38 -0
  155. package/linter/rules/overwritten-file.js +102 -0
  156. package/linter/rules/problematic-inputs.d.ts +16 -6
  157. package/linter/rules/problematic-inputs.js +78 -34
  158. package/linter/rules/roxygen-arguments.d.ts +2 -2
  159. package/linter/rules/roxygen-arguments.js +1 -4
  160. package/linter/rules/seeded-randomness.d.ts +3 -3
  161. package/linter/rules/seeded-randomness.js +6 -23
  162. package/linter/rules/software-has-license.d.ts +2 -2
  163. package/linter/rules/software-has-license.js +1 -4
  164. package/linter/rules/software-has-tests.d.ts +2 -2
  165. package/linter/rules/software-has-tests.js +1 -4
  166. package/linter/rules/stop-with-call-arg.d.ts +2 -2
  167. package/linter/rules/stop-with-call-arg.js +4 -11
  168. package/linter/rules/syntactically-valid.d.ts +4 -2
  169. package/linter/rules/syntactically-valid.js +29 -10
  170. package/linter/rules/unclosed-connection.d.ts +2 -2
  171. package/linter/rules/unclosed-connection.js +1 -4
  172. package/linter/rules/undefined-symbol.d.ts +2 -2
  173. package/linter/rules/undefined-symbol.js +25 -22
  174. package/linter/rules/unescaped-arguments.d.ts +2 -2
  175. package/linter/rules/unescaped-arguments.js +1 -4
  176. package/linter/rules/unused-definition.d.ts +2 -2
  177. package/linter/rules/unused-definition.js +37 -25
  178. package/linter/rules/unused-import.d.ts +2 -2
  179. package/linter/rules/unused-import.js +9 -14
  180. package/linter/rules/useless-loop.d.ts +7 -6
  181. package/linter/rules/useless-loop.js +4 -8
  182. package/package.json +5 -3
  183. package/project/cache/flowr-analyzer-cache.d.ts +2 -0
  184. package/project/cache/flowr-analyzer-cache.js +15 -11
  185. package/project/context/flowr-analyzer-files-context.d.ts +3 -0
  186. package/project/context/flowr-analyzer-files-context.js +6 -0
  187. package/project/plugins/file-plugins/files/flowr-jupyter-file.d.ts +6 -1
  188. package/project/plugins/file-plugins/files/flowr-jupyter-file.js +35 -0
  189. package/project/plugins/file-plugins/files/flowr-namespace-file.js +2 -1
  190. package/project/plugins/file-plugins/files/flowr-rsession-file.d.ts +26 -0
  191. package/project/plugins/file-plugins/files/flowr-rsession-file.js +44 -0
  192. package/project/plugins/file-plugins/files/r-session.d.ts +20 -0
  193. package/project/plugins/file-plugins/files/r-session.js +58 -0
  194. package/project/plugins/file-plugins/files/recorded-runs.d.ts +18 -0
  195. package/project/plugins/file-plugins/files/recorded-runs.js +8 -0
  196. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rsession-file-plugin.d.ts +20 -0
  197. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rsession-file-plugin.js +28 -0
  198. package/project/plugins/plugin-registry.d.ts +2 -1
  199. package/project/plugins/plugin-registry.js +2 -0
  200. package/project/sigdb/spec-query.d.ts +73 -0
  201. package/project/sigdb/spec-query.js +339 -0
  202. package/queries/base-query-format.d.ts +1 -1
  203. package/queries/base-query-format.js +2 -2
  204. package/queries/catalog/absint-query/absint-query-executor.js +3 -6
  205. package/queries/catalog/call-context-query/call-context-query-executor.d.ts +1 -0
  206. package/queries/catalog/call-context-query/call-context-query-executor.js +113 -73
  207. package/queries/catalog/call-graph-query/call-graph-query-executor.js +2 -3
  208. package/queries/catalog/cluster-query/cluster-query-executor.js +2 -3
  209. package/queries/catalog/config-query/config-query-format.d.ts +0 -1
  210. package/queries/catalog/config-query/config-query-format.js +1 -2
  211. package/queries/catalog/control-flow-query/control-flow-query-executor.js +2 -3
  212. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-executor.js +2 -4
  213. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.d.ts +0 -1
  214. package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +1 -2
  215. package/queries/catalog/dataflow-query/dataflow-query-executor.js +2 -3
  216. package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +7 -0
  217. package/queries/catalog/dependencies-query/dependencies-query-executor.js +72 -42
  218. package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +24 -6
  219. package/queries/catalog/dependencies-query/dependencies-query-format.js +108 -3
  220. package/queries/catalog/dependencies-query/function-info/function-info.d.ts +6 -1
  221. package/queries/catalog/dependencies-query/function-info/read-functions.js +6 -6
  222. package/queries/catalog/dependencies-query/function-info/write-functions.js +13 -7
  223. package/queries/catalog/dependencies-query/implicit-echo.js +21 -7
  224. package/queries/catalog/dice-query/dice-query-executor.js +2 -3
  225. package/queries/catalog/does-call-query/does-call-query-executor.js +2 -3
  226. package/queries/catalog/files-query/files-query-executor.js +2 -3
  227. package/queries/catalog/function-info-query/function-info-query-executor.js +2 -1
  228. package/queries/catalog/function-info-query/function-info-query-format.d.ts +0 -2
  229. package/queries/catalog/function-info-query/function-info-query-format.js +1 -2
  230. package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-executor.js +3 -2
  231. package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.d.ts +0 -2
  232. package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.js +1 -2
  233. package/queries/catalog/happens-before-query/happens-before-query-executor.js +2 -3
  234. package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +0 -1
  235. package/queries/catalog/happens-before-query/happens-before-query-format.js +1 -2
  236. package/queries/catalog/id-map-query/id-map-query-executor.js +2 -3
  237. package/queries/catalog/id-map-query/id-map-query-format.d.ts +0 -1
  238. package/queries/catalog/id-map-query/id-map-query-format.js +1 -2
  239. package/queries/catalog/input-sources-query/input-sources-query-executor.js +3 -4
  240. package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +2 -1
  241. package/queries/catalog/input-sources-query/simple-input-classifier.js +60 -13
  242. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.js +2 -3
  243. package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-executor.js +2 -3
  244. package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-format.js +2 -1
  245. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.d.ts +3 -2
  246. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +1 -7
  247. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +6 -9
  248. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +8 -33
  249. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.d.ts +3 -2
  250. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.js +1 -7
  251. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.d.ts +6 -7
  252. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.js +8 -31
  253. package/queries/catalog/linter-query/linter-query-executor.js +2 -3
  254. package/queries/catalog/location-map-query/location-map-query-executor.js +2 -3
  255. package/queries/catalog/location-map-query/location-map-query-format.d.ts +0 -1
  256. package/queries/catalog/location-map-query/location-map-query-format.js +1 -2
  257. package/queries/catalog/normalized-ast-query/normalized-ast-query-executor.js +2 -3
  258. package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +0 -1
  259. package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +1 -2
  260. package/queries/catalog/origin-query/origin-query-executor.d.ts +0 -5
  261. package/queries/catalog/origin-query/origin-query-executor.js +3 -11
  262. package/queries/catalog/project-query/project-query-executor.js +23 -7
  263. package/queries/catalog/project-query/project-query-format.d.ts +5 -0
  264. package/queries/catalog/project-query/project-query-format.js +20 -2
  265. package/queries/catalog/provenance-query/provenance-query-executor.js +2 -3
  266. package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +2 -3
  267. package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +0 -1
  268. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -2
  269. package/queries/catalog/search-query/search-query-executor.js +2 -3
  270. package/queries/catalog/signature-query/signature-query-executor.js +39 -0
  271. package/queries/catalog/signature-query/signature-query-format.d.ts +7 -1
  272. package/queries/catalog/signature-query/signature-query-format.js +15 -1
  273. package/queries/catalog/signature-query/signature-query-render.js +2 -1
  274. package/queries/catalog/static-slice-query/static-slice-query-executor.js +2 -3
  275. package/queries/query-function-property.d.ts +28 -0
  276. package/queries/query-function-property.js +48 -0
  277. package/queries/query-meta.d.ts +3 -0
  278. package/queries/query-meta.js +8 -0
  279. package/queries/query.d.ts +13 -18
  280. package/r-bridge/lang-4.x/ast/model/processing/decorate.d.ts +2 -2
  281. package/r-bridge/lang-4.x/ast/model/processing/decorate.js +4 -3
  282. package/r-bridge/lang-4.x/ast/model/processing/node-id.d.ts +6 -0
  283. package/r-bridge/lang-4.x/ast/model/processing/node-id.js +9 -0
  284. package/r-bridge/lang-4.x/ast/model/syntax-version.d.ts +8 -0
  285. package/r-bridge/lang-4.x/ast/model/syntax-version.js +49 -0
  286. package/r-bridge/lang-4.x/ast/model/type.d.ts +2 -0
  287. package/r-bridge/lang-4.x/ast/model/type.js +3 -0
  288. package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-parameter.js +4 -1
  289. package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-single-node.js +1 -0
  290. package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +1 -1
  291. package/reconstruct/reconstruct.js +35 -1
  292. package/search/search-executor/search-generators.js +1 -1
  293. package/slicing/static/fingerprint.js +7 -3
  294. package/slicing/static/removal-slice.js +4 -2
  295. package/slicing/static/static-slicer.js +6 -0
  296. package/util/assert.js +2 -2
  297. package/util/collections/arrays.d.ts +4 -0
  298. package/util/collections/arrays.js +11 -0
  299. package/util/collections/defaultmap.d.ts +5 -1
  300. package/util/collections/defaultmap.js +6 -1
  301. package/util/files.js +26 -5
  302. package/util/flowr-version.d.ts +10 -0
  303. package/util/flowr-version.js +20 -0
  304. package/util/glob.js +6 -4
  305. package/util/r-regex.d.ts +6 -0
  306. package/util/r-regex.js +17 -0
  307. package/util/text/args.d.ts +5 -0
  308. package/util/text/args.js +28 -22
  309. package/util/text/name-rank.d.ts +2 -0
  310. package/util/text/name-rank.js +3 -1
  311. package/util/text/regex.d.ts +10 -0
  312. package/util/text/regex.js +29 -0
  313. package/util/version.d.ts +1 -6
  314. package/util/version.js +6 -14
  315. package/documentation/doc-util/doc-functions.d.ts +0 -24
  316. package/documentation/doc-util/doc-functions.js +0 -65
@@ -66,11 +66,16 @@ exports.DefaultMap = DefaultMap;
66
66
  /**
67
67
  * `fn`, answered once per key and remembered from then on -- an answer of `undefined` included, which is
68
68
  * what separates this from a {@link DefaultMap} generator.
69
+ * For a recursive `fn`, `reentry` is the answer for a key asked again while its own answer is worked out,
70
+ * like `false` for whether a call `f <- function() f()` returns a data frame.
69
71
  */
70
- function memoize(fn) {
72
+ function memoize(fn, reentry) {
71
73
  const known = new Map();
72
74
  return key => {
73
75
  if (!known.has(key)) {
76
+ if (reentry !== undefined) {
77
+ known.set(key, reentry.answer);
78
+ }
74
79
  known.set(key, fn(key));
75
80
  }
76
81
  return known.get(key);
package/util/files.js CHANGED
@@ -50,7 +50,6 @@ exports.isFilePath = isFilePath;
50
50
  const fs_1 = __importStar(require("fs"));
51
51
  const path_1 = __importDefault(require("path"));
52
52
  const log_1 = require("./log");
53
- const n_readlines_1 = __importDefault(require("n-readlines"));
54
53
  /** Rethrows if the caller asked for it, otherwise reports the directory as skipped. */
55
54
  function skipUnreadableDir(dir, e, throwOnError) {
56
55
  if (throwOnError) {
@@ -141,6 +140,30 @@ async function* allRFiles(input) {
141
140
  }
142
141
  return count;
143
142
  }
143
+ const LineChunkSize = 64 * 1024;
144
+ /** yields the lines of the file as buffers without their `\n` or `\r\n` terminator, reading it chunk by chunk */
145
+ function* readBufferLines(filePath) {
146
+ const fd = fs_1.default.openSync(filePath, 'r');
147
+ try {
148
+ const chunk = Buffer.allocUnsafe(LineChunkSize);
149
+ let rest = Buffer.alloc(0);
150
+ for (let read = fs_1.default.readSync(fd, chunk, 0, LineChunkSize, null); read > 0; read = fs_1.default.readSync(fd, chunk, 0, LineChunkSize, null)) {
151
+ let data = rest.length > 0 ? Buffer.concat([rest, chunk.subarray(0, read)]) : Buffer.from(chunk.subarray(0, read));
152
+ let start = 0;
153
+ for (let nl = data.indexOf(10, start); nl >= 0; nl = data.indexOf(10, start)) {
154
+ yield data.subarray(start, nl > start && data[nl - 1] === 13 ? nl - 1 : nl);
155
+ start = nl + 1;
156
+ }
157
+ rest = data = data.subarray(start);
158
+ }
159
+ if (rest.length > 0) {
160
+ yield rest;
161
+ }
162
+ }
163
+ finally {
164
+ fs_1.default.closeSync(fd);
165
+ }
166
+ }
144
167
  /**
145
168
  * Reads a file line by line and calls the given function for each line.
146
169
  * The `lineNumber` starts at `0`.
@@ -154,9 +177,8 @@ async function readLineByLine(filePath, onLine, maxLines = Infinity) {
154
177
  log_1.log.warn(`File ${filePath} does not exist`);
155
178
  return false;
156
179
  }
157
- const reader = new n_readlines_1.default(filePath);
158
180
  let counter = 0;
159
- for (let line = reader.next(); line; line = reader.next()) {
181
+ for (const line of readBufferLines(filePath)) {
160
182
  if (counter >= maxLines) {
161
183
  return false;
162
184
  }
@@ -177,9 +199,8 @@ function readLineByLineSync(filePath, onLine, maxLines = Infinity) {
177
199
  log_1.log.warn(`File ${filePath} does not exist`);
178
200
  return false;
179
201
  }
180
- const reader = new n_readlines_1.default(filePath);
181
202
  let counter = 0;
182
- for (let line = reader.next(); line; line = reader.next()) {
203
+ for (const line of readBufferLines(filePath)) {
183
204
  if (counter >= maxLines) {
184
205
  return false;
185
206
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The version of flowR on its own, without the version report around it, so the core utilities can name it cheaply.
3
+ * @module
4
+ */
5
+ import { SemVer } from 'semver';
6
+ export declare const versionDate = "2026-10-27T20:44:18Z";
7
+ /**
8
+ * Retrieves the current flowR version as a new {@link SemVer} object.
9
+ */
10
+ export declare function flowrVersion(): SemVer;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.versionDate = void 0;
4
+ exports.flowrVersion = flowrVersion;
5
+ /**
6
+ * The version of flowR on its own, without the version report around it, so the core utilities can name it cheaply.
7
+ * @module
8
+ */
9
+ const semver_1 = require("semver");
10
+ // this is automatically replaced with the current version by release-it
11
+ const version = '2.16.7';
12
+ // this is automatically replaced with the release date by release-it (scripts/bump-version.ts)
13
+ exports.versionDate = '2026-10-27T20:44:18Z';
14
+ /**
15
+ * Retrieves the current flowR version as a new {@link SemVer} object.
16
+ */
17
+ function flowrVersion() {
18
+ return new semver_1.SemVer(version);
19
+ }
20
+ //# sourceMappingURL=flowr-version.js.map
package/util/glob.js CHANGED
@@ -5,6 +5,7 @@ exports.globMatcher = globMatcher;
5
5
  exports.rbuildignoreMatcher = rbuildignoreMatcher;
6
6
  const files_1 = require("./files");
7
7
  const log_1 = require("./log");
8
+ const regex_1 = require("./text/regex");
8
9
  const rbuildignoreLog = log_1.log.getSubLogger({ name: 'rbuildignore' });
9
10
  let ignoreFactory;
10
11
  /** The `ignore` factory, required on first use only. */
@@ -38,12 +39,13 @@ function rbuildignoreMatcher(content) {
38
39
  if (trimmed.length === 0) {
39
40
  continue;
40
41
  }
41
- try {
42
- patterns.push(new RegExp(trimmed, 'i'));
43
- }
44
- catch {
42
+ const pattern = (0, regex_1.compileRegex)(trimmed, 'i');
43
+ if (pattern === undefined) {
45
44
  rbuildignoreLog.warn(`Ignoring invalid .Rbuildignore pattern '${trimmed}'.`);
46
45
  }
46
+ else {
47
+ patterns.push(pattern);
48
+ }
47
49
  }
48
50
  if (patterns.length === 0) {
49
51
  return () => false;
package/util/r-regex.d.ts CHANGED
@@ -23,3 +23,9 @@ export declare const RPunctuationChars = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
23
23
  * Converts an R regex pattern (which may include POSIX character classes) into a JavaScript RegExp.
24
24
  */
25
25
  export declare function parseRRegexPattern(pattern: string): RegExp;
26
+ /**
27
+ * As {@link parseRRegexPattern}, but only where the JavaScript regex matches what R matches: `undefined` for a pattern
28
+ * with an escape or a group (`(?...)`) the two read differently, a posix class there is no translation for, or one
29
+ * JavaScript cannot compile.
30
+ */
31
+ export declare function parseRRegexPatternExactly(pattern: string): RegExp | undefined;
package/util/r-regex.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RPunctuationChars = exports.RStandardRegexp = void 0;
4
4
  exports.parseRRegexPattern = parseRRegexPattern;
5
+ exports.parseRRegexPatternExactly = parseRRegexPatternExactly;
5
6
  const log_1 = require("./log");
6
7
  /**
7
8
  * Represents R's `.standard_regexps` definitions.
@@ -41,6 +42,10 @@ const PosixClassMap = {
41
42
  print: '\x20-\x7E'
42
43
  };
43
44
  const posixClassRegex = /\[:([a-z]+):]/g;
45
+ /** a posix class {@link PosixClassMap} does not know, which JavaScript would read as a plain bracket expression */
46
+ const unknownPosixClass = new RegExp(String.raw `\[:(?!(?:${Object.keys(PosixClassMap).join('|')}):\])`);
47
+ /** an escape of a letter or digit, which R and JavaScript read differently (`\<`, `\d`, a back reference) */
48
+ const divergentEscape = /\\[^.^$*+?()[\]{}|\\/-]/;
44
49
  /** the flags R accepts inside the pattern (`(?i)foo`), which JavaScript only takes next to it */
45
50
  const inlineFlags = /^\(\?([imsx]+)\)/;
46
51
  /** what a pattern JavaScript cannot compile falls back to, so one bad pattern matches nothing rather than throwing */
@@ -72,4 +77,16 @@ function parseRRegexPattern(pattern) {
72
77
  return matchesNothing;
73
78
  }
74
79
  }
80
+ /**
81
+ * As {@link parseRRegexPattern}, but only where the JavaScript regex matches what R matches: `undefined` for a pattern
82
+ * with an escape or a group (`(?...)`) the two read differently, a posix class there is no translation for, or one
83
+ * JavaScript cannot compile.
84
+ */
85
+ function parseRRegexPatternExactly(pattern) {
86
+ if (divergentEscape.test(pattern) || pattern.includes('(?') || unknownPosixClass.test(pattern)) {
87
+ return undefined;
88
+ }
89
+ const regex = parseRRegexPattern(pattern);
90
+ return regex === matchesNothing ? undefined : regex;
91
+ }
75
92
  //# sourceMappingURL=r-regex.js.map
@@ -2,6 +2,10 @@
2
2
  * Just to avoid another library for splitting arguments, we use this module to provide what we need.
3
3
  * @module
4
4
  */
5
+ /** `text` with its backslash escapes undone, as an argument reads them: `a\"b` is `a"b` */
6
+ export declare function unescapeArg(text: string): string;
7
+ /** where the quote opened at `start` of `text` is closed, a backslash escaping the character after it; `undefined` if it is not */
8
+ export declare function closingQuote(text: string, start?: number): number | undefined;
5
9
  /**
6
10
  * This splits an input string on the given split string (e.g., ` `), but checks if the string is quoted or escaped.
7
11
  *
@@ -9,6 +13,7 @@
9
13
  * this splits the arguments similar to common shell interpreters (i.e., `a`, `b c`, and `d`).
10
14
  *
11
15
  * When escapeQuote is set to false instead, we keep quotation marks in the result (i.e., `a`, `"b c"`, and `d`.).
16
+ * A name in backticks is never split either, and keeps its backticks, as they belong to the name.
12
17
  * @param inputString - The string to split
13
18
  * @param escapeQuote - Keep quotes in args
14
19
  * @param split - The character or character sequence to split on (can not be backslash or quote!)
package/util/text/args.js CHANGED
@@ -4,8 +4,28 @@
4
4
  * @module
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.unescapeArg = unescapeArg;
8
+ exports.closingQuote = closingQuote;
7
9
  exports.splitAtEscapeSensitive = splitAtEscapeSensitive;
8
10
  exports.splitOnNestingSensitive = splitOnNestingSensitive;
11
+ /** what a backslash escape in an argument stands for where it names a control character; any other escaped character stands for itself */
12
+ const ArgEscapes = { n: '\n', t: '\t', r: '\r', v: '\v', f: '\f', b: '\b' };
13
+ /** `text` with its backslash escapes undone, as an argument reads them: `a\"b` is `a"b` */
14
+ function unescapeArg(text) {
15
+ return text.replace(/\\([^])/g, (_, c) => ArgEscapes[c] ?? c);
16
+ }
17
+ /** where the quote opened at `start` of `text` is closed, a backslash escaping the character after it; `undefined` if it is not */
18
+ function closingQuote(text, start = 0) {
19
+ for (let i = start + 1; i < text.length; i++) {
20
+ if (text[i] === '\\') {
21
+ i++;
22
+ }
23
+ else if (text[i] === text[start]) {
24
+ return i;
25
+ }
26
+ }
27
+ return undefined;
28
+ }
9
29
  /**
10
30
  * This splits an input string on the given split string (e.g., ` `), but checks if the string is quoted or escaped.
11
31
  *
@@ -13,6 +33,7 @@ exports.splitOnNestingSensitive = splitOnNestingSensitive;
13
33
  * this splits the arguments similar to common shell interpreters (i.e., `a`, `b c`, and `d`).
14
34
  *
15
35
  * When escapeQuote is set to false instead, we keep quotation marks in the result (i.e., `a`, `"b c"`, and `d`.).
36
+ * A name in backticks is never split either, and keeps its backticks, as they belong to the name.
16
37
  * @param inputString - The string to split
17
38
  * @param escapeQuote - Keep quotes in args
18
39
  * @param split - The character or character sequence to split on (can not be backslash or quote!)
@@ -26,27 +47,7 @@ function splitAtEscapeSensitive(inputString, escapeQuote = true, split = ' ') {
26
47
  const c = inputString[i];
27
48
  if (escaped) {
28
49
  escaped = false;
29
- switch (c) {
30
- case 'n':
31
- current += '\n';
32
- break;
33
- case 't':
34
- current += '\t';
35
- break;
36
- case 'r':
37
- current += '\r';
38
- break;
39
- case 'v':
40
- current += '\v';
41
- break;
42
- case 'f':
43
- current += '\f';
44
- break;
45
- case 'b':
46
- current += '\b';
47
- break;
48
- default: current += c;
49
- }
50
+ current += ArgEscapes[c] ?? c;
50
51
  }
51
52
  else if (!inQuotes
52
53
  && current !== ''
@@ -54,7 +55,12 @@ function splitAtEscapeSensitive(inputString, escapeQuote = true, split = ' ') {
54
55
  args.push(current);
55
56
  current = '';
56
57
  }
57
- else if (c === '"' || c === "'") {
58
+ else if (c === '`' && (!inQuotes || inQuotes === c)) {
59
+ /* a name in backticks may hold a space, and the backticks are part of the name, so they are always kept */
60
+ inQuotes = inQuotes ? false : c;
61
+ current += c;
62
+ }
63
+ else if ((c === '"' || c === "'") && inQuotes !== '`') {
58
64
  if (!inQuotes) {
59
65
  inQuotes = c;
60
66
  if (escapeQuote) {
@@ -24,6 +24,8 @@ export interface NameRankInput {
24
24
  readonly s3?: boolean;
25
25
  /** the name holds a value rather than a function */
26
26
  readonly variable?: boolean;
27
+ /** the script being edited defines the name itself, which is what its author most likely means */
28
+ readonly local?: boolean;
27
29
  }
28
30
  /** The points {@link NameRankInput} earns, higher being offered first. */
29
31
  export declare function rankName(of: NameRankInput): number;
@@ -17,7 +17,7 @@ const Adjustments = [
17
17
  [900, ({ name, needle }) => name !== needle && name.toLowerCase() === needle.toLowerCase()],
18
18
  /* a real function from base R is what a reader usually means; a lone symbol almost never is */
19
19
  [40, ({ name, baseR }) => baseR === true && name.length >= 3],
20
- [-20, ({ variable }) => variable === true],
20
+ [-20, ({ variable, local }) => variable === true && local !== true],
21
21
  [-40, ({ name }) => name.length < 3],
22
22
  /* `names<-` is the replacement form of `names`, and nobody reaches for it first */
23
23
  [-35, ({ name }) => name.endsWith('<-')],
@@ -27,6 +27,8 @@ const Adjustments = [
27
27
  /* a name flowR recognises outranks a closer spelling it knows nothing about: typing `plot` should
28
28
  offer `ggplot` before `plotH`, because one of them is a function people actually call */
29
29
  [500, ({ known }) => known === true],
30
+ /* what the script defines itself outranks everything it merely could call, short of what was typed exactly */
31
+ [2000, ({ local }) => local === true],
30
32
  [-30, ({ s3 }) => s3 === true],
31
33
  /* operators, punctuation, and SHOUTING names are rarely what someone is looking for */
32
34
  [-60, ({ name }) => /^%.*%$/.test(name) || /^[^\w.]/.test(name)],
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Regular expressions written by a user, which may not compile. Free of node modules, as the browser pages use it.
3
+ * @module
4
+ */
5
+ /** `source` as a regular expression, or the error saying why it is none */
6
+ export declare function tryRegex(source: string, flags?: string): RegExp | SyntaxError;
7
+ /** `source` as a regular expression, `undefined` where it does not compile */
8
+ export declare function compileRegex(source: string, flags?: string): RegExp | undefined;
9
+ /** the regular expression `text` writes between slashes, like `/^read/`, `undefined` for any other text or one that does not compile */
10
+ export declare function slashedRegex(text: string, flags?: string): RegExp | undefined;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Regular expressions written by a user, which may not compile. Free of node modules, as the browser pages use it.
4
+ * @module
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.tryRegex = tryRegex;
8
+ exports.compileRegex = compileRegex;
9
+ exports.slashedRegex = slashedRegex;
10
+ /** `source` as a regular expression, or the error saying why it is none */
11
+ function tryRegex(source, flags) {
12
+ try {
13
+ return new RegExp(source, flags);
14
+ }
15
+ catch (error) {
16
+ return error;
17
+ }
18
+ }
19
+ /** `source` as a regular expression, `undefined` where it does not compile */
20
+ function compileRegex(source, flags) {
21
+ const regex = tryRegex(source, flags);
22
+ return regex instanceof RegExp ? regex : undefined;
23
+ }
24
+ /** the regular expression `text` writes between slashes, like `/^read/`, `undefined` for any other text or one that does not compile */
25
+ function slashedRegex(text, flags) {
26
+ const slashed = /^\/(.+)\/$/.exec(text.trim());
27
+ return slashed === null ? undefined : compileRegex(slashed[1], flags);
28
+ }
29
+ //# sourceMappingURL=regex.js.map
package/util/version.d.ts CHANGED
@@ -1,11 +1,7 @@
1
- import { SemVer } from 'semver';
2
1
  import type { KnownParser } from '../r-bridge/parser';
3
2
  import type { ReplOutput } from '../cli/repl/commands/repl-main';
4
3
  import type { ReadonlyFlowrAnalysisProvider } from '../project/flowr-analyzer';
5
- /**
6
- * Retrieves the current flowR version as a new {@link SemVer} object.
7
- */
8
- export declare function flowrVersion(): SemVer;
4
+ export { flowrVersion } from './flowr-version';
9
5
  type Version = `${number}.${number}.${number}`;
10
6
  /**
11
7
  * Describes the version of flowR and the used R interpreter.
@@ -25,4 +21,3 @@ export declare function retrieveVersionInformation(input: KnownParser | Readonly
25
21
  * Displays the version information to the given output.
26
22
  */
27
23
  export declare function printVersionInformation(output: ReplOutput, input: KnownParser | ReadonlyFlowrAnalysisProvider, engineOnly?: boolean): Promise<void>;
28
- export {};
package/util/version.js CHANGED
@@ -33,31 +33,23 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.flowrVersion = flowrVersion;
36
+ exports.flowrVersion = void 0;
37
37
  exports.retrieveVersionInformation = retrieveVersionInformation;
38
38
  exports.printVersionInformation = printVersionInformation;
39
39
  const ansi_1 = require("./text/ansi");
40
- const semver_1 = require("semver");
41
40
  const assert_1 = require("./assert");
42
41
  const sigdb_download_1 = require("../project/sigdb/sigdb-download");
43
42
  const doc_files_1 = require("../documentation/doc-util/doc-files");
44
43
  const strings_1 = require("./text/strings");
45
- // this is automatically replaced with the current version by release-it
46
- const version = '2.16.5';
47
- // this is automatically replaced with the release date by release-it (scripts/bump-version.ts)
48
- const versionDate = '2026-10-22T17:19:41Z';
49
- /**
50
- * Retrieves the current flowR version as a new {@link SemVer} object.
51
- */
52
- function flowrVersion() {
53
- return new semver_1.SemVer(version);
54
- }
44
+ const flowr_version_1 = require("./flowr-version");
45
+ var flowr_version_2 = require("./flowr-version");
46
+ Object.defineProperty(exports, "flowrVersion", { enumerable: true, get: function () { return flowr_version_2.flowrVersion; } });
55
47
  const versionRegex = /^\d+\.\d+\.\d+/m;
56
48
  /**
57
49
  * Retrieves the version information for flowR and the given parser or analysis provider.
58
50
  */
59
51
  async function retrieveVersionInformation(input) {
60
- const flowr = flowrVersion().toString();
52
+ const flowr = (0, flowr_version_1.flowrVersion)().toString();
61
53
  let r;
62
54
  let name;
63
55
  if ('name' in input) {
@@ -86,7 +78,7 @@ async function printVersionInformation(output, input, engineOnly = false) {
86
78
  const rows = [];
87
79
  const pluginLines = [];
88
80
  if (!engineOnly) {
89
- rows.push(['flowR', `${flowrValue} ${dim(`(${versionDate})`)}`]);
81
+ rows.push(['flowR', `${flowrValue} ${dim(`(${flowr_version_1.versionDate})`)}`]);
90
82
  }
91
83
  rows.push(['engine', engine], ['R', `${r}${rReason}`, r === 'none' || r === 'unknown']);
92
84
  if (typeof input !== 'function' && 'inspectContext' in input) {
@@ -1,24 +0,0 @@
1
- import type { Expression } from 'typescript';
2
- import ts from 'typescript';
3
- export interface FunctionElementInSource {
4
- name: string;
5
- node: ts.Node;
6
- source: ts.SourceFile;
7
- kind: 'function';
8
- arguments: Expression[];
9
- lineNumber: number;
10
- comments?: string[];
11
- }
12
- export interface GetFunctionsOption {
13
- readonly rootFolder?: string;
14
- readonly files?: readonly string[];
15
- readonly fname?: RegExp;
16
- }
17
- export interface FunctionsReport {
18
- info: FunctionElementInSource[];
19
- program: ts.Program;
20
- }
21
- /**
22
- * Inspect typescript source code for types and return a report.
23
- */
24
- export declare function getFunctionsFromFolder(options: GetFunctionsOption): FunctionsReport;
@@ -1,65 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getFunctionsFromFolder = getFunctionsFromFolder;
7
- const typescript_1 = __importDefault(require("typescript"));
8
- const assert_1 = require("../../util/assert");
9
- const fs_1 = __importDefault(require("fs"));
10
- const path_1 = __importDefault(require("path"));
11
- const doc_types_1 = require("./doc-types");
12
- function collectFunctionHierarchy(sourceFiles, options, fname) {
13
- const hierarchyList = [];
14
- const visit = (node, sourceFile) => {
15
- if (!node) {
16
- return;
17
- }
18
- if (typescript_1.default.isCallExpression(node) || typescript_1.default.isNewExpression(node)) {
19
- const name = node.expression.getText(sourceFile);
20
- if (!fname || fname.test(name)) {
21
- const comments = typescript_1.default.getLeadingCommentRanges(sourceFile.getText(sourceFile), node.getFullStart())?.map(c => {
22
- return (0, doc_types_1.removeCommentSymbolsFromTypeScriptComment)(sourceFile.getText(sourceFile).slice(c.pos, c.end).trim());
23
- });
24
- hierarchyList.push({
25
- name: (0, doc_types_1.dropGenericsFromTypeName)(name),
26
- node,
27
- kind: 'function',
28
- comments,
29
- lineNumber: (0, doc_types_1.getStartLineOfTypeScriptNode)(node, sourceFile),
30
- source: sourceFile,
31
- arguments: node.arguments?.map(n => n) ?? []
32
- });
33
- }
34
- }
35
- typescript_1.default.forEachChild(node, child => visit(child, sourceFile));
36
- };
37
- sourceFiles.forEach(sourceFile => {
38
- visit(sourceFile, sourceFile);
39
- });
40
- return hierarchyList;
41
- }
42
- /**
43
- * Inspect typescript source code for types and return a report.
44
- */
45
- function getFunctionsFromFolder(options) {
46
- (0, assert_1.guard)(options.rootFolder !== undefined || options.files !== undefined, 'Either rootFolder or files must be provided');
47
- const fileNames = [...options.files ?? []];
48
- if (options.rootFolder) {
49
- for (const fileBuff of fs_1.default.readdirSync(options.rootFolder, { recursive: true })) {
50
- const file = fileBuff.toString();
51
- if (file.endsWith('.ts')) {
52
- fileNames.push(path_1.default.join(options.rootFolder, file));
53
- }
54
- }
55
- }
56
- const { files, program } = (0, doc_types_1.getTypeScriptSourceFiles)(fileNames);
57
- (0, assert_1.guard)(files.length > 0, () => `No source files found for ${JSON.stringify(fileNames)}`);
58
- const withProgram = { ...options, program };
59
- const hierarchyList = collectFunctionHierarchy(files, withProgram, options.fname);
60
- return {
61
- info: hierarchyList,
62
- program
63
- };
64
- }
65
- //# sourceMappingURL=doc-functions.js.map