@plumile/ui 0.1.112 → 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/MarkdownArticleContainer.css.js +0 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownLink.css.js +1 -0
- 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 +6 -6
- 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/browser.js +0 -11
- package/lib/esm/node_modules/vscode-jsonrpc/browser.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/browser/main.js +0 -56
- package/lib/esm/node_modules/vscode-jsonrpc/lib/browser/main.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/browser/ril.js +0 -124
- package/lib/esm/node_modules/vscode-jsonrpc/lib/browser/ril.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/api.js +0 -341
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/api.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/connection.js +0 -651
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/connection.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -17
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/disposable.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/linkedMap.js +0 -239
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/linkedMap.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -97
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -133
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageReader.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -89
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messageWriter.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -165
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/messages.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-jsonrpc/lib/common/semaphore.js +0 -48
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/semaphore.js.map +0 -1
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -62
- package/lib/esm/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.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-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,1088 +0,0 @@
|
|
|
1
|
-
import { __esmMin as e, __exportAll as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../node_modules/vscode-languageserver-types/lib/esm/main.js
|
|
3
|
-
var n = /* @__PURE__ */ t({
|
|
4
|
-
AnnotatedTextEdit: () => S,
|
|
5
|
-
ChangeAnnotation: () => b,
|
|
6
|
-
ChangeAnnotationIdentifier: () => x,
|
|
7
|
-
CodeAction: () => fe,
|
|
8
|
-
CodeActionContext: () => de,
|
|
9
|
-
CodeActionKind: () => ue,
|
|
10
|
-
CodeActionTriggerKind: () => Y,
|
|
11
|
-
CodeDescription: () => ne,
|
|
12
|
-
CodeLens: () => pe,
|
|
13
|
-
Color: () => d,
|
|
14
|
-
ColorInformation: () => f,
|
|
15
|
-
ColorPresentation: () => p,
|
|
16
|
-
Command: () => v,
|
|
17
|
-
CompletionItem: () => B,
|
|
18
|
-
CompletionItemKind: () => P,
|
|
19
|
-
CompletionItemLabelDetails: () => z,
|
|
20
|
-
CompletionItemTag: () => I,
|
|
21
|
-
CompletionList: () => V,
|
|
22
|
-
CreateFile: () => w,
|
|
23
|
-
DeleteFile: () => E,
|
|
24
|
-
Diagnostic: () => _,
|
|
25
|
-
DiagnosticRelatedInformation: () => m,
|
|
26
|
-
DiagnosticSeverity: () => h,
|
|
27
|
-
DiagnosticTag: () => g,
|
|
28
|
-
DocumentHighlight: () => q,
|
|
29
|
-
DocumentHighlightKind: () => K,
|
|
30
|
-
DocumentLink: () => he,
|
|
31
|
-
DocumentSymbol: () => le,
|
|
32
|
-
DocumentUri: () => r,
|
|
33
|
-
EOL: () => je,
|
|
34
|
-
FoldingRange: () => te,
|
|
35
|
-
FoldingRangeKind: () => ee,
|
|
36
|
-
FormattingOptions: () => me,
|
|
37
|
-
Hover: () => U,
|
|
38
|
-
InlayHint: () => we,
|
|
39
|
-
InlayHintKind: () => X,
|
|
40
|
-
InlayHintLabelPart: () => Z,
|
|
41
|
-
InlineCompletionContext: () => ke,
|
|
42
|
-
InlineCompletionItem: () => Ee,
|
|
43
|
-
InlineCompletionList: () => De,
|
|
44
|
-
InlineCompletionTriggerKind: () => Oe,
|
|
45
|
-
InlineValueContext: () => Ce,
|
|
46
|
-
InlineValueEvaluatableExpression: () => Se,
|
|
47
|
-
InlineValueText: () => be,
|
|
48
|
-
InlineValueVariableLookup: () => xe,
|
|
49
|
-
InsertReplaceEdit: () => L,
|
|
50
|
-
InsertTextFormat: () => F,
|
|
51
|
-
InsertTextMode: () => R,
|
|
52
|
-
Location: () => l,
|
|
53
|
-
LocationLink: () => u,
|
|
54
|
-
MarkedString: () => H,
|
|
55
|
-
MarkupContent: () => N,
|
|
56
|
-
MarkupKind: () => M,
|
|
57
|
-
OptionalVersionedTextDocumentIdentifier: () => A,
|
|
58
|
-
ParameterInformation: () => W,
|
|
59
|
-
Position: () => s,
|
|
60
|
-
Range: () => c,
|
|
61
|
-
RenameFile: () => T,
|
|
62
|
-
SelectedCompletionInfo: () => Q,
|
|
63
|
-
SelectionRange: () => ge,
|
|
64
|
-
SemanticTokenModifiers: () => ve,
|
|
65
|
-
SemanticTokenTypes: () => _e,
|
|
66
|
-
SemanticTokens: () => ye,
|
|
67
|
-
SignatureInformation: () => G,
|
|
68
|
-
StringValue: () => Te,
|
|
69
|
-
SymbolInformation: () => se,
|
|
70
|
-
SymbolKind: () => J,
|
|
71
|
-
SymbolTag: () => oe,
|
|
72
|
-
TextDocument: () => Me,
|
|
73
|
-
TextDocumentEdit: () => C,
|
|
74
|
-
TextDocumentIdentifier: () => ie,
|
|
75
|
-
TextDocumentItem: () => j,
|
|
76
|
-
TextEdit: () => y,
|
|
77
|
-
URI: () => i,
|
|
78
|
-
VersionedTextDocumentIdentifier: () => ae,
|
|
79
|
-
WorkspaceChange: () => re,
|
|
80
|
-
WorkspaceEdit: () => D,
|
|
81
|
-
WorkspaceFolder: () => Ae,
|
|
82
|
-
WorkspaceSymbol: () => ce,
|
|
83
|
-
integer: () => a,
|
|
84
|
-
uinteger: () => o
|
|
85
|
-
}), r, i, a, o, s, c, l, u, d, f, p, ee, te, m, h, g, ne, _, v, y, b, x, S, C, w, T, E, D, O, k, re, ie, ae, A, j, M, N, P, F, I, L, R, z, B, V, H, U, W, G, K, q, J, oe, se, ce, le, ue, Y, de, fe, pe, me, he, ge, _e, ve, ye, be, xe, Se, Ce, X, Z, we, Te, Ee, De, Oe, Q, ke, Ae, je, Me, Ne, $, Pe = e((() => {
|
|
86
|
-
(function(e) {
|
|
87
|
-
function t(e) {
|
|
88
|
-
return typeof e == "string";
|
|
89
|
-
}
|
|
90
|
-
e.is = t;
|
|
91
|
-
})(r ||= {}), (function(e) {
|
|
92
|
-
function t(e) {
|
|
93
|
-
return typeof e == "string";
|
|
94
|
-
}
|
|
95
|
-
e.is = t;
|
|
96
|
-
})(i ||= {}), (function(e) {
|
|
97
|
-
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
98
|
-
function t(t) {
|
|
99
|
-
return typeof t == "number" && e.MIN_VALUE <= t && t <= e.MAX_VALUE;
|
|
100
|
-
}
|
|
101
|
-
e.is = t;
|
|
102
|
-
})(a ||= {}), (function(e) {
|
|
103
|
-
e.MIN_VALUE = 0, e.MAX_VALUE = 2147483647;
|
|
104
|
-
function t(t) {
|
|
105
|
-
return typeof t == "number" && e.MIN_VALUE <= t && t <= e.MAX_VALUE;
|
|
106
|
-
}
|
|
107
|
-
e.is = t;
|
|
108
|
-
})(o ||= {}), (function(e) {
|
|
109
|
-
function t(e, t) {
|
|
110
|
-
return e === Number.MAX_VALUE && (e = o.MAX_VALUE), t === Number.MAX_VALUE && (t = o.MAX_VALUE), {
|
|
111
|
-
line: e,
|
|
112
|
-
character: t
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
e.create = t;
|
|
116
|
-
function n(e) {
|
|
117
|
-
let t = e;
|
|
118
|
-
return $.objectLiteral(t) && $.uinteger(t.line) && $.uinteger(t.character);
|
|
119
|
-
}
|
|
120
|
-
e.is = n;
|
|
121
|
-
})(s ||= {}), (function(e) {
|
|
122
|
-
function t(e, t, n, r) {
|
|
123
|
-
if ($.uinteger(e) && $.uinteger(t) && $.uinteger(n) && $.uinteger(r)) return {
|
|
124
|
-
start: s.create(e, t),
|
|
125
|
-
end: s.create(n, r)
|
|
126
|
-
};
|
|
127
|
-
if (s.is(e) && s.is(t)) return {
|
|
128
|
-
start: e,
|
|
129
|
-
end: t
|
|
130
|
-
};
|
|
131
|
-
throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`);
|
|
132
|
-
}
|
|
133
|
-
e.create = t;
|
|
134
|
-
function n(e) {
|
|
135
|
-
let t = e;
|
|
136
|
-
return $.objectLiteral(t) && s.is(t.start) && s.is(t.end);
|
|
137
|
-
}
|
|
138
|
-
e.is = n;
|
|
139
|
-
})(c ||= {}), (function(e) {
|
|
140
|
-
function t(e, t) {
|
|
141
|
-
return {
|
|
142
|
-
uri: e,
|
|
143
|
-
range: t
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
e.create = t;
|
|
147
|
-
function n(e) {
|
|
148
|
-
let t = e;
|
|
149
|
-
return $.objectLiteral(t) && c.is(t.range) && ($.string(t.uri) || $.undefined(t.uri));
|
|
150
|
-
}
|
|
151
|
-
e.is = n;
|
|
152
|
-
})(l ||= {}), (function(e) {
|
|
153
|
-
function t(e, t, n, r) {
|
|
154
|
-
return {
|
|
155
|
-
targetUri: e,
|
|
156
|
-
targetRange: t,
|
|
157
|
-
targetSelectionRange: n,
|
|
158
|
-
originSelectionRange: r
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
e.create = t;
|
|
162
|
-
function n(e) {
|
|
163
|
-
let t = e;
|
|
164
|
-
return $.objectLiteral(t) && c.is(t.targetRange) && $.string(t.targetUri) && c.is(t.targetSelectionRange) && (c.is(t.originSelectionRange) || $.undefined(t.originSelectionRange));
|
|
165
|
-
}
|
|
166
|
-
e.is = n;
|
|
167
|
-
})(u ||= {}), (function(e) {
|
|
168
|
-
function t(e, t, n, r) {
|
|
169
|
-
return {
|
|
170
|
-
red: e,
|
|
171
|
-
green: t,
|
|
172
|
-
blue: n,
|
|
173
|
-
alpha: r
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
e.create = t;
|
|
177
|
-
function n(e) {
|
|
178
|
-
let t = e;
|
|
179
|
-
return $.objectLiteral(t) && $.numberRange(t.red, 0, 1) && $.numberRange(t.green, 0, 1) && $.numberRange(t.blue, 0, 1) && $.numberRange(t.alpha, 0, 1);
|
|
180
|
-
}
|
|
181
|
-
e.is = n;
|
|
182
|
-
})(d ||= {}), (function(e) {
|
|
183
|
-
function t(e, t) {
|
|
184
|
-
return {
|
|
185
|
-
range: e,
|
|
186
|
-
color: t
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
e.create = t;
|
|
190
|
-
function n(e) {
|
|
191
|
-
let t = e;
|
|
192
|
-
return $.objectLiteral(t) && c.is(t.range) && d.is(t.color);
|
|
193
|
-
}
|
|
194
|
-
e.is = n;
|
|
195
|
-
})(f ||= {}), (function(e) {
|
|
196
|
-
function t(e, t, n) {
|
|
197
|
-
return {
|
|
198
|
-
label: e,
|
|
199
|
-
textEdit: t,
|
|
200
|
-
additionalTextEdits: n
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
e.create = t;
|
|
204
|
-
function n(e) {
|
|
205
|
-
let t = e;
|
|
206
|
-
return $.objectLiteral(t) && $.string(t.label) && ($.undefined(t.textEdit) || y.is(t)) && ($.undefined(t.additionalTextEdits) || $.typedArray(t.additionalTextEdits, y.is));
|
|
207
|
-
}
|
|
208
|
-
e.is = n;
|
|
209
|
-
})(p ||= {}), (function(e) {
|
|
210
|
-
e.Comment = "comment", e.Imports = "imports", e.Region = "region";
|
|
211
|
-
})(ee ||= {}), (function(e) {
|
|
212
|
-
function t(e, t, n, r, i, a) {
|
|
213
|
-
let o = {
|
|
214
|
-
startLine: e,
|
|
215
|
-
endLine: t
|
|
216
|
-
};
|
|
217
|
-
return $.defined(n) && (o.startCharacter = n), $.defined(r) && (o.endCharacter = r), $.defined(i) && (o.kind = i), $.defined(a) && (o.collapsedText = a), o;
|
|
218
|
-
}
|
|
219
|
-
e.create = t;
|
|
220
|
-
function n(e) {
|
|
221
|
-
let t = e;
|
|
222
|
-
return $.objectLiteral(t) && $.uinteger(t.startLine) && $.uinteger(t.startLine) && ($.undefined(t.startCharacter) || $.uinteger(t.startCharacter)) && ($.undefined(t.endCharacter) || $.uinteger(t.endCharacter)) && ($.undefined(t.kind) || $.string(t.kind));
|
|
223
|
-
}
|
|
224
|
-
e.is = n;
|
|
225
|
-
})(te ||= {}), (function(e) {
|
|
226
|
-
function t(e, t) {
|
|
227
|
-
return {
|
|
228
|
-
location: e,
|
|
229
|
-
message: t
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
e.create = t;
|
|
233
|
-
function n(e) {
|
|
234
|
-
let t = e;
|
|
235
|
-
return $.defined(t) && l.is(t.location) && $.string(t.message);
|
|
236
|
-
}
|
|
237
|
-
e.is = n;
|
|
238
|
-
})(m ||= {}), (function(e) {
|
|
239
|
-
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
240
|
-
})(h ||= {}), (function(e) {
|
|
241
|
-
e.Unnecessary = 1, e.Deprecated = 2;
|
|
242
|
-
})(g ||= {}), (function(e) {
|
|
243
|
-
function t(e) {
|
|
244
|
-
let t = e;
|
|
245
|
-
return $.objectLiteral(t) && $.string(t.href);
|
|
246
|
-
}
|
|
247
|
-
e.is = t;
|
|
248
|
-
})(ne ||= {}), (function(e) {
|
|
249
|
-
function t(e, t, n, r, i, a) {
|
|
250
|
-
let o = {
|
|
251
|
-
range: e,
|
|
252
|
-
message: t
|
|
253
|
-
};
|
|
254
|
-
return $.defined(n) && (o.severity = n), $.defined(r) && (o.code = r), $.defined(i) && (o.source = i), $.defined(a) && (o.relatedInformation = a), o;
|
|
255
|
-
}
|
|
256
|
-
e.create = t;
|
|
257
|
-
function n(e) {
|
|
258
|
-
let t = e;
|
|
259
|
-
return $.defined(t) && c.is(t.range) && $.string(t.message) && ($.number(t.severity) || $.undefined(t.severity)) && ($.integer(t.code) || $.string(t.code) || $.undefined(t.code)) && ($.undefined(t.codeDescription) || $.string(t.codeDescription?.href)) && ($.string(t.source) || $.undefined(t.source)) && ($.undefined(t.relatedInformation) || $.typedArray(t.relatedInformation, m.is));
|
|
260
|
-
}
|
|
261
|
-
e.is = n;
|
|
262
|
-
})(_ ||= {}), (function(e) {
|
|
263
|
-
function t(e, t, ...n) {
|
|
264
|
-
let r = {
|
|
265
|
-
title: e,
|
|
266
|
-
command: t
|
|
267
|
-
};
|
|
268
|
-
return $.defined(n) && n.length > 0 && (r.arguments = n), r;
|
|
269
|
-
}
|
|
270
|
-
e.create = t;
|
|
271
|
-
function n(e) {
|
|
272
|
-
let t = e;
|
|
273
|
-
return $.defined(t) && $.string(t.title) && $.string(t.command);
|
|
274
|
-
}
|
|
275
|
-
e.is = n;
|
|
276
|
-
})(v ||= {}), (function(e) {
|
|
277
|
-
function t(e, t) {
|
|
278
|
-
return {
|
|
279
|
-
range: e,
|
|
280
|
-
newText: t
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
e.replace = t;
|
|
284
|
-
function n(e, t) {
|
|
285
|
-
return {
|
|
286
|
-
range: {
|
|
287
|
-
start: e,
|
|
288
|
-
end: e
|
|
289
|
-
},
|
|
290
|
-
newText: t
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
e.insert = n;
|
|
294
|
-
function r(e) {
|
|
295
|
-
return {
|
|
296
|
-
range: e,
|
|
297
|
-
newText: ""
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
e.del = r;
|
|
301
|
-
function i(e) {
|
|
302
|
-
let t = e;
|
|
303
|
-
return $.objectLiteral(t) && $.string(t.newText) && c.is(t.range);
|
|
304
|
-
}
|
|
305
|
-
e.is = i;
|
|
306
|
-
})(y ||= {}), (function(e) {
|
|
307
|
-
function t(e, t, n) {
|
|
308
|
-
let r = { label: e };
|
|
309
|
-
return t !== void 0 && (r.needsConfirmation = t), n !== void 0 && (r.description = n), r;
|
|
310
|
-
}
|
|
311
|
-
e.create = t;
|
|
312
|
-
function n(e) {
|
|
313
|
-
let t = e;
|
|
314
|
-
return $.objectLiteral(t) && $.string(t.label) && ($.boolean(t.needsConfirmation) || t.needsConfirmation === void 0) && ($.string(t.description) || t.description === void 0);
|
|
315
|
-
}
|
|
316
|
-
e.is = n;
|
|
317
|
-
})(b ||= {}), (function(e) {
|
|
318
|
-
function t(e) {
|
|
319
|
-
let t = e;
|
|
320
|
-
return $.string(t);
|
|
321
|
-
}
|
|
322
|
-
e.is = t;
|
|
323
|
-
})(x ||= {}), (function(e) {
|
|
324
|
-
function t(e, t, n) {
|
|
325
|
-
return {
|
|
326
|
-
range: e,
|
|
327
|
-
newText: t,
|
|
328
|
-
annotationId: n
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
e.replace = t;
|
|
332
|
-
function n(e, t, n) {
|
|
333
|
-
return {
|
|
334
|
-
range: {
|
|
335
|
-
start: e,
|
|
336
|
-
end: e
|
|
337
|
-
},
|
|
338
|
-
newText: t,
|
|
339
|
-
annotationId: n
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
e.insert = n;
|
|
343
|
-
function r(e, t) {
|
|
344
|
-
return {
|
|
345
|
-
range: e,
|
|
346
|
-
newText: "",
|
|
347
|
-
annotationId: t
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
e.del = r;
|
|
351
|
-
function i(e) {
|
|
352
|
-
let t = e;
|
|
353
|
-
return y.is(t) && (b.is(t.annotationId) || x.is(t.annotationId));
|
|
354
|
-
}
|
|
355
|
-
e.is = i;
|
|
356
|
-
})(S ||= {}), (function(e) {
|
|
357
|
-
function t(e, t) {
|
|
358
|
-
return {
|
|
359
|
-
textDocument: e,
|
|
360
|
-
edits: t
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
e.create = t;
|
|
364
|
-
function n(e) {
|
|
365
|
-
let t = e;
|
|
366
|
-
return $.defined(t) && A.is(t.textDocument) && Array.isArray(t.edits);
|
|
367
|
-
}
|
|
368
|
-
e.is = n;
|
|
369
|
-
})(C ||= {}), (function(e) {
|
|
370
|
-
function t(e, t, n) {
|
|
371
|
-
let r = {
|
|
372
|
-
kind: "create",
|
|
373
|
-
uri: e
|
|
374
|
-
};
|
|
375
|
-
return t !== void 0 && (t.overwrite !== void 0 || t.ignoreIfExists !== void 0) && (r.options = t), n !== void 0 && (r.annotationId = n), r;
|
|
376
|
-
}
|
|
377
|
-
e.create = t;
|
|
378
|
-
function n(e) {
|
|
379
|
-
let t = e;
|
|
380
|
-
return t && t.kind === "create" && $.string(t.uri) && (t.options === void 0 || (t.options.overwrite === void 0 || $.boolean(t.options.overwrite)) && (t.options.ignoreIfExists === void 0 || $.boolean(t.options.ignoreIfExists))) && (t.annotationId === void 0 || x.is(t.annotationId));
|
|
381
|
-
}
|
|
382
|
-
e.is = n;
|
|
383
|
-
})(w ||= {}), (function(e) {
|
|
384
|
-
function t(e, t, n, r) {
|
|
385
|
-
let i = {
|
|
386
|
-
kind: "rename",
|
|
387
|
-
oldUri: e,
|
|
388
|
-
newUri: t
|
|
389
|
-
};
|
|
390
|
-
return n !== void 0 && (n.overwrite !== void 0 || n.ignoreIfExists !== void 0) && (i.options = n), r !== void 0 && (i.annotationId = r), i;
|
|
391
|
-
}
|
|
392
|
-
e.create = t;
|
|
393
|
-
function n(e) {
|
|
394
|
-
let t = e;
|
|
395
|
-
return t && t.kind === "rename" && $.string(t.oldUri) && $.string(t.newUri) && (t.options === void 0 || (t.options.overwrite === void 0 || $.boolean(t.options.overwrite)) && (t.options.ignoreIfExists === void 0 || $.boolean(t.options.ignoreIfExists))) && (t.annotationId === void 0 || x.is(t.annotationId));
|
|
396
|
-
}
|
|
397
|
-
e.is = n;
|
|
398
|
-
})(T ||= {}), (function(e) {
|
|
399
|
-
function t(e, t, n) {
|
|
400
|
-
let r = {
|
|
401
|
-
kind: "delete",
|
|
402
|
-
uri: e
|
|
403
|
-
};
|
|
404
|
-
return t !== void 0 && (t.recursive !== void 0 || t.ignoreIfNotExists !== void 0) && (r.options = t), n !== void 0 && (r.annotationId = n), r;
|
|
405
|
-
}
|
|
406
|
-
e.create = t;
|
|
407
|
-
function n(e) {
|
|
408
|
-
let t = e;
|
|
409
|
-
return t && t.kind === "delete" && $.string(t.uri) && (t.options === void 0 || (t.options.recursive === void 0 || $.boolean(t.options.recursive)) && (t.options.ignoreIfNotExists === void 0 || $.boolean(t.options.ignoreIfNotExists))) && (t.annotationId === void 0 || x.is(t.annotationId));
|
|
410
|
-
}
|
|
411
|
-
e.is = n;
|
|
412
|
-
})(E ||= {}), (function(e) {
|
|
413
|
-
function t(e) {
|
|
414
|
-
let t = e;
|
|
415
|
-
return t && (t.changes !== void 0 || t.documentChanges !== void 0) && (t.documentChanges === void 0 || t.documentChanges.every((e) => $.string(e.kind) ? w.is(e) || T.is(e) || E.is(e) : C.is(e)));
|
|
416
|
-
}
|
|
417
|
-
e.is = t;
|
|
418
|
-
})(D ||= {}), O = class {
|
|
419
|
-
constructor(e, t) {
|
|
420
|
-
this.edits = e, this.changeAnnotations = t;
|
|
421
|
-
}
|
|
422
|
-
insert(e, t, n) {
|
|
423
|
-
let r, i;
|
|
424
|
-
if (n === void 0 ? r = y.insert(e, t) : x.is(n) ? (i = n, r = S.insert(e, t, n)) : (this.assertChangeAnnotations(this.changeAnnotations), i = this.changeAnnotations.manage(n), r = S.insert(e, t, i)), this.edits.push(r), i !== void 0) return i;
|
|
425
|
-
}
|
|
426
|
-
replace(e, t, n) {
|
|
427
|
-
let r, i;
|
|
428
|
-
if (n === void 0 ? r = y.replace(e, t) : x.is(n) ? (i = n, r = S.replace(e, t, n)) : (this.assertChangeAnnotations(this.changeAnnotations), i = this.changeAnnotations.manage(n), r = S.replace(e, t, i)), this.edits.push(r), i !== void 0) return i;
|
|
429
|
-
}
|
|
430
|
-
delete(e, t) {
|
|
431
|
-
let n, r;
|
|
432
|
-
if (t === void 0 ? n = y.del(e) : x.is(t) ? (r = t, n = S.del(e, t)) : (this.assertChangeAnnotations(this.changeAnnotations), r = this.changeAnnotations.manage(t), n = S.del(e, r)), this.edits.push(n), r !== void 0) return r;
|
|
433
|
-
}
|
|
434
|
-
add(e) {
|
|
435
|
-
this.edits.push(e);
|
|
436
|
-
}
|
|
437
|
-
all() {
|
|
438
|
-
return this.edits;
|
|
439
|
-
}
|
|
440
|
-
clear() {
|
|
441
|
-
this.edits.splice(0, this.edits.length);
|
|
442
|
-
}
|
|
443
|
-
assertChangeAnnotations(e) {
|
|
444
|
-
if (e === void 0) throw Error("Text edit change is not configured to manage change annotations.");
|
|
445
|
-
}
|
|
446
|
-
}, k = class {
|
|
447
|
-
constructor(e) {
|
|
448
|
-
this._annotations = e === void 0 ? Object.create(null) : e, this._counter = 0, this._size = 0;
|
|
449
|
-
}
|
|
450
|
-
all() {
|
|
451
|
-
return this._annotations;
|
|
452
|
-
}
|
|
453
|
-
get size() {
|
|
454
|
-
return this._size;
|
|
455
|
-
}
|
|
456
|
-
manage(e, t) {
|
|
457
|
-
let n;
|
|
458
|
-
if (x.is(e) ? n = e : (n = this.nextId(), t = e), this._annotations[n] !== void 0) throw Error(`Id ${n} is already in use.`);
|
|
459
|
-
if (t === void 0) throw Error(`No annotation provided for id ${n}`);
|
|
460
|
-
return this._annotations[n] = t, this._size++, n;
|
|
461
|
-
}
|
|
462
|
-
nextId() {
|
|
463
|
-
return this._counter++, this._counter.toString();
|
|
464
|
-
}
|
|
465
|
-
}, re = class {
|
|
466
|
-
constructor(e) {
|
|
467
|
-
this._textEditChanges = Object.create(null), e === void 0 ? this._workspaceEdit = {} : (this._workspaceEdit = e, e.documentChanges ? (this._changeAnnotations = new k(e.changeAnnotations), e.changeAnnotations = this._changeAnnotations.all(), e.documentChanges.forEach((e) => {
|
|
468
|
-
if (C.is(e)) {
|
|
469
|
-
let t = new O(e.edits, this._changeAnnotations);
|
|
470
|
-
this._textEditChanges[e.textDocument.uri] = t;
|
|
471
|
-
}
|
|
472
|
-
})) : e.changes && Object.keys(e.changes).forEach((t) => {
|
|
473
|
-
let n = new O(e.changes[t]);
|
|
474
|
-
this._textEditChanges[t] = n;
|
|
475
|
-
}));
|
|
476
|
-
}
|
|
477
|
-
get edit() {
|
|
478
|
-
return this.initDocumentChanges(), this._changeAnnotations !== void 0 && (this._changeAnnotations.size === 0 ? this._workspaceEdit.changeAnnotations = void 0 : this._workspaceEdit.changeAnnotations = this._changeAnnotations.all()), this._workspaceEdit;
|
|
479
|
-
}
|
|
480
|
-
getTextEditChange(e) {
|
|
481
|
-
if (A.is(e)) {
|
|
482
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
483
|
-
let t = {
|
|
484
|
-
uri: e.uri,
|
|
485
|
-
version: e.version
|
|
486
|
-
}, n = this._textEditChanges[t.uri];
|
|
487
|
-
if (!n) {
|
|
488
|
-
let e = [], r = {
|
|
489
|
-
textDocument: t,
|
|
490
|
-
edits: e
|
|
491
|
-
};
|
|
492
|
-
this._workspaceEdit.documentChanges.push(r), n = new O(e, this._changeAnnotations), this._textEditChanges[t.uri] = n;
|
|
493
|
-
}
|
|
494
|
-
return n;
|
|
495
|
-
} else {
|
|
496
|
-
if (this.initChanges(), this._workspaceEdit.changes === void 0) throw Error("Workspace edit is not configured for normal text edit changes.");
|
|
497
|
-
let t = this._textEditChanges[e];
|
|
498
|
-
if (!t) {
|
|
499
|
-
let n = [];
|
|
500
|
-
this._workspaceEdit.changes[e] = n, t = new O(n), this._textEditChanges[e] = t;
|
|
501
|
-
}
|
|
502
|
-
return t;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
initDocumentChanges() {
|
|
506
|
-
this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._changeAnnotations = new k(), this._workspaceEdit.documentChanges = [], this._workspaceEdit.changeAnnotations = this._changeAnnotations.all());
|
|
507
|
-
}
|
|
508
|
-
initChanges() {
|
|
509
|
-
this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._workspaceEdit.changes = Object.create(null));
|
|
510
|
-
}
|
|
511
|
-
createFile(e, t, n) {
|
|
512
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
513
|
-
let r;
|
|
514
|
-
b.is(t) || x.is(t) ? r = t : n = t;
|
|
515
|
-
let i, a;
|
|
516
|
-
if (r === void 0 ? i = w.create(e, n) : (a = x.is(r) ? r : this._changeAnnotations.manage(r), i = w.create(e, n, a)), this._workspaceEdit.documentChanges.push(i), a !== void 0) return a;
|
|
517
|
-
}
|
|
518
|
-
renameFile(e, t, n, r) {
|
|
519
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
520
|
-
let i;
|
|
521
|
-
b.is(n) || x.is(n) ? i = n : r = n;
|
|
522
|
-
let a, o;
|
|
523
|
-
if (i === void 0 ? a = T.create(e, t, r) : (o = x.is(i) ? i : this._changeAnnotations.manage(i), a = T.create(e, t, r, o)), this._workspaceEdit.documentChanges.push(a), o !== void 0) return o;
|
|
524
|
-
}
|
|
525
|
-
deleteFile(e, t, n) {
|
|
526
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
527
|
-
let r;
|
|
528
|
-
b.is(t) || x.is(t) ? r = t : n = t;
|
|
529
|
-
let i, a;
|
|
530
|
-
if (r === void 0 ? i = E.create(e, n) : (a = x.is(r) ? r : this._changeAnnotations.manage(r), i = E.create(e, n, a)), this._workspaceEdit.documentChanges.push(i), a !== void 0) return a;
|
|
531
|
-
}
|
|
532
|
-
}, (function(e) {
|
|
533
|
-
function t(e) {
|
|
534
|
-
return { uri: e };
|
|
535
|
-
}
|
|
536
|
-
e.create = t;
|
|
537
|
-
function n(e) {
|
|
538
|
-
let t = e;
|
|
539
|
-
return $.defined(t) && $.string(t.uri);
|
|
540
|
-
}
|
|
541
|
-
e.is = n;
|
|
542
|
-
})(ie ||= {}), (function(e) {
|
|
543
|
-
function t(e, t) {
|
|
544
|
-
return {
|
|
545
|
-
uri: e,
|
|
546
|
-
version: t
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
e.create = t;
|
|
550
|
-
function n(e) {
|
|
551
|
-
let t = e;
|
|
552
|
-
return $.defined(t) && $.string(t.uri) && $.integer(t.version);
|
|
553
|
-
}
|
|
554
|
-
e.is = n;
|
|
555
|
-
})(ae ||= {}), (function(e) {
|
|
556
|
-
function t(e, t) {
|
|
557
|
-
return {
|
|
558
|
-
uri: e,
|
|
559
|
-
version: t
|
|
560
|
-
};
|
|
561
|
-
}
|
|
562
|
-
e.create = t;
|
|
563
|
-
function n(e) {
|
|
564
|
-
let t = e;
|
|
565
|
-
return $.defined(t) && $.string(t.uri) && (t.version === null || $.integer(t.version));
|
|
566
|
-
}
|
|
567
|
-
e.is = n;
|
|
568
|
-
})(A ||= {}), (function(e) {
|
|
569
|
-
function t(e, t, n, r) {
|
|
570
|
-
return {
|
|
571
|
-
uri: e,
|
|
572
|
-
languageId: t,
|
|
573
|
-
version: n,
|
|
574
|
-
text: r
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
e.create = t;
|
|
578
|
-
function n(e) {
|
|
579
|
-
let t = e;
|
|
580
|
-
return $.defined(t) && $.string(t.uri) && $.string(t.languageId) && $.integer(t.version) && $.string(t.text);
|
|
581
|
-
}
|
|
582
|
-
e.is = n;
|
|
583
|
-
})(j ||= {}), (function(e) {
|
|
584
|
-
e.PlainText = "plaintext", e.Markdown = "markdown";
|
|
585
|
-
function t(t) {
|
|
586
|
-
let n = t;
|
|
587
|
-
return n === e.PlainText || n === e.Markdown;
|
|
588
|
-
}
|
|
589
|
-
e.is = t;
|
|
590
|
-
})(M ||= {}), (function(e) {
|
|
591
|
-
function t(e) {
|
|
592
|
-
let t = e;
|
|
593
|
-
return $.objectLiteral(e) && M.is(t.kind) && $.string(t.value);
|
|
594
|
-
}
|
|
595
|
-
e.is = t;
|
|
596
|
-
})(N ||= {}), (function(e) {
|
|
597
|
-
e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
|
|
598
|
-
})(P ||= {}), (function(e) {
|
|
599
|
-
e.PlainText = 1, e.Snippet = 2;
|
|
600
|
-
})(F ||= {}), (function(e) {
|
|
601
|
-
e.Deprecated = 1;
|
|
602
|
-
})(I ||= {}), (function(e) {
|
|
603
|
-
function t(e, t, n) {
|
|
604
|
-
return {
|
|
605
|
-
newText: e,
|
|
606
|
-
insert: t,
|
|
607
|
-
replace: n
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
e.create = t;
|
|
611
|
-
function n(e) {
|
|
612
|
-
let t = e;
|
|
613
|
-
return t && $.string(t.newText) && c.is(t.insert) && c.is(t.replace);
|
|
614
|
-
}
|
|
615
|
-
e.is = n;
|
|
616
|
-
})(L ||= {}), (function(e) {
|
|
617
|
-
e.asIs = 1, e.adjustIndentation = 2;
|
|
618
|
-
})(R ||= {}), (function(e) {
|
|
619
|
-
function t(e) {
|
|
620
|
-
let t = e;
|
|
621
|
-
return t && ($.string(t.detail) || t.detail === void 0) && ($.string(t.description) || t.description === void 0);
|
|
622
|
-
}
|
|
623
|
-
e.is = t;
|
|
624
|
-
})(z ||= {}), (function(e) {
|
|
625
|
-
function t(e) {
|
|
626
|
-
return { label: e };
|
|
627
|
-
}
|
|
628
|
-
e.create = t;
|
|
629
|
-
})(B ||= {}), (function(e) {
|
|
630
|
-
function t(e, t) {
|
|
631
|
-
return {
|
|
632
|
-
items: e || [],
|
|
633
|
-
isIncomplete: !!t
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
e.create = t;
|
|
637
|
-
})(V ||= {}), (function(e) {
|
|
638
|
-
function t(e) {
|
|
639
|
-
return e.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&");
|
|
640
|
-
}
|
|
641
|
-
e.fromPlainText = t;
|
|
642
|
-
function n(e) {
|
|
643
|
-
let t = e;
|
|
644
|
-
return $.string(t) || $.objectLiteral(t) && $.string(t.language) && $.string(t.value);
|
|
645
|
-
}
|
|
646
|
-
e.is = n;
|
|
647
|
-
})(H ||= {}), (function(e) {
|
|
648
|
-
function t(e) {
|
|
649
|
-
let t = e;
|
|
650
|
-
return !!t && $.objectLiteral(t) && (N.is(t.contents) || H.is(t.contents) || $.typedArray(t.contents, H.is)) && (e.range === void 0 || c.is(e.range));
|
|
651
|
-
}
|
|
652
|
-
e.is = t;
|
|
653
|
-
})(U ||= {}), (function(e) {
|
|
654
|
-
function t(e, t) {
|
|
655
|
-
return t ? {
|
|
656
|
-
label: e,
|
|
657
|
-
documentation: t
|
|
658
|
-
} : { label: e };
|
|
659
|
-
}
|
|
660
|
-
e.create = t;
|
|
661
|
-
})(W ||= {}), (function(e) {
|
|
662
|
-
function t(e, t, ...n) {
|
|
663
|
-
let r = { label: e };
|
|
664
|
-
return $.defined(t) && (r.documentation = t), $.defined(n) ? r.parameters = n : r.parameters = [], r;
|
|
665
|
-
}
|
|
666
|
-
e.create = t;
|
|
667
|
-
})(G ||= {}), (function(e) {
|
|
668
|
-
e.Text = 1, e.Read = 2, e.Write = 3;
|
|
669
|
-
})(K ||= {}), (function(e) {
|
|
670
|
-
function t(e, t) {
|
|
671
|
-
let n = { range: e };
|
|
672
|
-
return $.number(t) && (n.kind = t), n;
|
|
673
|
-
}
|
|
674
|
-
e.create = t;
|
|
675
|
-
})(q ||= {}), (function(e) {
|
|
676
|
-
e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
|
|
677
|
-
})(J ||= {}), (function(e) {
|
|
678
|
-
e.Deprecated = 1;
|
|
679
|
-
})(oe ||= {}), (function(e) {
|
|
680
|
-
function t(e, t, n, r, i) {
|
|
681
|
-
let a = {
|
|
682
|
-
name: e,
|
|
683
|
-
kind: t,
|
|
684
|
-
location: {
|
|
685
|
-
uri: r,
|
|
686
|
-
range: n
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
return i && (a.containerName = i), a;
|
|
690
|
-
}
|
|
691
|
-
e.create = t;
|
|
692
|
-
})(se ||= {}), (function(e) {
|
|
693
|
-
function t(e, t, n, r) {
|
|
694
|
-
return r === void 0 ? {
|
|
695
|
-
name: e,
|
|
696
|
-
kind: t,
|
|
697
|
-
location: { uri: n }
|
|
698
|
-
} : {
|
|
699
|
-
name: e,
|
|
700
|
-
kind: t,
|
|
701
|
-
location: {
|
|
702
|
-
uri: n,
|
|
703
|
-
range: r
|
|
704
|
-
}
|
|
705
|
-
};
|
|
706
|
-
}
|
|
707
|
-
e.create = t;
|
|
708
|
-
})(ce ||= {}), (function(e) {
|
|
709
|
-
function t(e, t, n, r, i, a) {
|
|
710
|
-
let o = {
|
|
711
|
-
name: e,
|
|
712
|
-
detail: t,
|
|
713
|
-
kind: n,
|
|
714
|
-
range: r,
|
|
715
|
-
selectionRange: i
|
|
716
|
-
};
|
|
717
|
-
return a !== void 0 && (o.children = a), o;
|
|
718
|
-
}
|
|
719
|
-
e.create = t;
|
|
720
|
-
function n(e) {
|
|
721
|
-
let t = e;
|
|
722
|
-
return t && $.string(t.name) && $.number(t.kind) && c.is(t.range) && c.is(t.selectionRange) && (t.detail === void 0 || $.string(t.detail)) && (t.deprecated === void 0 || $.boolean(t.deprecated)) && (t.children === void 0 || Array.isArray(t.children)) && (t.tags === void 0 || Array.isArray(t.tags));
|
|
723
|
-
}
|
|
724
|
-
e.is = n;
|
|
725
|
-
})(le ||= {}), (function(e) {
|
|
726
|
-
e.Empty = "", e.QuickFix = "quickfix", e.Refactor = "refactor", e.RefactorExtract = "refactor.extract", e.RefactorInline = "refactor.inline", e.RefactorRewrite = "refactor.rewrite", e.Source = "source", e.SourceOrganizeImports = "source.organizeImports", e.SourceFixAll = "source.fixAll";
|
|
727
|
-
})(ue ||= {}), (function(e) {
|
|
728
|
-
e.Invoked = 1, e.Automatic = 2;
|
|
729
|
-
})(Y ||= {}), (function(e) {
|
|
730
|
-
function t(e, t, n) {
|
|
731
|
-
let r = { diagnostics: e };
|
|
732
|
-
return t != null && (r.only = t), n != null && (r.triggerKind = n), r;
|
|
733
|
-
}
|
|
734
|
-
e.create = t;
|
|
735
|
-
function n(e) {
|
|
736
|
-
let t = e;
|
|
737
|
-
return $.defined(t) && $.typedArray(t.diagnostics, _.is) && (t.only === void 0 || $.typedArray(t.only, $.string)) && (t.triggerKind === void 0 || t.triggerKind === Y.Invoked || t.triggerKind === Y.Automatic);
|
|
738
|
-
}
|
|
739
|
-
e.is = n;
|
|
740
|
-
})(de ||= {}), (function(e) {
|
|
741
|
-
function t(e, t, n) {
|
|
742
|
-
let r = { title: e }, i = !0;
|
|
743
|
-
return typeof t == "string" ? (i = !1, r.kind = t) : v.is(t) ? r.command = t : r.edit = t, i && n !== void 0 && (r.kind = n), r;
|
|
744
|
-
}
|
|
745
|
-
e.create = t;
|
|
746
|
-
function n(e) {
|
|
747
|
-
let t = e;
|
|
748
|
-
return t && $.string(t.title) && (t.diagnostics === void 0 || $.typedArray(t.diagnostics, _.is)) && (t.kind === void 0 || $.string(t.kind)) && (t.edit !== void 0 || t.command !== void 0) && (t.command === void 0 || v.is(t.command)) && (t.isPreferred === void 0 || $.boolean(t.isPreferred)) && (t.edit === void 0 || D.is(t.edit));
|
|
749
|
-
}
|
|
750
|
-
e.is = n;
|
|
751
|
-
})(fe ||= {}), (function(e) {
|
|
752
|
-
function t(e, t) {
|
|
753
|
-
let n = { range: e };
|
|
754
|
-
return $.defined(t) && (n.data = t), n;
|
|
755
|
-
}
|
|
756
|
-
e.create = t;
|
|
757
|
-
function n(e) {
|
|
758
|
-
let t = e;
|
|
759
|
-
return $.defined(t) && c.is(t.range) && ($.undefined(t.command) || v.is(t.command));
|
|
760
|
-
}
|
|
761
|
-
e.is = n;
|
|
762
|
-
})(pe ||= {}), (function(e) {
|
|
763
|
-
function t(e, t) {
|
|
764
|
-
return {
|
|
765
|
-
tabSize: e,
|
|
766
|
-
insertSpaces: t
|
|
767
|
-
};
|
|
768
|
-
}
|
|
769
|
-
e.create = t;
|
|
770
|
-
function n(e) {
|
|
771
|
-
let t = e;
|
|
772
|
-
return $.defined(t) && $.uinteger(t.tabSize) && $.boolean(t.insertSpaces);
|
|
773
|
-
}
|
|
774
|
-
e.is = n;
|
|
775
|
-
})(me ||= {}), (function(e) {
|
|
776
|
-
function t(e, t, n) {
|
|
777
|
-
return {
|
|
778
|
-
range: e,
|
|
779
|
-
target: t,
|
|
780
|
-
data: n
|
|
781
|
-
};
|
|
782
|
-
}
|
|
783
|
-
e.create = t;
|
|
784
|
-
function n(e) {
|
|
785
|
-
let t = e;
|
|
786
|
-
return $.defined(t) && c.is(t.range) && ($.undefined(t.target) || $.string(t.target));
|
|
787
|
-
}
|
|
788
|
-
e.is = n;
|
|
789
|
-
})(he ||= {}), (function(e) {
|
|
790
|
-
function t(e, t) {
|
|
791
|
-
return {
|
|
792
|
-
range: e,
|
|
793
|
-
parent: t
|
|
794
|
-
};
|
|
795
|
-
}
|
|
796
|
-
e.create = t;
|
|
797
|
-
function n(t) {
|
|
798
|
-
let n = t;
|
|
799
|
-
return $.objectLiteral(n) && c.is(n.range) && (n.parent === void 0 || e.is(n.parent));
|
|
800
|
-
}
|
|
801
|
-
e.is = n;
|
|
802
|
-
})(ge ||= {}), (function(e) {
|
|
803
|
-
e.namespace = "namespace", e.type = "type", e.class = "class", e.enum = "enum", e.interface = "interface", e.struct = "struct", e.typeParameter = "typeParameter", e.parameter = "parameter", e.variable = "variable", e.property = "property", e.enumMember = "enumMember", e.event = "event", e.function = "function", e.method = "method", e.macro = "macro", e.keyword = "keyword", e.modifier = "modifier", e.comment = "comment", e.string = "string", e.number = "number", e.regexp = "regexp", e.operator = "operator", e.decorator = "decorator";
|
|
804
|
-
})(_e ||= {}), (function(e) {
|
|
805
|
-
e.declaration = "declaration", e.definition = "definition", e.readonly = "readonly", e.static = "static", e.deprecated = "deprecated", e.abstract = "abstract", e.async = "async", e.modification = "modification", e.documentation = "documentation", e.defaultLibrary = "defaultLibrary";
|
|
806
|
-
})(ve ||= {}), (function(e) {
|
|
807
|
-
function t(e) {
|
|
808
|
-
let t = e;
|
|
809
|
-
return $.objectLiteral(t) && (t.resultId === void 0 || typeof t.resultId == "string") && Array.isArray(t.data) && (t.data.length === 0 || typeof t.data[0] == "number");
|
|
810
|
-
}
|
|
811
|
-
e.is = t;
|
|
812
|
-
})(ye ||= {}), (function(e) {
|
|
813
|
-
function t(e, t) {
|
|
814
|
-
return {
|
|
815
|
-
range: e,
|
|
816
|
-
text: t
|
|
817
|
-
};
|
|
818
|
-
}
|
|
819
|
-
e.create = t;
|
|
820
|
-
function n(e) {
|
|
821
|
-
let t = e;
|
|
822
|
-
return t != null && c.is(t.range) && $.string(t.text);
|
|
823
|
-
}
|
|
824
|
-
e.is = n;
|
|
825
|
-
})(be ||= {}), (function(e) {
|
|
826
|
-
function t(e, t, n) {
|
|
827
|
-
return {
|
|
828
|
-
range: e,
|
|
829
|
-
variableName: t,
|
|
830
|
-
caseSensitiveLookup: n
|
|
831
|
-
};
|
|
832
|
-
}
|
|
833
|
-
e.create = t;
|
|
834
|
-
function n(e) {
|
|
835
|
-
let t = e;
|
|
836
|
-
return t != null && c.is(t.range) && $.boolean(t.caseSensitiveLookup) && ($.string(t.variableName) || t.variableName === void 0);
|
|
837
|
-
}
|
|
838
|
-
e.is = n;
|
|
839
|
-
})(xe ||= {}), (function(e) {
|
|
840
|
-
function t(e, t) {
|
|
841
|
-
return {
|
|
842
|
-
range: e,
|
|
843
|
-
expression: t
|
|
844
|
-
};
|
|
845
|
-
}
|
|
846
|
-
e.create = t;
|
|
847
|
-
function n(e) {
|
|
848
|
-
let t = e;
|
|
849
|
-
return t != null && c.is(t.range) && ($.string(t.expression) || t.expression === void 0);
|
|
850
|
-
}
|
|
851
|
-
e.is = n;
|
|
852
|
-
})(Se ||= {}), (function(e) {
|
|
853
|
-
function t(e, t) {
|
|
854
|
-
return {
|
|
855
|
-
frameId: e,
|
|
856
|
-
stoppedLocation: t
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
e.create = t;
|
|
860
|
-
function n(e) {
|
|
861
|
-
let t = e;
|
|
862
|
-
return $.defined(t) && c.is(e.stoppedLocation);
|
|
863
|
-
}
|
|
864
|
-
e.is = n;
|
|
865
|
-
})(Ce ||= {}), (function(e) {
|
|
866
|
-
e.Type = 1, e.Parameter = 2;
|
|
867
|
-
function t(e) {
|
|
868
|
-
return e === 1 || e === 2;
|
|
869
|
-
}
|
|
870
|
-
e.is = t;
|
|
871
|
-
})(X ||= {}), (function(e) {
|
|
872
|
-
function t(e) {
|
|
873
|
-
return { value: e };
|
|
874
|
-
}
|
|
875
|
-
e.create = t;
|
|
876
|
-
function n(e) {
|
|
877
|
-
let t = e;
|
|
878
|
-
return $.objectLiteral(t) && (t.tooltip === void 0 || $.string(t.tooltip) || N.is(t.tooltip)) && (t.location === void 0 || l.is(t.location)) && (t.command === void 0 || v.is(t.command));
|
|
879
|
-
}
|
|
880
|
-
e.is = n;
|
|
881
|
-
})(Z ||= {}), (function(e) {
|
|
882
|
-
function t(e, t, n) {
|
|
883
|
-
let r = {
|
|
884
|
-
position: e,
|
|
885
|
-
label: t
|
|
886
|
-
};
|
|
887
|
-
return n !== void 0 && (r.kind = n), r;
|
|
888
|
-
}
|
|
889
|
-
e.create = t;
|
|
890
|
-
function n(e) {
|
|
891
|
-
let t = e;
|
|
892
|
-
return $.objectLiteral(t) && s.is(t.position) && ($.string(t.label) || $.typedArray(t.label, Z.is)) && (t.kind === void 0 || X.is(t.kind)) && t.textEdits === void 0 || $.typedArray(t.textEdits, y.is) && (t.tooltip === void 0 || $.string(t.tooltip) || N.is(t.tooltip)) && (t.paddingLeft === void 0 || $.boolean(t.paddingLeft)) && (t.paddingRight === void 0 || $.boolean(t.paddingRight));
|
|
893
|
-
}
|
|
894
|
-
e.is = n;
|
|
895
|
-
})(we ||= {}), (function(e) {
|
|
896
|
-
function t(e) {
|
|
897
|
-
return {
|
|
898
|
-
kind: "snippet",
|
|
899
|
-
value: e
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
e.createSnippet = t;
|
|
903
|
-
})(Te ||= {}), (function(e) {
|
|
904
|
-
function t(e, t, n, r) {
|
|
905
|
-
return {
|
|
906
|
-
insertText: e,
|
|
907
|
-
filterText: t,
|
|
908
|
-
range: n,
|
|
909
|
-
command: r
|
|
910
|
-
};
|
|
911
|
-
}
|
|
912
|
-
e.create = t;
|
|
913
|
-
})(Ee ||= {}), (function(e) {
|
|
914
|
-
function t(e) {
|
|
915
|
-
return { items: e };
|
|
916
|
-
}
|
|
917
|
-
e.create = t;
|
|
918
|
-
})(De ||= {}), (function(e) {
|
|
919
|
-
e.Invoked = 0, e.Automatic = 1;
|
|
920
|
-
})(Oe ||= {}), (function(e) {
|
|
921
|
-
function t(e, t) {
|
|
922
|
-
return {
|
|
923
|
-
range: e,
|
|
924
|
-
text: t
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
e.create = t;
|
|
928
|
-
})(Q ||= {}), (function(e) {
|
|
929
|
-
function t(e, t) {
|
|
930
|
-
return {
|
|
931
|
-
triggerKind: e,
|
|
932
|
-
selectedCompletionInfo: t
|
|
933
|
-
};
|
|
934
|
-
}
|
|
935
|
-
e.create = t;
|
|
936
|
-
})(ke ||= {}), (function(e) {
|
|
937
|
-
function t(e) {
|
|
938
|
-
let t = e;
|
|
939
|
-
return $.objectLiteral(t) && i.is(t.uri) && $.string(t.name);
|
|
940
|
-
}
|
|
941
|
-
e.is = t;
|
|
942
|
-
})(Ae ||= {}), je = [
|
|
943
|
-
"\n",
|
|
944
|
-
"\r\n",
|
|
945
|
-
"\r"
|
|
946
|
-
], (function(e) {
|
|
947
|
-
function t(e, t, n, r) {
|
|
948
|
-
return new Ne(e, t, n, r);
|
|
949
|
-
}
|
|
950
|
-
e.create = t;
|
|
951
|
-
function n(e) {
|
|
952
|
-
let t = e;
|
|
953
|
-
return !!($.defined(t) && $.string(t.uri) && ($.undefined(t.languageId) || $.string(t.languageId)) && $.uinteger(t.lineCount) && $.func(t.getText) && $.func(t.positionAt) && $.func(t.offsetAt));
|
|
954
|
-
}
|
|
955
|
-
e.is = n;
|
|
956
|
-
function r(e, t) {
|
|
957
|
-
let n = e.getText(), r = i(t, (e, t) => {
|
|
958
|
-
let n = e.range.start.line - t.range.start.line;
|
|
959
|
-
return n === 0 ? e.range.start.character - t.range.start.character : n;
|
|
960
|
-
}), a = n.length;
|
|
961
|
-
for (let t = r.length - 1; t >= 0; t--) {
|
|
962
|
-
let i = r[t], o = e.offsetAt(i.range.start), s = e.offsetAt(i.range.end);
|
|
963
|
-
if (s <= a) n = n.substring(0, o) + i.newText + n.substring(s, n.length);
|
|
964
|
-
else throw Error("Overlapping edit");
|
|
965
|
-
a = o;
|
|
966
|
-
}
|
|
967
|
-
return n;
|
|
968
|
-
}
|
|
969
|
-
e.applyEdits = r;
|
|
970
|
-
function i(e, t) {
|
|
971
|
-
if (e.length <= 1) return e;
|
|
972
|
-
let n = e.length / 2 | 0, r = e.slice(0, n), a = e.slice(n);
|
|
973
|
-
i(r, t), i(a, t);
|
|
974
|
-
let o = 0, s = 0, c = 0;
|
|
975
|
-
for (; o < r.length && s < a.length;) t(r[o], a[s]) <= 0 ? e[c++] = r[o++] : e[c++] = a[s++];
|
|
976
|
-
for (; o < r.length;) e[c++] = r[o++];
|
|
977
|
-
for (; s < a.length;) e[c++] = a[s++];
|
|
978
|
-
return e;
|
|
979
|
-
}
|
|
980
|
-
})(Me ||= {}), Ne = class {
|
|
981
|
-
constructor(e, t, n, r) {
|
|
982
|
-
this._uri = e, this._languageId = t, this._version = n, this._content = r, this._lineOffsets = void 0;
|
|
983
|
-
}
|
|
984
|
-
get uri() {
|
|
985
|
-
return this._uri;
|
|
986
|
-
}
|
|
987
|
-
get languageId() {
|
|
988
|
-
return this._languageId;
|
|
989
|
-
}
|
|
990
|
-
get version() {
|
|
991
|
-
return this._version;
|
|
992
|
-
}
|
|
993
|
-
getText(e) {
|
|
994
|
-
if (e) {
|
|
995
|
-
let t = this.offsetAt(e.start), n = this.offsetAt(e.end);
|
|
996
|
-
return this._content.substring(t, n);
|
|
997
|
-
}
|
|
998
|
-
return this._content;
|
|
999
|
-
}
|
|
1000
|
-
update(e, t) {
|
|
1001
|
-
this._content = e.text, this._version = t, this._lineOffsets = void 0;
|
|
1002
|
-
}
|
|
1003
|
-
getLineOffsets() {
|
|
1004
|
-
if (this._lineOffsets === void 0) {
|
|
1005
|
-
let e = [], t = this._content, n = !0;
|
|
1006
|
-
for (let r = 0; r < t.length; r++) {
|
|
1007
|
-
n &&= (e.push(r), !1);
|
|
1008
|
-
let i = t.charAt(r);
|
|
1009
|
-
n = i === "\r" || i === "\n", i === "\r" && r + 1 < t.length && t.charAt(r + 1) === "\n" && r++;
|
|
1010
|
-
}
|
|
1011
|
-
n && t.length > 0 && e.push(t.length), this._lineOffsets = e;
|
|
1012
|
-
}
|
|
1013
|
-
return this._lineOffsets;
|
|
1014
|
-
}
|
|
1015
|
-
positionAt(e) {
|
|
1016
|
-
e = Math.max(Math.min(e, this._content.length), 0);
|
|
1017
|
-
let t = this.getLineOffsets(), n = 0, r = t.length;
|
|
1018
|
-
if (r === 0) return s.create(0, e);
|
|
1019
|
-
for (; n < r;) {
|
|
1020
|
-
let i = Math.floor((n + r) / 2);
|
|
1021
|
-
t[i] > e ? r = i : n = i + 1;
|
|
1022
|
-
}
|
|
1023
|
-
let i = n - 1;
|
|
1024
|
-
return s.create(i, e - t[i]);
|
|
1025
|
-
}
|
|
1026
|
-
offsetAt(e) {
|
|
1027
|
-
let t = this.getLineOffsets();
|
|
1028
|
-
if (e.line >= t.length) return this._content.length;
|
|
1029
|
-
if (e.line < 0) return 0;
|
|
1030
|
-
let n = t[e.line], r = e.line + 1 < t.length ? t[e.line + 1] : this._content.length;
|
|
1031
|
-
return Math.max(Math.min(n + e.character, r), n);
|
|
1032
|
-
}
|
|
1033
|
-
get lineCount() {
|
|
1034
|
-
return this.getLineOffsets().length;
|
|
1035
|
-
}
|
|
1036
|
-
}, (function(e) {
|
|
1037
|
-
let t = Object.prototype.toString;
|
|
1038
|
-
function n(e) {
|
|
1039
|
-
return e !== void 0;
|
|
1040
|
-
}
|
|
1041
|
-
e.defined = n;
|
|
1042
|
-
function r(e) {
|
|
1043
|
-
return e === void 0;
|
|
1044
|
-
}
|
|
1045
|
-
e.undefined = r;
|
|
1046
|
-
function i(e) {
|
|
1047
|
-
return e === !0 || e === !1;
|
|
1048
|
-
}
|
|
1049
|
-
e.boolean = i;
|
|
1050
|
-
function a(e) {
|
|
1051
|
-
return t.call(e) === "[object String]";
|
|
1052
|
-
}
|
|
1053
|
-
e.string = a;
|
|
1054
|
-
function o(e) {
|
|
1055
|
-
return t.call(e) === "[object Number]";
|
|
1056
|
-
}
|
|
1057
|
-
e.number = o;
|
|
1058
|
-
function s(e, n, r) {
|
|
1059
|
-
return t.call(e) === "[object Number]" && n <= e && e <= r;
|
|
1060
|
-
}
|
|
1061
|
-
e.numberRange = s;
|
|
1062
|
-
function c(e) {
|
|
1063
|
-
return t.call(e) === "[object Number]" && -2147483648 <= e && e <= 2147483647;
|
|
1064
|
-
}
|
|
1065
|
-
e.integer = c;
|
|
1066
|
-
function l(e) {
|
|
1067
|
-
return t.call(e) === "[object Number]" && 0 <= e && e <= 2147483647;
|
|
1068
|
-
}
|
|
1069
|
-
e.uinteger = l;
|
|
1070
|
-
function u(e) {
|
|
1071
|
-
return t.call(e) === "[object Function]";
|
|
1072
|
-
}
|
|
1073
|
-
e.func = u;
|
|
1074
|
-
function d(e) {
|
|
1075
|
-
return typeof e == "object" && !!e;
|
|
1076
|
-
}
|
|
1077
|
-
e.objectLiteral = d;
|
|
1078
|
-
function f(e, t) {
|
|
1079
|
-
return Array.isArray(e) && e.every(t);
|
|
1080
|
-
}
|
|
1081
|
-
e.typedArray = f;
|
|
1082
|
-
})($ ||= {});
|
|
1083
|
-
}));
|
|
1084
|
-
//#endregion
|
|
1085
|
-
Pe();
|
|
1086
|
-
export { s as Position, c as Range, Pe as init_main, n as main_exports };
|
|
1087
|
-
|
|
1088
|
-
//# sourceMappingURL=main.js.map
|