@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ast.js","names":["langium.AbstractAstReflection"],"sources":["../../../../../../../../../node_modules/langium/lib/languages/generated/ast.js"],"sourcesContent":["/******************************************************************************\n * This file was generated by langium-cli 4.2.1.\n * DO NOT EDIT MANUALLY!\n ******************************************************************************/\n/* eslint-disable */\nimport * as langium from '../../syntax-tree.js';\nexport const LangiumGrammarTerminals = {\n ID: /\\^?[_a-zA-Z][\\w_]*/,\n STRING: /\"(\\\\.|[^\"\\\\])*\"|'(\\\\.|[^'\\\\])*'/,\n NUMBER: /NaN|-?((\\d*\\.\\d+|\\d+)([Ee][+-]?\\d+)?|Infinity)/,\n RegexLiteral: /\\/(?![*+?])(?:[^\\r\\n\\[/\\\\]|\\\\.|\\[(?:[^\\r\\n\\]\\\\]|\\\\.)*\\])+\\/[a-z]*/,\n WS: /\\s+/,\n ML_COMMENT: /\\/\\*[\\s\\S]*?\\*\\//,\n SL_COMMENT: /\\/\\/[^\\n\\r]*/,\n};\nexport const AbstractElement = {\n $type: 'AbstractElement',\n cardinality: 'cardinality'\n};\nexport function isAbstractElement(item) {\n return reflection.isInstance(item, AbstractElement.$type);\n}\nexport const AbstractParserRule = {\n $type: 'AbstractParserRule'\n};\nexport function isAbstractParserRule(item) {\n return reflection.isInstance(item, AbstractParserRule.$type);\n}\nexport const AbstractRule = {\n $type: 'AbstractRule'\n};\nexport function isAbstractRule(item) {\n return reflection.isInstance(item, AbstractRule.$type);\n}\nexport const AbstractType = {\n $type: 'AbstractType'\n};\nexport function isAbstractType(item) {\n return reflection.isInstance(item, AbstractType.$type);\n}\nexport const Action = {\n $type: 'Action',\n cardinality: 'cardinality',\n feature: 'feature',\n inferredType: 'inferredType',\n operator: 'operator',\n type: 'type'\n};\nexport function isAction(item) {\n return reflection.isInstance(item, Action.$type);\n}\nexport const Alternatives = {\n $type: 'Alternatives',\n cardinality: 'cardinality',\n elements: 'elements'\n};\nexport function isAlternatives(item) {\n return reflection.isInstance(item, Alternatives.$type);\n}\nexport const ArrayLiteral = {\n $type: 'ArrayLiteral',\n elements: 'elements'\n};\nexport function isArrayLiteral(item) {\n return reflection.isInstance(item, ArrayLiteral.$type);\n}\nexport const ArrayType = {\n $type: 'ArrayType',\n elementType: 'elementType'\n};\nexport function isArrayType(item) {\n return reflection.isInstance(item, ArrayType.$type);\n}\nexport const Assignment = {\n $type: 'Assignment',\n cardinality: 'cardinality',\n feature: 'feature',\n operator: 'operator',\n predicate: 'predicate',\n terminal: 'terminal'\n};\nexport function isAssignment(item) {\n return reflection.isInstance(item, Assignment.$type);\n}\nexport const BooleanLiteral = {\n $type: 'BooleanLiteral',\n true: 'true'\n};\nexport function isBooleanLiteral(item) {\n return reflection.isInstance(item, BooleanLiteral.$type);\n}\nexport const CharacterRange = {\n $type: 'CharacterRange',\n cardinality: 'cardinality',\n left: 'left',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized',\n right: 'right'\n};\nexport function isCharacterRange(item) {\n return reflection.isInstance(item, CharacterRange.$type);\n}\nexport const Condition = {\n $type: 'Condition'\n};\nexport function isCondition(item) {\n return reflection.isInstance(item, Condition.$type);\n}\nexport const Conjunction = {\n $type: 'Conjunction',\n left: 'left',\n right: 'right'\n};\nexport function isConjunction(item) {\n return reflection.isInstance(item, Conjunction.$type);\n}\nexport const CrossReference = {\n $type: 'CrossReference',\n cardinality: 'cardinality',\n deprecatedSyntax: 'deprecatedSyntax',\n isMulti: 'isMulti',\n terminal: 'terminal',\n type: 'type'\n};\nexport function isCrossReference(item) {\n return reflection.isInstance(item, CrossReference.$type);\n}\nexport const Disjunction = {\n $type: 'Disjunction',\n left: 'left',\n right: 'right'\n};\nexport function isDisjunction(item) {\n return reflection.isInstance(item, Disjunction.$type);\n}\nexport const EndOfFile = {\n $type: 'EndOfFile',\n cardinality: 'cardinality'\n};\nexport function isEndOfFile(item) {\n return reflection.isInstance(item, EndOfFile.$type);\n}\nexport const Grammar = {\n $type: 'Grammar',\n imports: 'imports',\n interfaces: 'interfaces',\n isDeclared: 'isDeclared',\n name: 'name',\n rules: 'rules',\n types: 'types'\n};\nexport function isGrammar(item) {\n return reflection.isInstance(item, Grammar.$type);\n}\nexport const GrammarImport = {\n $type: 'GrammarImport',\n path: 'path'\n};\nexport function isGrammarImport(item) {\n return reflection.isInstance(item, GrammarImport.$type);\n}\nexport const Group = {\n $type: 'Group',\n cardinality: 'cardinality',\n elements: 'elements',\n guardCondition: 'guardCondition',\n predicate: 'predicate'\n};\nexport function isGroup(item) {\n return reflection.isInstance(item, Group.$type);\n}\nexport const InferredType = {\n $type: 'InferredType',\n name: 'name'\n};\nexport function isInferredType(item) {\n return reflection.isInstance(item, InferredType.$type);\n}\nexport const InfixRule = {\n $type: 'InfixRule',\n call: 'call',\n dataType: 'dataType',\n inferredType: 'inferredType',\n name: 'name',\n operators: 'operators',\n parameters: 'parameters',\n returnType: 'returnType'\n};\nexport function isInfixRule(item) {\n return reflection.isInstance(item, InfixRule.$type);\n}\nexport const InfixRuleOperatorList = {\n $type: 'InfixRuleOperatorList',\n associativity: 'associativity',\n operators: 'operators'\n};\nexport function isInfixRuleOperatorList(item) {\n return reflection.isInstance(item, InfixRuleOperatorList.$type);\n}\nexport const InfixRuleOperators = {\n $type: 'InfixRuleOperators',\n precedences: 'precedences'\n};\nexport function isInfixRuleOperators(item) {\n return reflection.isInstance(item, InfixRuleOperators.$type);\n}\nexport const Interface = {\n $type: 'Interface',\n attributes: 'attributes',\n name: 'name',\n superTypes: 'superTypes'\n};\nexport function isInterface(item) {\n return reflection.isInstance(item, Interface.$type);\n}\nexport const Keyword = {\n $type: 'Keyword',\n cardinality: 'cardinality',\n predicate: 'predicate',\n value: 'value'\n};\nexport function isKeyword(item) {\n return reflection.isInstance(item, Keyword.$type);\n}\nexport const NamedArgument = {\n $type: 'NamedArgument',\n calledByName: 'calledByName',\n parameter: 'parameter',\n value: 'value'\n};\nexport function isNamedArgument(item) {\n return reflection.isInstance(item, NamedArgument.$type);\n}\nexport const NegatedToken = {\n $type: 'NegatedToken',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized',\n terminal: 'terminal'\n};\nexport function isNegatedToken(item) {\n return reflection.isInstance(item, NegatedToken.$type);\n}\nexport const Negation = {\n $type: 'Negation',\n value: 'value'\n};\nexport function isNegation(item) {\n return reflection.isInstance(item, Negation.$type);\n}\nexport const NumberLiteral = {\n $type: 'NumberLiteral',\n value: 'value'\n};\nexport function isNumberLiteral(item) {\n return reflection.isInstance(item, NumberLiteral.$type);\n}\nexport const Parameter = {\n $type: 'Parameter',\n name: 'name'\n};\nexport function isParameter(item) {\n return reflection.isInstance(item, Parameter.$type);\n}\nexport const ParameterReference = {\n $type: 'ParameterReference',\n parameter: 'parameter'\n};\nexport function isParameterReference(item) {\n return reflection.isInstance(item, ParameterReference.$type);\n}\nexport const ParserRule = {\n $type: 'ParserRule',\n dataType: 'dataType',\n definition: 'definition',\n entry: 'entry',\n fragment: 'fragment',\n inferredType: 'inferredType',\n name: 'name',\n parameters: 'parameters',\n returnType: 'returnType'\n};\nexport function isParserRule(item) {\n return reflection.isInstance(item, ParserRule.$type);\n}\nexport const ReferenceType = {\n $type: 'ReferenceType',\n isMulti: 'isMulti',\n referenceType: 'referenceType'\n};\nexport function isReferenceType(item) {\n return reflection.isInstance(item, ReferenceType.$type);\n}\nexport const RegexToken = {\n $type: 'RegexToken',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized',\n regex: 'regex'\n};\nexport function isRegexToken(item) {\n return reflection.isInstance(item, RegexToken.$type);\n}\nexport const ReturnType = {\n $type: 'ReturnType',\n name: 'name'\n};\nexport function isReturnType(item) {\n return reflection.isInstance(item, ReturnType.$type);\n}\nexport const RuleCall = {\n $type: 'RuleCall',\n arguments: 'arguments',\n cardinality: 'cardinality',\n predicate: 'predicate',\n rule: 'rule'\n};\nexport function isRuleCall(item) {\n return reflection.isInstance(item, RuleCall.$type);\n}\nexport const SimpleType = {\n $type: 'SimpleType',\n primitiveType: 'primitiveType',\n stringType: 'stringType',\n typeRef: 'typeRef'\n};\nexport function isSimpleType(item) {\n return reflection.isInstance(item, SimpleType.$type);\n}\nexport const StringLiteral = {\n $type: 'StringLiteral',\n value: 'value'\n};\nexport function isStringLiteral(item) {\n return reflection.isInstance(item, StringLiteral.$type);\n}\nexport const TerminalAlternatives = {\n $type: 'TerminalAlternatives',\n cardinality: 'cardinality',\n elements: 'elements',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized'\n};\nexport function isTerminalAlternatives(item) {\n return reflection.isInstance(item, TerminalAlternatives.$type);\n}\nexport const TerminalElement = {\n $type: 'TerminalElement',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized'\n};\nexport function isTerminalElement(item) {\n return reflection.isInstance(item, TerminalElement.$type);\n}\nexport const TerminalGroup = {\n $type: 'TerminalGroup',\n cardinality: 'cardinality',\n elements: 'elements',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized'\n};\nexport function isTerminalGroup(item) {\n return reflection.isInstance(item, TerminalGroup.$type);\n}\nexport const TerminalRule = {\n $type: 'TerminalRule',\n definition: 'definition',\n fragment: 'fragment',\n hidden: 'hidden',\n name: 'name',\n type: 'type'\n};\nexport function isTerminalRule(item) {\n return reflection.isInstance(item, TerminalRule.$type);\n}\nexport const TerminalRuleCall = {\n $type: 'TerminalRuleCall',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized',\n rule: 'rule'\n};\nexport function isTerminalRuleCall(item) {\n return reflection.isInstance(item, TerminalRuleCall.$type);\n}\nexport const Type = {\n $type: 'Type',\n name: 'name',\n type: 'type'\n};\nexport function isType(item) {\n return reflection.isInstance(item, Type.$type);\n}\nexport const TypeAttribute = {\n $type: 'TypeAttribute',\n defaultValue: 'defaultValue',\n isOptional: 'isOptional',\n name: 'name',\n type: 'type'\n};\nexport function isTypeAttribute(item) {\n return reflection.isInstance(item, TypeAttribute.$type);\n}\nexport const TypeDefinition = {\n $type: 'TypeDefinition'\n};\nexport function isTypeDefinition(item) {\n return reflection.isInstance(item, TypeDefinition.$type);\n}\nexport const UnionType = {\n $type: 'UnionType',\n types: 'types'\n};\nexport function isUnionType(item) {\n return reflection.isInstance(item, UnionType.$type);\n}\nexport const UnorderedGroup = {\n $type: 'UnorderedGroup',\n cardinality: 'cardinality',\n elements: 'elements'\n};\nexport function isUnorderedGroup(item) {\n return reflection.isInstance(item, UnorderedGroup.$type);\n}\nexport const UntilToken = {\n $type: 'UntilToken',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized',\n terminal: 'terminal'\n};\nexport function isUntilToken(item) {\n return reflection.isInstance(item, UntilToken.$type);\n}\nexport const ValueLiteral = {\n $type: 'ValueLiteral'\n};\nexport function isValueLiteral(item) {\n return reflection.isInstance(item, ValueLiteral.$type);\n}\nexport const Wildcard = {\n $type: 'Wildcard',\n cardinality: 'cardinality',\n lookahead: 'lookahead',\n parenthesized: 'parenthesized'\n};\nexport function isWildcard(item) {\n return reflection.isInstance(item, Wildcard.$type);\n}\nexport class LangiumGrammarAstReflection extends langium.AbstractAstReflection {\n constructor() {\n super(...arguments);\n this.types = {\n AbstractElement: {\n name: AbstractElement.$type,\n properties: {\n cardinality: {\n name: AbstractElement.cardinality\n }\n },\n superTypes: []\n },\n AbstractParserRule: {\n name: AbstractParserRule.$type,\n properties: {},\n superTypes: [AbstractRule.$type, AbstractType.$type]\n },\n AbstractRule: {\n name: AbstractRule.$type,\n properties: {},\n superTypes: []\n },\n AbstractType: {\n name: AbstractType.$type,\n properties: {},\n superTypes: []\n },\n Action: {\n name: Action.$type,\n properties: {\n cardinality: {\n name: Action.cardinality\n },\n feature: {\n name: Action.feature\n },\n inferredType: {\n name: Action.inferredType\n },\n operator: {\n name: Action.operator\n },\n type: {\n name: Action.type,\n referenceType: AbstractType.$type\n }\n },\n superTypes: [AbstractElement.$type]\n },\n Alternatives: {\n name: Alternatives.$type,\n properties: {\n cardinality: {\n name: Alternatives.cardinality\n },\n elements: {\n name: Alternatives.elements,\n defaultValue: []\n }\n },\n superTypes: [AbstractElement.$type]\n },\n ArrayLiteral: {\n name: ArrayLiteral.$type,\n properties: {\n elements: {\n name: ArrayLiteral.elements,\n defaultValue: []\n }\n },\n superTypes: [ValueLiteral.$type]\n },\n ArrayType: {\n name: ArrayType.$type,\n properties: {\n elementType: {\n name: ArrayType.elementType\n }\n },\n superTypes: [TypeDefinition.$type]\n },\n Assignment: {\n name: Assignment.$type,\n properties: {\n cardinality: {\n name: Assignment.cardinality\n },\n feature: {\n name: Assignment.feature\n },\n operator: {\n name: Assignment.operator\n },\n predicate: {\n name: Assignment.predicate\n },\n terminal: {\n name: Assignment.terminal\n }\n },\n superTypes: [AbstractElement.$type]\n },\n BooleanLiteral: {\n name: BooleanLiteral.$type,\n properties: {\n true: {\n name: BooleanLiteral.true,\n defaultValue: false\n }\n },\n superTypes: [Condition.$type, ValueLiteral.$type]\n },\n CharacterRange: {\n name: CharacterRange.$type,\n properties: {\n cardinality: {\n name: CharacterRange.cardinality\n },\n left: {\n name: CharacterRange.left\n },\n lookahead: {\n name: CharacterRange.lookahead\n },\n parenthesized: {\n name: CharacterRange.parenthesized,\n defaultValue: false\n },\n right: {\n name: CharacterRange.right\n }\n },\n superTypes: [TerminalElement.$type]\n },\n Condition: {\n name: Condition.$type,\n properties: {},\n superTypes: []\n },\n Conjunction: {\n name: Conjunction.$type,\n properties: {\n left: {\n name: Conjunction.left\n },\n right: {\n name: Conjunction.right\n }\n },\n superTypes: [Condition.$type]\n },\n CrossReference: {\n name: CrossReference.$type,\n properties: {\n cardinality: {\n name: CrossReference.cardinality\n },\n deprecatedSyntax: {\n name: CrossReference.deprecatedSyntax,\n defaultValue: false\n },\n isMulti: {\n name: CrossReference.isMulti,\n defaultValue: false\n },\n terminal: {\n name: CrossReference.terminal\n },\n type: {\n name: CrossReference.type,\n referenceType: AbstractType.$type\n }\n },\n superTypes: [AbstractElement.$type]\n },\n Disjunction: {\n name: Disjunction.$type,\n properties: {\n left: {\n name: Disjunction.left\n },\n right: {\n name: Disjunction.right\n }\n },\n superTypes: [Condition.$type]\n },\n EndOfFile: {\n name: EndOfFile.$type,\n properties: {\n cardinality: {\n name: EndOfFile.cardinality\n }\n },\n superTypes: [AbstractElement.$type]\n },\n Grammar: {\n name: Grammar.$type,\n properties: {\n imports: {\n name: Grammar.imports,\n defaultValue: []\n },\n interfaces: {\n name: Grammar.interfaces,\n defaultValue: []\n },\n isDeclared: {\n name: Grammar.isDeclared,\n defaultValue: false\n },\n name: {\n name: Grammar.name\n },\n rules: {\n name: Grammar.rules,\n defaultValue: []\n },\n types: {\n name: Grammar.types,\n defaultValue: []\n }\n },\n superTypes: []\n },\n GrammarImport: {\n name: GrammarImport.$type,\n properties: {\n path: {\n name: GrammarImport.path\n }\n },\n superTypes: []\n },\n Group: {\n name: Group.$type,\n properties: {\n cardinality: {\n name: Group.cardinality\n },\n elements: {\n name: Group.elements,\n defaultValue: []\n },\n guardCondition: {\n name: Group.guardCondition\n },\n predicate: {\n name: Group.predicate\n }\n },\n superTypes: [AbstractElement.$type]\n },\n InferredType: {\n name: InferredType.$type,\n properties: {\n name: {\n name: InferredType.name\n }\n },\n superTypes: [AbstractType.$type]\n },\n InfixRule: {\n name: InfixRule.$type,\n properties: {\n call: {\n name: InfixRule.call\n },\n dataType: {\n name: InfixRule.dataType\n },\n inferredType: {\n name: InfixRule.inferredType\n },\n name: {\n name: InfixRule.name\n },\n operators: {\n name: InfixRule.operators\n },\n parameters: {\n name: InfixRule.parameters,\n defaultValue: []\n },\n returnType: {\n name: InfixRule.returnType,\n referenceType: AbstractType.$type\n }\n },\n superTypes: [AbstractParserRule.$type]\n },\n InfixRuleOperatorList: {\n name: InfixRuleOperatorList.$type,\n properties: {\n associativity: {\n name: InfixRuleOperatorList.associativity\n },\n operators: {\n name: InfixRuleOperatorList.operators,\n defaultValue: []\n }\n },\n superTypes: []\n },\n InfixRuleOperators: {\n name: InfixRuleOperators.$type,\n properties: {\n precedences: {\n name: InfixRuleOperators.precedences,\n defaultValue: []\n }\n },\n superTypes: []\n },\n Interface: {\n name: Interface.$type,\n properties: {\n attributes: {\n name: Interface.attributes,\n defaultValue: []\n },\n name: {\n name: Interface.name\n },\n superTypes: {\n name: Interface.superTypes,\n defaultValue: [],\n referenceType: AbstractType.$type\n }\n },\n superTypes: [AbstractType.$type]\n },\n Keyword: {\n name: Keyword.$type,\n properties: {\n cardinality: {\n name: Keyword.cardinality\n },\n predicate: {\n name: Keyword.predicate\n },\n value: {\n name: Keyword.value\n }\n },\n superTypes: [AbstractElement.$type]\n },\n NamedArgument: {\n name: NamedArgument.$type,\n properties: {\n calledByName: {\n name: NamedArgument.calledByName,\n defaultValue: false\n },\n parameter: {\n name: NamedArgument.parameter,\n referenceType: Parameter.$type\n },\n value: {\n name: NamedArgument.value\n }\n },\n superTypes: []\n },\n NegatedToken: {\n name: NegatedToken.$type,\n properties: {\n cardinality: {\n name: NegatedToken.cardinality\n },\n lookahead: {\n name: NegatedToken.lookahead\n },\n parenthesized: {\n name: NegatedToken.parenthesized,\n defaultValue: false\n },\n terminal: {\n name: NegatedToken.terminal\n }\n },\n superTypes: [TerminalElement.$type]\n },\n Negation: {\n name: Negation.$type,\n properties: {\n value: {\n name: Negation.value\n }\n },\n superTypes: [Condition.$type]\n },\n NumberLiteral: {\n name: NumberLiteral.$type,\n properties: {\n value: {\n name: NumberLiteral.value\n }\n },\n superTypes: [ValueLiteral.$type]\n },\n Parameter: {\n name: Parameter.$type,\n properties: {\n name: {\n name: Parameter.name\n }\n },\n superTypes: []\n },\n ParameterReference: {\n name: ParameterReference.$type,\n properties: {\n parameter: {\n name: ParameterReference.parameter,\n referenceType: Parameter.$type\n }\n },\n superTypes: [Condition.$type]\n },\n ParserRule: {\n name: ParserRule.$type,\n properties: {\n dataType: {\n name: ParserRule.dataType\n },\n definition: {\n name: ParserRule.definition\n },\n entry: {\n name: ParserRule.entry,\n defaultValue: false\n },\n fragment: {\n name: ParserRule.fragment,\n defaultValue: false\n },\n inferredType: {\n name: ParserRule.inferredType\n },\n name: {\n name: ParserRule.name\n },\n parameters: {\n name: ParserRule.parameters,\n defaultValue: []\n },\n returnType: {\n name: ParserRule.returnType,\n referenceType: AbstractType.$type\n }\n },\n superTypes: [AbstractParserRule.$type]\n },\n ReferenceType: {\n name: ReferenceType.$type,\n properties: {\n isMulti: {\n name: ReferenceType.isMulti,\n defaultValue: false\n },\n referenceType: {\n name: ReferenceType.referenceType\n }\n },\n superTypes: [TypeDefinition.$type]\n },\n RegexToken: {\n name: RegexToken.$type,\n properties: {\n cardinality: {\n name: RegexToken.cardinality\n },\n lookahead: {\n name: RegexToken.lookahead\n },\n parenthesized: {\n name: RegexToken.parenthesized,\n defaultValue: false\n },\n regex: {\n name: RegexToken.regex\n }\n },\n superTypes: [TerminalElement.$type]\n },\n ReturnType: {\n name: ReturnType.$type,\n properties: {\n name: {\n name: ReturnType.name\n }\n },\n superTypes: []\n },\n RuleCall: {\n name: RuleCall.$type,\n properties: {\n arguments: {\n name: RuleCall.arguments,\n defaultValue: []\n },\n cardinality: {\n name: RuleCall.cardinality\n },\n predicate: {\n name: RuleCall.predicate\n },\n rule: {\n name: RuleCall.rule,\n referenceType: AbstractRule.$type\n }\n },\n superTypes: [AbstractElement.$type]\n },\n SimpleType: {\n name: SimpleType.$type,\n properties: {\n primitiveType: {\n name: SimpleType.primitiveType\n },\n stringType: {\n name: SimpleType.stringType\n },\n typeRef: {\n name: SimpleType.typeRef,\n referenceType: AbstractType.$type\n }\n },\n superTypes: [TypeDefinition.$type]\n },\n StringLiteral: {\n name: StringLiteral.$type,\n properties: {\n value: {\n name: StringLiteral.value\n }\n },\n superTypes: [ValueLiteral.$type]\n },\n TerminalAlternatives: {\n name: TerminalAlternatives.$type,\n properties: {\n cardinality: {\n name: TerminalAlternatives.cardinality\n },\n elements: {\n name: TerminalAlternatives.elements,\n defaultValue: []\n },\n lookahead: {\n name: TerminalAlternatives.lookahead\n },\n parenthesized: {\n name: TerminalAlternatives.parenthesized,\n defaultValue: false\n }\n },\n superTypes: [TerminalElement.$type]\n },\n TerminalElement: {\n name: TerminalElement.$type,\n properties: {\n cardinality: {\n name: TerminalElement.cardinality\n },\n lookahead: {\n name: TerminalElement.lookahead\n },\n parenthesized: {\n name: TerminalElement.parenthesized,\n defaultValue: false\n }\n },\n superTypes: [AbstractElement.$type]\n },\n TerminalGroup: {\n name: TerminalGroup.$type,\n properties: {\n cardinality: {\n name: TerminalGroup.cardinality\n },\n elements: {\n name: TerminalGroup.elements,\n defaultValue: []\n },\n lookahead: {\n name: TerminalGroup.lookahead\n },\n parenthesized: {\n name: TerminalGroup.parenthesized,\n defaultValue: false\n }\n },\n superTypes: [TerminalElement.$type]\n },\n TerminalRule: {\n name: TerminalRule.$type,\n properties: {\n definition: {\n name: TerminalRule.definition\n },\n fragment: {\n name: TerminalRule.fragment,\n defaultValue: false\n },\n hidden: {\n name: TerminalRule.hidden,\n defaultValue: false\n },\n name: {\n name: TerminalRule.name\n },\n type: {\n name: TerminalRule.type\n }\n },\n superTypes: [AbstractRule.$type]\n },\n TerminalRuleCall: {\n name: TerminalRuleCall.$type,\n properties: {\n cardinality: {\n name: TerminalRuleCall.cardinality\n },\n lookahead: {\n name: TerminalRuleCall.lookahead\n },\n parenthesized: {\n name: TerminalRuleCall.parenthesized,\n defaultValue: false\n },\n rule: {\n name: TerminalRuleCall.rule,\n referenceType: TerminalRule.$type\n }\n },\n superTypes: [TerminalElement.$type]\n },\n Type: {\n name: Type.$type,\n properties: {\n name: {\n name: Type.name\n },\n type: {\n name: Type.type\n }\n },\n superTypes: [AbstractType.$type]\n },\n TypeAttribute: {\n name: TypeAttribute.$type,\n properties: {\n defaultValue: {\n name: TypeAttribute.defaultValue\n },\n isOptional: {\n name: TypeAttribute.isOptional,\n defaultValue: false\n },\n name: {\n name: TypeAttribute.name\n },\n type: {\n name: TypeAttribute.type\n }\n },\n superTypes: []\n },\n TypeDefinition: {\n name: TypeDefinition.$type,\n properties: {},\n superTypes: []\n },\n UnionType: {\n name: UnionType.$type,\n properties: {\n types: {\n name: UnionType.types,\n defaultValue: []\n }\n },\n superTypes: [TypeDefinition.$type]\n },\n UnorderedGroup: {\n name: UnorderedGroup.$type,\n properties: {\n cardinality: {\n name: UnorderedGroup.cardinality\n },\n elements: {\n name: UnorderedGroup.elements,\n defaultValue: []\n }\n },\n superTypes: [AbstractElement.$type]\n },\n UntilToken: {\n name: UntilToken.$type,\n properties: {\n cardinality: {\n name: UntilToken.cardinality\n },\n lookahead: {\n name: UntilToken.lookahead\n },\n parenthesized: {\n name: UntilToken.parenthesized,\n defaultValue: false\n },\n terminal: {\n name: UntilToken.terminal\n }\n },\n superTypes: [TerminalElement.$type]\n },\n ValueLiteral: {\n name: ValueLiteral.$type,\n properties: {},\n superTypes: []\n },\n Wildcard: {\n name: Wildcard.$type,\n properties: {\n cardinality: {\n name: Wildcard.cardinality\n },\n lookahead: {\n name: Wildcard.lookahead\n },\n parenthesized: {\n name: Wildcard.parenthesized,\n defaultValue: false\n }\n },\n superTypes: [TerminalElement.$type]\n }\n };\n }\n}\nexport const reflection = new LangiumGrammarAstReflection();\n//# sourceMappingURL=ast.js.map"],"x_google_ignoreList":[0],"mappings":";;AAeA,IAAa,IAAkB;CAC3B,OAAO;CACP,aAAa;CAChB;AACD,SAAgB,GAAkB,GAAM;C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ACD,YAAY;MACR,MAAM,EAAc;MACpB,cAAc;MACjB;KACD,MAAM,EACF,MAAM,EAAc,MACvB;KACD,MAAM,EACF,MAAM,EAAc,MACvB;KACJ;IACD,YAAY,EAAE;IACjB;GACD,gBAAgB;IACZ,MAAM,EAAe;IACrB,YAAY,EAAE;IACd,YAAY,EAAE;IACjB;GACD,WAAW;IACP,MAAM,EAAU;IAChB,YAAY,EACR,OAAO;KACH,MAAM,EAAU;KAChB,cAAc,EAAE;KACnB,EACJ;IACD,YAAY,CAAC,EAAe,MAAM;IACrC;GACD,gBAAgB;IACZ,MAAM,EAAe;IACrB,YAAY;KACR,aAAa,EACT,MAAM,EAAe,aACxB;KACD,UAAU;MACN,MAAM,EAAe;MACrB,cAAc,EAAE;MACnB;KACJ;IACD,YAAY,CAAC,EAAgB,MAAM;IACtC;GACD,YAAY;IACR,MAAM,EAAW;IACjB,YAAY;KACR,aAAa,EACT,MAAM,EAAW,aACpB;KACD,WAAW,EACP,MAAM,EAAW,WACpB;KACD,eAAe;MACX,MAAM,EAAW;MACjB,cAAc;MACjB;KACD,UAAU,EACN,MAAM,EAAW,UACpB;KACJ;IACD,YAAY,CAAC,EAAgB,MAAM;IACtC;GACD,cAAc;IACV,MAAM,EAAa;IACnB,YAAY,EAAE;IACd,YAAY,EAAE;IACjB;GACD,UAAU;IACN,MAAM,EAAS;IACf,YAAY;KACR,aAAa,EACT,MAAM,EAAS,aAClB;KACD,WAAW,EACP,MAAM,EAAS,WAClB;KACD,eAAe;MACX,MAAM,EAAS;MACf,cAAc;MACjB;KACJ;IACD,YAAY,CAAC,EAAgB,MAAM;IACtC;GACJ;;GAGI,IAAa,IAAI,GAA6B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { isTerminalRule as e } from "./generated/ast.js";
|
|
2
|
-
import { DefaultNameRegexp as t } from "../utils/cst-utils.js";
|
|
3
|
-
import { isMultilineComment as n } from "../utils/regexp-utils.js";
|
|
4
|
-
import { isCommentTerminal as r, terminalRegex as i } from "../utils/grammar-utils.js";
|
|
5
|
-
//#region ../../node_modules/langium/lib/languages/grammar-config.js
|
|
6
|
-
function a(a) {
|
|
7
|
-
let o = [], s = a.Grammar;
|
|
8
|
-
for (let t of s.rules) e(t) && r(t) && n(i(t)) && o.push(t.name);
|
|
9
|
-
return {
|
|
10
|
-
multilineCommentRules: o,
|
|
11
|
-
nameRegexp: t
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { a as createGrammarConfig };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=grammar-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grammar-config.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/languages/grammar-config.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 { DefaultNameRegexp } from '../utils/cst-utils.js';\nimport { isCommentTerminal, terminalRegex } from '../utils/grammar-utils.js';\nimport { isMultilineComment } from '../utils/regexp-utils.js';\nimport { isTerminalRule } from './generated/ast.js';\n/**\n * Create the default grammar configuration (used by `createDefaultModule`). This can be overridden in a\n * language-specific module.\n */\nexport function createGrammarConfig(services) {\n const rules = [];\n const grammar = services.Grammar;\n for (const rule of grammar.rules) {\n if (isTerminalRule(rule) && isCommentTerminal(rule) && isMultilineComment(terminalRegex(rule))) {\n rules.push(rule.name);\n }\n }\n return {\n multilineCommentRules: rules,\n nameRegexp: DefaultNameRegexp\n };\n}\n//# sourceMappingURL=grammar-config.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AAaA,SAAgB,EAAoB,GAAU;CAC1C,IAAM,IAAQ,EAAE,EACV,IAAU,EAAS;CACzB,KAAK,IAAM,KAAQ,EAAQ,OACvB,AAAI,EAAe,EAAK,IAAI,EAAkB,EAAK,IAAI,EAAmB,EAAc,EAAK,CAAC,IAC1F,EAAM,KAAK,EAAK,KAAK;CAG7B,OAAO;EACH,uBAAuB;EACvB,YAAY;EACf"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/langium/lib/parser/async-parser.js
|
|
2
|
-
var e = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
this.syncParser = e.parser.LangiumParser;
|
|
5
|
-
}
|
|
6
|
-
parse(e, t) {
|
|
7
|
-
return Promise.resolve(this.syncParser.parse(e));
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { e as DefaultAsyncParser };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=async-parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"async-parser.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/parser/async-parser.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 { Deferred, OperationCancelled } from '../utils/promise-utils.js';\nimport { Emitter } from '../utils/event.js';\n/**\n * Default implementation of the async parser which simply wraps the sync parser in a promise.\n *\n * @remarks\n * A real implementation would create worker threads or web workers to offload the parsing work.\n */\nexport class DefaultAsyncParser {\n constructor(services) {\n this.syncParser = services.parser.LangiumParser;\n }\n parse(text, _cancelToken) {\n return Promise.resolve(this.syncParser.parse(text));\n }\n}\nexport class AbstractThreadedAsyncParser {\n constructor(services) {\n /**\n * The thread count determines how many threads are used to parse files in parallel.\n * The default value is 8. Decreasing this value increases startup performance, but decreases parallel parsing performance.\n */\n this.threadCount = 8;\n /**\n * The termination delay determines how long the parser waits for a thread to finish after a cancellation request.\n * The default value is 200(ms).\n */\n this.terminationDelay = 200;\n this.workerPool = [];\n this.queue = [];\n this.hydrator = services.serializer.Hydrator;\n }\n initializeWorkers() {\n while (this.workerPool.length < this.threadCount) {\n const worker = this.createWorker();\n worker.onReady(() => {\n if (this.queue.length > 0) {\n const deferred = this.queue.shift();\n if (deferred) {\n worker.lock();\n deferred.resolve(worker);\n }\n }\n });\n this.workerPool.push(worker);\n }\n }\n async parse(text, cancelToken) {\n const worker = await this.acquireParserWorker(cancelToken);\n const deferred = new Deferred();\n let timeout;\n // If the cancellation token is requested, we wait for a certain time before terminating the worker.\n // Since the cancellation token lives longer than the parsing process, we need to dispose the event listener.\n // Otherwise, we might accidentally terminate the worker after the parsing process has finished.\n const cancellation = cancelToken.onCancellationRequested(() => {\n timeout = setTimeout(() => {\n this.terminateWorker(worker);\n }, this.terminationDelay);\n });\n worker.parse(text).then(result => {\n const hydrated = this.hydrator.hydrate(result);\n deferred.resolve(hydrated);\n }).catch(err => {\n deferred.reject(err);\n }).finally(() => {\n cancellation.dispose();\n clearTimeout(timeout);\n });\n return deferred.promise;\n }\n terminateWorker(worker) {\n worker.terminate();\n const index = this.workerPool.indexOf(worker);\n if (index >= 0) {\n this.workerPool.splice(index, 1);\n }\n }\n async acquireParserWorker(cancelToken) {\n this.initializeWorkers();\n for (const worker of this.workerPool) {\n if (worker.ready) {\n worker.lock();\n return worker;\n }\n }\n const deferred = new Deferred();\n cancelToken.onCancellationRequested(() => {\n const index = this.queue.indexOf(deferred);\n if (index >= 0) {\n this.queue.splice(index, 1);\n }\n deferred.reject(OperationCancelled);\n });\n this.queue.push(deferred);\n return deferred.promise;\n }\n}\nexport class ParserWorker {\n get ready() {\n return this._ready;\n }\n get onReady() {\n return this.onReadyEmitter.event;\n }\n constructor(sendMessage, onMessage, onError, terminate) {\n this.onReadyEmitter = new Emitter();\n this.deferred = new Deferred();\n this._ready = true;\n this._parsing = false;\n this.sendMessage = sendMessage;\n this._terminate = terminate;\n onMessage(result => {\n const parseResult = result;\n this.deferred.resolve(parseResult);\n this.unlock();\n });\n onError(error => {\n this.deferred.reject(error);\n this.unlock();\n });\n }\n terminate() {\n this.deferred.reject(OperationCancelled);\n this._terminate();\n }\n lock() {\n this._ready = false;\n }\n unlock() {\n this._parsing = false;\n this._ready = true;\n this.onReadyEmitter.fire();\n }\n parse(text) {\n if (this._parsing) {\n throw new Error('Parser worker is busy');\n }\n this._parsing = true;\n this.deferred = new Deferred();\n this.sendMessage(text);\n return this.deferred.promise;\n }\n}\n//# sourceMappingURL=async-parser.js.map"],"x_google_ignoreList":[0],"mappings":";AAaA,IAAa,IAAb,MAAgC;CAC5B,YAAY,GAAU;EAClB,KAAK,aAAa,EAAS,OAAO;;CAEtC,MAAM,GAAM,GAAc;EACtB,OAAO,QAAQ,QAAQ,KAAK,WAAW,MAAM,EAAK,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LangiumCompletionParser as e } from "./langium-parser.js";
|
|
2
|
-
import { createParser as t } from "./parser-builder-base.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/parser/completion-parser-builder.js
|
|
4
|
-
function n(n) {
|
|
5
|
-
let r = n.Grammar, i = n.parser.Lexer, a = new e(n);
|
|
6
|
-
return t(r, a, i.definition), a.finalize(), a;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { n as createCompletionParser };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=completion-parser-builder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completion-parser-builder.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/parser/completion-parser-builder.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 { LangiumCompletionParser } from './langium-parser.js';\nimport { createParser } from './parser-builder-base.js';\nexport function createCompletionParser(services) {\n const grammar = services.Grammar;\n const lexer = services.parser.Lexer;\n const parser = new LangiumCompletionParser(services);\n createParser(grammar, parser, lexer.definition);\n parser.finalize();\n return parser;\n}\n//# sourceMappingURL=completion-parser-builder.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAOA,SAAgB,EAAuB,GAAU;CAC7C,IAAM,IAAU,EAAS,SACnB,IAAQ,EAAS,OAAO,OACxB,IAAS,IAAI,EAAwB,EAAS;CAGpD,OAFA,EAAa,GAAS,GAAQ,EAAM,WAAW,EAC/C,EAAO,UAAU,EACV"}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { tokenToRange as e } from "../utils/cst-utils.js";
|
|
2
|
-
import { Position as t, init_main as n } from "../../../vscode-languageserver-types/lib/esm/main.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/parser/cst-node-builder.js
|
|
4
|
-
n();
|
|
5
|
-
var r = class {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.nodeStack = [];
|
|
8
|
-
}
|
|
9
|
-
get current() {
|
|
10
|
-
return this.nodeStack[this.nodeStack.length - 1] ?? this.rootNode;
|
|
11
|
-
}
|
|
12
|
-
buildRootNode(e) {
|
|
13
|
-
return this.rootNode = new c(e), this.rootNode.root = this.rootNode, this.nodeStack = [this.rootNode], this.rootNode;
|
|
14
|
-
}
|
|
15
|
-
buildCompositeNode(e) {
|
|
16
|
-
let t = new o();
|
|
17
|
-
return t.grammarSource = e, t.root = this.rootNode, this.current.content.push(t), this.nodeStack.push(t), t;
|
|
18
|
-
}
|
|
19
|
-
buildLeafNode(t, n) {
|
|
20
|
-
let r = new a(t.startOffset, t.image.length, e(t), t.tokenType, !n);
|
|
21
|
-
return r.grammarSource = n, r.root = this.rootNode, this.current.content.push(r), r;
|
|
22
|
-
}
|
|
23
|
-
removeNode(e) {
|
|
24
|
-
let t = e.container;
|
|
25
|
-
if (t) {
|
|
26
|
-
let n = t.content.indexOf(e);
|
|
27
|
-
n >= 0 && t.content.splice(n, 1);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
addHiddenNodes(t) {
|
|
31
|
-
let n = [];
|
|
32
|
-
for (let r of t) {
|
|
33
|
-
let t = new a(r.startOffset, r.image.length, e(r), r.tokenType, !0);
|
|
34
|
-
t.root = this.rootNode, n.push(t);
|
|
35
|
-
}
|
|
36
|
-
let r = this.current, i = !1;
|
|
37
|
-
if (r.content.length > 0) {
|
|
38
|
-
r.content.push(...n);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
for (; r.container;) {
|
|
42
|
-
let e = r.container.content.indexOf(r);
|
|
43
|
-
if (e > 0) {
|
|
44
|
-
r.container.content.splice(e, 0, ...n), i = !0;
|
|
45
|
-
break;
|
|
46
|
-
}
|
|
47
|
-
r = r.container;
|
|
48
|
-
}
|
|
49
|
-
i || this.rootNode.content.unshift(...n);
|
|
50
|
-
}
|
|
51
|
-
construct(e) {
|
|
52
|
-
let t = this.current;
|
|
53
|
-
typeof e.$type == "string" && !e.$infixName && (this.current.astNode = e), e.$cstNode = t;
|
|
54
|
-
let n = this.nodeStack.pop();
|
|
55
|
-
n?.content.length === 0 && this.removeNode(n);
|
|
56
|
-
}
|
|
57
|
-
}, i = class {
|
|
58
|
-
get hidden() {
|
|
59
|
-
return !1;
|
|
60
|
-
}
|
|
61
|
-
get astNode() {
|
|
62
|
-
let e = typeof this._astNode?.$type == "string" ? this._astNode : this.container?.astNode;
|
|
63
|
-
if (!e) throw Error("This node has no associated AST element");
|
|
64
|
-
return e;
|
|
65
|
-
}
|
|
66
|
-
set astNode(e) {
|
|
67
|
-
this._astNode = e;
|
|
68
|
-
}
|
|
69
|
-
get text() {
|
|
70
|
-
return this.root.fullText.substring(this.offset, this.end);
|
|
71
|
-
}
|
|
72
|
-
}, a = class extends i {
|
|
73
|
-
get offset() {
|
|
74
|
-
return this._offset;
|
|
75
|
-
}
|
|
76
|
-
get length() {
|
|
77
|
-
return this._length;
|
|
78
|
-
}
|
|
79
|
-
get end() {
|
|
80
|
-
return this._offset + this._length;
|
|
81
|
-
}
|
|
82
|
-
get hidden() {
|
|
83
|
-
return this._hidden;
|
|
84
|
-
}
|
|
85
|
-
get tokenType() {
|
|
86
|
-
return this._tokenType;
|
|
87
|
-
}
|
|
88
|
-
get range() {
|
|
89
|
-
return this._range;
|
|
90
|
-
}
|
|
91
|
-
constructor(e, t, n, r, i = !1) {
|
|
92
|
-
super(), this._hidden = i, this._offset = e, this._tokenType = r, this._length = t, this._range = n;
|
|
93
|
-
}
|
|
94
|
-
}, o = class extends i {
|
|
95
|
-
constructor() {
|
|
96
|
-
super(...arguments), this.content = new s(this);
|
|
97
|
-
}
|
|
98
|
-
get offset() {
|
|
99
|
-
return this.firstNonHiddenNode?.offset ?? 0;
|
|
100
|
-
}
|
|
101
|
-
get length() {
|
|
102
|
-
return this.end - this.offset;
|
|
103
|
-
}
|
|
104
|
-
get end() {
|
|
105
|
-
return this.lastNonHiddenNode?.end ?? 0;
|
|
106
|
-
}
|
|
107
|
-
get range() {
|
|
108
|
-
let e = this.firstNonHiddenNode, n = this.lastNonHiddenNode;
|
|
109
|
-
if (e && n) {
|
|
110
|
-
if (this._rangeCache === void 0) {
|
|
111
|
-
let { range: t } = e, { range: r } = n;
|
|
112
|
-
this._rangeCache = {
|
|
113
|
-
start: t.start,
|
|
114
|
-
end: r.end.line < t.start.line ? t.start : r.end
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
return this._rangeCache;
|
|
118
|
-
} else return {
|
|
119
|
-
start: t.create(0, 0),
|
|
120
|
-
end: t.create(0, 0)
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
get firstNonHiddenNode() {
|
|
124
|
-
for (let e of this.content) if (!e.hidden) return e;
|
|
125
|
-
return this.content[0];
|
|
126
|
-
}
|
|
127
|
-
get lastNonHiddenNode() {
|
|
128
|
-
for (let e = this.content.length - 1; e >= 0; e--) {
|
|
129
|
-
let t = this.content[e];
|
|
130
|
-
if (!t.hidden) return t;
|
|
131
|
-
}
|
|
132
|
-
return this.content[this.content.length - 1];
|
|
133
|
-
}
|
|
134
|
-
}, s = class e extends Array {
|
|
135
|
-
constructor(t) {
|
|
136
|
-
super(), this.parent = t, Object.setPrototypeOf(this, e.prototype);
|
|
137
|
-
}
|
|
138
|
-
push(...e) {
|
|
139
|
-
return this.addParents(e), super.push(...e);
|
|
140
|
-
}
|
|
141
|
-
unshift(...e) {
|
|
142
|
-
return this.addParents(e), super.unshift(...e);
|
|
143
|
-
}
|
|
144
|
-
splice(e, t, ...n) {
|
|
145
|
-
return this.addParents(n), super.splice(e, t, ...n);
|
|
146
|
-
}
|
|
147
|
-
addParents(e) {
|
|
148
|
-
for (let t of e) t.container = this.parent;
|
|
149
|
-
}
|
|
150
|
-
}, c = class extends o {
|
|
151
|
-
get text() {
|
|
152
|
-
return this._text.substring(this.offset, this.end);
|
|
153
|
-
}
|
|
154
|
-
get fullText() {
|
|
155
|
-
return this._text;
|
|
156
|
-
}
|
|
157
|
-
constructor(e) {
|
|
158
|
-
super(), this._text = "", this._text = e ?? "";
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
//#endregion
|
|
162
|
-
export { o as CompositeCstNodeImpl, r as CstNodeBuilder, a as LeafCstNodeImpl, c as RootCstNodeImpl };
|
|
163
|
-
|
|
164
|
-
//# sourceMappingURL=cst-node-builder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cst-node-builder.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/parser/cst-node-builder.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 { Position } from 'vscode-languageserver-types';\nimport { tokenToRange } from '../utils/cst-utils.js';\nexport class CstNodeBuilder {\n constructor() {\n this.nodeStack = [];\n }\n get current() {\n return this.nodeStack[this.nodeStack.length - 1] ?? this.rootNode;\n }\n buildRootNode(input) {\n this.rootNode = new RootCstNodeImpl(input);\n this.rootNode.root = this.rootNode;\n this.nodeStack = [this.rootNode];\n return this.rootNode;\n }\n buildCompositeNode(feature) {\n const compositeNode = new CompositeCstNodeImpl();\n compositeNode.grammarSource = feature;\n compositeNode.root = this.rootNode;\n this.current.content.push(compositeNode);\n this.nodeStack.push(compositeNode);\n return compositeNode;\n }\n buildLeafNode(token, feature) {\n const leafNode = new LeafCstNodeImpl(token.startOffset, token.image.length, tokenToRange(token), token.tokenType, !feature);\n leafNode.grammarSource = feature;\n leafNode.root = this.rootNode;\n this.current.content.push(leafNode);\n return leafNode;\n }\n removeNode(node) {\n const parent = node.container;\n if (parent) {\n const index = parent.content.indexOf(node);\n if (index >= 0) {\n parent.content.splice(index, 1);\n }\n }\n }\n addHiddenNodes(tokens) {\n const nodes = [];\n for (const token of tokens) {\n const leafNode = new LeafCstNodeImpl(token.startOffset, token.image.length, tokenToRange(token), token.tokenType, true);\n leafNode.root = this.rootNode;\n nodes.push(leafNode);\n }\n let current = this.current;\n let added = false;\n // If we are within a composite node, we add the hidden nodes to the content\n if (current.content.length > 0) {\n current.content.push(...nodes);\n return;\n }\n // Otherwise we are at a newly created node\n // Instead of adding the hidden nodes here, we search for the first parent node with content\n while (current.container) {\n const index = current.container.content.indexOf(current);\n if (index > 0) {\n // Add the hidden nodes before the current node\n current.container.content.splice(index, 0, ...nodes);\n added = true;\n break;\n }\n current = current.container;\n }\n // If we arrive at the root node, we add the hidden nodes at the beginning\n // This is the case if the hidden nodes are the first nodes in the tree\n if (!added) {\n this.rootNode.content.unshift(...nodes);\n }\n }\n construct(item) {\n const current = this.current;\n // The specified item could be a datatype ($type is symbol), fragment ($type is undefined) or infix rule ($infix is true)\n // Only if the $type is a string, we actually assign the element\n if (typeof item.$type === 'string' && !item.$infixName) {\n this.current.astNode = item;\n }\n item.$cstNode = current;\n const node = this.nodeStack.pop();\n // Empty composite nodes are not valid\n // Simply remove the node from the tree\n if (node?.content.length === 0) {\n this.removeNode(node);\n }\n }\n}\nexport class AbstractCstNode {\n get hidden() {\n return false;\n }\n get astNode() {\n const node = typeof this._astNode?.$type === 'string' ? this._astNode : this.container?.astNode;\n if (!node) {\n throw new Error('This node has no associated AST element');\n }\n return node;\n }\n set astNode(value) {\n this._astNode = value;\n }\n get text() {\n return this.root.fullText.substring(this.offset, this.end);\n }\n}\nexport class LeafCstNodeImpl extends AbstractCstNode {\n get offset() {\n return this._offset;\n }\n get length() {\n return this._length;\n }\n get end() {\n return this._offset + this._length;\n }\n get hidden() {\n return this._hidden;\n }\n get tokenType() {\n return this._tokenType;\n }\n get range() {\n return this._range;\n }\n constructor(offset, length, range, tokenType, hidden = false) {\n super();\n this._hidden = hidden;\n this._offset = offset;\n this._tokenType = tokenType;\n this._length = length;\n this._range = range;\n }\n}\nexport class CompositeCstNodeImpl extends AbstractCstNode {\n constructor() {\n super(...arguments);\n this.content = new CstNodeContainer(this);\n }\n get offset() {\n return this.firstNonHiddenNode?.offset ?? 0;\n }\n get length() {\n return this.end - this.offset;\n }\n get end() {\n return this.lastNonHiddenNode?.end ?? 0;\n }\n get range() {\n const firstNode = this.firstNonHiddenNode;\n const lastNode = this.lastNonHiddenNode;\n if (firstNode && lastNode) {\n if (this._rangeCache === undefined) {\n const { range: firstRange } = firstNode;\n const { range: lastRange } = lastNode;\n this._rangeCache = { start: firstRange.start, end: lastRange.end.line < firstRange.start.line ? firstRange.start : lastRange.end };\n }\n return this._rangeCache;\n }\n else {\n return { start: Position.create(0, 0), end: Position.create(0, 0) };\n }\n }\n get firstNonHiddenNode() {\n for (const child of this.content) {\n if (!child.hidden) {\n return child;\n }\n }\n return this.content[0];\n }\n get lastNonHiddenNode() {\n for (let i = this.content.length - 1; i >= 0; i--) {\n const child = this.content[i];\n if (!child.hidden) {\n return child;\n }\n }\n return this.content[this.content.length - 1];\n }\n}\nclass CstNodeContainer extends Array {\n constructor(parent) {\n super();\n this.parent = parent;\n Object.setPrototypeOf(this, CstNodeContainer.prototype);\n }\n push(...items) {\n this.addParents(items);\n return super.push(...items);\n }\n unshift(...items) {\n this.addParents(items);\n return super.unshift(...items);\n }\n splice(start, count, ...items) {\n this.addParents(items);\n return super.splice(start, count, ...items);\n }\n addParents(items) {\n for (const item of items) {\n item.container = this.parent;\n }\n }\n}\nexport class RootCstNodeImpl extends CompositeCstNodeImpl {\n get text() {\n return this._text.substring(this.offset, this.end);\n }\n get fullText() {\n return this._text;\n }\n constructor(input) {\n super();\n this._text = '';\n this._text = input ?? '';\n }\n}\n//# sourceMappingURL=cst-node-builder.js.map"],"x_google_ignoreList":[0],"mappings":";;;GAKuD;AAEvD,IAAa,IAAb,MAA4B;CACxB,cAAc;EACV,KAAK,YAAY,EAAE;;CAEvB,IAAI,UAAU;EACV,OAAO,KAAK,UAAU,KAAK,UAAU,SAAS,MAAM,KAAK;;CAE7D,cAAc,GAAO;EAIjB,OAHA,KAAK,WAAW,IAAI,EAAgB,EAAM,EAC1C,KAAK,SAAS,OAAO,KAAK,UAC1B,KAAK,YAAY,CAAC,KAAK,SAAS,EACzB,KAAK;;CAEhB,mBAAmB,GAAS;EACxB,IAAM,IAAgB,IAAI,GAAsB;EAKhD,OAJA,EAAc,gBAAgB,GAC9B,EAAc,OAAO,KAAK,UAC1B,KAAK,QAAQ,QAAQ,KAAK,EAAc,EACxC,KAAK,UAAU,KAAK,EAAc,EAC3B;;CAEX,cAAc,GAAO,GAAS;EAC1B,IAAM,IAAW,IAAI,EAAgB,EAAM,aAAa,EAAM,MAAM,QAAQ,EAAa,EAAM,EAAE,EAAM,WAAW,CAAC,EAAQ;EAI3H,OAHA,EAAS,gBAAgB,GACzB,EAAS,OAAO,KAAK,UACrB,KAAK,QAAQ,QAAQ,KAAK,EAAS,EAC5B;;CAEX,WAAW,GAAM;EACb,IAAM,IAAS,EAAK;EACpB,IAAI,GAAQ;GACR,IAAM,IAAQ,EAAO,QAAQ,QAAQ,EAAK;GAC1C,AAAI,KAAS,KACT,EAAO,QAAQ,OAAO,GAAO,EAAE;;;CAI3C,eAAe,GAAQ;EACnB,IAAM,IAAQ,EAAE;EAChB,KAAK,IAAM,KAAS,GAAQ;GACxB,IAAM,IAAW,IAAI,EAAgB,EAAM,aAAa,EAAM,MAAM,QAAQ,EAAa,EAAM,EAAE,EAAM,WAAW,GAAK;GAEvH,AADA,EAAS,OAAO,KAAK,UACrB,EAA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AM,EAAiB,UAAU;;CAE3D,KAAK,GAAG,GAAO;EAEX,OADA,KAAK,WAAW,EAAM,EACf,MAAM,KAAK,GAAG,EAAM;;CAE/B,QAAQ,GAAG,GAAO;EAEd,OADA,KAAK,WAAW,EAAM,EACf,MAAM,QAAQ,GAAG,EAAM;;CAElC,OAAO,GAAO,GAAO,GAAG,GAAO;EAE3B,OADA,KAAK,WAAW,EAAM,EACf,MAAM,OAAO,GAAO,GAAO,GAAG,EAAM;;CAE/C,WAAW,GAAO;EACd,KAAK,IAAM,KAAQ,GACf,EAAK,YAAY,KAAK;;GAIrB,IAAb,cAAqC,EAAqB;CACtD,IAAI,OAAO;EACP,OAAO,KAAK,MAAM,UAAU,KAAK,QAAQ,KAAK,IAAI;;CAEtD,IAAI,WAAW;EACX,OAAO,KAAK;;CAEhB,YAAY,GAAO;EAGf,AAFA,OAAO,EACP,KAAK,QAAQ,IACb,KAAK,QAAQ,KAAS"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LangiumParser as e } from "./langium-parser.js";
|
|
2
|
-
import { createParser as t } from "./parser-builder-base.js";
|
|
3
|
-
//#region ../../node_modules/langium/lib/parser/langium-parser-builder.js
|
|
4
|
-
function n(e) {
|
|
5
|
-
let t = r(e);
|
|
6
|
-
return t.finalize(), t;
|
|
7
|
-
}
|
|
8
|
-
function r(n) {
|
|
9
|
-
let r = n.Grammar, i = n.parser.Lexer;
|
|
10
|
-
return t(r, new e(n), i.definition);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as createLangiumParser };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=langium-parser-builder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"langium-parser-builder.js","names":[],"sources":["../../../../../../../../node_modules/langium/lib/parser/langium-parser-builder.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 { LangiumParser } from './langium-parser.js';\nimport { createParser } from './parser-builder-base.js';\n/**\n * Create and finalize a Langium parser. The parser rules are derived from the grammar, which is\n * available at `services.Grammar`.\n */\nexport function createLangiumParser(services) {\n const parser = prepareLangiumParser(services);\n parser.finalize();\n return parser;\n}\n/**\n * Create a Langium parser without finalizing it. This is used to extract more detailed error\n * information when the parser is initially validated.\n */\nexport function prepareLangiumParser(services) {\n const grammar = services.Grammar;\n const lexer = services.parser.Lexer;\n const parser = new LangiumParser(services);\n return createParser(grammar, parser, lexer.definition);\n}\n//# sourceMappingURL=langium-parser-builder.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAWA,SAAgB,EAAoB,GAAU;CAC1C,IAAM,IAAS,EAAqB,EAAS;CAE7C,OADA,EAAO,UAAU,EACV;;AAMX,SAAgB,EAAqB,GAAU;CAC3C,IAAM,IAAU,EAAS,SACnB,IAAQ,EAAS,OAAO;CAE9B,OAAO,EAAa,GAAS,IADV,EAAc,EACE,EAAE,EAAM,WAAW"}
|