@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.
- package/lib/esm/_virtual/_rolldown/runtime.js +5 -5
- package/lib/esm/atomic/molecules/markdown/components/MarkdownLink.css.js +1 -0
- package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCell.css.js +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7EHR7CIX.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4EGX6M5U.js +37 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4EGX6M5U.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5DO6E6H7.js +25 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5DO6E6H7.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/{chunk-LIHQZDEY.js → chunk-BR22UD5L.js} +18 -21
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BR22UD5L.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FHYWG6QK.js +25 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FHYWG6QK.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MPE355IW.js +25 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MPE355IW.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.js +32 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.js +56 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-NNHCCRGN.js +20648 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-NNHCCRGN.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.js +25 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UIBZB4QT.js +25 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UIBZB4QT.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WCWK7LTN.js +33 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WCWK7LTN.js.map +1 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-FCH6USID.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-WXDBUCRP.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-J43DQDTF.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-YPE3B663.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-LRSECV5Y.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-GUYGQ44K.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-BLDUP644.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-LRROVOQU.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-L42UT6IY.js +3 -0
- package/lib/esm/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +24 -19
- package/lib/esm/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js.map +1 -1
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +8 -8
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/layout.js +105 -105
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +12 -12
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +8 -8
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/index.js +12 -12
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/init-order.js +6 -6
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +7 -7
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +9 -9
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/order/sort.js +7 -7
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/bk.js +53 -53
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/index.js +5 -5
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +26 -26
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/rank/util.js +9 -9
- package/lib/esm/node_modules/dagre-d3-es/src/dagre/util.js +54 -54
- package/lib/esm/node_modules/dagre-d3-es/src/graphlib/graph.js +45 -45
- package/lib/esm/node_modules/dagre-d3-es/src/graphlib/json.js +18 -18
- package/lib/esm/node_modules/lodash-es/_arrayLikeKeys.js +8 -8
- package/lib/esm/node_modules/lodash-es/_baseAssign.js +3 -3
- package/lib/esm/node_modules/lodash-es/_baseClone.js +24 -24
- package/lib/esm/node_modules/lodash-es/_baseForOwn.js +3 -3
- package/lib/esm/node_modules/lodash-es/_baseGetAllKeys.js +3 -3
- package/lib/esm/node_modules/lodash-es/_baseIsEqualDeep.js +12 -12
- package/lib/esm/node_modules/lodash-es/_baseIteratee.js +4 -4
- package/lib/esm/node_modules/lodash-es/_baseMatchesProperty.js +9 -9
- package/lib/esm/node_modules/lodash-es/_baseMerge.js +6 -6
- package/lib/esm/node_modules/lodash-es/_baseMergeDeep.js +15 -15
- package/lib/esm/node_modules/lodash-es/_baseOrderBy.js +14 -14
- package/lib/esm/node_modules/lodash-es/_baseSet.js +8 -8
- package/lib/esm/node_modules/lodash-es/_baseSetToString.js +5 -5
- package/lib/esm/node_modules/lodash-es/_baseToString.js +11 -11
- package/lib/esm/node_modules/lodash-es/_baseUniq.js +7 -7
- package/lib/esm/node_modules/lodash-es/_copySymbols.js +3 -3
- package/lib/esm/node_modules/lodash-es/_createSet.js +6 -6
- package/lib/esm/node_modules/lodash-es/_equalByTag.js +18 -18
- package/lib/esm/node_modules/lodash-es/_flatRest.js +4 -4
- package/lib/esm/node_modules/lodash-es/_getAllKeys.js +3 -3
- package/lib/esm/node_modules/lodash-es/_getAllKeysIn.js +4 -4
- package/lib/esm/node_modules/lodash-es/_getSymbolsIn.js +3 -3
- package/lib/esm/node_modules/lodash-es/_hasPath.js +5 -5
- package/lib/esm/node_modules/lodash-es/_initCloneObject.js +4 -4
- package/lib/esm/node_modules/lodash-es/_isFlattenable.js +3 -3
- package/lib/esm/node_modules/lodash-es/_isIterateeCall.js +6 -6
- package/lib/esm/node_modules/lodash-es/_mapCacheClear.js +6 -6
- package/lib/esm/node_modules/lodash-es/findIndex.js +4 -4
- package/lib/esm/node_modules/lodash-es/forEach.js +3 -3
- package/lib/esm/node_modules/lodash-es/forIn.js +3 -3
- package/lib/esm/node_modules/lodash-es/isEmpty.js +8 -8
- package/lib/esm/node_modules/lodash-es/isPlainObject.js +4 -4
- package/lib/esm/node_modules/lodash-es/isString.js +3 -3
- package/lib/esm/node_modules/lodash-es/keys.js +4 -4
- package/lib/esm/node_modules/lodash-es/keysIn.js +3 -3
- package/lib/esm/node_modules/lodash-es/map.js +3 -3
- package/lib/esm/node_modules/lodash-es/mapValues.js +5 -5
- package/lib/esm/node_modules/lodash-es/max.js +3 -3
- package/lib/esm/node_modules/lodash-es/min.js +3 -3
- package/lib/esm/node_modules/lodash-es/minBy.js +3 -3
- package/lib/esm/node_modules/lodash-es/reduce.js +5 -5
- package/lib/esm/node_modules/lodash-es/size.js +4 -4
- package/lib/esm/node_modules/lodash-es/sortBy.js +6 -6
- package/lib/esm/node_modules/lodash-es/union.js +6 -6
- package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +146 -146
- package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js.map +1 -1
- package/lib/esm/node_modules/mermaid/dist/mermaid.core.js +374 -374
- package/lib/esm/node_modules/mermaid/dist/mermaid.core.js.map +1 -1
- package/package.json +2 -2
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/helpers.js +0 -27
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/helpers.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/model.js +0 -155
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/model.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/visitor.js +0 -45
- package/lib/esm/node_modules/@chevrotain/gast/lib/src/visitor.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +0 -2
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +0 -89
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +0 -39
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +0 -600
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +0 -29
- package/lib/esm/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/print.js +0 -13
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/print.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/timer.js +0 -12
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/timer.js.map +0 -1
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +0 -14
- package/lib/esm/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +0 -28
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +0 -28
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +0 -40
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +0 -35
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +0 -28
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +0 -28
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +0 -1210
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +0 -28
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +0 -36
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js.map +0 -1
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +0 -3
- package/lib/esm/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +0 -3
- package/lib/esm/node_modules/chevrotain/lib/src/api.js +0 -10
- package/lib/esm/node_modules/chevrotain/lib/src/lang/lang_extensions.js +0 -14
- package/lib/esm/node_modules/chevrotain/lib/src/lang/lang_extensions.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/constants.js +0 -6
- package/lib/esm/node_modules/chevrotain/lib/src/parse/constants.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst.js +0 -17
- package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +0 -53
- package/lib/esm/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/errors_public.js +0 -81
- package/lib/esm/node_modules/chevrotain/lib/src/parse/errors_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/exceptions_public.js +0 -37
- package/lib/esm/node_modules/chevrotain/lib/src/parse/exceptions_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/checks.js +0 -279
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/checks.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/first.js +0 -27
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/first.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/follow.js +0 -32
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/follow.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +0 -18
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +0 -269
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/keys.js +0 -8
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/keys.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +0 -45
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +0 -245
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +0 -34
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/resolver.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/rest.js +0 -60
- package/lib/esm/node_modules/chevrotain/lib/src/parse/grammar/rest.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/parser.js +0 -118
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/parser.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +0 -50
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +0 -170
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +0 -47
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +0 -111
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +0 -25
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +0 -316
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +0 -291
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +0 -147
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +0 -96
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +0 -15
- package/lib/esm/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer.js +0 -439
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +0 -13
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_public.js +0 -257
- package/lib/esm/node_modules/chevrotain/lib/src/scan/lexer_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp.js +0 -157
- package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +0 -19
- package/lib/esm/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens.js +0 -68
- package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens.js.map +0 -1
- package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens_public.js +0 -43
- package/lib/esm/node_modules/chevrotain/lib/src/scan/tokens_public.js.map +0 -1
- package/lib/esm/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +0 -365
- package/lib/esm/node_modules/chevrotain-allstar/lib/all-star-lookahead.js.map +0 -1
- package/lib/esm/node_modules/chevrotain-allstar/lib/atn.js +0 -197
- package/lib/esm/node_modules/chevrotain-allstar/lib/atn.js.map +0 -1
- package/lib/esm/node_modules/chevrotain-allstar/lib/dfa.js +0 -35
- package/lib/esm/node_modules/chevrotain-allstar/lib/dfa.js.map +0 -1
- package/lib/esm/node_modules/chevrotain-allstar/lib/index.js +0 -1
- package/lib/esm/node_modules/langium/lib/default-module.js +0 -89
- package/lib/esm/node_modules/langium/lib/default-module.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/dependency-injection.js +0 -62
- package/lib/esm/node_modules/langium/lib/dependency-injection.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/documentation/comment-provider.js +0 -15
- package/lib/esm/node_modules/langium/lib/documentation/comment-provider.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/documentation/documentation-provider.js +0 -40
- package/lib/esm/node_modules/langium/lib/documentation/documentation-provider.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/documentation/jsdoc.js +0 -307
- package/lib/esm/node_modules/langium/lib/documentation/jsdoc.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/languages/generated/ast.js +0 -900
- package/lib/esm/node_modules/langium/lib/languages/generated/ast.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/languages/grammar-config.js +0 -17
- package/lib/esm/node_modules/langium/lib/languages/grammar-config.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/async-parser.js +0 -13
- package/lib/esm/node_modules/langium/lib/parser/async-parser.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/completion-parser-builder.js +0 -11
- package/lib/esm/node_modules/langium/lib/parser/completion-parser-builder.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/cst-node-builder.js +0 -164
- package/lib/esm/node_modules/langium/lib/parser/cst-node-builder.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/langium-parser-builder.js +0 -15
- package/lib/esm/node_modules/langium/lib/parser/langium-parser-builder.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/langium-parser.js +0 -397
- package/lib/esm/node_modules/langium/lib/parser/langium-parser.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/lexer.js +0 -54
- package/lib/esm/node_modules/langium/lib/parser/lexer.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/parser-builder-base.js +0 -278
- package/lib/esm/node_modules/langium/lib/parser/parser-builder-base.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/token-builder.js +0 -65
- package/lib/esm/node_modules/langium/lib/parser/token-builder.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/parser/value-converter.js +0 -82
- package/lib/esm/node_modules/langium/lib/parser/value-converter.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/linker.js +0 -195
- package/lib/esm/node_modules/langium/lib/references/linker.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/name-provider.js +0 -17
- package/lib/esm/node_modules/langium/lib/references/name-provider.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/references.js +0 -80
- package/lib/esm/node_modules/langium/lib/references/references.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/scope-computation.js +0 -39
- package/lib/esm/node_modules/langium/lib/references/scope-computation.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/scope-provider.js +0 -38
- package/lib/esm/node_modules/langium/lib/references/scope-provider.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/references/scope.js +0 -46
- package/lib/esm/node_modules/langium/lib/references/scope.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/serializer/hydrator.js +0 -129
- package/lib/esm/node_modules/langium/lib/serializer/hydrator.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/serializer/json-serializer.js +0 -149
- package/lib/esm/node_modules/langium/lib/serializer/json-serializer.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/service-registry.js +0 -41
- package/lib/esm/node_modules/langium/lib/service-registry.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/syntax-tree.js +0 -74
- package/lib/esm/node_modules/langium/lib/syntax-tree.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/ast-utils.js +0 -124
- package/lib/esm/node_modules/langium/lib/utils/ast-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/caching.js +0 -84
- package/lib/esm/node_modules/langium/lib/utils/caching.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/cancellation.js +0 -9
- package/lib/esm/node_modules/langium/lib/utils/cancellation.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/collections.js +0 -89
- package/lib/esm/node_modules/langium/lib/utils/collections.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/cst-utils.js +0 -77
- package/lib/esm/node_modules/langium/lib/utils/cst-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/disposable.js +0 -12
- package/lib/esm/node_modules/langium/lib/utils/disposable.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/errors.js +0 -13
- package/lib/esm/node_modules/langium/lib/utils/errors.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/event.js +0 -9
- package/lib/esm/node_modules/langium/lib/utils/event.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/grammar-loader.js +0 -26
- package/lib/esm/node_modules/langium/lib/utils/grammar-loader.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/grammar-utils.js +0 -221
- package/lib/esm/node_modules/langium/lib/utils/grammar-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/promise-utils.js +0 -31
- package/lib/esm/node_modules/langium/lib/utils/promise-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/regexp-utils.js +0 -146
- package/lib/esm/node_modules/langium/lib/utils/regexp-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/stream.js +0 -331
- package/lib/esm/node_modules/langium/lib/utils/stream.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/utils/uri-utils.js +0 -111
- package/lib/esm/node_modules/langium/lib/utils/uri-utils.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/validation/document-validator.js +0 -213
- package/lib/esm/node_modules/langium/lib/validation/document-validator.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/validation/validation-registry.js +0 -90
- package/lib/esm/node_modules/langium/lib/validation/validation-registry.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/ast-descriptions.js +0 -61
- package/lib/esm/node_modules/langium/lib/workspace/ast-descriptions.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/ast-node-locator.js +0 -32
- package/lib/esm/node_modules/langium/lib/workspace/ast-node-locator.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/configuration.js +0 -55
- package/lib/esm/node_modules/langium/lib/workspace/configuration.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/document-builder.js +0 -200
- package/lib/esm/node_modules/langium/lib/workspace/document-builder.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/documents.js +0 -146
- package/lib/esm/node_modules/langium/lib/workspace/documents.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/file-system-provider.js +0 -37
- package/lib/esm/node_modules/langium/lib/workspace/file-system-provider.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/index-manager.js +0 -53
- package/lib/esm/node_modules/langium/lib/workspace/index-manager.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/workspace-lock.js +0 -46
- package/lib/esm/node_modules/langium/lib/workspace/workspace-lock.js.map +0 -1
- package/lib/esm/node_modules/langium/lib/workspace/workspace-manager.js +0 -70
- package/lib/esm/node_modules/langium/lib/workspace/workspace-manager.js.map +0 -1
- package/lib/esm/node_modules/lodash-es/flatMap.js +0 -10
- package/lib/esm/node_modules/lodash-es/flatMap.js.map +0 -1
- package/lib/esm/node_modules/lodash-es/uniqBy.js +0 -10
- package/lib/esm/node_modules/lodash-es/uniqBy.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -61
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/cancellation.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/events.js +0 -68
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/events.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/is.js +0 -38
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/is.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -22
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/ral.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/browser/main.js +0 -32
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/browser/main.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/api.js +0 -40
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/api.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/connection.js +0 -16
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/connection.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/messages.js +0 -35
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/messages.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +0 -23
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +0 -19
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +0 -37
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +0 -39
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +0 -19
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +0 -23
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +0 -19
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +0 -678
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +0 -23
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +0 -130
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +0 -28
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +0 -35
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +0 -15
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +0 -23
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +0 -19
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +0 -46
- package/lib/esm/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.js +0 -11
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.js +0 -56
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.js +0 -124
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.js +0 -341
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -61
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -651
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -17
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.js +0 -68
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.js +0 -38
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -239
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -97
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -133
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -89
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -165
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -22
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -48
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -62
- package/lib/esm/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +0 -142
- package/lib/esm/node_modules/vscode-languageserver-textdocument/lib/esm/main.js.map +0 -1
- package/lib/esm/node_modules/vscode-languageserver-types/lib/esm/main.js +0 -1088
- package/lib/esm/node_modules/vscode-languageserver-types/lib/esm/main.js.map +0 -1
- package/lib/esm/node_modules/vscode-uri/lib/esm/index.js +0 -377
- package/lib/esm/node_modules/vscode-uri/lib/esm/index.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import e from "../../lodash-es/map.js";
|
|
2
|
-
//#region ../../node_modules/chevrotain-allstar/lib/dfa.js
|
|
3
|
-
var t = {}, n = class {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.map = {}, this.configs = [];
|
|
6
|
-
}
|
|
7
|
-
get size() {
|
|
8
|
-
return this.configs.length;
|
|
9
|
-
}
|
|
10
|
-
finalize() {
|
|
11
|
-
this.map = {};
|
|
12
|
-
}
|
|
13
|
-
add(e) {
|
|
14
|
-
let t = r(e);
|
|
15
|
-
t in this.map || (this.map[t] = this.configs.length, this.configs.push(e));
|
|
16
|
-
}
|
|
17
|
-
get elements() {
|
|
18
|
-
return this.configs;
|
|
19
|
-
}
|
|
20
|
-
get alts() {
|
|
21
|
-
return e(this.configs, (e) => e.alt);
|
|
22
|
-
}
|
|
23
|
-
get key() {
|
|
24
|
-
let e = "";
|
|
25
|
-
for (let t in this.map) e += t + ":";
|
|
26
|
-
return e;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
function r(e, t = !0) {
|
|
30
|
-
return `${t ? `a${e.alt}` : ""}s${e.state.stateNumber}:${e.stack.map((e) => e.stateNumber.toString()).join("_")}`;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { n as ATNConfigSet, t as DFA_ERROR, r as getATNConfigKey };
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=dfa.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dfa.js","names":[],"sources":["../../../../../../../node_modules/chevrotain-allstar/lib/dfa.js"],"sourcesContent":["/******************************************************************************\n * Copyright 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 map from \"lodash-es/map.js\";\nexport const DFA_ERROR = {};\nexport class ATNConfigSet {\n constructor() {\n this.map = {};\n this.configs = [];\n }\n get size() {\n return this.configs.length;\n }\n finalize() {\n // Empties the map to free up memory\n this.map = {};\n }\n add(config) {\n const key = getATNConfigKey(config);\n // Only add configs which don't exist in our map already\n // While this does not influence the actual algorithm, adding them anyway would massively increase memory consumption\n if (!(key in this.map)) {\n this.map[key] = this.configs.length;\n this.configs.push(config);\n }\n }\n get elements() {\n return this.configs;\n }\n get alts() {\n return map(this.configs, (e) => e.alt);\n }\n get key() {\n let value = \"\";\n for (const k in this.map) {\n value += k + \":\";\n }\n return value;\n }\n}\nexport function getATNConfigKey(config, alt = true) {\n return `${alt ? `a${config.alt}` : \"\"}s${config.state.stateNumber}:${config.stack.map((e) => e.stateNumber.toString()).join(\"_\")}`;\n}\n//# sourceMappingURL=dfa.js.map"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAa,IAAY,EAAE,EACd,IAAb,MAA0B;CACtB,cAAc;EAEV,AADA,KAAK,MAAM,EAAE,EACb,KAAK,UAAU,EAAE;;CAErB,IAAI,OAAO;EACP,OAAO,KAAK,QAAQ;;CAExB,WAAW;EAEP,KAAK,MAAM,EAAE;;CAEjB,IAAI,GAAQ;EACR,IAAM,IAAM,EAAgB,EAAO;EAGnC,AAAM,KAAO,KAAK,QACd,KAAK,IAAI,KAAO,KAAK,QAAQ,QAC7B,KAAK,QAAQ,KAAK,EAAO;;CAGjC,IAAI,WAAW;EACX,OAAO,KAAK;;CAEhB,IAAI,OAAO;EACP,OAAO,EAAI,KAAK,UAAU,MAAM,EAAE,IAAI;;CAE1C,IAAI,MAAM;EACN,IAAI,IAAQ;EACZ,KAAK,IAAM,KAAK,KAAK,KACjB,KAAS,IAAI;EAEjB,OAAO;;;AAGf,SAAgB,EAAgB,GAAQ,IAAM,IAAM;CAChD,OAAO,GAAG,IAAM,IAAI,EAAO,QAAQ,GAAG,GAAG,EAAO,MAAM,YAAY,GAAG,EAAO,MAAM,KAAK,MAAM,EAAE,YAAY,UAAU,CAAC,CAAC,KAAK,IAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./all-star-lookahead.js";
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { createGrammarConfig as e } from "./languages/grammar-config.js";
|
|
2
|
-
import { LangiumParserErrorMessageProvider as t } from "./parser/langium-parser.js";
|
|
3
|
-
import { createCompletionParser as n } from "./parser/completion-parser-builder.js";
|
|
4
|
-
import { createLangiumParser as r } from "./parser/langium-parser-builder.js";
|
|
5
|
-
import { DefaultTokenBuilder as i } from "./parser/token-builder.js";
|
|
6
|
-
import { DefaultValueConverter as a } from "./parser/value-converter.js";
|
|
7
|
-
import { DefaultLangiumDocumentFactory as o, DefaultLangiumDocuments as s } from "./workspace/documents.js";
|
|
8
|
-
import { DefaultLinker as c } from "./references/linker.js";
|
|
9
|
-
import { DefaultNameProvider as l } from "./references/name-provider.js";
|
|
10
|
-
import { DefaultReferences as u } from "./references/references.js";
|
|
11
|
-
import { DefaultScopeComputation as d } from "./references/scope-computation.js";
|
|
12
|
-
import { DefaultScopeProvider as f } from "./references/scope-provider.js";
|
|
13
|
-
import { DefaultJsonSerializer as p } from "./serializer/json-serializer.js";
|
|
14
|
-
import { DefaultServiceRegistry as m } from "./service-registry.js";
|
|
15
|
-
import { ValidationRegistry as h } from "./validation/validation-registry.js";
|
|
16
|
-
import { DefaultDocumentValidator as g } from "./validation/document-validator.js";
|
|
17
|
-
import { DefaultAstNodeDescriptionProvider as _, DefaultReferenceDescriptionProvider as v } from "./workspace/ast-descriptions.js";
|
|
18
|
-
import { DefaultAstNodeLocator as y } from "./workspace/ast-node-locator.js";
|
|
19
|
-
import { DefaultConfigurationProvider as b } from "./workspace/configuration.js";
|
|
20
|
-
import { DefaultDocumentBuilder as x } from "./workspace/document-builder.js";
|
|
21
|
-
import { DefaultIndexManager as S } from "./workspace/index-manager.js";
|
|
22
|
-
import { DefaultWorkspaceManager as C } from "./workspace/workspace-manager.js";
|
|
23
|
-
import { DefaultLexer as w, DefaultLexerErrorMessageProvider as T } from "./parser/lexer.js";
|
|
24
|
-
import { JSDocDocumentationProvider as E } from "./documentation/documentation-provider.js";
|
|
25
|
-
import { DefaultCommentProvider as D } from "./documentation/comment-provider.js";
|
|
26
|
-
import { DefaultAsyncParser as O } from "./parser/async-parser.js";
|
|
27
|
-
import { DefaultWorkspaceLock as k } from "./workspace/workspace-lock.js";
|
|
28
|
-
import { DefaultHydrator as A } from "./serializer/hydrator.js";
|
|
29
|
-
//#region ../../node_modules/langium/lib/default-module.js
|
|
30
|
-
function j(o) {
|
|
31
|
-
return {
|
|
32
|
-
documentation: {
|
|
33
|
-
CommentProvider: (e) => new D(e),
|
|
34
|
-
DocumentationProvider: (e) => new E(e)
|
|
35
|
-
},
|
|
36
|
-
parser: {
|
|
37
|
-
AsyncParser: (e) => new O(e),
|
|
38
|
-
GrammarConfig: (t) => e(t),
|
|
39
|
-
LangiumParser: (e) => r(e),
|
|
40
|
-
CompletionParser: (e) => n(e),
|
|
41
|
-
ValueConverter: () => new a(),
|
|
42
|
-
TokenBuilder: () => new i(),
|
|
43
|
-
Lexer: (e) => new w(e),
|
|
44
|
-
ParserErrorMessageProvider: () => new t(),
|
|
45
|
-
LexerErrorMessageProvider: () => new T()
|
|
46
|
-
},
|
|
47
|
-
workspace: {
|
|
48
|
-
AstNodeLocator: () => new y(),
|
|
49
|
-
AstNodeDescriptionProvider: (e) => new _(e),
|
|
50
|
-
ReferenceDescriptionProvider: (e) => new v(e)
|
|
51
|
-
},
|
|
52
|
-
references: {
|
|
53
|
-
Linker: (e) => new c(e),
|
|
54
|
-
NameProvider: () => new l(),
|
|
55
|
-
ScopeProvider: (e) => new f(e),
|
|
56
|
-
ScopeComputation: (e) => new d(e),
|
|
57
|
-
References: (e) => new u(e)
|
|
58
|
-
},
|
|
59
|
-
serializer: {
|
|
60
|
-
Hydrator: (e) => new A(e),
|
|
61
|
-
JsonSerializer: (e) => new p(e)
|
|
62
|
-
},
|
|
63
|
-
validation: {
|
|
64
|
-
DocumentValidator: (e) => new g(e),
|
|
65
|
-
ValidationRegistry: (e) => new h(e)
|
|
66
|
-
},
|
|
67
|
-
shared: () => o.shared
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function M(e) {
|
|
71
|
-
return {
|
|
72
|
-
ServiceRegistry: (e) => new m(e),
|
|
73
|
-
workspace: {
|
|
74
|
-
LangiumDocuments: (e) => new s(e),
|
|
75
|
-
LangiumDocumentFactory: (e) => new o(e),
|
|
76
|
-
DocumentBuilder: (e) => new x(e),
|
|
77
|
-
IndexManager: (e) => new S(e),
|
|
78
|
-
WorkspaceManager: (e) => new C(e),
|
|
79
|
-
FileSystemProvider: (t) => e.fileSystemProvider(t),
|
|
80
|
-
WorkspaceLock: () => new k(),
|
|
81
|
-
ConfigurationProvider: (e) => new b(e)
|
|
82
|
-
},
|
|
83
|
-
profilers: {}
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
//#endregion
|
|
87
|
-
export { j as createDefaultCoreModule, M as createDefaultSharedCoreModule };
|
|
88
|
-
|
|
89
|
-
//# sourceMappingURL=default-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-module.js","names":[],"sources":["../../../../../../../node_modules/langium/lib/default-module.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 { createGrammarConfig } from './languages/grammar-config.js';\nimport { createCompletionParser } from './parser/completion-parser-builder.js';\nimport { createLangiumParser } from './parser/langium-parser-builder.js';\nimport { DefaultTokenBuilder } from './parser/token-builder.js';\nimport { DefaultValueConverter } from './parser/value-converter.js';\nimport { DefaultLinker } from './references/linker.js';\nimport { DefaultNameProvider } from './references/name-provider.js';\nimport { DefaultReferences } from './references/references.js';\nimport { DefaultScopeComputation } from './references/scope-computation.js';\nimport { DefaultScopeProvider } from './references/scope-provider.js';\nimport { DefaultJsonSerializer } from './serializer/json-serializer.js';\nimport { DefaultServiceRegistry } from './service-registry.js';\nimport { DefaultDocumentValidator } from './validation/document-validator.js';\nimport { ValidationRegistry } from './validation/validation-registry.js';\nimport { DefaultAstNodeDescriptionProvider, DefaultReferenceDescriptionProvider } from './workspace/ast-descriptions.js';\nimport { DefaultAstNodeLocator } from './workspace/ast-node-locator.js';\nimport { DefaultConfigurationProvider } from './workspace/configuration.js';\nimport { DefaultDocumentBuilder } from './workspace/document-builder.js';\nimport { DefaultLangiumDocumentFactory, DefaultLangiumDocuments } from './workspace/documents.js';\nimport { DefaultIndexManager } from './workspace/index-manager.js';\nimport { DefaultWorkspaceManager } from './workspace/workspace-manager.js';\nimport { DefaultLexer, DefaultLexerErrorMessageProvider } from './parser/lexer.js';\nimport { JSDocDocumentationProvider } from './documentation/documentation-provider.js';\nimport { DefaultCommentProvider } from './documentation/comment-provider.js';\nimport { LangiumParserErrorMessageProvider } from './parser/langium-parser.js';\nimport { DefaultAsyncParser } from './parser/async-parser.js';\nimport { DefaultWorkspaceLock } from './workspace/workspace-lock.js';\nimport { DefaultHydrator } from './serializer/hydrator.js';\n/**\n * Creates a dependency injection module configuring the default core services.\n * This is a set of services that are dedicated to a specific language.\n */\nexport function createDefaultCoreModule(context) {\n return {\n documentation: {\n CommentProvider: (services) => new DefaultCommentProvider(services),\n DocumentationProvider: (services) => new JSDocDocumentationProvider(services)\n },\n parser: {\n AsyncParser: (services) => new DefaultAsyncParser(services),\n GrammarConfig: (services) => createGrammarConfig(services),\n LangiumParser: (services) => createLangiumParser(services),\n CompletionParser: (services) => createCompletionParser(services),\n ValueConverter: () => new DefaultValueConverter(),\n TokenBuilder: () => new DefaultTokenBuilder(),\n Lexer: (services) => new DefaultLexer(services),\n ParserErrorMessageProvider: () => new LangiumParserErrorMessageProvider(),\n LexerErrorMessageProvider: () => new DefaultLexerErrorMessageProvider()\n },\n workspace: {\n AstNodeLocator: () => new DefaultAstNodeLocator(),\n AstNodeDescriptionProvider: (services) => new DefaultAstNodeDescriptionProvider(services),\n ReferenceDescriptionProvider: (services) => new DefaultReferenceDescriptionProvider(services)\n },\n references: {\n Linker: (services) => new DefaultLinker(services),\n NameProvider: () => new DefaultNameProvider(),\n ScopeProvider: (services) => new DefaultScopeProvider(services),\n ScopeComputation: (services) => new DefaultScopeComputation(services),\n References: (services) => new DefaultReferences(services)\n },\n serializer: {\n Hydrator: (services) => new DefaultHydrator(services),\n JsonSerializer: (services) => new DefaultJsonSerializer(services)\n },\n validation: {\n DocumentValidator: (services) => new DefaultDocumentValidator(services),\n ValidationRegistry: (services) => new ValidationRegistry(services)\n },\n shared: () => context.shared\n };\n}\n/**\n * Creates a dependency injection module configuring the default shared core services.\n * This is the set of services that are shared between multiple languages.\n */\nexport function createDefaultSharedCoreModule(context) {\n return {\n ServiceRegistry: (services) => new DefaultServiceRegistry(services),\n workspace: {\n LangiumDocuments: (services) => new DefaultLangiumDocuments(services),\n LangiumDocumentFactory: (services) => new DefaultLangiumDocumentFactory(services),\n DocumentBuilder: (services) => new DefaultDocumentBuilder(services),\n IndexManager: (services) => new DefaultIndexManager(services),\n WorkspaceManager: (services) => new DefaultWorkspaceManager(services),\n FileSystemProvider: (services) => context.fileSystemProvider(services),\n WorkspaceLock: () => new DefaultWorkspaceLock(),\n ConfigurationProvider: (services) => new DefaultConfigurationProvider(services),\n },\n profilers: {}\n };\n}\n//# sourceMappingURL=default-module.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,SAAgB,EAAwB,GAAS;CAC7C,OAAO;EACH,eAAe;GACX,kBAAkB,MAAa,IAAI,EAAuB,EAAS;GACnE,wBAAwB,MAAa,IAAI,EAA2B,EAAS;GAChF;EACD,QAAQ;GACJ,cAAc,MAAa,IAAI,EAAmB,EAAS;GAC3D,gBAAgB,MAAa,EAAoB,EAAS;GAC1D,gBAAgB,MAAa,EAAoB,EAAS;GAC1D,mBAAmB,MAAa,EAAuB,EAAS;GAChE,sBAAsB,IAAI,GAAuB;GACjD,oBAAoB,IAAI,GAAqB;GAC7C,QAAQ,MAAa,IAAI,EAAa,EAAS;GAC/C,kCAAkC,IAAI,GAAmC;GACzE,iCAAiC,IAAI,GAAkC;GAC1E;EACD,WAAW;GACP,sBAAsB,IAAI,GAAuB;GACjD,6BAA6B,MAAa,IAAI,EAAkC,EAAS;GACzF,+BAA+B,MAAa,IAAI,EAAoC,EAAS;GAChG;EACD,YAAY;GACR,SAAS,MAAa,IAAI,EAAc,EAAS;GACjD,oBAAoB,IAAI,GAAqB;GAC7C,gBAAgB,MAAa,IAAI,EAAqB,EAAS;GAC/D,mBAAmB,MAAa,IAAI,EAAwB,EAAS;GACrE,aAAa,MAAa,IAAI,EAAkB,EAAS;GAC5D;EACD,YAAY;GACR,WAAW,MAAa,IAAI,EAAgB,EAAS;GACrD,iBAAiB,MAAa,IAAI,EAAsB,EAAS;GACpE;EACD,YAAY;GACR,oBAAoB,MAAa,IAAI,EAAyB,EAAS;GACvE,qBAAqB,MAAa,IAAI,EAAmB,EAAS;GACrE;EACD,cAAc,EAAQ;EACzB;;AAML,SAAgB,EAA8B,GAAS;CACnD,OAAO;EACH,kBAAkB,MAAa,IAAI,EAAuB,EAAS;EACnE,WAAW;GACP,mBAAmB,MAAa,IAAI,EAAwB,EAAS;GACrE,yBAAyB,MAAa,IAAI,EAA8B,EAAS;GACjF,kBAAkB,MAAa,IAAI,EAAuB,EAAS;GACnE,eAAe,MAAa,IAAI,EAAoB,EAAS;GAC7D,mBAAmB,MAAa,IAAI,EAAwB,EAAS;GACrE,qBAAqB,MAAa,EAAQ,mBAAmB,EAAS;GACtE,qBAAqB,IAAI,GAAsB;GAC/C,wBAAwB,MAAa,IAAI,EAA6B,EAAS;GAClF;EACD,WAAW,EAAE;EAChB"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/langium/lib/dependency-injection.js
|
|
2
|
-
var e;
|
|
3
|
-
(function(e) {
|
|
4
|
-
e.merge = (e, t) => o(o({}, e), t);
|
|
5
|
-
})(e ||= {});
|
|
6
|
-
function t(e, t, n, i, a, s, c, l, u) {
|
|
7
|
-
return r([
|
|
8
|
-
e,
|
|
9
|
-
t,
|
|
10
|
-
n,
|
|
11
|
-
i,
|
|
12
|
-
a,
|
|
13
|
-
s,
|
|
14
|
-
c,
|
|
15
|
-
l,
|
|
16
|
-
u
|
|
17
|
-
].reduce(o, {}));
|
|
18
|
-
}
|
|
19
|
-
var n = Symbol("isProxy");
|
|
20
|
-
function r(e, t) {
|
|
21
|
-
let r = new Proxy({}, {
|
|
22
|
-
deleteProperty: () => !1,
|
|
23
|
-
set: () => {
|
|
24
|
-
throw Error("Cannot set property on injected service container");
|
|
25
|
-
},
|
|
26
|
-
get: (i, o) => o === n ? !0 : a(i, o, e, t || r),
|
|
27
|
-
getOwnPropertyDescriptor: (n, i) => (a(n, i, e, t || r), Object.getOwnPropertyDescriptor(n, i)),
|
|
28
|
-
has: (t, n) => n in e,
|
|
29
|
-
ownKeys: () => [...Object.getOwnPropertyNames(e)]
|
|
30
|
-
});
|
|
31
|
-
return r;
|
|
32
|
-
}
|
|
33
|
-
var i = Symbol();
|
|
34
|
-
function a(e, t, n, a) {
|
|
35
|
-
if (t in e) {
|
|
36
|
-
if (e[t] instanceof Error) throw Error("Construction failure. Please make sure that your dependencies are constructable. Cause: " + e[t]);
|
|
37
|
-
if (e[t] === i) throw Error("Cycle detected. Please make \"" + String(t) + "\" lazy. Visit https://langium.org/docs/reference/configuration-services/#resolving-cyclic-dependencies");
|
|
38
|
-
return e[t];
|
|
39
|
-
} else if (t in n) {
|
|
40
|
-
let o = n[t];
|
|
41
|
-
e[t] = i;
|
|
42
|
-
try {
|
|
43
|
-
e[t] = typeof o == "function" ? o(a) : r(o, a);
|
|
44
|
-
} catch (n) {
|
|
45
|
-
throw e[t] = n instanceof Error ? n : void 0, n;
|
|
46
|
-
}
|
|
47
|
-
return e[t];
|
|
48
|
-
} else return;
|
|
49
|
-
}
|
|
50
|
-
function o(e, t) {
|
|
51
|
-
if (t) {
|
|
52
|
-
for (let [n, r] of Object.entries(t)) if (r != null) if (typeof r == "object") {
|
|
53
|
-
let t = e[n];
|
|
54
|
-
typeof t == "object" && t ? e[n] = o(t, r) : e[n] = o({}, r);
|
|
55
|
-
} else e[n] = r;
|
|
56
|
-
}
|
|
57
|
-
return e;
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
export { t as inject };
|
|
61
|
-
|
|
62
|
-
//# sourceMappingURL=dependency-injection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-injection.js","names":[],"sources":["../../../../../../../node_modules/langium/lib/dependency-injection.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 ******************************************************************************/\nexport var Module;\n(function (Module) {\n /**\n * Merges two dependency injection modules into a new (third) one that is returned.\n * At that `m1` and `m2` stay unchanged. Therefore, `m1` is deep-copied first,\n * and m2 is merged onto the copy afterwards.\n *\n * Note that the leaf values of `m1` and `m2`, i.e. the service constructor functions,\n * cannot be copied generically, since they are functions. They are shared by the source and merged modules.\n *\n * @returns the merged module being a deep copy of `m1` with `m2` merged onto it.\n */\n Module.merge = (m1, m2) => _merge(_merge({}, m1), m2);\n})(Module || (Module = {}));\n/**\n * Given a set of modules, the inject function returns a lazily evaluated injector\n * that injects dependencies into the requested service when it is requested the\n * first time. Subsequent requests will return the same service.\n *\n * In the case of cyclic dependencies, an Error will be thrown. This can be fixed\n * by injecting a provider `() => T` instead of a `T`.\n *\n * Please note that the arguments may be objects or arrays. However, the result will\n * be an object. Using it with for..of will have no effect.\n *\n * @param module1 first Module\n * @param module2 (optional) second Module\n * @param module3 (optional) third Module\n * @param module4 (optional) fourth Module\n * @param module5 (optional) fifth Module\n * @param module6 (optional) sixth Module\n * @param module7 (optional) seventh Module\n * @param module8 (optional) eighth Module\n * @param module9 (optional) ninth Module\n * @returns a new object of type I\n */\nexport function inject(module1, module2, module3, module4, module5, module6, module7, module8, module9) {\n const module = [module1, module2, module3, module4, module5, module6, module7, module8, module9].reduce(_merge, {});\n return _inject(module);\n}\nconst isProxy = Symbol('isProxy');\n/**\n * Eagerly load all services in the given dependency injection container. This is sometimes\n * necessary because services can register event listeners in their constructors.\n */\nexport function eagerLoad(item) {\n if (item && item[isProxy]) {\n for (const value of Object.values(item)) {\n eagerLoad(value);\n }\n }\n return item;\n}\n/**\n * Helper function that returns an injector by creating a proxy.\n * Invariant: injector is of type I. If injector is undefined, then T = I.\n */\nfunction _inject(module, injector) {\n const proxy = new Proxy({}, {\n deleteProperty: () => false,\n set: () => {\n throw new Error('Cannot set property on injected service container');\n },\n get: (obj, prop) => {\n if (prop === isProxy) {\n return true;\n }\n else {\n return _resolve(obj, prop, module, injector || proxy);\n }\n },\n getOwnPropertyDescriptor: (obj, prop) => (_resolve(obj, prop, module, injector || proxy), Object.getOwnPropertyDescriptor(obj, prop)), // used by for..in\n has: (_, prop) => prop in module, // used by ..in..\n ownKeys: () => [...Object.getOwnPropertyNames(module)] // used by for..in\n });\n return proxy;\n}\n/**\n * Internally used to tag a requested dependency, directly before calling the factory.\n * This allows us to find cycles during instance creation.\n */\nconst __requested__ = Symbol();\n/**\n * Returns the value `obj[prop]`. If the value does not exist, yet, it is resolved from\n * the module description. The result of service factories is cached. Groups are\n * recursively proxied.\n *\n * @param obj an object holding all group proxies and services\n * @param prop the key of a value within obj\n * @param module an object containing groups and service factories\n * @param injector the first level proxy that provides access to all values\n * @returns the requested value `obj[prop]`\n * @throws Error if a dependency cycle is detected\n */\nfunction _resolve(obj, prop, module, injector) {\n if (prop in obj) {\n if (obj[prop] instanceof Error) {\n throw new Error('Construction failure. Please make sure that your dependencies are constructable. Cause: ' + obj[prop]);\n }\n if (obj[prop] === __requested__) {\n throw new Error('Cycle detected. Please make \"' + String(prop) + '\" lazy. Visit https://langium.org/docs/reference/configuration-services/#resolving-cyclic-dependencies');\n }\n return obj[prop];\n }\n else if (prop in module) {\n const value = module[prop];\n obj[prop] = __requested__;\n try {\n obj[prop] = (typeof value === 'function') ? value(injector) : _inject(value, injector);\n }\n catch (error) {\n obj[prop] = error instanceof Error ? error : undefined;\n throw error;\n }\n return obj[prop];\n }\n else {\n return undefined;\n }\n}\n/**\n * Performs a deep-merge of two modules by writing source entries into the target module.\n *\n * @param target the module which is written\n * @param source the module which is read\n * @returns the target module\n */\nfunction _merge(target, source) {\n if (source) {\n for (const [key, sourceValue] of Object.entries(source)) {\n if (sourceValue !== undefined && sourceValue !== null) {\n if (typeof sourceValue === 'object') {\n const targetValue = target[key];\n if (typeof targetValue === 'object' && targetValue !== null) {\n // in case both values are real (non-null) objects merge them recursively\n target[key] = _merge(targetValue, sourceValue);\n }\n else {\n // in case 'target[key]' is not a non-null object\n // we overwrite any existing value with a deep copy of 'sourceValue'\n // by recursively calling this function with a new 'target' object to be populated\n // that is assigned to 'target[key]' afterwards\n target[key] = _merge({}, sourceValue);\n }\n }\n else {\n // in case 'sourceValue' is defined and assigned (non-null) but not an object\n // we assume it to be a service constructor function according to the Module<I> type definition\n target[key] = sourceValue;\n // note the following for such service constructor functions:\n // 'target[key]' will now reference the same function object being referenced by 'source[key]'.\n // This is accepted here, since function objects cannot be safely copied in general.\n }\n }\n }\n }\n return target;\n}\n//# sourceMappingURL=dependency-injection.js.map"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAW;CACV,SAAU,GAAQ;CAWf,EAAO,SAAS,GAAI,MAAO,EAAO,EAAO,EAAE,EAAE,EAAG,EAAE,EAAG;GACtD,AAAW,MAAS,EAAE,CAAE;AAuB3B,SAAgB,EAAO,GAAS,GAAS,GAAS,GAAS,GAAS,GAAS,GAAS,GAAS,GAAS;CAEpG,OAAO,EADQ;EAAC;EAAS;EAAS;EAAS;EAAS;EAAS;EAAS;EAAS;EAAS;EAAQ,CAAC,OAAO,GAAQ,EAAE,CAC7F,CAAC;;AAE1B,IAAM,IAAU,OAAO,UAAU;AAiBjC,SAAS,EAAQ,GAAQ,GAAU;CAC/B,IAAM,IAAQ,IAAI,MAAM,EAAE,EAAE;EACxB,sBAAsB;EACtB,WAAW;GACP,MAAU,MAAM,oDAAoD;;EAExE,MAAM,GAAK,MACH,MAAS,IACF,KAGA,EAAS,GAAK,GAAM,GAAQ,KAAY,EAAM;EAG7D,2BAA2B,GAAK,OAAU,EAAS,GAAK,GAAM,GAAQ,KAAY,EAAM,EAAE,OAAO,yBAAyB,GAAK,EAAK;EACpI,MAAM,GAAG,MAAS,KAAQ;EAC1B,eAAe,CAAC,GAAG,OAAO,oBAAoB,EAAO,CAAC;EACzD,CAAC;CACF,OAAO;;AAMX,IAAM,IAAgB,QAAQ;AAa9B,SAAS,EAAS,GAAK,GAAM,GAAQ,GAAU;CAC3C,IAAI,KAAQ,GAAK;EACb,IAAI,EAAI,cAAiB,OACrB,MAAU,MAAM,6FAA6F,EAAI,GAAM;EAE3H,IAAI,EAAI,OAAU,GACd,MAAU,MAAM,mCAAkC,OAAO,EAAK,GAAG,0GAAyG;EAE9K,OAAO,EAAI;QAEV,IAAI,KAAQ,GAAQ;EACrB,IAAM,IAAQ,EAAO;EACrB,EAAI,KAAQ;EACZ,IAAI;GACA,EAAI,KAAS,OAAO,KAAU,aAAc,EAAM,EAAS,GAAG,EAAQ,GAAO,EAAS;WAEnF,GAAO;GAEV,MADA,EAAI,KAAQ,aAAiB,QAAQ,IAAQ,KAAA,GACvC;;EAEV,OAAO,EAAI;QAGX;;AAUR,SAAS,EAAO,GAAQ,GAAQ;CAC5B,IAAI;OACK,IAAM,CAAC,GAAK,MAAgB,OAAO,QAAQ,EAAO,EACnD,IAAI,KAA6C,MAC7C,IAAI,OAAO,KAAgB,UAAU;GACjC,IAAM,IAAc,EAAO;GAC3B,AAAI,OAAO,KAAgB,YAAY,IAEnC,EAAO,KAAO,EAAO,GAAa,EAAY,GAO9C,EAAO,KAAO,EAAO,EAAE,EAAE,EAAY;SAMzC,EAAO,KAAO;;CAQ9B,OAAO"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { findCommentNode as e } from "../utils/cst-utils.js";
|
|
2
|
-
import { isAstNodeWithComment as t } from "../serializer/json-serializer.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/documentation/comment-provider.js
|
|
4
|
-
var n = class {
|
|
5
|
-
constructor(e) {
|
|
6
|
-
this.grammarConfig = () => e.parser.GrammarConfig;
|
|
7
|
-
}
|
|
8
|
-
getComment(n) {
|
|
9
|
-
return t(n) ? n.$comment : e(n.$cstNode, this.grammarConfig().multilineCommentRules)?.text;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as DefaultCommentProvider };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=comment-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comment-provider.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/documentation/comment-provider.js"],"sourcesContent":["/******************************************************************************\n * Copyright 2023 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 { isAstNodeWithComment } from '../serializer/json-serializer.js';\nimport { findCommentNode } from '../utils/cst-utils.js';\nexport class DefaultCommentProvider {\n constructor(services) {\n this.grammarConfig = () => services.parser.GrammarConfig;\n }\n getComment(node) {\n if (isAstNodeWithComment(node)) {\n return node.$comment;\n }\n return findCommentNode(node.$cstNode, this.grammarConfig().multilineCommentRules)?.text;\n }\n}\n//# sourceMappingURL=comment-provider.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAOA,IAAa,IAAb,MAAoC;CAChC,YAAY,GAAU;EAClB,KAAK,sBAAsB,EAAS,OAAO;;CAE/C,WAAW,GAAM;EAIb,OAHI,EAAqB,EAAK,GACnB,EAAK,WAET,EAAgB,EAAK,UAAU,KAAK,eAAe,CAAC,sBAAsB,EAAE"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { getDocument as e } from "../utils/ast-utils.js";
|
|
2
|
-
import { isJSDoc as t, parseJSDoc as n } from "./jsdoc.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/documentation/documentation-provider.js
|
|
4
|
-
var r = class {
|
|
5
|
-
constructor(e) {
|
|
6
|
-
this.indexManager = e.shared.workspace.IndexManager, this.commentProvider = e.documentation.CommentProvider;
|
|
7
|
-
}
|
|
8
|
-
getDocumentation(e) {
|
|
9
|
-
let r = this.commentProvider.getComment(e);
|
|
10
|
-
if (r && t(r)) return n(r).toMarkdown({
|
|
11
|
-
renderLink: (t, n) => this.documentationLinkRenderer(e, t, n),
|
|
12
|
-
renderTag: (t) => this.documentationTagRenderer(e, t)
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
documentationLinkRenderer(e, t, n) {
|
|
16
|
-
let r = this.findNameInLocalSymbols(e, t) ?? this.findNameInGlobalScope(e, t);
|
|
17
|
-
if (r && r.nameSegment) {
|
|
18
|
-
let e = r.nameSegment.range.start.line + 1, t = r.nameSegment.range.start.character + 1;
|
|
19
|
-
return `[${n}](${r.documentUri.with({ fragment: `L${e},${t}` }).toString()})`;
|
|
20
|
-
} else return;
|
|
21
|
-
}
|
|
22
|
-
documentationTagRenderer(e, t) {}
|
|
23
|
-
findNameInLocalSymbols(t, n) {
|
|
24
|
-
let r = e(t).localSymbols;
|
|
25
|
-
if (!r) return;
|
|
26
|
-
let i = t;
|
|
27
|
-
do {
|
|
28
|
-
let e = r.getStream(i).find((e) => e.name === n);
|
|
29
|
-
if (e) return e;
|
|
30
|
-
i = i.$container;
|
|
31
|
-
} while (i);
|
|
32
|
-
}
|
|
33
|
-
findNameInGlobalScope(e, t) {
|
|
34
|
-
return this.indexManager.allElements().find((e) => e.name === t);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
//#endregion
|
|
38
|
-
export { r as JSDocDocumentationProvider };
|
|
39
|
-
|
|
40
|
-
//# sourceMappingURL=documentation-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documentation-provider.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/documentation/documentation-provider.js"],"sourcesContent":["/******************************************************************************\n * Copyright 2023 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 { getDocument } from '../utils/ast-utils.js';\nimport { isJSDoc, parseJSDoc } from './jsdoc.js';\nexport class JSDocDocumentationProvider {\n constructor(services) {\n this.indexManager = services.shared.workspace.IndexManager;\n this.commentProvider = services.documentation.CommentProvider;\n }\n getDocumentation(node) {\n const comment = this.commentProvider.getComment(node);\n if (comment && isJSDoc(comment)) {\n const parsedJSDoc = parseJSDoc(comment);\n return parsedJSDoc.toMarkdown({\n renderLink: (link, display) => {\n return this.documentationLinkRenderer(node, link, display);\n },\n renderTag: (tag) => {\n return this.documentationTagRenderer(node, tag);\n }\n });\n }\n return undefined;\n }\n documentationLinkRenderer(node, name, display) {\n const description = this.findNameInLocalSymbols(node, name) ?? this.findNameInGlobalScope(node, name);\n if (description && description.nameSegment) {\n const line = description.nameSegment.range.start.line + 1;\n const character = description.nameSegment.range.start.character + 1;\n const uri = description.documentUri.with({ fragment: `L${line},${character}` });\n return `[${display}](${uri.toString()})`;\n }\n else {\n return undefined;\n }\n }\n documentationTagRenderer(_node, _tag) {\n // Fall back to the default tag rendering\n return undefined;\n }\n findNameInLocalSymbols(node, name) {\n const document = getDocument(node);\n const precomputed = document.localSymbols;\n if (!precomputed) {\n return undefined;\n }\n let currentNode = node;\n do {\n const allDescriptions = precomputed.getStream(currentNode);\n const description = allDescriptions.find(e => e.name === name);\n if (description) {\n return description;\n }\n currentNode = currentNode.$container;\n } while (currentNode);\n return undefined;\n }\n findNameInGlobalScope(node, name) {\n const description = this.indexManager.allElements().find(e => e.name === name);\n return description;\n }\n}\n//# sourceMappingURL=documentation-provider.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAOA,IAAa,IAAb,MAAwC;CACpC,YAAY,GAAU;EAElB,AADA,KAAK,eAAe,EAAS,OAAO,UAAU,cAC9C,KAAK,kBAAkB,EAAS,cAAc;;CAElD,iBAAiB,GAAM;EACnB,IAAM,IAAU,KAAK,gBAAgB,WAAW,EAAK;EACrD,IAAI,KAAW,EAAQ,EAAQ,EAE3B,OADoB,EAAW,EACb,CAAC,WAAW;GAC1B,aAAa,GAAM,MACR,KAAK,0BAA0B,GAAM,GAAM,EAAQ;GAE9D,YAAY,MACD,KAAK,yBAAyB,GAAM,EAAI;GAEtD,CAAC;;CAIV,0BAA0B,GAAM,GAAM,GAAS;EAC3C,IAAM,IAAc,KAAK,uBAAuB,GAAM,EAAK,IAAI,KAAK,sBAAsB,GAAM,EAAK;EACrG,IAAI,KAAe,EAAY,aAAa;GACxC,IAAM,IAAO,EAAY,YAAY,MAAM,MAAM,OAAO,GAClD,IAAY,EAAY,YAAY,MAAM,MAAM,YAAY;GAElE,OAAO,IAAI,EAAQ,IADP,EAAY,YAAY,KAAK,EAAE,UAAU,IAAI,EAAK,GAAG,KAAa,CACpD,CAAC,UAAU,CAAC;SAGtC;;CAGR,yBAAyB,GAAO,GAAM;CAItC,uBAAuB,GAAM,GAAM;EAE/B,IAAM,IADW,EAAY,EACD,CAAC;EAC7B,IAAI,CAAC,GACD;EAEJ,IAAI,IAAc;EAClB,GAAG;GAEC,IAAM,IADkB,EAAY,UAAU,EACX,CAAC,MAAK,MAAK,EAAE,SAAS,EAAK;GAC9D,IAAI,GACA,OAAO;GAEX,IAAc,EAAY;WACrB;;CAGb,sBAAsB,GAAM,GAAM;EAE9B,OADoB,KAAK,aAAa,aAAa,CAAC,MAAK,MAAK,EAAE,SAAS,EACvD"}
|
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
import { NEWLINE_REGEXP as e, escapeRegExp as t } from "../utils/regexp-utils.js";
|
|
2
|
-
import { Position as n, Range as r, init_main as i } from "../../../vscode-languageserver-types/lib/esm/main.js";
|
|
3
|
-
import { URI as a } from "../../../vscode-uri/lib/esm/index.js";
|
|
4
|
-
//#region ../../node_modules/langium/lib/documentation/jsdoc.js
|
|
5
|
-
i();
|
|
6
|
-
function o(e, t, r) {
|
|
7
|
-
let i, a;
|
|
8
|
-
typeof e == "string" ? (a = t, i = r) : (a = e.range.start, i = t), a ||= n.create(0, 0);
|
|
9
|
-
let o = c(e), s = w(i);
|
|
10
|
-
return _({
|
|
11
|
-
index: 0,
|
|
12
|
-
tokens: d({
|
|
13
|
-
lines: o,
|
|
14
|
-
position: a,
|
|
15
|
-
options: s
|
|
16
|
-
}),
|
|
17
|
-
position: a
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function s(e, t) {
|
|
21
|
-
let n = w(t), r = c(e);
|
|
22
|
-
if (r.length === 0) return !1;
|
|
23
|
-
let i = r[0], a = r[r.length - 1], o = n.start, s = n.end;
|
|
24
|
-
return !!o?.exec(i) && !!s?.exec(a);
|
|
25
|
-
}
|
|
26
|
-
function c(t) {
|
|
27
|
-
let n = "";
|
|
28
|
-
return n = typeof t == "string" ? t : t.text, n.split(e);
|
|
29
|
-
}
|
|
30
|
-
var l = /\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy, u = /\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;
|
|
31
|
-
function d(e) {
|
|
32
|
-
let t = [], i = e.position.line, a = e.position.character;
|
|
33
|
-
for (let o = 0; o < e.lines.length; o++) {
|
|
34
|
-
let s = o === 0, c = o === e.lines.length - 1, d = e.lines[o], p = 0;
|
|
35
|
-
if (s && e.options.start) {
|
|
36
|
-
let t = e.options.start?.exec(d);
|
|
37
|
-
t && (p = t.index + t[0].length);
|
|
38
|
-
} else {
|
|
39
|
-
let t = e.options.line?.exec(d);
|
|
40
|
-
t && (p = t.index + t[0].length);
|
|
41
|
-
}
|
|
42
|
-
if (c) {
|
|
43
|
-
let t = e.options.end?.exec(d);
|
|
44
|
-
t && (d = d.substring(0, t.index));
|
|
45
|
-
}
|
|
46
|
-
if (d = d.substring(0, g(d)), h(d, p) >= d.length) {
|
|
47
|
-
if (t.length > 0) {
|
|
48
|
-
let e = n.create(i, a);
|
|
49
|
-
t.push({
|
|
50
|
-
type: "break",
|
|
51
|
-
content: "",
|
|
52
|
-
range: r.create(e, e)
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
} else {
|
|
56
|
-
l.lastIndex = p;
|
|
57
|
-
let e = l.exec(d);
|
|
58
|
-
if (e) {
|
|
59
|
-
let o = e[0], s = e[1], c = n.create(i, a + p), l = n.create(i, a + p + o.length);
|
|
60
|
-
t.push({
|
|
61
|
-
type: "tag",
|
|
62
|
-
content: s,
|
|
63
|
-
range: r.create(c, l)
|
|
64
|
-
}), p += o.length, p = h(d, p);
|
|
65
|
-
}
|
|
66
|
-
if (p < d.length) {
|
|
67
|
-
let e = d.substring(p), n = Array.from(e.matchAll(u));
|
|
68
|
-
t.push(...f(n, e, i, a + p));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
i++, a = 0;
|
|
72
|
-
}
|
|
73
|
-
return t.length > 0 && t[t.length - 1].type === "break" ? t.slice(0, -1) : t;
|
|
74
|
-
}
|
|
75
|
-
function f(e, t, i, a) {
|
|
76
|
-
let o = [];
|
|
77
|
-
if (e.length === 0) {
|
|
78
|
-
let e = n.create(i, a), s = n.create(i, a + t.length);
|
|
79
|
-
o.push({
|
|
80
|
-
type: "text",
|
|
81
|
-
content: t,
|
|
82
|
-
range: r.create(e, s)
|
|
83
|
-
});
|
|
84
|
-
} else {
|
|
85
|
-
let s = 0;
|
|
86
|
-
for (let c of e) {
|
|
87
|
-
let e = c.index, l = t.substring(s, e);
|
|
88
|
-
l.length > 0 && o.push({
|
|
89
|
-
type: "text",
|
|
90
|
-
content: t.substring(s, e),
|
|
91
|
-
range: r.create(n.create(i, s + a), n.create(i, e + a))
|
|
92
|
-
});
|
|
93
|
-
let u = l.length + 1, d = c[1];
|
|
94
|
-
if (o.push({
|
|
95
|
-
type: "inline-tag",
|
|
96
|
-
content: d,
|
|
97
|
-
range: r.create(n.create(i, s + u + a), n.create(i, s + u + d.length + a))
|
|
98
|
-
}), u += d.length, c.length === 4) {
|
|
99
|
-
u += c[2].length;
|
|
100
|
-
let e = c[3];
|
|
101
|
-
o.push({
|
|
102
|
-
type: "text",
|
|
103
|
-
content: e,
|
|
104
|
-
range: r.create(n.create(i, s + u + a), n.create(i, s + u + e.length + a))
|
|
105
|
-
});
|
|
106
|
-
} else o.push({
|
|
107
|
-
type: "text",
|
|
108
|
-
content: "",
|
|
109
|
-
range: r.create(n.create(i, s + u + a), n.create(i, s + u + a))
|
|
110
|
-
});
|
|
111
|
-
s = e + c[0].length;
|
|
112
|
-
}
|
|
113
|
-
let c = t.substring(s);
|
|
114
|
-
c.length > 0 && o.push({
|
|
115
|
-
type: "text",
|
|
116
|
-
content: c,
|
|
117
|
-
range: r.create(n.create(i, s + a), n.create(i, s + a + c.length))
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
return o;
|
|
121
|
-
}
|
|
122
|
-
var p = /\S/, m = /\s*$/;
|
|
123
|
-
function h(e, t) {
|
|
124
|
-
let n = e.substring(t).match(p);
|
|
125
|
-
return n ? t + n.index : e.length;
|
|
126
|
-
}
|
|
127
|
-
function g(e) {
|
|
128
|
-
let t = e.match(m);
|
|
129
|
-
if (t && typeof t.index == "number") return t.index;
|
|
130
|
-
}
|
|
131
|
-
function _(e) {
|
|
132
|
-
let t = n.create(e.position.line, e.position.character);
|
|
133
|
-
if (e.tokens.length === 0) return new E([], r.create(t, t));
|
|
134
|
-
let i = [];
|
|
135
|
-
for (; e.index < e.tokens.length;) {
|
|
136
|
-
let t = v(e, i[i.length - 1]);
|
|
137
|
-
t && i.push(t);
|
|
138
|
-
}
|
|
139
|
-
let a = i[0]?.range.start ?? t, o = i[i.length - 1]?.range.end ?? t;
|
|
140
|
-
return new E(i, r.create(a, o));
|
|
141
|
-
}
|
|
142
|
-
function v(e, t) {
|
|
143
|
-
let n = e.tokens[e.index];
|
|
144
|
-
if (n.type === "tag") return S(e, !1);
|
|
145
|
-
if (n.type === "text" || n.type === "inline-tag") return b(e);
|
|
146
|
-
y(n, t), e.index++;
|
|
147
|
-
}
|
|
148
|
-
function y(e, t) {
|
|
149
|
-
if (t) {
|
|
150
|
-
let n = new j("", e.range);
|
|
151
|
-
"inlines" in t ? t.inlines.push(n) : t.content.inlines.push(n);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
function b(e) {
|
|
155
|
-
let t = e.tokens[e.index], n = t, i = t, a = [];
|
|
156
|
-
for (; t && t.type !== "break" && t.type !== "tag";) a.push(x(e)), i = t, t = e.tokens[e.index];
|
|
157
|
-
return new A(a, r.create(n.range.start, i.range.end));
|
|
158
|
-
}
|
|
159
|
-
function x(e) {
|
|
160
|
-
return e.tokens[e.index].type === "inline-tag" ? S(e, !0) : C(e);
|
|
161
|
-
}
|
|
162
|
-
function S(e, t) {
|
|
163
|
-
let n = e.tokens[e.index++], i = n.content.substring(1);
|
|
164
|
-
if (e.tokens[e.index]?.type === "text") if (t) {
|
|
165
|
-
let a = C(e);
|
|
166
|
-
return new D(i, new A([a], a.range), t, r.create(n.range.start, a.range.end));
|
|
167
|
-
} else {
|
|
168
|
-
let a = b(e);
|
|
169
|
-
return new D(i, a, t, r.create(n.range.start, a.range.end));
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
let e = n.range;
|
|
173
|
-
return new D(i, new A([], e), t, e);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
function C(e) {
|
|
177
|
-
let t = e.tokens[e.index++];
|
|
178
|
-
return new j(t.content, t.range);
|
|
179
|
-
}
|
|
180
|
-
function w(e) {
|
|
181
|
-
if (!e) return w({
|
|
182
|
-
start: "/**",
|
|
183
|
-
end: "*/",
|
|
184
|
-
line: "*"
|
|
185
|
-
});
|
|
186
|
-
let { start: t, end: n, line: r } = e;
|
|
187
|
-
return {
|
|
188
|
-
start: T(t, !0),
|
|
189
|
-
end: T(n, !1),
|
|
190
|
-
line: T(r, !0)
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
function T(e, n) {
|
|
194
|
-
if (typeof e == "string" || typeof e == "object") {
|
|
195
|
-
let r = typeof e == "string" ? t(e) : e.source;
|
|
196
|
-
return RegExp(n ? `^\\s*${r}` : `\\s*${r}\\s*$`);
|
|
197
|
-
} else return e;
|
|
198
|
-
}
|
|
199
|
-
var E = class {
|
|
200
|
-
constructor(e, t) {
|
|
201
|
-
this.elements = e, this.range = t;
|
|
202
|
-
}
|
|
203
|
-
getTag(e) {
|
|
204
|
-
return this.getAllTags().find((t) => t.name === e);
|
|
205
|
-
}
|
|
206
|
-
getTags(e) {
|
|
207
|
-
return this.getAllTags().filter((t) => t.name === e);
|
|
208
|
-
}
|
|
209
|
-
getAllTags() {
|
|
210
|
-
return this.elements.filter((e) => "name" in e);
|
|
211
|
-
}
|
|
212
|
-
toString() {
|
|
213
|
-
let e = "";
|
|
214
|
-
for (let t of this.elements) if (e.length === 0) e = t.toString();
|
|
215
|
-
else {
|
|
216
|
-
let n = t.toString();
|
|
217
|
-
e += M(e) + n;
|
|
218
|
-
}
|
|
219
|
-
return e.trim();
|
|
220
|
-
}
|
|
221
|
-
toMarkdown(e) {
|
|
222
|
-
let t = "";
|
|
223
|
-
for (let n of this.elements) if (t.length === 0) t = n.toMarkdown(e);
|
|
224
|
-
else {
|
|
225
|
-
let r = n.toMarkdown(e);
|
|
226
|
-
t += M(t) + r;
|
|
227
|
-
}
|
|
228
|
-
return t.trim();
|
|
229
|
-
}
|
|
230
|
-
}, D = class {
|
|
231
|
-
constructor(e, t, n, r) {
|
|
232
|
-
this.name = e, this.content = t, this.inline = n, this.range = r;
|
|
233
|
-
}
|
|
234
|
-
toString() {
|
|
235
|
-
let e = `@${this.name}`, t = this.content.toString();
|
|
236
|
-
return this.content.inlines.length === 1 ? e = `${e} ${t}` : this.content.inlines.length > 1 && (e = `${e}\n${t}`), this.inline ? `{${e}}` : e;
|
|
237
|
-
}
|
|
238
|
-
toMarkdown(e) {
|
|
239
|
-
return e?.renderTag?.(this) ?? this.toMarkdownDefault(e);
|
|
240
|
-
}
|
|
241
|
-
toMarkdownDefault(e) {
|
|
242
|
-
let t = this.content.toMarkdown(e);
|
|
243
|
-
if (this.inline) {
|
|
244
|
-
let n = O(this.name, t, e ?? {});
|
|
245
|
-
if (typeof n == "string") return n;
|
|
246
|
-
}
|
|
247
|
-
let n = "";
|
|
248
|
-
e?.tag === "italic" || e?.tag === void 0 ? n = "*" : e?.tag === "bold" ? n = "**" : e?.tag === "bold-italic" && (n = "***");
|
|
249
|
-
let r = `${n}@${this.name}${n}`;
|
|
250
|
-
return this.content.inlines.length === 1 ? r = `${r} — ${t}` : this.content.inlines.length > 1 && (r = `${r}\n${t}`), this.inline ? `{${r}}` : r;
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
function O(e, t, n) {
|
|
254
|
-
if (e === "linkplain" || e === "linkcode" || e === "link") {
|
|
255
|
-
let r = t.indexOf(" "), i = t;
|
|
256
|
-
if (r > 0) {
|
|
257
|
-
let e = h(t, r);
|
|
258
|
-
i = t.substring(e), t = t.substring(0, r);
|
|
259
|
-
}
|
|
260
|
-
return (e === "linkcode" || e === "link" && n.link === "code") && (i = `\`${i}\``), n.renderLink?.(t, i) ?? k(t, i);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
function k(e, t) {
|
|
264
|
-
try {
|
|
265
|
-
return a.parse(e, !0), `[${t}](${e})`;
|
|
266
|
-
} catch {
|
|
267
|
-
return e;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
var A = class {
|
|
271
|
-
constructor(e, t) {
|
|
272
|
-
this.inlines = e, this.range = t;
|
|
273
|
-
}
|
|
274
|
-
toString() {
|
|
275
|
-
let e = "";
|
|
276
|
-
for (let t = 0; t < this.inlines.length; t++) {
|
|
277
|
-
let n = this.inlines[t], r = this.inlines[t + 1];
|
|
278
|
-
e += n.toString(), r && r.range.start.line > n.range.start.line && (e += "\n");
|
|
279
|
-
}
|
|
280
|
-
return e;
|
|
281
|
-
}
|
|
282
|
-
toMarkdown(e) {
|
|
283
|
-
let t = "";
|
|
284
|
-
for (let n = 0; n < this.inlines.length; n++) {
|
|
285
|
-
let r = this.inlines[n], i = this.inlines[n + 1];
|
|
286
|
-
t += r.toMarkdown(e), i && i.range.start.line > r.range.start.line && (t += "\n");
|
|
287
|
-
}
|
|
288
|
-
return t;
|
|
289
|
-
}
|
|
290
|
-
}, j = class {
|
|
291
|
-
constructor(e, t) {
|
|
292
|
-
this.text = e, this.range = t;
|
|
293
|
-
}
|
|
294
|
-
toString() {
|
|
295
|
-
return this.text;
|
|
296
|
-
}
|
|
297
|
-
toMarkdown() {
|
|
298
|
-
return this.text;
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
function M(e) {
|
|
302
|
-
return e.endsWith("\n") ? "\n" : "\n\n";
|
|
303
|
-
}
|
|
304
|
-
//#endregion
|
|
305
|
-
export { s as isJSDoc, o as parseJSDoc };
|
|
306
|
-
|
|
307
|
-
//# sourceMappingURL=jsdoc.js.map
|