@plumile/ui 0.1.113 → 0.1.114

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 (435) hide show
  1. package/lib/esm/_virtual/_rolldown/runtime.js +5 -5
  2. package/lib/esm/atomic/molecules/markdown/components/MarkdownLink.css.js +1 -0
  3. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCell.css.js +0 -1
  4. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7EHR7CIX.js +3 -0
  5. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4EGX6M5U.js +37 -0
  6. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4EGX6M5U.js.map +1 -0
  7. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5DO6E6H7.js +25 -0
  8. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5DO6E6H7.js.map +1 -0
  9. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-LIHQZDEY.js → chunk-BR22UD5L.js} +18 -21
  10. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BR22UD5L.js.map +1 -0
  11. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FHYWG6QK.js +25 -0
  12. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FHYWG6QK.js.map +1 -0
  13. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MPE355IW.js +25 -0
  14. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MPE355IW.js.map +1 -0
  15. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.js +32 -0
  16. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.js.map +1 -0
  17. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.js +56 -0
  18. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.js.map +1 -0
  19. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-NNHCCRGN.js +20648 -0
  20. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-NNHCCRGN.js.map +1 -0
  21. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.js +25 -0
  22. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.js.map +1 -0
  23. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UIBZB4QT.js +25 -0
  24. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UIBZB4QT.js.map +1 -0
  25. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WCWK7LTN.js +33 -0
  26. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WCWK7LTN.js.map +1 -0
  27. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-FCH6USID.js +3 -0
  28. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-WXDBUCRP.js +3 -0
  29. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-J43DQDTF.js +3 -0
  30. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-YPE3B663.js +3 -0
  31. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-LRSECV5Y.js +3 -0
  32. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-GUYGQ44K.js +3 -0
  33. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-BLDUP644.js +3 -0
  34. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-LRROVOQU.js +3 -0
  35. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-L42UT6IY.js +3 -0
  36. package/lib/esm/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +24 -19
  37. package/lib/esm/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js.map +1 -1
  38. package/lib/esm/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +8 -8
  39. package/lib/esm/node_modules/dagre-d3-es/src/dagre/layout.js +105 -105
  40. package/lib/esm/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +12 -12
  41. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +8 -8
  42. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/index.js +12 -12
  43. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/init-order.js +6 -6
  44. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +7 -7
  45. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +9 -9
  46. package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/sort.js +7 -7
  47. package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/bk.js +53 -53
  48. package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/index.js +5 -5
  49. package/lib/esm/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +26 -26
  50. package/lib/esm/node_modules/dagre-d3-es/src/dagre/rank/util.js +9 -9
  51. package/lib/esm/node_modules/dagre-d3-es/src/dagre/util.js +54 -54
  52. package/lib/esm/node_modules/dagre-d3-es/src/graphlib/graph.js +45 -45
  53. package/lib/esm/node_modules/dagre-d3-es/src/graphlib/json.js +18 -18
  54. package/lib/esm/node_modules/lodash-es/_arrayLikeKeys.js +8 -8
  55. package/lib/esm/node_modules/lodash-es/_baseAssign.js +3 -3
  56. package/lib/esm/node_modules/lodash-es/_baseClone.js +24 -24
  57. package/lib/esm/node_modules/lodash-es/_baseForOwn.js +3 -3
  58. package/lib/esm/node_modules/lodash-es/_baseGetAllKeys.js +3 -3
  59. package/lib/esm/node_modules/lodash-es/_baseIsEqualDeep.js +12 -12
  60. package/lib/esm/node_modules/lodash-es/_baseIteratee.js +4 -4
  61. package/lib/esm/node_modules/lodash-es/_baseMatchesProperty.js +9 -9
  62. package/lib/esm/node_modules/lodash-es/_baseMerge.js +6 -6
  63. package/lib/esm/node_modules/lodash-es/_baseMergeDeep.js +15 -15
  64. package/lib/esm/node_modules/lodash-es/_baseOrderBy.js +14 -14
  65. package/lib/esm/node_modules/lodash-es/_baseSet.js +8 -8
  66. package/lib/esm/node_modules/lodash-es/_baseSetToString.js +5 -5
  67. package/lib/esm/node_modules/lodash-es/_baseToString.js +11 -11
  68. package/lib/esm/node_modules/lodash-es/_baseUniq.js +7 -7
  69. package/lib/esm/node_modules/lodash-es/_copySymbols.js +3 -3
  70. package/lib/esm/node_modules/lodash-es/_createSet.js +6 -6
  71. package/lib/esm/node_modules/lodash-es/_equalByTag.js +18 -18
  72. package/lib/esm/node_modules/lodash-es/_flatRest.js +4 -4
  73. package/lib/esm/node_modules/lodash-es/_getAllKeys.js +3 -3
  74. package/lib/esm/node_modules/lodash-es/_getAllKeysIn.js +4 -4
  75. package/lib/esm/node_modules/lodash-es/_getSymbolsIn.js +3 -3
  76. package/lib/esm/node_modules/lodash-es/_hasPath.js +5 -5
  77. package/lib/esm/node_modules/lodash-es/_initCloneObject.js +4 -4
  78. package/lib/esm/node_modules/lodash-es/_isFlattenable.js +3 -3
  79. package/lib/esm/node_modules/lodash-es/_isIterateeCall.js +6 -6
  80. package/lib/esm/node_modules/lodash-es/_mapCacheClear.js +6 -6
  81. package/lib/esm/node_modules/lodash-es/findIndex.js +4 -4
  82. package/lib/esm/node_modules/lodash-es/forEach.js +3 -3
  83. package/lib/esm/node_modules/lodash-es/forIn.js +3 -3
  84. package/lib/esm/node_modules/lodash-es/isEmpty.js +8 -8
  85. package/lib/esm/node_modules/lodash-es/isPlainObject.js +4 -4
  86. package/lib/esm/node_modules/lodash-es/isString.js +3 -3
  87. package/lib/esm/node_modules/lodash-es/keys.js +4 -4
  88. package/lib/esm/node_modules/lodash-es/keysIn.js +3 -3
  89. package/lib/esm/node_modules/lodash-es/map.js +3 -3
  90. package/lib/esm/node_modules/lodash-es/mapValues.js +5 -5
  91. package/lib/esm/node_modules/lodash-es/max.js +3 -3
  92. package/lib/esm/node_modules/lodash-es/min.js +3 -3
  93. package/lib/esm/node_modules/lodash-es/minBy.js +3 -3
  94. package/lib/esm/node_modules/lodash-es/reduce.js +5 -5
  95. package/lib/esm/node_modules/lodash-es/size.js +4 -4
  96. package/lib/esm/node_modules/lodash-es/sortBy.js +6 -6
  97. package/lib/esm/node_modules/lodash-es/union.js +6 -6
  98. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +146 -146
  99. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js.map +1 -1
  100. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js +374 -374
  101. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js.map +1 -1
  102. package/package.json +2 -2
  103. package/lib/esm/node_modules/@chevrotain/gast/lib/src/helpers.js +0 -27
  104. package/lib/esm/node_modules/@chevrotain/gast/lib/src/helpers.js.map +0 -1
  105. package/lib/esm/node_modules/@chevrotain/gast/lib/src/model.js +0 -155
  106. package/lib/esm/node_modules/@chevrotain/gast/lib/src/model.js.map +0 -1
  107. package/lib/esm/node_modules/@chevrotain/gast/lib/src/visitor.js +0 -45
  108. package/lib/esm/node_modules/@chevrotain/gast/lib/src/visitor.js.map +0 -1
  109. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +0 -2
  110. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +0 -89
  111. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js.map +0 -1
  112. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +0 -39
  113. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js.map +0 -1
  114. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +0 -600
  115. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js.map +0 -1
  116. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +0 -29
  117. package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js.map +0 -1
  118. package/lib/esm/node_modules/@chevrotain/utils/lib/src/print.js +0 -13
  119. package/lib/esm/node_modules/@chevrotain/utils/lib/src/print.js.map +0 -1
  120. package/lib/esm/node_modules/@chevrotain/utils/lib/src/timer.js +0 -12
  121. package/lib/esm/node_modules/@chevrotain/utils/lib/src/timer.js.map +0 -1
  122. package/lib/esm/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +0 -14
  123. package/lib/esm/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js.map +0 -1
  124. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +0 -3
  125. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +0 -28
  126. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js.map +0 -1
  127. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +0 -28
  128. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js.map +0 -1
  129. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +0 -40
  130. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js.map +0 -1
  131. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +0 -35
  132. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js.map +0 -1
  133. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +0 -28
  134. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js.map +0 -1
  135. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +0 -28
  136. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js.map +0 -1
  137. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +0 -1210
  138. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js.map +0 -1
  139. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +0 -28
  140. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js.map +0 -1
  141. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js.map +0 -1
  142. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +0 -36
  143. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js.map +0 -1
  144. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +0 -3
  145. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +0 -3
  146. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +0 -3
  147. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +0 -3
  148. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +0 -3
  149. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +0 -3
  150. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +0 -3
  151. package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +0 -3
  152. package/lib/esm/node_modules/chevrotain/lib/src/api.js +0 -10
  153. package/lib/esm/node_modules/chevrotain/lib/src/lang/lang_extensions.js +0 -14
  154. package/lib/esm/node_modules/chevrotain/lib/src/lang/lang_extensions.js.map +0 -1
  155. package/lib/esm/node_modules/chevrotain/lib/src/parse/constants.js +0 -6
  156. package/lib/esm/node_modules/chevrotain/lib/src/parse/constants.js.map +0 -1
  157. package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst.js +0 -17
  158. package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst.js.map +0 -1
  159. package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +0 -53
  160. package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js.map +0 -1
  161. package/lib/esm/node_modules/chevrotain/lib/src/parse/errors_public.js +0 -81
  162. package/lib/esm/node_modules/chevrotain/lib/src/parse/errors_public.js.map +0 -1
  163. package/lib/esm/node_modules/chevrotain/lib/src/parse/exceptions_public.js +0 -37
  164. package/lib/esm/node_modules/chevrotain/lib/src/parse/exceptions_public.js.map +0 -1
  165. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/checks.js +0 -279
  166. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/checks.js.map +0 -1
  167. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/first.js +0 -27
  168. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/first.js.map +0 -1
  169. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/follow.js +0 -32
  170. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/follow.js.map +0 -1
  171. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +0 -18
  172. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js.map +0 -1
  173. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +0 -269
  174. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js.map +0 -1
  175. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/keys.js +0 -8
  176. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/keys.js.map +0 -1
  177. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +0 -45
  178. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js.map +0 -1
  179. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +0 -245
  180. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js.map +0 -1
  181. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +0 -34
  182. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/resolver.js.map +0 -1
  183. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/rest.js +0 -60
  184. package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/rest.js.map +0 -1
  185. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/parser.js +0 -118
  186. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/parser.js.map +0 -1
  187. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +0 -50
  188. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js.map +0 -1
  189. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +0 -170
  190. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js.map +0 -1
  191. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +0 -47
  192. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js.map +0 -1
  193. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +0 -111
  194. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js.map +0 -1
  195. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +0 -25
  196. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js.map +0 -1
  197. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +0 -316
  198. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js.map +0 -1
  199. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +0 -291
  200. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js.map +0 -1
  201. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +0 -147
  202. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js.map +0 -1
  203. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +0 -96
  204. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js.map +0 -1
  205. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +0 -15
  206. package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js.map +0 -1
  207. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer.js +0 -439
  208. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer.js.map +0 -1
  209. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +0 -13
  210. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js.map +0 -1
  211. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_public.js +0 -257
  212. package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_public.js.map +0 -1
  213. package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp.js +0 -157
  214. package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp.js.map +0 -1
  215. package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +0 -19
  216. package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js.map +0 -1
  217. package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens.js +0 -68
  218. package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens.js.map +0 -1
  219. package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens_public.js +0 -43
  220. package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens_public.js.map +0 -1
  221. package/lib/esm/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +0 -365
  222. package/lib/esm/node_modules/chevrotain-allstar/lib/all-star-lookahead.js.map +0 -1
  223. package/lib/esm/node_modules/chevrotain-allstar/lib/atn.js +0 -197
  224. package/lib/esm/node_modules/chevrotain-allstar/lib/atn.js.map +0 -1
  225. package/lib/esm/node_modules/chevrotain-allstar/lib/dfa.js +0 -35
  226. package/lib/esm/node_modules/chevrotain-allstar/lib/dfa.js.map +0 -1
  227. package/lib/esm/node_modules/chevrotain-allstar/lib/index.js +0 -1
  228. package/lib/esm/node_modules/langium/lib/default-module.js +0 -89
  229. package/lib/esm/node_modules/langium/lib/default-module.js.map +0 -1
  230. package/lib/esm/node_modules/langium/lib/dependency-injection.js +0 -62
  231. package/lib/esm/node_modules/langium/lib/dependency-injection.js.map +0 -1
  232. package/lib/esm/node_modules/langium/lib/documentation/comment-provider.js +0 -15
  233. package/lib/esm/node_modules/langium/lib/documentation/comment-provider.js.map +0 -1
  234. package/lib/esm/node_modules/langium/lib/documentation/documentation-provider.js +0 -40
  235. package/lib/esm/node_modules/langium/lib/documentation/documentation-provider.js.map +0 -1
  236. package/lib/esm/node_modules/langium/lib/documentation/jsdoc.js +0 -307
  237. package/lib/esm/node_modules/langium/lib/documentation/jsdoc.js.map +0 -1
  238. package/lib/esm/node_modules/langium/lib/languages/generated/ast.js +0 -900
  239. package/lib/esm/node_modules/langium/lib/languages/generated/ast.js.map +0 -1
  240. package/lib/esm/node_modules/langium/lib/languages/grammar-config.js +0 -17
  241. package/lib/esm/node_modules/langium/lib/languages/grammar-config.js.map +0 -1
  242. package/lib/esm/node_modules/langium/lib/parser/async-parser.js +0 -13
  243. package/lib/esm/node_modules/langium/lib/parser/async-parser.js.map +0 -1
  244. package/lib/esm/node_modules/langium/lib/parser/completion-parser-builder.js +0 -11
  245. package/lib/esm/node_modules/langium/lib/parser/completion-parser-builder.js.map +0 -1
  246. package/lib/esm/node_modules/langium/lib/parser/cst-node-builder.js +0 -164
  247. package/lib/esm/node_modules/langium/lib/parser/cst-node-builder.js.map +0 -1
  248. package/lib/esm/node_modules/langium/lib/parser/langium-parser-builder.js +0 -15
  249. package/lib/esm/node_modules/langium/lib/parser/langium-parser-builder.js.map +0 -1
  250. package/lib/esm/node_modules/langium/lib/parser/langium-parser.js +0 -397
  251. package/lib/esm/node_modules/langium/lib/parser/langium-parser.js.map +0 -1
  252. package/lib/esm/node_modules/langium/lib/parser/lexer.js +0 -54
  253. package/lib/esm/node_modules/langium/lib/parser/lexer.js.map +0 -1
  254. package/lib/esm/node_modules/langium/lib/parser/parser-builder-base.js +0 -278
  255. package/lib/esm/node_modules/langium/lib/parser/parser-builder-base.js.map +0 -1
  256. package/lib/esm/node_modules/langium/lib/parser/token-builder.js +0 -65
  257. package/lib/esm/node_modules/langium/lib/parser/token-builder.js.map +0 -1
  258. package/lib/esm/node_modules/langium/lib/parser/value-converter.js +0 -82
  259. package/lib/esm/node_modules/langium/lib/parser/value-converter.js.map +0 -1
  260. package/lib/esm/node_modules/langium/lib/references/linker.js +0 -195
  261. package/lib/esm/node_modules/langium/lib/references/linker.js.map +0 -1
  262. package/lib/esm/node_modules/langium/lib/references/name-provider.js +0 -17
  263. package/lib/esm/node_modules/langium/lib/references/name-provider.js.map +0 -1
  264. package/lib/esm/node_modules/langium/lib/references/references.js +0 -80
  265. package/lib/esm/node_modules/langium/lib/references/references.js.map +0 -1
  266. package/lib/esm/node_modules/langium/lib/references/scope-computation.js +0 -39
  267. package/lib/esm/node_modules/langium/lib/references/scope-computation.js.map +0 -1
  268. package/lib/esm/node_modules/langium/lib/references/scope-provider.js +0 -38
  269. package/lib/esm/node_modules/langium/lib/references/scope-provider.js.map +0 -1
  270. package/lib/esm/node_modules/langium/lib/references/scope.js +0 -46
  271. package/lib/esm/node_modules/langium/lib/references/scope.js.map +0 -1
  272. package/lib/esm/node_modules/langium/lib/serializer/hydrator.js +0 -129
  273. package/lib/esm/node_modules/langium/lib/serializer/hydrator.js.map +0 -1
  274. package/lib/esm/node_modules/langium/lib/serializer/json-serializer.js +0 -149
  275. package/lib/esm/node_modules/langium/lib/serializer/json-serializer.js.map +0 -1
  276. package/lib/esm/node_modules/langium/lib/service-registry.js +0 -41
  277. package/lib/esm/node_modules/langium/lib/service-registry.js.map +0 -1
  278. package/lib/esm/node_modules/langium/lib/syntax-tree.js +0 -74
  279. package/lib/esm/node_modules/langium/lib/syntax-tree.js.map +0 -1
  280. package/lib/esm/node_modules/langium/lib/utils/ast-utils.js +0 -124
  281. package/lib/esm/node_modules/langium/lib/utils/ast-utils.js.map +0 -1
  282. package/lib/esm/node_modules/langium/lib/utils/caching.js +0 -84
  283. package/lib/esm/node_modules/langium/lib/utils/caching.js.map +0 -1
  284. package/lib/esm/node_modules/langium/lib/utils/cancellation.js +0 -9
  285. package/lib/esm/node_modules/langium/lib/utils/cancellation.js.map +0 -1
  286. package/lib/esm/node_modules/langium/lib/utils/collections.js +0 -89
  287. package/lib/esm/node_modules/langium/lib/utils/collections.js.map +0 -1
  288. package/lib/esm/node_modules/langium/lib/utils/cst-utils.js +0 -77
  289. package/lib/esm/node_modules/langium/lib/utils/cst-utils.js.map +0 -1
  290. package/lib/esm/node_modules/langium/lib/utils/disposable.js +0 -12
  291. package/lib/esm/node_modules/langium/lib/utils/disposable.js.map +0 -1
  292. package/lib/esm/node_modules/langium/lib/utils/errors.js +0 -13
  293. package/lib/esm/node_modules/langium/lib/utils/errors.js.map +0 -1
  294. package/lib/esm/node_modules/langium/lib/utils/event.js +0 -9
  295. package/lib/esm/node_modules/langium/lib/utils/event.js.map +0 -1
  296. package/lib/esm/node_modules/langium/lib/utils/grammar-loader.js +0 -26
  297. package/lib/esm/node_modules/langium/lib/utils/grammar-loader.js.map +0 -1
  298. package/lib/esm/node_modules/langium/lib/utils/grammar-utils.js +0 -221
  299. package/lib/esm/node_modules/langium/lib/utils/grammar-utils.js.map +0 -1
  300. package/lib/esm/node_modules/langium/lib/utils/promise-utils.js +0 -31
  301. package/lib/esm/node_modules/langium/lib/utils/promise-utils.js.map +0 -1
  302. package/lib/esm/node_modules/langium/lib/utils/regexp-utils.js +0 -146
  303. package/lib/esm/node_modules/langium/lib/utils/regexp-utils.js.map +0 -1
  304. package/lib/esm/node_modules/langium/lib/utils/stream.js +0 -331
  305. package/lib/esm/node_modules/langium/lib/utils/stream.js.map +0 -1
  306. package/lib/esm/node_modules/langium/lib/utils/uri-utils.js +0 -111
  307. package/lib/esm/node_modules/langium/lib/utils/uri-utils.js.map +0 -1
  308. package/lib/esm/node_modules/langium/lib/validation/document-validator.js +0 -213
  309. package/lib/esm/node_modules/langium/lib/validation/document-validator.js.map +0 -1
  310. package/lib/esm/node_modules/langium/lib/validation/validation-registry.js +0 -90
  311. package/lib/esm/node_modules/langium/lib/validation/validation-registry.js.map +0 -1
  312. package/lib/esm/node_modules/langium/lib/workspace/ast-descriptions.js +0 -61
  313. package/lib/esm/node_modules/langium/lib/workspace/ast-descriptions.js.map +0 -1
  314. package/lib/esm/node_modules/langium/lib/workspace/ast-node-locator.js +0 -32
  315. package/lib/esm/node_modules/langium/lib/workspace/ast-node-locator.js.map +0 -1
  316. package/lib/esm/node_modules/langium/lib/workspace/configuration.js +0 -55
  317. package/lib/esm/node_modules/langium/lib/workspace/configuration.js.map +0 -1
  318. package/lib/esm/node_modules/langium/lib/workspace/document-builder.js +0 -200
  319. package/lib/esm/node_modules/langium/lib/workspace/document-builder.js.map +0 -1
  320. package/lib/esm/node_modules/langium/lib/workspace/documents.js +0 -146
  321. package/lib/esm/node_modules/langium/lib/workspace/documents.js.map +0 -1
  322. package/lib/esm/node_modules/langium/lib/workspace/file-system-provider.js +0 -37
  323. package/lib/esm/node_modules/langium/lib/workspace/file-system-provider.js.map +0 -1
  324. package/lib/esm/node_modules/langium/lib/workspace/index-manager.js +0 -53
  325. package/lib/esm/node_modules/langium/lib/workspace/index-manager.js.map +0 -1
  326. package/lib/esm/node_modules/langium/lib/workspace/workspace-lock.js +0 -46
  327. package/lib/esm/node_modules/langium/lib/workspace/workspace-lock.js.map +0 -1
  328. package/lib/esm/node_modules/langium/lib/workspace/workspace-manager.js +0 -70
  329. package/lib/esm/node_modules/langium/lib/workspace/workspace-manager.js.map +0 -1
  330. package/lib/esm/node_modules/lodash-es/flatMap.js +0 -10
  331. package/lib/esm/node_modules/lodash-es/flatMap.js.map +0 -1
  332. package/lib/esm/node_modules/lodash-es/uniqBy.js +0 -10
  333. package/lib/esm/node_modules/lodash-es/uniqBy.js.map +0 -1
  334. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -61
  335. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/cancellation.js.map +0 -1
  336. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/events.js +0 -68
  337. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/events.js.map +0 -1
  338. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/is.js +0 -38
  339. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/is.js.map +0 -1
  340. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -22
  341. package/lib/esm/node_modules/vscode-jsonrpc/lib/common/ral.js.map +0 -1
  342. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/browser/main.js +0 -32
  343. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/browser/main.js.map +0 -1
  344. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/api.js +0 -40
  345. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/api.js.map +0 -1
  346. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/connection.js +0 -16
  347. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/connection.js.map +0 -1
  348. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/messages.js +0 -35
  349. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/messages.js.map +0 -1
  350. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +0 -23
  351. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js.map +0 -1
  352. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +0 -19
  353. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js.map +0 -1
  354. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +0 -15
  355. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js.map +0 -1
  356. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +0 -15
  357. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js.map +0 -1
  358. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +0 -37
  359. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js.map +0 -1
  360. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +0 -39
  361. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js.map +0 -1
  362. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +0 -19
  363. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js.map +0 -1
  364. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +0 -15
  365. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js.map +0 -1
  366. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +0 -23
  367. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js.map +0 -1
  368. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +0 -15
  369. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js.map +0 -1
  370. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +0 -19
  371. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js.map +0 -1
  372. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +0 -678
  373. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.js.map +0 -1
  374. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +0 -15
  375. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js.map +0 -1
  376. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +0 -23
  377. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js.map +0 -1
  378. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +0 -130
  379. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js.map +0 -1
  380. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +0 -28
  381. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js.map +0 -1
  382. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +0 -15
  383. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js.map +0 -1
  384. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +0 -35
  385. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js.map +0 -1
  386. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +0 -15
  387. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js.map +0 -1
  388. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +0 -15
  389. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js.map +0 -1
  390. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +0 -23
  391. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js.map +0 -1
  392. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +0 -19
  393. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js.map +0 -1
  394. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +0 -46
  395. package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js.map +0 -1
  396. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.js +0 -11
  397. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.js.map +0 -1
  398. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.js +0 -56
  399. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.js.map +0 -1
  400. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.js +0 -124
  401. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.js.map +0 -1
  402. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.js +0 -341
  403. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.js.map +0 -1
  404. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -61
  405. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.js.map +0 -1
  406. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -651
  407. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.js.map +0 -1
  408. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -17
  409. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.js.map +0 -1
  410. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.js +0 -68
  411. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.js.map +0 -1
  412. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.js +0 -38
  413. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.js.map +0 -1
  414. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -239
  415. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.js.map +0 -1
  416. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -97
  417. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js.map +0 -1
  418. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -133
  419. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.js.map +0 -1
  420. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -89
  421. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.js.map +0 -1
  422. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -165
  423. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.js.map +0 -1
  424. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -22
  425. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.js.map +0 -1
  426. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -48
  427. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.js.map +0 -1
  428. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -62
  429. package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js.map +0 -1
  430. package/lib/esm/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +0 -142
  431. package/lib/esm/node_modules/vscode-languageserver-textdocument/lib/esm/main.js.map +0 -1
  432. package/lib/esm/node_modules/vscode-languageserver-types/lib/esm/main.js +0 -1088
  433. package/lib/esm/node_modules/vscode-languageserver-types/lib/esm/main.js.map +0 -1
  434. package/lib/esm/node_modules/vscode-uri/lib/esm/index.js +0 -377
  435. package/lib/esm/node_modules/vscode-uri/lib/esm/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"grammar-utils.js","names":["ast.isParserRule","ast.isTerminalRule","ast.isRuleCall","ast.isTerminalRuleCall","ast.isAssignment","ast.isKeyword","ast.isInferredType","ast.isAction","ast.isAbstractParserRule","ast.isSimpleType","ast.isInfixRule","ast.isInterface","ast.isType","ast.isReturnType","ast.isTerminalAlternatives","ast.isTerminalGroup","ast.isCharacterRange","ast.isNegatedToken","ast.isUntilToken","ast.isRegexToken","ast.isWildcard"],"sources":["../../../../../../../../node_modules/langium/lib/utils/grammar-utils.js"],"sourcesContent":["/******************************************************************************\n * Copyright 2021-2022 TypeFox GmbH\n * This program and the accompanying materials are made available under the\n * terms of the MIT License, which is available in the project root.\n ******************************************************************************/\nimport { assertUnreachable } from '../utils/errors.js';\nimport * as ast from '../languages/generated/ast.js';\nimport { isCompositeCstNode } from '../syntax-tree.js';\nimport { getContainerOfType, streamAllContents } from './ast-utils.js';\nimport { streamCst } from './cst-utils.js';\nimport { escapeRegExp, isWhitespace } from './regexp-utils.js';\n/**\n * Returns the entry rule of the given grammar, if any. If the grammar file does not contain an entry rule,\n * the result is `undefined`.\n */\nexport function getEntryRule(grammar) {\n return grammar.rules.find(e => ast.isParserRule(e) && e.entry);\n}\n/**\n * Returns all hidden terminal rules of the given grammar, if any.\n */\nexport function getHiddenRules(grammar) {\n return grammar.rules.filter(e => ast.isTerminalRule(e) && e.hidden);\n}\n/**\n * Returns all rules that can be reached from the topmost rules of the specified grammar (entry and hidden terminal rules).\n *\n * @param grammar The grammar that contains all rules\n * @param allTerminals Whether or not to include terminals that are referenced only by other terminals\n * @returns A list of referenced parser and terminal rules. If the grammar contains no entry rule,\n * this function returns all rules of the specified grammar.\n */\nexport function getAllReachableRules(grammar, allTerminals) {\n const ruleNames = new Set();\n const entryRule = getEntryRule(grammar);\n if (!entryRule) {\n return new Set(grammar.rules);\n }\n const topMostRules = [entryRule].concat(getHiddenRules(grammar));\n for (const rule of topMostRules) {\n ruleDfs(rule, ruleNames, allTerminals);\n }\n const rules = new Set();\n for (const rule of grammar.rules) {\n if (ruleNames.has(rule.name) || (ast.isTerminalRule(rule) && rule.hidden)) {\n rules.add(rule);\n }\n }\n return rules;\n}\nfunction ruleDfs(rule, visitedSet, allTerminals) {\n visitedSet.add(rule.name);\n streamAllContents(rule).forEach(node => {\n if (ast.isRuleCall(node) || (allTerminals && ast.isTerminalRuleCall(node))) {\n const refRule = node.rule.ref;\n if (refRule && !visitedSet.has(refRule.name)) {\n ruleDfs(refRule, visitedSet, allTerminals);\n }\n }\n });\n}\n/**\n * Returns all parser rules which provide types which are used in the grammar as type in cross-references.\n * @param grammar the grammar to investigate\n * @returns the set of parser rules whose contributed types are used as type in cross-references\n */\nexport function getAllRulesUsedForCrossReferences(grammar) {\n const result = new Set();\n streamAllContents(grammar).forEach(node => {\n if (ast.isCrossReference(node)) {\n // the cross-reference refers directly to a parser rule (without \"returns\", without \"infers\")\n if (ast.isParserRule(node.type.ref)) {\n result.add(node.type.ref);\n }\n // the cross-reference refers to the explicitly inferred type of a parser rule\n if (ast.isInferredType(node.type.ref) && ast.isParserRule(node.type.ref.$container)) {\n result.add(node.type.ref.$container);\n }\n }\n });\n return result;\n}\n/**\n * Determines the grammar expression used to parse a cross-reference (usually a reference to a terminal rule).\n * A cross-reference can declare this expression explicitly in the form `[Type : Terminal]`, but if `Terminal`\n * is omitted, this function attempts to infer it from the name of the referenced `Type` (using `findNameAssignment`).\n *\n * Returns the grammar expression used to parse the given cross-reference, or `undefined` if it is not declared\n * and cannot be inferred.\n */\nexport function getCrossReferenceTerminal(crossRef) {\n if (crossRef.terminal) {\n return crossRef.terminal;\n }\n else if (crossRef.type.ref) {\n const nameAssigment = findNameAssignment(crossRef.type.ref);\n return nameAssigment?.terminal;\n }\n return undefined;\n}\n/**\n * Determines whether the given terminal rule represents a comment. This is true if the rule is marked\n * as `hidden` and it does not match white space. This means every hidden token (i.e. excluded from the AST)\n * that contains visible characters is considered a comment.\n */\nexport function isCommentTerminal(terminalRule) {\n return terminalRule.hidden && !isWhitespace(terminalRegex(terminalRule));\n}\n/**\n * Find all CST nodes within the given node that contribute to the specified property.\n *\n * @param node A CST node in which to look for property assignments. If this is undefined, the result is an empty array.\n * @param property A property name of the constructed AST node. If this is undefined, the result is an empty array.\n */\nexport function findNodesForProperty(node, property) {\n if (!node || !property) {\n return [];\n }\n return findNodesForPropertyInternal(node, property, node.astNode, true);\n}\n/**\n * Find a single CST node within the given node that contributes to the specified property.\n *\n * @param node A CST node in which to look for property assignments. If this is undefined, the result is `undefined`.\n * @param property A property name of the constructed AST node. If this is undefined, the result is `undefined`.\n * @param index If no index is specified or the index is less than zero, the first found node is returned. If the\n * specified index exceeds the number of assignments to the property, the last found node is returned. Otherwise,\n * the node with the specified index is returned.\n */\nexport function findNodeForProperty(node, property, index) {\n if (!node || !property) {\n return undefined;\n }\n const nodes = findNodesForPropertyInternal(node, property, node.astNode, true);\n if (nodes.length === 0) {\n return undefined;\n }\n if (index !== undefined) {\n index = Math.max(0, Math.min(index, nodes.length - 1));\n }\n else {\n index = 0;\n }\n return nodes[index];\n}\nfunction findNodesForPropertyInternal(node, property, element, first) {\n if (!first) {\n const nodeFeature = getContainerOfType(node.grammarSource, ast.isAssignment);\n if (nodeFeature && nodeFeature.feature === property) {\n return [node];\n }\n }\n if (isCompositeCstNode(node) && node.astNode === element) {\n return node.content.flatMap(e => findNodesForPropertyInternal(e, property, element, false));\n }\n return [];\n}\n/**\n * Find all CST nodes within the given node that correspond to the specified keyword.\n *\n * @param node A CST node in which to look for keywords. If this is undefined, the result is an empty array.\n * @param keyword A keyword as specified in the grammar.\n */\nexport function findNodesForKeyword(node, keyword) {\n if (!node) {\n return [];\n }\n return findNodesForKeywordInternal(node, keyword, node?.astNode);\n}\n/**\n * Find a single CST node within the given node that corresponds to the specified keyword.\n *\n * @param node A CST node in which to look for keywords. If this is undefined, the result is `undefined`.\n * @param keyword A keyword as specified in the grammar.\n * @param index If no index is specified or the index is less than zero, the first found node is returned. If the\n * specified index exceeds the number of keyword occurrences, the last found node is returned. Otherwise,\n * the node with the specified index is returned.\n */\nexport function findNodeForKeyword(node, keyword, index) {\n if (!node) {\n return undefined;\n }\n const nodes = findNodesForKeywordInternal(node, keyword, node?.astNode);\n if (nodes.length === 0) {\n return undefined;\n }\n if (index !== undefined) {\n index = Math.max(0, Math.min(index, nodes.length - 1));\n }\n else {\n index = 0;\n }\n return nodes[index];\n}\nexport function findNodesForKeywordInternal(node, keyword, element) {\n if (node.astNode !== element) {\n return [];\n }\n if (ast.isKeyword(node.grammarSource) && node.grammarSource.value === keyword) {\n return [node];\n }\n const treeIterator = streamCst(node).iterator();\n let result;\n const keywordNodes = [];\n do {\n result = treeIterator.next();\n if (!result.done) {\n const childNode = result.value;\n if (childNode.astNode === element) {\n if (ast.isKeyword(childNode.grammarSource) && childNode.grammarSource.value === keyword) {\n keywordNodes.push(childNode);\n }\n }\n else {\n treeIterator.prune();\n }\n }\n } while (!result.done);\n return keywordNodes;\n}\n/**\n * If the given CST node was parsed in the context of a property assignment, the respective `Assignment` grammar\n * node is returned. If no assignment is found, the result is `undefined`.\n *\n * @param cstNode A CST node for which to find a property assignment.\n */\nexport function findAssignment(cstNode) {\n const astNode = cstNode.astNode;\n // Only search until the ast node of the parent cst node is no longer the original ast node\n // This would make us jump to a preceding rule call, which contains only unrelated assignments\n while (astNode === cstNode.container?.astNode) {\n const assignment = getContainerOfType(cstNode.grammarSource, ast.isAssignment);\n if (assignment) {\n return assignment;\n }\n cstNode = cstNode.container;\n }\n return undefined;\n}\n/**\n * Find an assignment to the `name` property for the given grammar type. This requires the `type` to be inferred\n * from a parser rule, and that rule must contain an assignment to the `name` property. In all other cases,\n * this function returns `undefined`.\n */\nexport function findNameAssignment(type) {\n let startNode = type;\n if (ast.isInferredType(startNode)) {\n // for inferred types, the location to start searching for the name-assignment is different\n if (ast.isAction(startNode.$container)) {\n // a type which is explicitly inferred by an action: investigate the sibling of the Action node, i.e. start searching at the Action's parent\n startNode = startNode.$container.$container;\n }\n else if (ast.isAbstractParserRule(startNode.$container)) {\n // investigate the parser rule with the explicitly inferred type\n startNode = startNode.$container;\n }\n else {\n assertUnreachable(startNode.$container);\n }\n }\n return findNameAssignmentInternal(type, startNode, new Map());\n}\nfunction findNameAssignmentInternal(type, startNode, cache) {\n // the cache is only required to prevent infinite loops\n function go(node, refType) {\n let childAssignment = undefined;\n const parentAssignment = getContainerOfType(node, ast.isAssignment);\n // No parent assignment implies unassigned rule call\n if (!parentAssignment) {\n childAssignment = findNameAssignmentInternal(refType, refType, cache);\n }\n cache.set(type, childAssignment);\n return childAssignment;\n }\n if (cache.has(type)) {\n return cache.get(type);\n }\n cache.set(type, undefined);\n for (const node of streamAllContents(startNode)) {\n if (ast.isAssignment(node) && node.feature.toLowerCase() === 'name') {\n cache.set(type, node);\n return node;\n }\n else if (ast.isRuleCall(node) && ast.isParserRule(node.rule.ref)) {\n return go(node, node.rule.ref);\n }\n else if (ast.isSimpleType(node) && node.typeRef?.ref) {\n return go(node, node.typeRef.ref);\n }\n }\n return undefined;\n}\nexport function getActionAtElement(element) {\n const parent = element.$container;\n if (ast.isGroup(parent)) {\n const elements = parent.elements;\n const index = elements.indexOf(element);\n for (let i = index - 1; i >= 0; i--) {\n const item = elements[i];\n if (ast.isAction(item)) {\n return item;\n }\n else {\n const action = streamAllContents(elements[i]).find(ast.isAction);\n if (action) {\n return action;\n }\n }\n }\n }\n if (ast.isAbstractElement(parent)) {\n return getActionAtElement(parent);\n }\n else {\n return undefined;\n }\n}\nexport function isOptionalCardinality(cardinality, element) {\n return cardinality === '?' || cardinality === '*' || (ast.isGroup(element) && Boolean(element.guardCondition));\n}\nexport function isArrayCardinality(cardinality) {\n return cardinality === '*' || cardinality === '+';\n}\nexport function isArrayOperator(operator) {\n return operator === '+=';\n}\n/**\n * Determines whether the given parser rule is a _data type rule_, meaning that it has a\n * primitive return type like `number`, `boolean`, etc.\n */\nexport function isDataTypeRule(rule) {\n return isDataTypeRuleInternal(rule, new Set());\n}\nfunction isDataTypeRuleInternal(rule, visited) {\n if (visited.has(rule)) {\n return true;\n }\n else {\n visited.add(rule);\n }\n for (const node of streamAllContents(rule)) {\n if (ast.isRuleCall(node)) {\n if (!node.rule.ref) {\n // RuleCall to unresolved rule. Don't assume `rule` is a DataType rule.\n return false;\n }\n if (ast.isParserRule(node.rule.ref) && !isDataTypeRuleInternal(node.rule.ref, visited)) {\n return false;\n }\n if (ast.isInfixRule(node.rule.ref)) {\n return false;\n }\n }\n else if (ast.isAssignment(node)) {\n return false;\n }\n else if (ast.isAction(node)) {\n return false;\n }\n }\n return Boolean(rule.definition);\n}\nexport function isDataType(type) {\n return isDataTypeInternal(type.type, new Set());\n}\nfunction isDataTypeInternal(type, visited) {\n if (visited.has(type)) {\n return true;\n }\n else {\n visited.add(type);\n }\n if (ast.isArrayType(type)) {\n return false;\n }\n else if (ast.isReferenceType(type)) {\n return false;\n }\n else if (ast.isUnionType(type)) {\n return type.types.every(e => isDataTypeInternal(e, visited));\n }\n else if (ast.isSimpleType(type)) {\n if (type.primitiveType !== undefined) {\n return true;\n }\n else if (type.stringType !== undefined) {\n return true;\n }\n else if (type.typeRef !== undefined) {\n const ref = type.typeRef.ref;\n if (ast.isType(ref)) {\n return isDataTypeInternal(ref.type, visited);\n }\n else {\n return false;\n }\n }\n else {\n return false;\n }\n }\n else {\n return false;\n }\n}\nexport function getExplicitRuleType(rule) {\n if (ast.isTerminalRule(rule)) {\n return undefined;\n }\n if (rule.inferredType) {\n return rule.inferredType.name;\n }\n else if (rule.dataType) {\n return rule.dataType;\n }\n else if (rule.returnType) {\n const refType = rule.returnType.ref;\n if (refType) {\n return refType.name;\n }\n }\n return undefined;\n}\nexport function getTypeName(type) {\n if (ast.isAbstractParserRule(type)) {\n return ast.isParserRule(type) && isDataTypeRule(type) ? type.name : getExplicitRuleType(type) ?? type.name;\n }\n else if (ast.isInterface(type) || ast.isType(type) || ast.isReturnType(type)) {\n return type.name;\n }\n else if (ast.isAction(type)) {\n const actionType = getActionType(type);\n if (actionType) {\n return actionType;\n }\n }\n else if (ast.isInferredType(type)) {\n return type.name;\n }\n throw new Error('Cannot get name of Unknown Type');\n}\nexport function getActionType(action) {\n if (action.inferredType) {\n return action.inferredType.name;\n }\n else if (action.type?.ref) {\n return getTypeName(action.type.ref);\n }\n return undefined; // not inferring and not referencing a valid type\n}\n/**\n * This function is used at development time (for code generation and the internal type system) to get the type of the AST node produced by the given rule.\n * For data type rules, the name of the rule is returned,\n * e.g. \"INT_value returns number: MY_INT;\" returns \"INT_value\".\n * @param rule the given rule\n * @returns the name of the AST node type of the rule\n */\nexport function getRuleTypeName(rule) {\n if (ast.isTerminalRule(rule)) {\n return rule.type?.name ?? 'string';\n }\n else {\n return ast.isParserRule(rule) && isDataTypeRule(rule) ? rule.name : getExplicitRuleType(rule) ?? rule.name;\n }\n}\n/**\n * This function is used at runtime to get the actual type of the values produced by the given rule at runtime.\n * For data type rules, the name of the declared return type of the rule is returned (if any),\n * e.g. \"INT_value returns number: MY_INT;\" returns \"number\".\n * @param rule the given rule\n * @returns the name of the type of the produced values of the rule at runtime\n */\nexport function getRuleType(rule) {\n if (ast.isTerminalRule(rule)) {\n return rule.type?.name ?? 'string';\n }\n else {\n return getExplicitRuleType(rule) ?? rule.name;\n }\n}\nexport function terminalRegex(terminalRule) {\n const flags = {\n s: false,\n i: false,\n u: false\n };\n const source = abstractElementToRegex(terminalRule.definition, flags);\n const flagText = Object.entries(flags).filter(([, value]) => value).map(([name]) => name).join('');\n return new RegExp(source, flagText);\n}\n// Using [\\s\\S]* allows to match everything, compared to . which doesn't match line terminators\nconst WILDCARD = /[\\s\\S]/.source;\nfunction abstractElementToRegex(element, flags) {\n if (ast.isTerminalAlternatives(element)) {\n return terminalAlternativesToRegex(element);\n }\n else if (ast.isTerminalGroup(element)) {\n return terminalGroupToRegex(element);\n }\n else if (ast.isCharacterRange(element)) {\n return characterRangeToRegex(element);\n }\n else if (ast.isTerminalRuleCall(element)) {\n const rule = element.rule.ref;\n if (!rule) {\n throw new Error('Missing rule reference.');\n }\n return withCardinality(abstractElementToRegex(rule.definition), {\n cardinality: element.cardinality,\n lookahead: element.lookahead,\n parenthesized: element.parenthesized\n });\n }\n else if (ast.isNegatedToken(element)) {\n return negateTokenToRegex(element);\n }\n else if (ast.isUntilToken(element)) {\n return untilTokenToRegex(element);\n }\n else if (ast.isRegexToken(element)) {\n const lastSlash = element.regex.lastIndexOf('/');\n const source = element.regex.substring(1, lastSlash);\n const regexFlags = element.regex.substring(lastSlash + 1);\n if (flags) {\n flags.i = regexFlags.includes('i');\n flags.s = regexFlags.includes('s');\n flags.u = regexFlags.includes('u');\n }\n return withCardinality(source, {\n cardinality: element.cardinality,\n lookahead: element.lookahead,\n parenthesized: element.parenthesized,\n wrap: false\n });\n }\n else if (ast.isWildcard(element)) {\n return withCardinality(WILDCARD, {\n cardinality: element.cardinality,\n lookahead: element.lookahead,\n parenthesized: element.parenthesized\n });\n }\n else {\n throw new Error(`Invalid terminal element: ${element?.$type}, ${element?.$cstNode?.text}`);\n }\n}\nfunction terminalAlternativesToRegex(alternatives) {\n return withCardinality(alternatives.elements.map(e => abstractElementToRegex(e)).join('|'), {\n cardinality: alternatives.cardinality,\n lookahead: alternatives.lookahead,\n parenthesized: alternatives.parenthesized,\n wrap: false // wrapping is not required for top level alternatives, and nested alternatives are already parenthesized according to the grammar\n });\n}\nfunction terminalGroupToRegex(group) {\n return withCardinality(group.elements.map(e => abstractElementToRegex(e)).join(''), {\n cardinality: group.cardinality,\n lookahead: group.lookahead,\n parenthesized: group.parenthesized,\n wrap: false // wrapping is not required for top level group, and nested group are already parenthesized according to the grammar\n });\n}\nfunction untilTokenToRegex(until) {\n return withCardinality(`${WILDCARD}*?${abstractElementToRegex(until.terminal)}`, {\n cardinality: until.cardinality,\n lookahead: until.lookahead,\n parenthesized: until.parenthesized\n });\n}\nfunction negateTokenToRegex(negate) {\n return withCardinality(`(?!${abstractElementToRegex(negate.terminal)})${WILDCARD}*?`, {\n cardinality: negate.cardinality,\n lookahead: negate.lookahead,\n parenthesized: negate.parenthesized\n });\n}\nfunction characterRangeToRegex(range) {\n if (range.right) {\n return withCardinality(`[${keywordToRegex(range.left)}-${keywordToRegex(range.right)}]`, {\n cardinality: range.cardinality,\n lookahead: range.lookahead,\n parenthesized: range.parenthesized,\n wrap: false\n });\n }\n return withCardinality(keywordToRegex(range.left), {\n cardinality: range.cardinality,\n lookahead: range.lookahead,\n parenthesized: range.parenthesized,\n wrap: false\n });\n}\nfunction keywordToRegex(keyword) {\n return escapeRegExp(keyword.value);\n}\nfunction withCardinality(regex, options) {\n if (options.parenthesized || options.lookahead || options.wrap !== false) {\n const groupConfig = options.lookahead ?? (options.parenthesized ? '' : '?:');\n regex = `(${groupConfig}${regex})`;\n }\n if (options.cardinality) {\n return `${regex}${options.cardinality}`;\n }\n return regex;\n}\n//# sourceMappingURL=grammar-utils.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAeA,SAAgB,EAAa,GAAS;CAClC,OAAO,EAAQ,MAAM,MAAK,MAAKA,EAAiB,EAAE,IAAI,EAAE,MAAM;;AAKlE,SAAgB,EAAe,GAAS;CACpC,OAAO,EAAQ,MAAM,QAAO,MAAKC,EAAmB,EAAE,IAAI,EAAE,OAAO;;AAUvE,SAAgB,EAAqB,GAAS,GAAc;CACxD,IAAM,oBAAY,IAAI,KAAK,EACrB,IAAY,EAAa,EAAQ;CACvC,IAAI,CAAC,GACD,OAAO,IAAI,IAAI,EAAQ,MAAM;CAEjC,IAAM,IAAe,CAAC,EAAU,CAAC,OAAO,EAAe,EAAQ,CAAC;CAChE,KAAK,IAAM,KAAQ,GACf,EAAQ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MAAK,EAAuB,EAAE,CAAC,CAAC,KAAK,GAAG,EAAE;EAChF,aAAa,EAAM;EACnB,WAAW,EAAM;EACjB,eAAe,EAAM;EACrB,MAAM;EACT,CAAC;;AAEN,SAAS,EAAkB,GAAO;CAC9B,OAAO,EAAgB,GAAG,EAAS,IAAI,EAAuB,EAAM,SAAS,IAAI;EAC7E,aAAa,EAAM;EACnB,WAAW,EAAM;EACjB,eAAe,EAAM;EACxB,CAAC;;AAEN,SAAS,GAAmB,GAAQ;CAChC,OAAO,EAAgB,MAAM,EAAuB,EAAO,SAAS,CAAC,GAAG,EAAS,KAAK;EAClF,aAAa,EAAO;EACpB,WAAW,EAAO;EAClB,eAAe,EAAO;EACzB,CAAC;;AAEN,SAAS,GAAsB,GAAO;CASlC,OARI,EAAM,QACC,EAAgB,IAAI,EAAe,EAAM,KAAK,CAAC,GAAG,EAAe,EAAM,MAAM,CAAC,IAAI;EACrF,aAAa,EAAM;EACnB,WAAW,EAAM;EACjB,eAAe,EAAM;EACrB,MAAM;EACT,CAAC,GAEC,EAAgB,EAAe,EAAM,KAAK,EAAE;EAC/C,aAAa,EAAM;EACnB,WAAW,EAAM;EACjB,eAAe,EAAM;EACrB,MAAM;EACT,CAAC;;AAEN,SAAS,EAAe,GAAS;CAC7B,OAAO,EAAa,EAAQ,MAAM;;AAEtC,SAAS,EAAgB,GAAO,GAAS;CAQrC,QAPI,EAAQ,iBAAiB,EAAQ,aAAa,EAAQ,SAAS,QAE/D,IAAQ,IADY,EAAQ,cAAc,EAAQ,gBAAgB,KAAK,QAC7C,EAAM,KAEhC,EAAQ,cACD,GAAG,IAAQ,EAAQ,gBAEvB"}
