@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,53 +0,0 @@
|
|
|
1
|
-
import { stream as e } from "../utils/stream.js";
|
|
2
|
-
import { getDocument as t } from "../utils/ast-utils.js";
|
|
3
|
-
import { cancellation_exports as n } from "../utils/cancellation.js";
|
|
4
|
-
import { UriUtils as r } from "../utils/uri-utils.js";
|
|
5
|
-
import { ContextCache as i } from "../utils/caching.js";
|
|
6
|
-
//#region ../../node_modules/langium/lib/workspace/index-manager.js
|
|
7
|
-
var a = class {
|
|
8
|
-
constructor(e) {
|
|
9
|
-
this.symbolIndex = /* @__PURE__ */ new Map(), this.symbolByTypeIndex = new i(), this.referenceIndex = /* @__PURE__ */ new Map(), this.documents = e.workspace.LangiumDocuments, this.serviceRegistry = e.ServiceRegistry, this.astReflection = e.AstReflection;
|
|
10
|
-
}
|
|
11
|
-
findAllReferences(n, i) {
|
|
12
|
-
let a = t(n).uri, o = [];
|
|
13
|
-
return this.referenceIndex.forEach((e) => {
|
|
14
|
-
e.forEach((e) => {
|
|
15
|
-
r.equals(e.targetUri, a) && e.targetPath === i && o.push(e);
|
|
16
|
-
});
|
|
17
|
-
}), e(o);
|
|
18
|
-
}
|
|
19
|
-
allElements(t, n) {
|
|
20
|
-
let r = e(this.symbolIndex.keys());
|
|
21
|
-
return n && (r = r.filter((e) => !n || n.has(e))), r.map((e) => this.getFileDescriptions(e, t)).flat();
|
|
22
|
-
}
|
|
23
|
-
getFileDescriptions(e, t) {
|
|
24
|
-
return t ? this.symbolByTypeIndex.get(e, t, () => (this.symbolIndex.get(e) ?? []).filter((e) => this.astReflection.isSubtype(e.type, t))) : this.symbolIndex.get(e) ?? [];
|
|
25
|
-
}
|
|
26
|
-
remove(e) {
|
|
27
|
-
this.removeContent(e), this.removeReferences(e);
|
|
28
|
-
}
|
|
29
|
-
removeContent(e) {
|
|
30
|
-
let t = e.toString();
|
|
31
|
-
this.symbolIndex.delete(t), this.symbolByTypeIndex.clear(t);
|
|
32
|
-
}
|
|
33
|
-
removeReferences(e) {
|
|
34
|
-
let t = e.toString();
|
|
35
|
-
this.referenceIndex.delete(t);
|
|
36
|
-
}
|
|
37
|
-
async updateContent(e, t = n.CancellationToken.None) {
|
|
38
|
-
let r = await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.collectExportedSymbols(e, t), i = e.uri.toString();
|
|
39
|
-
this.symbolIndex.set(i, r), this.symbolByTypeIndex.clear(i);
|
|
40
|
-
}
|
|
41
|
-
async updateReferences(e, t = n.CancellationToken.None) {
|
|
42
|
-
let r = await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e, t);
|
|
43
|
-
this.referenceIndex.set(e.uri.toString(), r);
|
|
44
|
-
}
|
|
45
|
-
isAffected(e, t) {
|
|
46
|
-
let n = this.referenceIndex.get(e.uri.toString());
|
|
47
|
-
return n ? n.some((e) => !e.local && t.has(e.targetUri.toString())) : !1;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
export { a as DefaultIndexManager };
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=index-manager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-manager.js","names":["CancellationToken"],"sources":["../../../../../../../../node_modules/langium/lib/workspace/index-manager.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 { getDocument } from '../utils/ast-utils.js';\nimport { ContextCache } from '../utils/caching.js';\nimport { CancellationToken } from '../utils/cancellation.js';\nimport { stream } from '../utils/stream.js';\nimport { UriUtils } from '../utils/uri-utils.js';\nexport class DefaultIndexManager {\n constructor(services) {\n /**\n * The symbol index stores all `AstNodeDescription` items exported by a document.\n * The key used in this map is the string representation of the specific document URI.\n */\n this.symbolIndex = new Map();\n /**\n * This is a cache for the `allElements()` method.\n * It caches the descriptions from `symbolIndex` grouped by types.\n */\n this.symbolByTypeIndex = new ContextCache();\n /**\n * This index keeps track of all `ReferenceDescription` items exported by a document.\n * This is used to compute which elements are affected by a document change\n * and for finding references to an AST node.\n */\n this.referenceIndex = new Map();\n this.documents = services.workspace.LangiumDocuments;\n this.serviceRegistry = services.ServiceRegistry;\n this.astReflection = services.AstReflection;\n }\n findAllReferences(targetNode, astNodePath) {\n const targetDocUri = getDocument(targetNode).uri;\n const result = [];\n this.referenceIndex.forEach(docRefs => {\n docRefs.forEach(refDescr => {\n if (UriUtils.equals(refDescr.targetUri, targetDocUri) && refDescr.targetPath === astNodePath) {\n result.push(refDescr);\n }\n });\n });\n return stream(result);\n }\n allElements(nodeType, uris) {\n let documentUris = stream(this.symbolIndex.keys());\n if (uris) {\n documentUris = documentUris.filter(uri => !uris || uris.has(uri));\n }\n return documentUris\n .map(uri => this.getFileDescriptions(uri, nodeType))\n .flat();\n }\n getFileDescriptions(uri, nodeType) {\n if (!nodeType) {\n return this.symbolIndex.get(uri) ?? [];\n }\n const descriptions = this.symbolByTypeIndex.get(uri, nodeType, () => {\n const allFileDescriptions = this.symbolIndex.get(uri) ?? [];\n return allFileDescriptions.filter(e => this.astReflection.isSubtype(e.type, nodeType));\n });\n return descriptions;\n }\n remove(uri) {\n this.removeContent(uri);\n this.removeReferences(uri);\n }\n removeContent(uri) {\n const uriString = uri.toString();\n this.symbolIndex.delete(uriString);\n this.symbolByTypeIndex.clear(uriString);\n }\n removeReferences(uri) {\n const uriString = uri.toString();\n this.referenceIndex.delete(uriString);\n }\n async updateContent(document, cancelToken = CancellationToken.None) {\n const services = this.serviceRegistry.getServices(document.uri);\n const exports = await services.references.ScopeComputation.collectExportedSymbols(document, cancelToken);\n const uri = document.uri.toString();\n this.symbolIndex.set(uri, exports);\n this.symbolByTypeIndex.clear(uri);\n }\n async updateReferences(document, cancelToken = CancellationToken.None) {\n const services = this.serviceRegistry.getServices(document.uri);\n const indexData = await services.workspace.ReferenceDescriptionProvider.createDescriptions(document, cancelToken);\n this.referenceIndex.set(document.uri.toString(), indexData);\n }\n isAffected(document, changedUris) {\n const references = this.referenceIndex.get(document.uri.toString());\n if (!references) {\n return false;\n }\n return references.some(ref => !ref.local && changedUris.has(ref.targetUri.toString()));\n }\n}\n//# sourceMappingURL=index-manager.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AAUA,IAAa,IAAb,MAAiC;CAC7B,YAAY,GAAU;EAmBlB,AAdA,KAAK,8BAAc,IAAI,KAAK,EAK5B,KAAK,oBAAoB,IAAI,GAAc,EAM3C,KAAK,iCAAiB,IAAI,KAAK,EAC/B,KAAK,YAAY,EAAS,UAAU,kBACpC,KAAK,kBAAkB,EAAS,iBAChC,KAAK,gBAAgB,EAAS;;CAElC,kBAAkB,GAAY,GAAa;EACvC,IAAM,IAAe,EAAY,EAAW,CAAC,KACvC,IAAS,EAAE;EAQjB,OAPA,KAAK,eAAe,SAAQ,MAAW;GACnC,EAAQ,SAAQ,MAAY;IACxB,AAAI,EAAS,OAAO,EAAS,WAAW,EAAa,IAAI,EAAS,eAAe,KAC7E,EAAO,KAAK,EAAS;KAE3B;IACJ,EACK,EAAO,EAAO;;CAEzB,YAAY,GAAU,GAAM;EACxB,IAAI,IAAe,EAAO,KAAK,YAAY,MAAM,CAAC;EAIlD,OAHI,MACA,IAAe,EAAa,QAAO,MAAO,CAAC,KAAQ,EAAK,IAAI,EAAI,CAAC,GAE9D,EACF,KAAI,MAAO,KAAK,oBAAoB,GAAK,EAAS,CAAC,CACnD,MAAM;;CAEf,oBAAoB,GAAK,GAAU;EAQ/B,OAPK,IAGgB,KAAK,kBAAkB,IAAI,GAAK,UACrB,KAAK,YAAY,IAAI,EAAI,IAAI,EAAE,EAChC,QAAO,MAAK,KAAK,cAAc,UAAU,EAAE,MAAM,EAAS,CAAC,CAEvE,GANR,KAAK,YAAY,IAAI,EAAI,IAAI,EAAE;;CAQ9C,OAAO,GAAK;EAER,AADA,KAAK,cAAc,EAAI,EACvB,KAAK,iBAAiB,EAAI;;CAE9B,cAAc,GAAK;EACf,IAAM,IAAY,EAAI,UAAU;EAEhC,AADA,KAAK,YAAY,OAAO,EAAU,EAClC,KAAK,kBAAkB,MAAM,EAAU;;CAE3C,iBAAiB,GAAK;EAClB,IAAM,IAAY,EAAI,UAAU;EAChC,KAAK,eAAe,OAAO,EAAU;;CAEzC,MAAM,cAAc,GAAU,IAAcA,EAAAA,kBAAkB,MAAM;EAEhE,IAAM,IAAU,MADC,KAAK,gBAAgB,YAAY,EAAS,IAC7B,CAAC,WAAW,iBAAiB,uBAAuB,GAAU,EAAY,EAClG,IAAM,EAAS,IAAI,UAAU;EAEnC,AADA,KAAK,YAAY,IAAI,GAAK,EAAQ,EAClC,KAAK,kBAAkB,MAAM,EAAI;;CAErC,MAAM,iBAAiB,GAAU,IAAcA,EAAAA,kBAAkB,MAAM;EAEnE,IAAM,IAAY,MADD,KAAK,gBAAgB,YAAY,EAAS,IAC3B,CAAC,UAAU,6BAA6B,mBAAmB,GAAU,EAAY;EACjH,KAAK,eAAe,IAAI,EAAS,IAAI,UAAU,EAAE,EAAU;;CAE/D,WAAW,GAAU,GAAa;EAC9B,IAAM,IAAa,KAAK,eAAe,IAAI,EAAS,IAAI,UAAU,CAAC;EAInE,OAHK,IAGE,EAAW,MAAK,MAAO,CAAC,EAAI,SAAS,EAAY,IAAI,EAAI,UAAU,UAAU,CAAC,CAAC,GAF3E"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { cancellation_exports as e } from "../utils/cancellation.js";
|
|
2
|
-
import { Deferred as t, isOperationCancelled as n, startCancelableOperation as r } from "../utils/promise-utils.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/workspace/workspace-lock.js
|
|
4
|
-
var i = class {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.previousTokenSource = new e.CancellationTokenSource(), this.writeQueue = [], this.readQueue = [], this.done = !0;
|
|
7
|
-
}
|
|
8
|
-
write(e) {
|
|
9
|
-
this.cancelWrite();
|
|
10
|
-
let t = r();
|
|
11
|
-
return this.previousTokenSource = t, this.enqueue(this.writeQueue, e, t.token);
|
|
12
|
-
}
|
|
13
|
-
read(e) {
|
|
14
|
-
return this.enqueue(this.readQueue, e);
|
|
15
|
-
}
|
|
16
|
-
enqueue(n, r, i = e.CancellationToken.None) {
|
|
17
|
-
let a = new t(), o = {
|
|
18
|
-
action: r,
|
|
19
|
-
deferred: a,
|
|
20
|
-
cancellationToken: i
|
|
21
|
-
};
|
|
22
|
-
return n.push(o), this.performNextOperation(), a.promise;
|
|
23
|
-
}
|
|
24
|
-
async performNextOperation() {
|
|
25
|
-
if (!this.done) return;
|
|
26
|
-
let e = [];
|
|
27
|
-
if (this.writeQueue.length > 0) e.push(this.writeQueue.shift());
|
|
28
|
-
else if (this.readQueue.length > 0) e.push(...this.readQueue.splice(0, this.readQueue.length));
|
|
29
|
-
else return;
|
|
30
|
-
this.done = !1, await Promise.all(e.map(async ({ action: e, deferred: t, cancellationToken: r }) => {
|
|
31
|
-
try {
|
|
32
|
-
let n = await Promise.resolve().then(() => e(r));
|
|
33
|
-
t.resolve(n);
|
|
34
|
-
} catch (e) {
|
|
35
|
-
n(e) ? t.resolve(void 0) : t.reject(e);
|
|
36
|
-
}
|
|
37
|
-
})), this.done = !0, this.performNextOperation();
|
|
38
|
-
}
|
|
39
|
-
cancelWrite() {
|
|
40
|
-
this.previousTokenSource.cancel();
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
//#endregion
|
|
44
|
-
export { i as DefaultWorkspaceLock };
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=workspace-lock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-lock.js","names":["CancellationTokenSource","CancellationToken"],"sources":["../../../../../../../../node_modules/langium/lib/workspace/workspace-lock.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 { CancellationToken, CancellationTokenSource } from '../utils/cancellation.js';\nimport { Deferred, isOperationCancelled, startCancelableOperation } from '../utils/promise-utils.js';\nexport class DefaultWorkspaceLock {\n constructor() {\n this.previousTokenSource = new CancellationTokenSource();\n this.writeQueue = [];\n this.readQueue = [];\n this.done = true;\n }\n write(action) {\n this.cancelWrite();\n const tokenSource = startCancelableOperation();\n this.previousTokenSource = tokenSource;\n return this.enqueue(this.writeQueue, action, tokenSource.token);\n }\n read(action) {\n return this.enqueue(this.readQueue, action);\n }\n enqueue(queue, action, cancellationToken = CancellationToken.None) {\n const deferred = new Deferred();\n const entry = {\n action,\n deferred,\n cancellationToken\n };\n queue.push(entry);\n this.performNextOperation();\n return deferred.promise;\n }\n async performNextOperation() {\n if (!this.done) {\n return;\n }\n const entries = [];\n if (this.writeQueue.length > 0) {\n // Just perform the next write action\n entries.push(this.writeQueue.shift());\n }\n else if (this.readQueue.length > 0) {\n // Empty the read queue and perform all actions in parallel\n entries.push(...this.readQueue.splice(0, this.readQueue.length));\n }\n else {\n return;\n }\n this.done = false;\n await Promise.all(entries.map(async ({ action, deferred, cancellationToken }) => {\n try {\n // Move the execution of the action to the next event loop tick via `Promise.resolve()`\n const result = await Promise.resolve().then(() => action(cancellationToken));\n deferred.resolve(result);\n }\n catch (err) {\n if (isOperationCancelled(err)) {\n // If the operation was cancelled, we don't want to reject the promise\n deferred.resolve(undefined);\n }\n else {\n deferred.reject(err);\n }\n }\n }));\n this.done = true;\n this.performNextOperation();\n }\n cancelWrite() {\n this.previousTokenSource.cancel();\n }\n}\n//# sourceMappingURL=workspace-lock.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAOA,IAAa,IAAb,MAAkC;CAC9B,cAAc;EAIV,AAHA,KAAK,sBAAsB,IAAIA,EAAAA,yBAAyB,EACxD,KAAK,aAAa,EAAE,EACpB,KAAK,YAAY,EAAE,EACnB,KAAK,OAAO;;CAEhB,MAAM,GAAQ;EACV,KAAK,aAAa;EAClB,IAAM,IAAc,GAA0B;EAE9C,OADA,KAAK,sBAAsB,GACpB,KAAK,QAAQ,KAAK,YAAY,GAAQ,EAAY,MAAM;;CAEnE,KAAK,GAAQ;EACT,OAAO,KAAK,QAAQ,KAAK,WAAW,EAAO;;CAE/C,QAAQ,GAAO,GAAQ,IAAoBC,EAAAA,kBAAkB,MAAM;EAC/D,IAAM,IAAW,IAAI,GAAU,EACzB,IAAQ;GACV;GACA;GACA;GACH;EAGD,OAFA,EAAM,KAAK,EAAM,EACjB,KAAK,sBAAsB,EACpB,EAAS;;CAEpB,MAAM,uBAAuB;EACzB,IAAI,CAAC,KAAK,MACN;EAEJ,IAAM,IAAU,EAAE;EAClB,IAAI,KAAK,WAAW,SAAS,GAEzB,EAAQ,KAAK,KAAK,WAAW,OAAO,CAAC;OAEpC,IAAI,KAAK,UAAU,SAAS,GAE7B,EAAQ,KAAK,GAAG,KAAK,UAAU,OAAO,GAAG,KAAK,UAAU,OAAO,CAAC;OAGhE;EAoBJ,AAlBA,KAAK,OAAO,IACZ,MAAM,QAAQ,IAAI,EAAQ,IAAI,OAAO,EAAE,WAAQ,aAAU,2BAAwB;GAC7E,IAAI;IAEA,IAAM,IAAS,MAAM,QAAQ,SAAS,CAAC,WAAW,EAAO,EAAkB,CAAC;IAC5E,EAAS,QAAQ,EAAO;YAErB,GAAK;IACR,AAAI,EAAqB,EAAI,GAEzB,EAAS,QAAQ,KAAA,EAAU,GAG3B,EAAS,OAAO,EAAI;;IAG9B,CAAC,EACH,KAAK,OAAO,IACZ,KAAK,sBAAsB;;CAE/B,cAAc;EACV,KAAK,oBAAoB,QAAQ"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { stream as e } from "../utils/stream.js";
|
|
2
|
-
import { cancellation_exports as t } from "../utils/cancellation.js";
|
|
3
|
-
import { Deferred as n, interruptAndCheck as r } from "../utils/promise-utils.js";
|
|
4
|
-
import { URI as i } from "../../../vscode-uri/lib/esm/index.js";
|
|
5
|
-
import { UriUtils as a } from "../utils/uri-utils.js";
|
|
6
|
-
//#region ../../node_modules/langium/lib/workspace/workspace-manager.js
|
|
7
|
-
var o = class {
|
|
8
|
-
constructor(e) {
|
|
9
|
-
this.initialBuildOptions = {}, this._ready = new n(), this.serviceRegistry = e.ServiceRegistry, this.langiumDocuments = e.workspace.LangiumDocuments, this.documentBuilder = e.workspace.DocumentBuilder, this.fileSystemProvider = e.workspace.FileSystemProvider, this.mutex = e.workspace.WorkspaceLock;
|
|
10
|
-
}
|
|
11
|
-
get ready() {
|
|
12
|
-
return this._ready.promise;
|
|
13
|
-
}
|
|
14
|
-
get workspaceFolders() {
|
|
15
|
-
return this.folders;
|
|
16
|
-
}
|
|
17
|
-
initialize(e) {
|
|
18
|
-
this.folders = e.workspaceFolders ?? void 0;
|
|
19
|
-
}
|
|
20
|
-
initialized(e) {
|
|
21
|
-
return this.mutex.write((e) => this.initializeWorkspace(this.folders ?? [], e));
|
|
22
|
-
}
|
|
23
|
-
async initializeWorkspace(e, n = t.CancellationToken.None) {
|
|
24
|
-
let i = await this.performStartup(e);
|
|
25
|
-
await r(n), await this.documentBuilder.build(i, this.initialBuildOptions, n);
|
|
26
|
-
}
|
|
27
|
-
async performStartup(t) {
|
|
28
|
-
let n = [], r = (e) => {
|
|
29
|
-
n.push(e), this.langiumDocuments.hasDocument(e.uri) || this.langiumDocuments.addDocument(e);
|
|
30
|
-
};
|
|
31
|
-
await this.loadAdditionalDocuments(t, r);
|
|
32
|
-
let i = [];
|
|
33
|
-
await Promise.all(t.map((e) => this.getRootFolder(e)).map(async (e) => this.traverseFolder(e, i)));
|
|
34
|
-
let a = e(i).distinct((e) => e.toString()).filter((e) => !this.langiumDocuments.hasDocument(e));
|
|
35
|
-
return await this.loadWorkspaceDocuments(a, r), this._ready.resolve(), n;
|
|
36
|
-
}
|
|
37
|
-
async loadWorkspaceDocuments(e, t) {
|
|
38
|
-
await Promise.all(e.map(async (e) => {
|
|
39
|
-
t(await this.langiumDocuments.getOrCreateDocument(e));
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
loadAdditionalDocuments(e, t) {
|
|
43
|
-
return Promise.resolve();
|
|
44
|
-
}
|
|
45
|
-
getRootFolder(e) {
|
|
46
|
-
return i.parse(e.uri);
|
|
47
|
-
}
|
|
48
|
-
async traverseFolder(e, t) {
|
|
49
|
-
try {
|
|
50
|
-
let n = await this.fileSystemProvider.readDirectory(e);
|
|
51
|
-
await Promise.all(n.map(async (e) => {
|
|
52
|
-
this.shouldIncludeEntry(e) && (e.isDirectory ? await this.traverseFolder(e.uri, t) : e.isFile && t.push(e.uri));
|
|
53
|
-
}));
|
|
54
|
-
} catch (t) {
|
|
55
|
-
console.error("Failure to read directory content of " + e.toString(!0), t);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
async searchFolder(e) {
|
|
59
|
-
let t = [];
|
|
60
|
-
return await this.traverseFolder(e, t), t;
|
|
61
|
-
}
|
|
62
|
-
shouldIncludeEntry(e) {
|
|
63
|
-
let t = a.basename(e.uri);
|
|
64
|
-
return t.startsWith(".") ? !1 : e.isDirectory ? t !== "node_modules" && t !== "out" : e.isFile ? this.serviceRegistry.hasServices(e.uri) : !1;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
//#endregion
|
|
68
|
-
export { o as DefaultWorkspaceManager };
|
|
69
|
-
|
|
70
|
-
//# sourceMappingURL=workspace-manager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-manager.js","names":["CancellationToken"],"sources":["../../../../../../../../node_modules/langium/lib/workspace/workspace-manager.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 { CancellationToken } from '../utils/cancellation.js';\nimport { Deferred, interruptAndCheck } from '../utils/promise-utils.js';\nimport { URI, UriUtils } from '../utils/uri-utils.js';\nimport { stream } from '../utils/stream.js';\nexport class DefaultWorkspaceManager {\n constructor(services) {\n this.initialBuildOptions = {};\n this._ready = new Deferred();\n this.serviceRegistry = services.ServiceRegistry;\n this.langiumDocuments = services.workspace.LangiumDocuments;\n this.documentBuilder = services.workspace.DocumentBuilder;\n this.fileSystemProvider = services.workspace.FileSystemProvider;\n this.mutex = services.workspace.WorkspaceLock;\n }\n get ready() {\n return this._ready.promise;\n }\n get workspaceFolders() {\n return this.folders;\n }\n initialize(params) {\n this.folders = params.workspaceFolders ?? undefined;\n }\n initialized(_params) {\n // Initialize the workspace even if there are no workspace folders\n // We still want to load additional documents (language library or similar) during initialization\n return this.mutex.write(token => this.initializeWorkspace(this.folders ?? [], token));\n }\n async initializeWorkspace(folders, cancelToken = CancellationToken.None) {\n const documents = await this.performStartup(folders);\n // Only after creating all documents do we check whether we need to cancel the initialization\n // The document builder will later pick up on all unprocessed documents\n await interruptAndCheck(cancelToken);\n await this.documentBuilder.build(documents, this.initialBuildOptions, cancelToken);\n }\n /**\n * Performs the uninterruptable startup sequence of the workspace manager.\n * This methods loads all documents in the workspace and other documents and returns them.\n */\n async performStartup(folders) {\n const documents = [];\n const collector = (document) => {\n documents.push(document);\n if (!this.langiumDocuments.hasDocument(document.uri)) {\n this.langiumDocuments.addDocument(document);\n }\n };\n // Even though we don't await the initialization of the workspace manager,\n // we can still assume that all library documents and file documents are loaded by the time we start building documents.\n // The mutex prevents anything from performing a workspace build until we check the cancellation token\n await this.loadAdditionalDocuments(folders, collector);\n const uris = [];\n await Promise.all(folders.map(wf => this.getRootFolder(wf))\n .map(async (entry) => this.traverseFolder(entry, uris)));\n const uniqueUris = stream(uris)\n // Ensure that we only create one document per URI/file\n .distinct(uri => uri.toString())\n // Also ensure that the documents don't already exist\n .filter(uri => !this.langiumDocuments.hasDocument(uri));\n await this.loadWorkspaceDocuments(uniqueUris, collector);\n this._ready.resolve();\n return documents;\n }\n async loadWorkspaceDocuments(uris, collector) {\n await Promise.all(uris.map(async (uri) => {\n const document = await this.langiumDocuments.getOrCreateDocument(uri);\n collector(document);\n }));\n }\n /**\n * Load all additional documents that shall be visible in the context of the given workspace\n * folders and add them to the collector. This can be used to include built-in libraries of\n * your language, which can be either loaded from provided files or constructed in memory.\n */\n loadAdditionalDocuments(_folders, _collector) {\n return Promise.resolve();\n }\n /**\n * Determine the root folder of the source documents in the given workspace folder.\n * The default implementation returns the URI of the workspace folder, but you can override\n * this to return a subfolder like `src` instead.\n */\n getRootFolder(workspaceFolder) {\n return URI.parse(workspaceFolder.uri);\n }\n /**\n * Traverse the file system folder identified by the given URI and its subfolders. All\n * contained files that match the file extensions are added to the `uris` array.\n */\n async traverseFolder(folderPath, uris) {\n try {\n const content = await this.fileSystemProvider.readDirectory(folderPath);\n await Promise.all(content.map(async (entry) => {\n if (this.shouldIncludeEntry(entry)) {\n if (entry.isDirectory) {\n await this.traverseFolder(entry.uri, uris);\n }\n else if (entry.isFile) {\n uris.push(entry.uri);\n }\n }\n }));\n }\n catch (e) {\n console.error('Failure to read directory content of ' + folderPath.toString(true), e);\n }\n }\n async searchFolder(uri) {\n const uris = [];\n await this.traverseFolder(uri, uris);\n return uris;\n }\n /**\n * Determine whether the given folder entry shall be included while indexing the workspace.\n */\n shouldIncludeEntry(entry) {\n const name = UriUtils.basename(entry.uri);\n if (name.startsWith('.')) {\n return false;\n }\n if (entry.isDirectory) {\n return name !== 'node_modules' && name !== 'out';\n }\n else if (entry.isFile) {\n return this.serviceRegistry.hasServices(entry.uri);\n }\n return false;\n }\n}\n//# sourceMappingURL=workspace-manager.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AASA,IAAa,IAAb,MAAqC;CACjC,YAAY,GAAU;EAOlB,AANA,KAAK,sBAAsB,EAAE,EAC7B,KAAK,SAAS,IAAI,GAAU,EAC5B,KAAK,kBAAkB,EAAS,iBAChC,KAAK,mBAAmB,EAAS,UAAU,kBAC3C,KAAK,kBAAkB,EAAS,UAAU,iBAC1C,KAAK,qBAAqB,EAAS,UAAU,oBAC7C,KAAK,QAAQ,EAAS,UAAU;;CAEpC,IAAI,QAAQ;EACR,OAAO,KAAK,OAAO;;CAEvB,IAAI,mBAAmB;EACnB,OAAO,KAAK;;CAEhB,WAAW,GAAQ;EACf,KAAK,UAAU,EAAO,oBAAoB,KAAA;;CAE9C,YAAY,GAAS;EAGjB,OAAO,KAAK,MAAM,OAAM,MAAS,KAAK,oBAAoB,KAAK,WAAW,EAAE,EAAE,EAAM,CAAC;;CAEzF,MAAM,oBAAoB,GAAS,IAAcA,EAAAA,kBAAkB,MAAM;EACrE,IAAM,IAAY,MAAM,KAAK,eAAe,EAAQ;EAIpD,AADA,MAAM,EAAkB,EAAY,EACpC,MAAM,KAAK,gBAAgB,MAAM,GAAW,KAAK,qBAAqB,EAAY;;CAMtF,MAAM,eAAe,GAAS;EAC1B,IAAM,IAAY,EAAE,EACd,KAAa,MAAa;GAE5B,AADA,EAAU,KAAK,EAAS,EACnB,KAAK,iBAAiB,YAAY,EAAS,IAAI,IAChD,KAAK,iBAAiB,YAAY,EAAS;;EAMnD,MAAM,KAAK,wBAAwB,GAAS,EAAU;EACtD,IAAM,IAAO,EAAE;EACf,MAAM,QAAQ,IAAI,EAAQ,KAAI,MAAM,KAAK,cAAc,EAAG,CAAC,CACtD,IAAI,OAAO,MAAU,KAAK,eAAe,GAAO,EAAK,CAAC,CAAC;EAC5D,IAAM,IAAa,EAAO,EAAK,CAE1B,UAAS,MAAO,EAAI,UAAU,CAAC,CAE/B,QAAO,MAAO,CAAC,KAAK,iBAAiB,YAAY,EAAI,CAAC;EAG3D,OAFA,MAAM,KAAK,uBAAuB,GAAY,EAAU,EACxD,KAAK,OAAO,SAAS,EACd;;CAEX,MAAM,uBAAuB,GAAM,GAAW;EAC1C,MAAM,QAAQ,IAAI,EAAK,IAAI,OAAO,MAAQ;GAEtC,EAAU,MADa,KAAK,iBAAiB,oBAAoB,EAAI,CAClD;IACrB,CAAC;;CAOP,wBAAwB,GAAU,GAAY;EAC1C,OAAO,QAAQ,SAAS;;CAO5B,cAAc,GAAiB;EAC3B,OAAO,EAAI,MAAM,EAAgB,IAAI;;CAMzC,MAAM,eAAe,GAAY,GAAM;EACnC,IAAI;GACA,IAAM,IAAU,MAAM,KAAK,mBAAmB,cAAc,EAAW;GACvE,MAAM,QAAQ,IAAI,EAAQ,IAAI,OAAO,MAAU;IAC3C,AAAI,KAAK,mBAAmB,EAAM,KAC1B,EAAM,cACN,MAAM,KAAK,eAAe,EAAM,KAAK,EAAK,GAErC,EAAM,UACX,EAAK,KAAK,EAAM,IAAI;KAG9B,CAAC;WAEA,GAAG;GACN,QAAQ,MAAM,0CAA0C,EAAW,SAAS,GAAK,EAAE,EAAE;;;CAG7F,MAAM,aAAa,GAAK;EACpB,IAAM,IAAO,EAAE;EAEf,OADA,MAAM,KAAK,eAAe,GAAK,EAAK,EAC7B;;CAKX,mBAAmB,GAAO;EACtB,IAAM,IAAO,EAAS,SAAS,EAAM,IAAI;EAUzC,OATI,EAAK,WAAW,IAAI,GACb,KAEP,EAAM,cACC,MAAS,kBAAkB,MAAS,QAEtC,EAAM,SACJ,KAAK,gBAAgB,YAAY,EAAM,IAAI,GAE/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flatMap.js","names":[],"sources":["../../../../../../node_modules/lodash-es/flatMap.js"],"sourcesContent":["import baseFlatten from './_baseFlatten.js';\nimport map from './map.js';\n\n/**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\nfunction flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n}\n\nexport default flatMap;\n"],"x_google_ignoreList":[0],"mappings":";;;AAwBA,SAAS,EAAQ,GAAY,GAAU;CACrC,OAAO,EAAY,EAAI,GAAY,EAAS,EAAE,EAAE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import e from "./_baseIteratee.js";
|
|
2
|
-
import t from "./_baseUniq.js";
|
|
3
|
-
//#region ../../node_modules/lodash-es/uniqBy.js
|
|
4
|
-
function n(n, r) {
|
|
5
|
-
return n && n.length ? t(n, e(r, 2)) : [];
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { n as default };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=uniqBy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uniqBy.js","names":[],"sources":["../../../../../../node_modules/lodash-es/uniqBy.js"],"sourcesContent":["import baseIteratee from './_baseIteratee.js';\nimport baseUniq from './_baseUniq.js';\n\n/**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\nfunction uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, baseIteratee(iteratee, 2)) : [];\n}\n\nexport default uniqBy;\n"],"x_google_ignoreList":[0],"mappings":";;;AA0BA,SAAS,EAAO,GAAO,GAAU;CAC/B,OAAQ,KAAS,EAAM,SAAU,EAAS,GAAO,EAAa,GAAU,EAAE,CAAC,GAAG,EAAE"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_ral as t } from "./ral.js";
|
|
3
|
-
import { require_is as n } from "./is.js";
|
|
4
|
-
import { require_events as r } from "./events.js";
|
|
5
|
-
//#region ../../node_modules/vscode-jsonrpc/lib/common/cancellation.js
|
|
6
|
-
var i = /* @__PURE__ */ e(((e) => {
|
|
7
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.CancellationTokenSource = e.CancellationToken = void 0;
|
|
8
|
-
var i = t(), a = n(), o = r(), s;
|
|
9
|
-
(function(e) {
|
|
10
|
-
e.None = Object.freeze({
|
|
11
|
-
isCancellationRequested: !1,
|
|
12
|
-
onCancellationRequested: o.Event.None
|
|
13
|
-
}), e.Cancelled = Object.freeze({
|
|
14
|
-
isCancellationRequested: !0,
|
|
15
|
-
onCancellationRequested: o.Event.None
|
|
16
|
-
});
|
|
17
|
-
function t(t) {
|
|
18
|
-
let n = t;
|
|
19
|
-
return n && (n === e.None || n === e.Cancelled || a.boolean(n.isCancellationRequested) && !!n.onCancellationRequested);
|
|
20
|
-
}
|
|
21
|
-
e.is = t;
|
|
22
|
-
})(s || (e.CancellationToken = s = {}));
|
|
23
|
-
var c = Object.freeze(function(e, t) {
|
|
24
|
-
let n = (0, i.default)().timer.setTimeout(e.bind(t), 0);
|
|
25
|
-
return { dispose() {
|
|
26
|
-
n.dispose();
|
|
27
|
-
} };
|
|
28
|
-
}), l = class {
|
|
29
|
-
constructor() {
|
|
30
|
-
this._isCancelled = !1;
|
|
31
|
-
}
|
|
32
|
-
cancel() {
|
|
33
|
-
this._isCancelled || (this._isCancelled = !0, this._emitter && (this._emitter.fire(void 0), this.dispose()));
|
|
34
|
-
}
|
|
35
|
-
get isCancellationRequested() {
|
|
36
|
-
return this._isCancelled;
|
|
37
|
-
}
|
|
38
|
-
get onCancellationRequested() {
|
|
39
|
-
return this._isCancelled ? c : (this._emitter ||= new o.Emitter(), this._emitter.event);
|
|
40
|
-
}
|
|
41
|
-
dispose() {
|
|
42
|
-
this._emitter &&= (this._emitter.dispose(), void 0);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
e.CancellationTokenSource = class {
|
|
46
|
-
get token() {
|
|
47
|
-
return this._token ||= new l(), this._token;
|
|
48
|
-
}
|
|
49
|
-
cancel() {
|
|
50
|
-
this._token ? this._token.cancel() : this._token = s.Cancelled;
|
|
51
|
-
}
|
|
52
|
-
dispose() {
|
|
53
|
-
this._token ? this._token instanceof l && this._token.dispose() : this._token = s.None;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}));
|
|
57
|
-
//#endregion
|
|
58
|
-
export default i();
|
|
59
|
-
export { i as require_cancellation };
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=cancellation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancellation.js","names":[],"sources":["../../../../../../../../node_modules/vscode-jsonrpc/lib/common/cancellation.js"],"sourcesContent":["\"use strict\";\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CancellationTokenSource = exports.CancellationToken = void 0;\nconst ral_1 = require(\"./ral\");\nconst Is = require(\"./is\");\nconst events_1 = require(\"./events\");\nvar CancellationToken;\n(function (CancellationToken) {\n CancellationToken.None = Object.freeze({\n isCancellationRequested: false,\n onCancellationRequested: events_1.Event.None\n });\n CancellationToken.Cancelled = Object.freeze({\n isCancellationRequested: true,\n onCancellationRequested: events_1.Event.None\n });\n function is(value) {\n const candidate = value;\n return candidate && (candidate === CancellationToken.None\n || candidate === CancellationToken.Cancelled\n || (Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested));\n }\n CancellationToken.is = is;\n})(CancellationToken || (exports.CancellationToken = CancellationToken = {}));\nconst shortcutEvent = Object.freeze(function (callback, context) {\n const handle = (0, ral_1.default)().timer.setTimeout(callback.bind(context), 0);\n return { dispose() { handle.dispose(); } };\n});\nclass MutableToken {\n constructor() {\n this._isCancelled = false;\n }\n cancel() {\n if (!this._isCancelled) {\n this._isCancelled = true;\n if (this._emitter) {\n this._emitter.fire(undefined);\n this.dispose();\n }\n }\n }\n get isCancellationRequested() {\n return this._isCancelled;\n }\n get onCancellationRequested() {\n if (this._isCancelled) {\n return shortcutEvent;\n }\n if (!this._emitter) {\n this._emitter = new events_1.Emitter();\n }\n return this._emitter.event;\n }\n dispose() {\n if (this._emitter) {\n this._emitter.dispose();\n this._emitter = undefined;\n }\n }\n}\nclass CancellationTokenSource {\n get token() {\n if (!this._token) {\n // be lazy and create the token only when\n // actually needed\n this._token = new MutableToken();\n }\n return this._token;\n }\n cancel() {\n if (!this._token) {\n // save an object by returning the default\n // cancelled token when cancellation happens\n // before someone asks for the token\n this._token = CancellationToken.Cancelled;\n }\n else {\n this._token.cancel();\n }\n }\n dispose() {\n if (!this._token) {\n // ensure to initialize with an empty token if we had none\n this._token = CancellationToken.None;\n }\n else if (this._token instanceof MutableToken) {\n // actually dispose\n this._token.dispose();\n }\n }\n}\nexports.CancellationTokenSource = CancellationTokenSource;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAMA,AADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,0BAA0B,EAAQ,oBAAoB,KAAK;CACnE,IAAM,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACF;CACJ,CAAC,SAAU,GAAmB;EAK1B,AAJA,EAAkB,OAAO,OAAO,OAAO;GACnC,yBAAyB;GACzB,yBAAyB,EAAS,MAAM;GAC3C,CAAC,EACF,EAAkB,YAAY,OAAO,OAAO;GACxC,yBAAyB;GACzB,yBAAyB,EAAS,MAAM;GAC3C,CAAC;EACF,SAAS,EAAG,GAAO;GACf,IAAM,IAAY;GAClB,OAAO,MAAc,MAAc,EAAkB,QAC9C,MAAc,EAAkB,aAC/B,EAAG,QAAQ,EAAU,wBAAwB,IAAI,CAAC,CAAC,EAAU;;EAEzE,EAAkB,KAAK;IACxB,MAAsB,EAAQ,oBAAoB,IAAoB,EAAE,EAAE;CAC7E,IAAM,IAAgB,OAAO,OAAO,SAAU,GAAU,GAAS;EAC7D,IAAM,KAAU,GAAG,EAAM,UAAU,CAAC,MAAM,WAAW,EAAS,KAAK,EAAQ,EAAE,EAAE;EAC/E,OAAO,EAAE,UAAU;GAAE,EAAO,SAAS;KAAK;GAC5C,EACI,IAAN,MAAmB;EACf,cAAc;GACV,KAAK,eAAe;;EAExB,SAAS;GACL,AAAK,KAAK,iBACN,KAAK,eAAe,IAChB,KAAK,aACL,KAAK,SAAS,KAAK,KAAA,EAAU,EAC7B,KAAK,SAAS;;EAI1B,IAAI,0BAA0B;GAC1B,OAAO,KAAK;;EAEhB,IAAI,0BAA0B;GAO1B,OANI,KAAK,eACE,KAEX,AACI,KAAK,aAAW,IAAI,EAAS,SAAS,EAEnC,KAAK,SAAS;;EAEzB,UAAU;GACN,AAEI,KAAK,cADL,KAAK,SAAS,SAAS,EACP,KAAA;;;CAmC5B,EAAQ,0BAA0B,MA/BJ;EAC1B,IAAI,QAAQ;GAMR,OALA,AAGI,KAAK,WAAS,IAAI,GAAc,EAE7B,KAAK;;EAEhB,SAAS;GACL,AAAK,KAAK,SAON,KAAK,OAAO,QAAQ,GAHpB,KAAK,SAAS,EAAkB;;EAMxC,UAAU;GACN,AAAK,KAAK,SAID,KAAK,kBAAkB,KAE5B,KAAK,OAAO,SAAS,GAJrB,KAAK,SAAS,EAAkB"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_ral as t } from "./ral.js";
|
|
3
|
-
//#region ../../node_modules/vscode-jsonrpc/lib/common/events.js
|
|
4
|
-
var n = /* @__PURE__ */ e(((e) => {
|
|
5
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.Emitter = e.Event = void 0;
|
|
6
|
-
var n = t(), r;
|
|
7
|
-
(function(e) {
|
|
8
|
-
let t = { dispose() {} };
|
|
9
|
-
e.None = function() {
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
})(r || (e.Event = r = {}));
|
|
13
|
-
var i = class {
|
|
14
|
-
add(e, t = null, n) {
|
|
15
|
-
this._callbacks || (this._callbacks = [], this._contexts = []), this._callbacks.push(e), this._contexts.push(t), Array.isArray(n) && n.push({ dispose: () => this.remove(e, t) });
|
|
16
|
-
}
|
|
17
|
-
remove(e, t = null) {
|
|
18
|
-
if (!this._callbacks) return;
|
|
19
|
-
let n = !1;
|
|
20
|
-
for (let r = 0, i = this._callbacks.length; r < i; r++) if (this._callbacks[r] === e) if (this._contexts[r] === t) {
|
|
21
|
-
this._callbacks.splice(r, 1), this._contexts.splice(r, 1);
|
|
22
|
-
return;
|
|
23
|
-
} else n = !0;
|
|
24
|
-
if (n) throw Error("When adding a listener with a context, you should remove it with the same context");
|
|
25
|
-
}
|
|
26
|
-
invoke(...e) {
|
|
27
|
-
if (!this._callbacks) return [];
|
|
28
|
-
let t = [], r = this._callbacks.slice(0), i = this._contexts.slice(0);
|
|
29
|
-
for (let a = 0, o = r.length; a < o; a++) try {
|
|
30
|
-
t.push(r[a].apply(i[a], e));
|
|
31
|
-
} catch (e) {
|
|
32
|
-
(0, n.default)().console.error(e);
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
}
|
|
36
|
-
isEmpty() {
|
|
37
|
-
return !this._callbacks || this._callbacks.length === 0;
|
|
38
|
-
}
|
|
39
|
-
dispose() {
|
|
40
|
-
this._callbacks = void 0, this._contexts = void 0;
|
|
41
|
-
}
|
|
42
|
-
}, a = class e {
|
|
43
|
-
constructor(e) {
|
|
44
|
-
this._options = e;
|
|
45
|
-
}
|
|
46
|
-
get event() {
|
|
47
|
-
return this._event ||= (t, n, r) => {
|
|
48
|
-
this._callbacks ||= new i(), this._options && this._options.onFirstListenerAdd && this._callbacks.isEmpty() && this._options.onFirstListenerAdd(this), this._callbacks.add(t, n);
|
|
49
|
-
let a = { dispose: () => {
|
|
50
|
-
this._callbacks && (this._callbacks.remove(t, n), a.dispose = e._noop, this._options && this._options.onLastListenerRemove && this._callbacks.isEmpty() && this._options.onLastListenerRemove(this));
|
|
51
|
-
} };
|
|
52
|
-
return Array.isArray(r) && r.push(a), a;
|
|
53
|
-
}, this._event;
|
|
54
|
-
}
|
|
55
|
-
fire(e) {
|
|
56
|
-
this._callbacks && this._callbacks.invoke.call(this._callbacks, e);
|
|
57
|
-
}
|
|
58
|
-
dispose() {
|
|
59
|
-
this._callbacks &&= (this._callbacks.dispose(), void 0);
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
e.Emitter = a, a._noop = function() {};
|
|
63
|
-
}));
|
|
64
|
-
//#endregion
|
|
65
|
-
export default n();
|
|
66
|
-
export { n as require_events };
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","names":[],"sources":["../../../../../../../../node_modules/vscode-jsonrpc/lib/common/events.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Emitter = exports.Event = void 0;\nconst ral_1 = require(\"./ral\");\nvar Event;\n(function (Event) {\n const _disposable = { dispose() { } };\n Event.None = function () { return _disposable; };\n})(Event || (exports.Event = Event = {}));\nclass CallbackList {\n add(callback, context = null, bucket) {\n if (!this._callbacks) {\n this._callbacks = [];\n this._contexts = [];\n }\n this._callbacks.push(callback);\n this._contexts.push(context);\n if (Array.isArray(bucket)) {\n bucket.push({ dispose: () => this.remove(callback, context) });\n }\n }\n remove(callback, context = null) {\n if (!this._callbacks) {\n return;\n }\n let foundCallbackWithDifferentContext = false;\n for (let i = 0, len = this._callbacks.length; i < len; i++) {\n if (this._callbacks[i] === callback) {\n if (this._contexts[i] === context) {\n // callback & context match => remove it\n this._callbacks.splice(i, 1);\n this._contexts.splice(i, 1);\n return;\n }\n else {\n foundCallbackWithDifferentContext = true;\n }\n }\n }\n if (foundCallbackWithDifferentContext) {\n throw new Error('When adding a listener with a context, you should remove it with the same context');\n }\n }\n invoke(...args) {\n if (!this._callbacks) {\n return [];\n }\n const ret = [], callbacks = this._callbacks.slice(0), contexts = this._contexts.slice(0);\n for (let i = 0, len = callbacks.length; i < len; i++) {\n try {\n ret.push(callbacks[i].apply(contexts[i], args));\n }\n catch (e) {\n // eslint-disable-next-line no-console\n (0, ral_1.default)().console.error(e);\n }\n }\n return ret;\n }\n isEmpty() {\n return !this._callbacks || this._callbacks.length === 0;\n }\n dispose() {\n this._callbacks = undefined;\n this._contexts = undefined;\n }\n}\nclass Emitter {\n constructor(_options) {\n this._options = _options;\n }\n /**\n * For the public to allow to subscribe\n * to events from this Emitter\n */\n get event() {\n if (!this._event) {\n this._event = (listener, thisArgs, disposables) => {\n if (!this._callbacks) {\n this._callbacks = new CallbackList();\n }\n if (this._options && this._options.onFirstListenerAdd && this._callbacks.isEmpty()) {\n this._options.onFirstListenerAdd(this);\n }\n this._callbacks.add(listener, thisArgs);\n const result = {\n dispose: () => {\n if (!this._callbacks) {\n // disposable is disposed after emitter is disposed.\n return;\n }\n this._callbacks.remove(listener, thisArgs);\n result.dispose = Emitter._noop;\n if (this._options && this._options.onLastListenerRemove && this._callbacks.isEmpty()) {\n this._options.onLastListenerRemove(this);\n }\n }\n };\n if (Array.isArray(disposables)) {\n disposables.push(result);\n }\n return result;\n };\n }\n return this._event;\n }\n /**\n * To be kept private to fire an event to\n * subscribers\n */\n fire(event) {\n if (this._callbacks) {\n this._callbacks.invoke.call(this._callbacks, event);\n }\n }\n dispose() {\n if (this._callbacks) {\n this._callbacks.dispose();\n this._callbacks = undefined;\n }\n }\n}\nexports.Emitter = Emitter;\nEmitter._noop = function () { };\n"],"x_google_ignoreList":[0],"mappings":";;;;CAMA,AADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,UAAU,EAAQ,QAAQ,KAAK;CACvC,IAAM,IAAA,GAAA,EACF;CACJ,CAAC,SAAU,GAAO;EACd,IAAM,IAAc,EAAE,UAAU,IAAK;EACrC,EAAM,OAAO,WAAY;GAAE,OAAO;;IACnC,MAAU,EAAQ,QAAQ,IAAQ,EAAE,EAAE;CACzC,IAAM,IAAN,MAAmB;EACf,IAAI,GAAU,IAAU,MAAM,GAAQ;GAOlC,AANK,KAAK,eACN,KAAK,aAAa,EAAE,EACpB,KAAK,YAAY,EAAE,GAEvB,KAAK,WAAW,KAAK,EAAS,EAC9B,KAAK,UAAU,KAAK,EAAQ,EACxB,MAAM,QAAQ,EAAO,IACrB,EAAO,KAAK,EAAE,eAAe,KAAK,OAAO,GAAU,EAAQ,EAAE,CAAC;;EAGtE,OAAO,GAAU,IAAU,MAAM;GAC7B,IAAI,CAAC,KAAK,YACN;GAEJ,IAAI,IAAoC;GACxC,KAAK,IAAI,IAAI,GAAG,IAAM,KAAK,WAAW,QAAQ,IAAI,GAAK,KACnD,IAAI,KAAK,WAAW,OAAO,GACvB,IAAI,KAAK,UAAU,OAAO,GAAS;IAG/B,AADA,KAAK,WAAW,OAAO,GAAG,EAAE,EAC5B,KAAK,UAAU,OAAO,GAAG,EAAE;IAC3B;UAGA,IAAoC;GAIhD,IAAI,GACA,MAAU,MAAM,oFAAoF;;EAG5G,OAAO,GAAG,GAAM;GACZ,IAAI,CAAC,KAAK,YACN,OAAO,EAAE;GAEb,IAAM,IAAM,EAAE,EAAE,IAAY,KAAK,WAAW,MAAM,EAAE,EAAE,IAAW,KAAK,UAAU,MAAM,EAAE;GACxF,KAAK,IAAI,IAAI,GAAG,IAAM,EAAU,QAAQ,IAAI,GAAK,KAC7C,IAAI;IACA,EAAI,KAAK,EAAU,GAAG,MAAM,EAAS,IAAI,EAAK,CAAC;YAE5C,GAAG;IAEN,CAAC,GAAG,EAAM,UAAU,CAAC,QAAQ,MAAM,EAAE;;GAG7C,OAAO;;EAEX,UAAU;GACN,OAAO,CAAC,KAAK,cAAc,KAAK,WAAW,WAAW;;EAE1D,UAAU;GAEN,AADA,KAAK,aAAa,KAAA,GAClB,KAAK,YAAY,KAAA;;IAGnB,IAAN,MAAM,EAAQ;EACV,YAAY,GAAU;GAClB,KAAK,WAAW;;EAMpB,IAAI,QAAQ;GA6BR,OA5BA,AACI,KAAK,YAAU,GAAU,GAAU,MAAgB;IAO/C,AANA,AACI,KAAK,eAAa,IAAI,GAAc,EAEpC,KAAK,YAAY,KAAK,SAAS,sBAAsB,KAAK,WAAW,SAAS,IAC9E,KAAK,SAAS,mBAAmB,KAAK,EAE1C,KAAK,WAAW,IAAI,GAAU,EAAS;IACvC,IAAM,IAAS,EACX,eAAe;KACN,KAAK,eAIV,KAAK,WAAW,OAAO,GAAU,EAAS,EAC1C,EAAO,UAAU,EAAQ,OACrB,KAAK,YAAY,KAAK,SAAS,wBAAwB,KAAK,WAAW,SAAS,IAChF,KAAK,SAAS,qBAAqB,KAAK;OAGnD;IAID,OAHI,MAAM,QAAQ,EAAY,IAC1B,EAAY,KAAK,EAAO,EAErB;MAGR,KAAK;;EAMhB,KAAK,GAAO;GACR,AAAI,KAAK,cACL,KAAK,WAAW,OAAO,KAAK,KAAK,YAAY,EAAM;;EAG3D,UAAU;GACN,AAEI,KAAK,gBADL,KAAK,WAAW,SAAS,EACP,KAAA;;;CAK9B,AADA,EAAQ,UAAU,GAClB,EAAQ,QAAQ,WAAY"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../node_modules/vscode-jsonrpc/lib/common/is.js
|
|
3
|
-
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.stringArray = e.array = e.func = e.error = e.number = e.string = e.boolean = void 0;
|
|
5
|
-
function t(e) {
|
|
6
|
-
return e === !0 || e === !1;
|
|
7
|
-
}
|
|
8
|
-
e.boolean = t;
|
|
9
|
-
function n(e) {
|
|
10
|
-
return typeof e == "string" || e instanceof String;
|
|
11
|
-
}
|
|
12
|
-
e.string = n;
|
|
13
|
-
function r(e) {
|
|
14
|
-
return typeof e == "number" || e instanceof Number;
|
|
15
|
-
}
|
|
16
|
-
e.number = r;
|
|
17
|
-
function i(e) {
|
|
18
|
-
return e instanceof Error;
|
|
19
|
-
}
|
|
20
|
-
e.error = i;
|
|
21
|
-
function a(e) {
|
|
22
|
-
return typeof e == "function";
|
|
23
|
-
}
|
|
24
|
-
e.func = a;
|
|
25
|
-
function o(e) {
|
|
26
|
-
return Array.isArray(e);
|
|
27
|
-
}
|
|
28
|
-
e.array = o;
|
|
29
|
-
function s(e) {
|
|
30
|
-
return o(e) && e.every((e) => n(e));
|
|
31
|
-
}
|
|
32
|
-
e.stringArray = s;
|
|
33
|
-
}));
|
|
34
|
-
//#endregion
|
|
35
|
-
export default t();
|
|
36
|
-
export { t as require_is };
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=is.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is.js","names":[],"sources":["../../../../../../../../node_modules/vscode-jsonrpc/lib/common/is.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.stringArray = exports.array = exports.func = exports.error = exports.number = exports.string = exports.boolean = void 0;\nfunction boolean(value) {\n return value === true || value === false;\n}\nexports.boolean = boolean;\nfunction string(value) {\n return typeof value === 'string' || value instanceof String;\n}\nexports.string = string;\nfunction number(value) {\n return typeof value === 'number' || value instanceof Number;\n}\nexports.number = number;\nfunction error(value) {\n return value instanceof Error;\n}\nexports.error = error;\nfunction func(value) {\n return typeof value === 'function';\n}\nexports.func = func;\nfunction array(value) {\n return Array.isArray(value);\n}\nexports.array = array;\nfunction stringArray(value) {\n return array(value) && value.every(elem => string(elem));\n}\nexports.stringArray = stringArray;\n"],"x_google_ignoreList":[0],"mappings":";;;CAMA,AADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,cAAc,EAAQ,QAAQ,EAAQ,OAAO,EAAQ,QAAQ,EAAQ,SAAS,EAAQ,SAAS,EAAQ,UAAU,KAAK;CAC9H,SAAS,EAAQ,GAAO;EACpB,OAAO,MAAU,MAAQ,MAAU;;CAEvC,EAAQ,UAAU;CAClB,SAAS,EAAO,GAAO;EACnB,OAAO,OAAO,KAAU,YAAY,aAAiB;;CAEzD,EAAQ,SAAS;CACjB,SAAS,EAAO,GAAO;EACnB,OAAO,OAAO,KAAU,YAAY,aAAiB;;CAEzD,EAAQ,SAAS;CACjB,SAAS,EAAM,GAAO;EAClB,OAAO,aAAiB;;CAE5B,EAAQ,QAAQ;CAChB,SAAS,EAAK,GAAO;EACjB,OAAO,OAAO,KAAU;;CAE5B,EAAQ,OAAO;CACf,SAAS,EAAM,GAAO;EAClB,OAAO,MAAM,QAAQ,EAAM;;CAE/B,EAAQ,QAAQ;CAChB,SAAS,EAAY,GAAO;EACxB,OAAO,EAAM,EAAM,IAAI,EAAM,OAAM,MAAQ,EAAO,EAAK,CAAC;;CAE5D,EAAQ,cAAc"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../node_modules/vscode-jsonrpc/lib/common/ral.js
|
|
3
|
-
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
-
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5
|
-
var t;
|
|
6
|
-
function n() {
|
|
7
|
-
if (t === void 0) throw Error("No runtime abstraction layer installed");
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
(function(e) {
|
|
11
|
-
function n(e) {
|
|
12
|
-
if (e === void 0) throw Error("No runtime abstraction layer provided");
|
|
13
|
-
t = e;
|
|
14
|
-
}
|
|
15
|
-
e.install = n;
|
|
16
|
-
})(n ||= {}), e.default = n;
|
|
17
|
-
}));
|
|
18
|
-
//#endregion
|
|
19
|
-
export default t();
|
|
20
|
-
export { t as require_ral };
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=ral.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ral.js","names":[],"sources":["../../../../../../../../node_modules/vscode-jsonrpc/lib/common/ral.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nlet _ral;\nfunction RAL() {\n if (_ral === undefined) {\n throw new Error(`No runtime abstraction layer installed`);\n }\n return _ral;\n}\n(function (RAL) {\n function install(ral) {\n if (ral === undefined) {\n throw new Error(`No runtime abstraction layer provided`);\n }\n _ral = ral;\n }\n RAL.install = install;\n})(RAL || (RAL = {}));\nexports.default = RAL;\n"],"x_google_ignoreList":[0],"mappings":";;;CAKA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC;CAC7D,IAAI;CACJ,SAAS,IAAM;EACX,IAAI,MAAS,KAAA,GACT,MAAU,MAAM,yCAAyC;EAE7D,OAAO;;CAWX,CATC,SAAU,GAAK;EACZ,SAAS,EAAQ,GAAK;GAClB,IAAI,MAAQ,KAAA,GACR,MAAU,MAAM,wCAAwC;GAE5D,IAAO;;EAEX,EAAI,UAAU;IACf,AAAQ,MAAM,EAAE,CAAE,EACrB,EAAQ,UAAU"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_browser as t } from "../../node_modules/vscode-jsonrpc/browser.js";
|
|
3
|
-
import { require_api as n } from "../common/api.js";
|
|
4
|
-
//#region ../../node_modules/vscode-languageserver-protocol/lib/browser/main.js
|
|
5
|
-
var r = /* @__PURE__ */ e(((e) => {
|
|
6
|
-
var r = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
|
|
7
|
-
r === void 0 && (r = n);
|
|
8
|
-
var i = Object.getOwnPropertyDescriptor(t, n);
|
|
9
|
-
(!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return t[n];
|
|
13
|
-
}
|
|
14
|
-
}), Object.defineProperty(e, r, i);
|
|
15
|
-
}) : (function(e, t, n, r) {
|
|
16
|
-
r === void 0 && (r = n), e[r] = t[n];
|
|
17
|
-
})), i = e && e.__exportStar || function(e, t) {
|
|
18
|
-
for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && r(t, e, n);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.createProtocolConnection = void 0;
|
|
21
|
-
var a = t();
|
|
22
|
-
i(t(), e), i(n(), e);
|
|
23
|
-
function o(e, t, n, r) {
|
|
24
|
-
return (0, a.createMessageConnection)(e, t, n, r);
|
|
25
|
-
}
|
|
26
|
-
e.createProtocolConnection = o;
|
|
27
|
-
}));
|
|
28
|
-
//#endregion
|
|
29
|
-
export default r();
|
|
30
|
-
export { r as require_main };
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=main.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","names":["exports"],"sources":["../../../../../../../../node_modules/vscode-languageserver-protocol/lib/browser/main.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createProtocolConnection = void 0;\nconst browser_1 = require(\"vscode-jsonrpc/browser\");\n__exportStar(require(\"vscode-jsonrpc/browser\"), exports);\n__exportStar(require(\"../common/api\"), exports);\nfunction createProtocolConnection(reader, writer, logger, options) {\n return (0, browser_1.createMessageConnection)(reader, writer, logger, options);\n}\nexports.createProtocolConnection = createProtocolConnection;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAKA,IAAI,IAAA,KAAA,EAAgC,oBAAqB,OAAO,UAAU,SAAS,GAAG,GAAG,GAAG,GAAI;EAC5F,AAAI,MAAO,KAAA,MAAW,IAAK;EAC3B,IAAI,IAAO,OAAO,yBAAyB,GAAG,EAAE;EAIhD,CAHI,CAAC,MAAS,SAAS,IAAO,CAAC,EAAE,aAAa,EAAK,YAAY,EAAK,mBAClE,IAAO;GAAE,YAAY;GAAM,KAAK,WAAW;IAAE,OAAO,EAAE;;GAAO,GAE/D,OAAO,eAAe,GAAG,GAAI,EAAK;OAChC,SAAS,GAAG,GAAG,GAAG,GAAI;EAExB,AADI,MAAO,KAAA,MAAW,IAAK,IAC3B,EAAE,KAAM,EAAE;MAEV,IAAA,KAAA,EAA6B,gBAAiB,SAAS,GAAG,GAAS;EACnE,KAAK,IAAI,KAAK,GAAG,AAAI,MAAM,aAAa,CAAC,OAAO,UAAU,eAAe,KAAKA,GAAS,EAAE,IAAE,EAAgBA,GAAS,GAAG,EAAE;;CAG7H,AADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,2BAA2B,KAAK;CACxC,IAAM,IAAA,GAAA;CAEN,AADA,EAAA,GAAA,EAAgD,EAAQ,EACxD,EAAA,GAAA,EAAuC,EAAQ;CAC/C,SAAS,EAAyB,GAAQ,GAAQ,GAAQ,GAAS;EAC/D,QAAQ,GAAG,EAAU,yBAAyB,GAAQ,GAAQ,GAAQ,EAAQ;;CAElF,EAAQ,2BAA2B"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e, __toCommonJS as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { init_main as n, main_exports as r } from "../../../vscode-languageserver-types/lib/esm/main.js";
|
|
3
|
-
import { require_main as i } from "../../node_modules/vscode-jsonrpc/lib/browser/main.js";
|
|
4
|
-
import { require_messages as a } from "./messages.js";
|
|
5
|
-
import { require_protocol as o } from "./protocol.js";
|
|
6
|
-
import { require_connection as s } from "./connection.js";
|
|
7
|
-
//#region ../../node_modules/vscode-languageserver-protocol/lib/common/api.js
|
|
8
|
-
var c = /* @__PURE__ */ e(((e) => {
|
|
9
|
-
var c = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
|
|
10
|
-
r === void 0 && (r = n);
|
|
11
|
-
var i = Object.getOwnPropertyDescriptor(t, n);
|
|
12
|
-
(!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = {
|
|
13
|
-
enumerable: !0,
|
|
14
|
-
get: function() {
|
|
15
|
-
return t[n];
|
|
16
|
-
}
|
|
17
|
-
}), Object.defineProperty(e, r, i);
|
|
18
|
-
}) : (function(e, t, n, r) {
|
|
19
|
-
r === void 0 && (r = n), e[r] = t[n];
|
|
20
|
-
})), l = e && e.__exportStar || function(e, t) {
|
|
21
|
-
for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && c(t, e, n);
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.LSPErrorCodes = e.createProtocolConnection = void 0, l(i(), e), l((n(), t(r)), e), l(a(), e), l(o(), e);
|
|
24
|
-
var u = s();
|
|
25
|
-
Object.defineProperty(e, "createProtocolConnection", {
|
|
26
|
-
enumerable: !0,
|
|
27
|
-
get: function() {
|
|
28
|
-
return u.createProtocolConnection;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
var d;
|
|
32
|
-
(function(e) {
|
|
33
|
-
e.lspReservedErrorRangeStart = -32899, e.RequestFailed = -32803, e.ServerCancelled = -32802, e.ContentModified = -32801, e.RequestCancelled = -32800, e.lspReservedErrorRangeEnd = -32800;
|
|
34
|
-
})(d || (e.LSPErrorCodes = d = {}));
|
|
35
|
-
}));
|
|
36
|
-
//#endregion
|
|
37
|
-
export default c();
|
|
38
|
-
export { c as require_api };
|
|
39
|
-
|
|
40
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","names":["exports"],"sources":["../../../../../../../../node_modules/vscode-languageserver-protocol/lib/common/api.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LSPErrorCodes = exports.createProtocolConnection = void 0;\n__exportStar(require(\"vscode-jsonrpc\"), exports);\n__exportStar(require(\"vscode-languageserver-types\"), exports);\n__exportStar(require(\"./messages\"), exports);\n__exportStar(require(\"./protocol\"), exports);\nvar connection_1 = require(\"./connection\");\nObject.defineProperty(exports, \"createProtocolConnection\", { enumerable: true, get: function () { return connection_1.createProtocolConnection; } });\nvar LSPErrorCodes;\n(function (LSPErrorCodes) {\n /**\n * This is the start range of LSP reserved error codes.\n * It doesn't denote a real error code.\n *\n * @since 3.16.0\n */\n LSPErrorCodes.lspReservedErrorRangeStart = -32899;\n /**\n * A request failed but it was syntactically correct, e.g the\n * method name was known and the parameters were valid. The error\n * message should contain human readable information about why\n * the request failed.\n *\n * @since 3.17.0\n */\n LSPErrorCodes.RequestFailed = -32803;\n /**\n * The server cancelled the request. This error code should\n * only be used for requests that explicitly support being\n * server cancellable.\n *\n * @since 3.17.0\n */\n LSPErrorCodes.ServerCancelled = -32802;\n /**\n * The server detected that the content of a document got\n * modified outside normal conditions. A server should\n * NOT send this error code if it detects a content change\n * in it unprocessed messages. The result even computed\n * on an older state might still be useful for the client.\n *\n * If a client decides that a result is not of any use anymore\n * the client should cancel the request.\n */\n LSPErrorCodes.ContentModified = -32801;\n /**\n * The client has canceled a request and a server as detected\n * the cancel.\n */\n LSPErrorCodes.RequestCancelled = -32800;\n /**\n * This is the end range of LSP reserved error codes.\n * It doesn't denote a real error code.\n *\n * @since 3.16.0\n */\n LSPErrorCodes.lspReservedErrorRangeEnd = -32800;\n})(LSPErrorCodes || (exports.LSPErrorCodes = LSPErrorCodes = {}));\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CAKA,IAAI,IAAA,KAAA,EAAgC,oBAAqB,OAAO,UAAU,SAAS,GAAG,GAAG,GAAG,GAAI;EAC5F,AAAI,MAAO,KAAA,MAAW,IAAK;EAC3B,IAAI,IAAO,OAAO,yBAAyB,GAAG,EAAE;EAIhD,CAHI,CAAC,MAAS,SAAS,IAAO,CAAC,EAAE,aAAa,EAAK,YAAY,EAAK,mBAClE,IAAO;GAAE,YAAY;GAAM,KAAK,WAAW;IAAE,OAAO,EAAE;;GAAO,GAE/D,OAAO,eAAe,GAAG,GAAI,EAAK;OAChC,SAAS,GAAG,GAAG,GAAG,GAAI;EAExB,AADI,MAAO,KAAA,MAAW,IAAK,IAC3B,EAAE,KAAM,EAAE;MAEV,IAAA,KAAA,EAA6B,gBAAiB,SAAS,GAAG,GAAS;EACnE,KAAK,IAAI,KAAK,GAAG,AAAI,MAAM,aAAa,CAAC,OAAO,UAAU,eAAe,KAAKA,GAAS,EAAE,IAAE,EAAgBA,GAAS,GAAG,EAAE;;CAO7H,AALA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,gBAAgB,EAAQ,2BAA2B,KAAK,GAChE,EAAA,GAAA,EAAwC,EAAQ,EAChD,GAAA,GAAA,EAAA,EAAA,EAAA,GAAqD,EAAQ,EAC7D,EAAA,GAAA,EAAoC,EAAQ,EAC5C,EAAA,GAAA,EAAoC,EAAQ;CAC5C,IAAI,IAAA,GAAA;CACJ,OAAO,eAAe,GAAS,4BAA4B;EAAE,YAAY;EAAM,KAAK,WAAY;GAAE,OAAO,EAAa;;EAA6B,CAAC;CACpJ,IAAI;CACJ,CAAC,SAAU,GAAe;EA+CtB,AAxCA,EAAc,6BAA6B,QAS3C,EAAc,gBAAgB,QAQ9B,EAAc,kBAAkB,QAWhC,EAAc,kBAAkB,QAKhC,EAAc,mBAAmB,QAOjC,EAAc,2BAA2B;IAC1C,MAAkB,EAAQ,gBAAgB,IAAgB,EAAE,EAAE"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_main as t } from "../../node_modules/vscode-jsonrpc/lib/browser/main.js";
|
|
3
|
-
//#region ../../node_modules/vscode-languageserver-protocol/lib/common/connection.js
|
|
4
|
-
var n = /* @__PURE__ */ e(((e) => {
|
|
5
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.createProtocolConnection = void 0;
|
|
6
|
-
var n = t();
|
|
7
|
-
function r(e, t, r, i) {
|
|
8
|
-
return n.ConnectionStrategy.is(i) && (i = { connectionStrategy: i }), (0, n.createMessageConnection)(e, t, r, i);
|
|
9
|
-
}
|
|
10
|
-
e.createProtocolConnection = r;
|
|
11
|
-
}));
|
|
12
|
-
//#endregion
|
|
13
|
-
export default n();
|
|
14
|
-
export { n as require_connection };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=connection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","names":[],"sources":["../../../../../../../../node_modules/vscode-languageserver-protocol/lib/common/connection.js"],"sourcesContent":["\"use strict\";\n/* --------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n * ------------------------------------------------------------------------------------------ */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createProtocolConnection = void 0;\nconst vscode_jsonrpc_1 = require(\"vscode-jsonrpc\");\nfunction createProtocolConnection(input, output, logger, options) {\n if (vscode_jsonrpc_1.ConnectionStrategy.is(options)) {\n options = { connectionStrategy: options };\n }\n return (0, vscode_jsonrpc_1.createMessageConnection)(input, output, logger, options);\n}\nexports.createProtocolConnection = createProtocolConnection;\n"],"x_google_ignoreList":[0],"mappings":";;;;CAMA,AADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,2BAA2B,KAAK;CACxC,IAAM,IAAA,GAAA;CACN,SAAS,EAAyB,GAAO,GAAQ,GAAQ,GAAS;EAI9D,OAHI,EAAiB,mBAAmB,GAAG,EAAQ,KAC/C,IAAU,EAAE,oBAAoB,GAAS,IAErC,GAAG,EAAiB,yBAAyB,GAAO,GAAQ,GAAQ,EAAQ;;CAExF,EAAQ,2BAA2B"}
|