@@ -1,31 +0,0 @@
1
- import { cancellation_exports as e } from "./cancellation.js";
2
- //#region ../../node_modules/langium/lib/utils/promise-utils.js
3
- function t() {
4
- return new Promise((e) => {
5
- typeof setImmediate > "u" ? setTimeout(e, 0) : setImmediate(e);
6
- });
7
- }
8
- var n = 0, r = 10;
9
- function i() {
10
- return n = performance.now(), new e.CancellationTokenSource();
11
- }
12
- var a = Symbol("OperationCancelled");
13
- function o(e) {
14
- return e === a;
15
- }
16
- async function s(i) {
17
- if (i === e.CancellationToken.None) return;
18
- let o = performance.now();
19
- if (o - n >= r && (n = o, await t(), n = performance.now()), i.isCancellationRequested) throw a;
20
- }
21
- var c = class {
22
- constructor() {
23
- this.promise = new Promise((e, t) => {
24
- this.resolve = (t) => (e(t), this), this.reject = (e) => (t(e), this);
25
- });
26
- }
27
- };
28
- //#endregion
29
- export { c as Deferred, a as OperationCancelled, s as interruptAndCheck, o as isOperationCancelled, i as startCancelableOperation };
30
-
31
- //# sourceMappingURL=promise-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"promise-utils.js","names":["CancellationTokenSource","CancellationToken"],"sources":["../../../../../../../../node_modules/langium/lib/utils/promise-utils.js"],"sourcesContent":["/******************************************************************************\n * Copyright 2021 TypeFox GmbH\n * This program and the accompanying materials are made available under the\n * terms of the MIT License, which is available in the project root.\n ******************************************************************************/\nimport { CancellationToken, CancellationTokenSource } from '../utils/cancellation.js';\n/**\n * Delays the execution of the current code to the next tick of the event loop.\n * Don't call this method directly in a tight loop to prevent too many promises from being created.\n */\nexport function delayNextTick() {\n return new Promise(resolve => {\n // In case we are running in a non-node environment, `setImmediate` isn't available.\n // Using `setTimeout` of the browser API accomplishes the same result.\n if (typeof setImmediate === 'undefined') {\n setTimeout(resolve, 0);\n }\n else {\n setImmediate(resolve);\n }\n });\n}\nlet lastTick = 0;\nlet globalInterruptionPeriod = 10;\n/**\n * Reset the global interruption period and create a cancellation token source.\n */\nexport function startCancelableOperation() {\n lastTick = performance.now();\n return new CancellationTokenSource();\n}\n/**\n * Change the period duration for `interruptAndCheck` to the given number of milliseconds.\n * The default value is 10ms.\n */\nexport function setInterruptionPeriod(period) {\n globalInterruptionPeriod = period;\n}\n/**\n * This symbol may be thrown in an asynchronous context by any Langium service that receives\n * a `CancellationToken`. This means that the promise returned by such a service is rejected with\n * this symbol as rejection reason.\n */\nexport const OperationCancelled = Symbol('OperationCancelled');\n/**\n * Use this in a `catch` block to check whether the thrown object indicates that the operation\n * has been cancelled.\n */\nexport function isOperationCancelled(err) {\n return err === OperationCancelled;\n}\n/**\n * This function does two things:\n * 1. Check the elapsed time since the last call to this function or to `startCancelableOperation`. If the predefined\n * period (configured with `setInterruptionPeriod`) is exceeded, execution is delayed with `delayNextTick`.\n * 2. If the predefined period is not met yet or execution is resumed after an interruption, the given cancellation\n * token is checked, and if cancellation is requested, `OperationCanceled` is thrown.\n *\n * All services in Langium that receive a `CancellationToken` may potentially call this function, so the\n * `CancellationToken` must be caught (with an `async` try-catch block or a `catch` callback attached to\n * the promise) to avoid that event being exposed as an error.\n */\nexport async function interruptAndCheck(token) {\n if (token === CancellationToken.None) {\n // Early exit in case cancellation was disabled by the caller\n return;\n }\n const current = performance.now();\n if (current - lastTick >= globalInterruptionPeriod) {\n lastTick = current;\n await delayNextTick();\n // prevent calling delayNextTick every iteration of loop\n // where delayNextTick takes up the majority or all of the\n // globalInterruptionPeriod itself\n lastTick = performance.now();\n }\n if (token.isCancellationRequested) {\n throw OperationCancelled;\n }\n}\n/**\n * Simple implementation of the deferred pattern.\n * An object that exposes a promise and functions to resolve and reject it.\n */\nexport class Deferred {\n constructor() {\n this.promise = new Promise((resolve, reject) => {\n this.resolve = (arg) => {\n resolve(arg);\n return this;\n };\n this.reject = (err) => {\n reject(err);\n return this;\n };\n });\n }\n}\n//# sourceMappingURL=promise-utils.js.map"],"x_google_ignoreList":[0],"mappings":";;AAUA,SAAgB,IAAgB;CAC5B,OAAO,IAAI,SAAQ,MAAW;EAG1B,AAAI,OAAO,eAAiB,MACxB,WAAW,GAAS,EAAE,GAGtB,aAAa,EAAQ;GAE3B;;AAEN,IAAI,IAAW,GACX,IAA2B;AAI/B,SAAgB,IAA2B;CAEvC,OADA,IAAW,YAAY,KAAK,EACrB,IAAIA,EAAAA,yBAAyB;;AAcxC,IAAa,IAAqB,OAAO,qBAAqB;AAK9D,SAAgB,EAAqB,GAAK;CACtC,OAAO,MAAQ;;AAanB,eAAsB,EAAkB,GAAO;CAC3C,IAAI,MAAUC,EAAAA,kBAAkB,MAE5B;CAEJ,IAAM,IAAU,YAAY,KAAK;CASjC,IARI,IAAU,KAAY,MACtB,IAAW,GACX,MAAM,GAAe,EAIrB,IAAW,YAAY,KAAK,GAE5B,EAAM,yBACN,MAAM;;AAOd,IAAa,IAAb,MAAsB;CAClB,cAAc;EACV,KAAK,UAAU,IAAI,SAAS,GAAS,MAAW;GAK5C,AAJA,KAAK,WAAW,OACZ,EAAQ,EAAI,EACL,OAEX,KAAK,UAAU,OACX,EAAO,EAAI,EACJ;IAEb"}
@@ -1,146 +0,0 @@
1
- import { RegExpParser as e } from "../../../@chevrotain/regexp-to-ast/lib/src/regexp-parser.js";
2
- import { BaseRegExpVisitor as t } from "../../../@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js";
3
- import "../../../@chevrotain/regexp-to-ast/lib/src/api.js";
4
- //#region ../../node_modules/langium/lib/utils/regexp-utils.js
5
- var n = /\r?\n/gm, r = new e(), i = new class extends t {
6
- constructor() {
7
- super(...arguments), this.isStarting = !0, this.endRegexpStack = [], this.multiline = !1;
8
- }
9
- get endRegex() {
10
- return this.endRegexpStack.join("");
11
- }
12
- reset(e) {
13
- this.multiline = !1, this.regex = e, this.startRegexp = "", this.isStarting = !0, this.endRegexpStack = [];
14
- }
15
- visitGroup(e) {
16
- e.quantifier && (this.isStarting = !1, this.endRegexpStack = []);
17
- }
18
- visitCharacter(e) {
19
- let t = String.fromCharCode(e.value);
20
- if (!this.multiline && t === "\n" && (this.multiline = !0), e.quantifier) this.isStarting = !1, this.endRegexpStack = [];
21
- else {
22
- let e = c(t);
23
- this.endRegexpStack.push(e), this.isStarting && (this.startRegexp += e);
24
- }
25
- }
26
- visitSet(e) {
27
- if (!this.multiline) {
28
- let t = this.regex.substring(e.loc.begin, e.loc.end), n = new RegExp(t);
29
- this.multiline = !!"\n".match(n);
30
- }
31
- if (e.quantifier) this.isStarting = !1, this.endRegexpStack = [];
32
- else {
33
- let t = this.regex.substring(e.loc.begin, e.loc.end);
34
- this.endRegexpStack.push(t), this.isStarting && (this.startRegexp += t);
35
- }
36
- }
37
- visitChildren(e) {
38
- e.type === "Group" && e.quantifier || super.visitChildren(e);
39
- }
40
- }();
41
- function a(e) {
42
- try {
43
- return typeof e == "string" && (e = new RegExp(e)), e = e.toString(), i.reset(e), i.visit(r.pattern(e)), i.multiline;
44
- } catch {
45
- return !1;
46
- }
47
- }
48
- var o = "\f\n\r \v \xA0            \u2028\u2029   ".split("");
49
- function s(e) {
50
- let t = typeof e == "string" ? new RegExp(e) : e;
51
- return o.some((e) => t.test(e));
52
- }
53
- function c(e) {
54
- return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
55
- }
56
- function l(e, t) {
57
- let n = u(e), r = t.match(n);
58
- return !!r && r[0].length > 0;
59
- }
60
- function u(e) {
61
- typeof e == "string" && (e = new RegExp(e));
62
- let t = e, n = e.source, r = 0;
63
- function i() {
64
- let e = "", a;
65
- function o(t) {
66
- e += n.substr(r, t), r += t;
67
- }
68
- function s(t) {
69
- e += "(?:" + n.substr(r, t) + "|$)", r += t;
70
- }
71
- for (; r < n.length;) switch (n[r]) {
72
- case "\\":
73
- switch (n[r + 1]) {
74
- case "c":
75
- s(3);
76
- break;
77
- case "x":
78
- s(4);
79
- break;
80
- case "u":
81
- t.unicode ? n[r + 2] === "{" ? s(n.indexOf("}", r) - r + 1) : s(6) : s(2);
82
- break;
83
- case "p":
84
- case "P":
85
- t.unicode ? s(n.indexOf("}", r) - r + 1) : s(2);
86
- break;
87
- case "k":
88
- s(n.indexOf(">", r) - r + 1);
89
- break;
90
- default:
91
- s(2);
92
- break;
93
- }
94
- break;
95
- case "[":
96
- a = /\[(?:\\.|.)*?\]/g, a.lastIndex = r, a = a.exec(n) || [], s(a[0].length);
97
- break;
98
- case "|":
99
- case "^":
100
- case "$":
101
- case "*":
102
- case "+":
103
- case "?":
104
- o(1);
105
- break;
106
- case "{":
107
- a = /\{\d+,?\d*\}/g, a.lastIndex = r, a = a.exec(n), a ? o(a[0].length) : s(1);
108
- break;
109
- case "(":
110
- if (n[r + 1] === "?") switch (n[r + 2]) {
111
- case ":":
112
- e += "(?:", r += 3, e += i() + "|$)";
113
- break;
114
- case "=":
115
- e += "(?=", r += 3, e += i() + ")";
116
- break;
117
- case "!":
118
- a = r, r += 3, i(), e += n.substr(a, r - a);
119
- break;
120
- case "<":
121
- switch (n[r + 3]) {
122
- case "=":
123
- case "!":
124
- a = r, r += 4, i(), e += n.substr(a, r - a);
125
- break;
126
- default:
127
- o(n.indexOf(">", r) - r + 1), e += i() + "|$)";
128
- break;
129
- }
130
- break;
131
- }
132
- else o(1), e += i() + "|$)";
133
- break;
134
- case ")": return ++r, e;
135
- default:
136
- s(1);
137
- break;
138
- }
139
- return e;
140
- }
141
- return new RegExp(i(), e.flags);
142
- }
143
- //#endregion
144
- export { n as NEWLINE_REGEXP, c as escapeRegExp, a as isMultilineComment, s as isWhitespace, l as partialMatches };
145
-
146
- //# sourceMappingURL=regexp-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regexp-utils.js","names":["group"],"sources":["../../../../../../../../node_modules/langium/lib/utils/regexp-utils.js"],"sourcesContent":["/******************************************************************************\n * Copyright 2021 TypeFox GmbH\n * This program and the accompanying materials are made available under the\n * terms of the MIT License, which is available in the project root.\n ******************************************************************************/\nimport { RegExpParser, BaseRegExpVisitor } from '@chevrotain/regexp-to-ast';\nexport const NEWLINE_REGEXP = /\\r?\\n/gm;\nconst regexpParser = new RegExpParser();\n/**\n * This class is in charge of heuristically identifying start/end tokens of terminals.\n *\n * The way this works is by doing the following:\n * 1. Traverse the regular expression in the \"start state\"\n * 2. Add any encountered sets/single characters to the \"start regexp\"\n * 3. Once we encounter any variable-length content (i.e. with quantifiers such as +/?/*), we enter the \"end state\"\n * 4. In the end state, any sets/single characters are added to an \"end stack\".\n * 5. If we re-encounter any variable-length content we reset the end stack\n * 6. We continue visiting the regex until the end, reseting the end stack and rebuilding it as necessary\n *\n * After traversing a regular expression the `startRegexp/endRegexp` properties allow access to the stored start/end of the terminal\n */\nclass TerminalRegExpVisitor extends BaseRegExpVisitor {\n constructor() {\n super(...arguments);\n this.isStarting = true;\n this.endRegexpStack = [];\n this.multiline = false;\n }\n get endRegex() {\n return this.endRegexpStack.join('');\n }\n reset(regex) {\n this.multiline = false;\n this.regex = regex;\n this.startRegexp = '';\n this.isStarting = true;\n this.endRegexpStack = [];\n }\n visitGroup(node) {\n if (node.quantifier) {\n this.isStarting = false;\n this.endRegexpStack = [];\n }\n }\n visitCharacter(node) {\n const char = String.fromCharCode(node.value);\n if (!this.multiline && char === '\\n') {\n this.multiline = true;\n }\n if (node.quantifier) {\n this.isStarting = false;\n this.endRegexpStack = [];\n }\n else {\n const escapedChar = escapeRegExp(char);\n this.endRegexpStack.push(escapedChar);\n if (this.isStarting) {\n this.startRegexp += escapedChar;\n }\n }\n }\n visitSet(node) {\n if (!this.multiline) {\n const set = this.regex.substring(node.loc.begin, node.loc.end);\n const regex = new RegExp(set);\n this.multiline = Boolean('\\n'.match(regex));\n }\n if (node.quantifier) {\n this.isStarting = false;\n this.endRegexpStack = [];\n }\n else {\n const set = this.regex.substring(node.loc.begin, node.loc.end);\n this.endRegexpStack.push(set);\n if (this.isStarting) {\n this.startRegexp += set;\n }\n }\n }\n visitChildren(node) {\n if (node.type === 'Group') {\n // Ignore children of groups with quantifier (+/*/?)\n // These groups are unrelated to start/end tokens of terminals\n const group = node;\n if (group.quantifier) {\n return;\n }\n }\n super.visitChildren(node);\n }\n}\nconst visitor = new TerminalRegExpVisitor();\nexport function getTerminalParts(regexp) {\n try {\n if (typeof regexp !== 'string') {\n regexp = regexp.source;\n }\n regexp = `/${regexp}/`;\n const pattern = regexpParser.pattern(regexp);\n const parts = [];\n for (const alternative of pattern.value.value) {\n visitor.reset(regexp);\n visitor.visit(alternative);\n parts.push({\n start: visitor.startRegexp,\n end: visitor.endRegex\n });\n }\n return parts;\n }\n catch {\n return [];\n }\n}\nexport function isMultilineComment(regexp) {\n try {\n if (typeof regexp === 'string') {\n regexp = new RegExp(regexp);\n }\n regexp = regexp.toString();\n visitor.reset(regexp);\n // Parsing the pattern might fail (since it's user code)\n visitor.visit(regexpParser.pattern(regexp));\n return visitor.multiline;\n }\n catch {\n return false;\n }\n}\n/**\n * A set of all characters that are considered whitespace by the '\\s' RegExp character class.\n * Taken from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/Character_classes).\n */\nexport const whitespaceCharacters = ('\\f\\n\\r\\t\\v\\u0020\\u00a0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007' +\n '\\u2008\\u2009\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff').split('');\nexport function isWhitespace(value) {\n const regexp = typeof value === 'string' ? new RegExp(value) : value;\n return whitespaceCharacters.some((ws) => regexp.test(ws));\n}\nexport function escapeRegExp(value) {\n return value.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n/**\n * Determines whether the given input has a partial match with the specified regex.\n * @param regex The regex to partially match against\n * @param input The input string\n * @returns Whether any match exists.\n */\nexport function partialMatches(regex, input) {\n const partial = partialRegExp(regex);\n const match = input.match(partial);\n return !!match && match[0].length > 0;\n}\n/**\n * Builds a partial regex from the input regex. A partial regex is able to match incomplete input strings. E.g.\n * a partial regex constructed from `/ab/` is able to match the string `a` without needing a following `b` character. However it won't match `b` alone.\n * @param regex The input regex to be converted.\n * @returns A partial regex constructed from the input regex.\n */\nexport function partialRegExp(regex) {\n if (typeof regex === 'string') {\n regex = new RegExp(regex);\n }\n const re = regex, source = regex.source;\n let i = 0;\n function process() {\n let result = '', tmp;\n function appendRaw(nbChars) {\n result += source.substr(i, nbChars);\n i += nbChars;\n }\n function appendOptional(nbChars) {\n result += '(?:' + source.substr(i, nbChars) + '|$)';\n i += nbChars;\n }\n while (i < source.length) {\n switch (source[i]) {\n case '\\\\':\n switch (source[i + 1]) {\n case 'c':\n appendOptional(3);\n break;\n case 'x':\n appendOptional(4);\n break;\n case 'u':\n if (re.unicode) {\n if (source[i + 2] === '{') {\n appendOptional(source.indexOf('}', i) - i + 1);\n }\n else {\n appendOptional(6);\n }\n }\n else {\n appendOptional(2);\n }\n break;\n case 'p':\n case 'P':\n if (re.unicode) {\n appendOptional(source.indexOf('}', i) - i + 1);\n }\n else {\n appendOptional(2);\n }\n break;\n case 'k':\n appendOptional(source.indexOf('>', i) - i + 1);\n break;\n default:\n appendOptional(2);\n break;\n }\n break;\n case '[':\n tmp = /\\[(?:\\\\.|.)*?\\]/g;\n tmp.lastIndex = i;\n tmp = tmp.exec(source) || [];\n appendOptional(tmp[0].length);\n break;\n case '|':\n case '^':\n case '$':\n case '*':\n case '+':\n case '?':\n appendRaw(1);\n break;\n case '{':\n tmp = /\\{\\d+,?\\d*\\}/g;\n tmp.lastIndex = i;\n tmp = tmp.exec(source);\n if (tmp) {\n appendRaw(tmp[0].length);\n }\n else {\n appendOptional(1);\n }\n break;\n case '(':\n if (source[i + 1] === '?') {\n switch (source[i + 2]) {\n case ':':\n result += '(?:';\n i += 3;\n result += process() + '|$)';\n break;\n case '=':\n result += '(?=';\n i += 3;\n result += process() + ')';\n break;\n case '!':\n tmp = i;\n i += 3;\n process();\n result += source.substr(tmp, i - tmp);\n break;\n case '<':\n switch (source[i + 3]) {\n case '=':\n case '!':\n tmp = i;\n i += 4;\n process();\n result += source.substr(tmp, i - tmp);\n break;\n default:\n appendRaw(source.indexOf('>', i) - i + 1);\n result += process() + '|$)';\n break;\n }\n break;\n }\n }\n else {\n appendRaw(1);\n result += process() + '|$)';\n }\n break;\n case ')':\n ++i;\n return result;\n default:\n appendOptional(1);\n break;\n }\n }\n return result;\n }\n return new RegExp(process(), regex.flags);\n}\n//# sourceMappingURL=regexp-utils.js.map"],"x_google_ignoreList":[0],"mappings":";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;GACJ,KAAK,KAED,OADA,EAAE,GACK;GACX;IACI,EAAe,EAAE;IACjB;;EAGZ,OAAO;;CAEX,OAAO,IAAI,OAAO,GAAS,EAAE,EAAM,MAAM"}
@@ -1,331 +0,0 @@
1
- //#region ../../node_modules/langium/lib/utils/stream.js
2
- var e = class e {
3
- constructor(e, t) {
4
- this.startFn = e, this.nextFn = t;
5
- }
6
- iterator() {
7
- let e = {
8
- state: this.startFn(),
9
- next: () => this.nextFn(e.state),
10
- [Symbol.iterator]: () => e
11
- };
12
- return e;
13
- }
14
- [Symbol.iterator]() {
15
- return this.iterator();
16
- }
17
- isEmpty() {
18
- return !!this.iterator().next().done;
19
- }
20
- count() {
21
- let e = this.iterator(), t = 0, n = e.next();
22
- for (; !n.done;) t++, n = e.next();
23
- return t;
24
- }
25
- toArray() {
26
- let e = [], t = this.iterator(), n;
27
- do
28
- n = t.next(), n.value !== void 0 && e.push(n.value);
29
- while (!n.done);
30
- return e;
31
- }
32
- toSet() {
33
- return new Set(this);
34
- }
35
- toMap(e, t) {
36
- let n = this.map((n) => [e ? e(n) : n, t ? t(n) : n]);
37
- return new Map(n);
38
- }
39
- toString() {
40
- return this.join();
41
- }
42
- concat(t) {
43
- return new e(() => ({
44
- first: this.startFn(),
45
- firstDone: !1,
46
- iterator: t[Symbol.iterator]()
47
- }), (e) => {
48
- let t;
49
- if (!e.firstDone) {
50
- do
51
- if (t = this.nextFn(e.first), !t.done) return t;
52
- while (!t.done);
53
- e.firstDone = !0;
54
- }
55
- do
56
- if (t = e.iterator.next(), !t.done) return t;
57
- while (!t.done);
58
- return i;
59
- });
60
- }
61
- join(e = ",") {
62
- let n = this.iterator(), r = "", i, a = !1;
63
- do
64
- i = n.next(), i.done || (a && (r += e), r += t(i.value)), a = !0;
65
- while (!i.done);
66
- return r;
67
- }
68
- indexOf(e, t = 0) {
69
- let n = this.iterator(), r = 0, i = n.next();
70
- for (; !i.done;) {
71
- if (r >= t && i.value === e) return r;
72
- i = n.next(), r++;
73
- }
74
- return -1;
75
- }
76
- every(e) {
77
- let t = this.iterator(), n = t.next();
78
- for (; !n.done;) {
79
- if (!e(n.value)) return !1;
80
- n = t.next();
81
- }
82
- return !0;
83
- }
84
- some(e) {
85
- let t = this.iterator(), n = t.next();
86
- for (; !n.done;) {
87
- if (e(n.value)) return !0;
88
- n = t.next();
89
- }
90
- return !1;
91
- }
92
- forEach(e) {
93
- let t = this.iterator(), n = 0, r = t.next();
94
- for (; !r.done;) e(r.value, n), r = t.next(), n++;
95
- }
96
- map(t) {
97
- return new e(this.startFn, (e) => {
98
- let { done: n, value: r } = this.nextFn(e);
99
- return n ? i : {
100
- done: !1,
101
- value: t(r)
102
- };
103
- });
104
- }
105
- filter(t) {
106
- return new e(this.startFn, (e) => {
107
- let n;
108
- do
109
- if (n = this.nextFn(e), !n.done && t(n.value)) return n;
110
- while (!n.done);
111
- return i;
112
- });
113
- }
114
- nonNullable() {
115
- return this.filter((e) => e != null);
116
- }
117
- reduce(e, t) {
118
- let n = this.iterator(), r = t, i = n.next();
119
- for (; !i.done;) r = r === void 0 ? i.value : e(r, i.value), i = n.next();
120
- return r;
121
- }
122
- reduceRight(e, t) {
123
- return this.recursiveReduce(this.iterator(), e, t);
124
- }
125
- recursiveReduce(e, t, n) {
126
- let r = e.next();
127
- if (r.done) return n;
128
- let i = this.recursiveReduce(e, t, n);
129
- return i === void 0 ? r.value : t(i, r.value);
130
- }
131
- find(e) {
132
- let t = this.iterator(), n = t.next();
133
- for (; !n.done;) {
134
- if (e(n.value)) return n.value;
135
- n = t.next();
136
- }
137
- }
138
- findIndex(e) {
139
- let t = this.iterator(), n = 0, r = t.next();
140
- for (; !r.done;) {
141
- if (e(r.value)) return n;
142
- r = t.next(), n++;
143
- }
144
- return -1;
145
- }
146
- includes(e) {
147
- let t = this.iterator(), n = t.next();
148
- for (; !n.done;) {
149
- if (n.value === e) return !0;
150
- n = t.next();
151
- }
152
- return !1;
153
- }
154
- flatMap(t) {
155
- return new e(() => ({ this: this.startFn() }), (e) => {
156
- do {
157
- if (e.iterator) {
158
- let t = e.iterator.next();
159
- if (t.done) e.iterator = void 0;
160
- else return t;
161
- }
162
- let { done: r, value: i } = this.nextFn(e.this);
163
- if (!r) {
164
- let r = t(i);
165
- if (n(r)) e.iterator = r[Symbol.iterator]();
166
- else return {
167
- done: !1,
168
- value: r
169
- };
170
- }
171
- } while (e.iterator);
172
- return i;
173
- });
174
- }
175
- flat(t) {
176
- if (t === void 0 && (t = 1), t <= 0) return this;
177
- let r = t > 1 ? this.flat(t - 1) : this;
178
- return new e(() => ({ this: r.startFn() }), (e) => {
179
- do {
180
- if (e.iterator) {
181
- let t = e.iterator.next();
182
- if (t.done) e.iterator = void 0;
183
- else return t;
184
- }
185
- let { done: t, value: i } = r.nextFn(e.this);
186
- if (!t) if (n(i)) e.iterator = i[Symbol.iterator]();
187
- else return {
188
- done: !1,
189
- value: i
190
- };
191
- } while (e.iterator);
192
- return i;
193
- });
194
- }
195
- head() {
196
- let e = this.iterator().next();
197
- if (!e.done) return e.value;
198
- }
199
- tail(t = 1) {
200
- return new e(() => {
201
- let e = this.startFn();
202
- for (let n = 0; n < t; n++) if (this.nextFn(e).done) return e;
203
- return e;
204
- }, this.nextFn);
205
- }
206
- limit(t) {
207
- return new e(() => ({
208
- size: 0,
209
- state: this.startFn()
210
- }), (e) => (e.size++, e.size > t ? i : this.nextFn(e.state)));
211
- }
212
- distinct(t) {
213
- return new e(() => ({
214
- set: /* @__PURE__ */ new Set(),
215
- internalState: this.startFn()
216
- }), (e) => {
217
- let n;
218
- do
219
- if (n = this.nextFn(e.internalState), !n.done) {
220
- let r = t ? t(n.value) : n.value;
221
- if (!e.set.has(r)) return e.set.add(r), n;
222
- }
223
- while (!n.done);
224
- return i;
225
- });
226
- }
227
- exclude(e, t) {
228
- let n = /* @__PURE__ */ new Set();
229
- for (let r of e) {
230
- let e = t ? t(r) : r;
231
- n.add(e);
232
- }
233
- return this.filter((e) => {
234
- let r = t ? t(e) : e;
235
- return !n.has(r);
236
- });
237
- }
238
- };
239
- function t(e) {
240
- return typeof e == "string" ? e : e === void 0 ? "undefined" : typeof e.toString == "function" ? e.toString() : Object.prototype.toString.call(e);
241
- }
242
- function n(e) {
243
- return !!e && typeof e[Symbol.iterator] == "function";
244
- }
245
- var r = new e(() => void 0, () => i), i = Object.freeze({
246
- done: !0,
247
- value: void 0
248
- });
249
- function a(...t) {
250
- if (t.length === 1) {
251
- let r = t[0];
252
- if (r instanceof e) return r;
253
- if (n(r)) return new e(() => r[Symbol.iterator](), (e) => e.next());
254
- if (typeof r.length == "number") return new e(() => ({ index: 0 }), (e) => e.index < r.length ? {
255
- done: !1,
256
- value: r[e.index++]
257
- } : i);
258
- }
259
- return t.length > 1 ? new e(() => ({
260
- collIndex: 0,
261
- arrIndex: 0
262
- }), (e) => {
263
- do {
264
- if (e.iterator) {
265
- let t = e.iterator.next();
266
- if (!t.done) return t;
267
- e.iterator = void 0;
268
- }
269
- if (e.array) {
270
- if (e.arrIndex < e.array.length) return {
271
- done: !1,
272
- value: e.array[e.arrIndex++]
273
- };
274
- e.array = void 0, e.arrIndex = 0;
275
- }
276
- if (e.collIndex < t.length) {
277
- let r = t[e.collIndex++];
278
- n(r) ? e.iterator = r[Symbol.iterator]() : r && typeof r.length == "number" && (e.array = r);
279
- }
280
- } while (e.iterator || e.array || e.collIndex < t.length);
281
- return i;
282
- }) : r;
283
- }
284
- var o = class extends e {
285
- constructor(e, t, n) {
286
- super(() => ({
287
- iterators: n?.includeRoot ? [[e][Symbol.iterator]()] : [t(e)[Symbol.iterator]()],
288
- pruned: !1
289
- }), (e) => {
290
- for (e.pruned &&= (e.iterators.pop(), !1); e.iterators.length > 0;) {
291
- let n = e.iterators[e.iterators.length - 1].next();
292
- if (n.done) e.iterators.pop();
293
- else return e.iterators.push(t(n.value)[Symbol.iterator]()), n;
294
- }
295
- return i;
296
- });
297
- }
298
- iterator() {
299
- let e = {
300
- state: this.startFn(),
301
- next: () => this.nextFn(e.state),
302
- prune: () => {
303
- e.state.pruned = !0;
304
- },
305
- [Symbol.iterator]: () => e
306
- };
307
- return e;
308
- }
309
- }, s;
310
- (function(e) {
311
- function t(e) {
312
- return e.reduce((e, t) => e + t, 0);
313
- }
314
- e.sum = t;
315
- function n(e) {
316
- return e.reduce((e, t) => e * t, 0);
317
- }
318
- e.product = n;
319
- function r(e) {
320
- return e.reduce((e, t) => Math.min(e, t));
321
- }
322
- e.min = r;
323
- function i(e) {
324
- return e.reduce((e, t) => Math.max(e, t));
325
- }
326
- e.max = i;
327
- })(s ||= {});
328
- //#endregion
329
- export { i as DONE_RESULT, r as EMPTY_STREAM, s as Reduction, e as StreamImpl, o as TreeStreamImpl, a as stream };
330
-
331
- //# sourceMappingURL=stream.js.map