@elmethis/core 1.0.0-alpha.149 → 1.0.0-alpha.150
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/dist/index.d.ts +2 -3
- package/dist/index.mjs +119 -121
- package/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.mjs +0 -6
- package/dist/_virtual/advancedFormat.mjs +0 -7
- package/dist/_virtual/advancedFormat2.mjs +0 -4
- package/dist/_virtual/cancellation.mjs +0 -5
- package/dist/_virtual/cancellation2.mjs +0 -4
- package/dist/_virtual/constants.mjs +0 -4
- package/dist/_virtual/cose-base.mjs +0 -4
- package/dist/_virtual/cose-base2.mjs +0 -4
- package/dist/_virtual/customParseFormat.mjs +0 -7
- package/dist/_virtual/customParseFormat2.mjs +0 -4
- package/dist/_virtual/cytoscape-cose-bilkent.mjs +0 -7
- package/dist/_virtual/cytoscape-cose-bilkent2.mjs +0 -4
- package/dist/_virtual/cytoscape-fcose.mjs +0 -7
- package/dist/_virtual/cytoscape-fcose2.mjs +0 -4
- package/dist/_virtual/dayjs.min.mjs +0 -7
- package/dist/_virtual/dayjs.min2.mjs +0 -4
- package/dist/_virtual/events.mjs +0 -5
- package/dist/_virtual/events2.mjs +0 -4
- package/dist/_virtual/index.mjs +0 -5
- package/dist/_virtual/index2.mjs +0 -4
- package/dist/_virtual/is.mjs +0 -4
- package/dist/_virtual/isoWeek.mjs +0 -7
- package/dist/_virtual/isoWeek2.mjs +0 -4
- package/dist/_virtual/layout-base.mjs +0 -4
- package/dist/_virtual/layout-base2.mjs +0 -4
- package/dist/_virtual/ral.mjs +0 -4
- package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue.d.ts +0 -8
- package/dist/components/code/ElmMermaid.vue.mjs +0 -6
- package/dist/components/code/ElmMermaid.vue2.mjs +0 -56
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -20
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +0 -76
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -57
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -220
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -64
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -101
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -45
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -693
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -39
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -14
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -10
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -15
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -15
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -28
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -54
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -17
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -27
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -24
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -120
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -33
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -10
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -29
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -41
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +0 -541
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +0 -46
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +0 -42
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -115
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -531
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +0 -393
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -42
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -12
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -42
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -87
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -161
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -416
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -47
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -41
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -424
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -22
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -48
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -387
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -40
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -83
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -181
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -69
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -270
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -59
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -128
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -38
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -323
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -434
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -251
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -167
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -19
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -720
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -11
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -552
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -214
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -115
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
- package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +0 -1090
- package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +0 -2555
- package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +0 -374
- package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +0 -1278
- package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +0 -29469
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +0 -47
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +0 -51
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +0 -94
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +0 -338
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +0 -95
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +0 -70
- package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +0 -37
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +0 -82
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +0 -29
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +0 -4
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +0 -43
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +0 -59
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +0 -73
- package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +0 -88
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +0 -326
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +0 -56
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +0 -95
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +0 -61
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +0 -38
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +0 -34
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +0 -46
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +0 -76
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +0 -31
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +0 -88
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +0 -19
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +0 -17
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +0 -24
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +0 -4
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +0 -45
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +0 -133
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +0 -66
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +0 -63
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +0 -50
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +0 -49
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +0 -43
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +0 -73
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +0 -69
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +0 -57
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +0 -83
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +0 -75
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +0 -63
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +0 -39
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +0 -99
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +0 -59
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +0 -41
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +0 -32
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +0 -19
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +0 -55
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +0 -542
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +0 -34
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +0 -26
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +0 -61
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +0 -26
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +0 -27
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +0 -66
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +0 -45
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +0 -96
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +0 -39
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +0 -55
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +0 -42
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +0 -68
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +0 -125
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +0 -24
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +0 -47
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +0 -45
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -55
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -49
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -97
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -344
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -94
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -69
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -25
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -54
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -51
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -30
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -84
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -47
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +0 -296
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -45
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -148
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -30
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -164
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +0 -2
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +0 -2
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -420
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -47
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +0 -286
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +0 -58
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +0 -133
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +0 -37
- package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +0 -965
- package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +0 -43
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +0 -131
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +0 -5
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +0 -24
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +0 -40
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +0 -50
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +0 -39
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +0 -172
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +0 -33
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +0 -13
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +0 -15
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +0 -13
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +0 -12
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +0 -8
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +0 -12
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +0 -10
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +0 -20
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +0 -18
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +0 -95
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +0 -11
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +0 -14
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +0 -10
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +0 -87
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +0 -74
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -17
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -62
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -478
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -725
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -20
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +0 -11
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -13
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -233
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -17
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -453
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +0 -72
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -336
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +0 -105
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +0 -111
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +0 -139
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +0 -19
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +0 -80
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +0 -70
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +0 -62
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +0 -60
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -256
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -202
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +0 -69
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +0 -73
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -159
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +0 -137
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +0 -177
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -126
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +0 -12
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +0 -12
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -33
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -377
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -56
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -239
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +0 -466
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -37
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +0 -236
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -142
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -75
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -43
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +0 -81
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -328
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +0 -210
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -15
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -74
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -64
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -106
- package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +0 -3197
- package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +0 -3745
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -24
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -83
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -45
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +0 -35
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -19
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -27
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -61
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +0 -46
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +0 -50
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +0 -59
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +0 -50
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -4
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -25
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -34
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +0 -25
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -43
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -4
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +0 -35
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -8
- package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +0 -2152
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +0 -1093
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +0 -3598
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +0 -2487
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +0 -143
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +0 -2696
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +0 -19
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +0 -1828
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +0 -1961
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +0 -332
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +0 -109
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +0 -78
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +0 -5018
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +0 -696
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +0 -557
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +0 -38
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +0 -57
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +0 -107
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +0 -3052
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +0 -662
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +0 -306
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +0 -191
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +0 -1168
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +0 -2339
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +0 -2104
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +0 -1215
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +0 -31
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +0 -1201
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +0 -1055
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +0 -1195
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +0 -188
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +0 -1340
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +0 -1168
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +0 -670
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +0 -3419
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +0 -477
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +0 -1232
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +0 -1778
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +0 -1222
- package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +0 -1001
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +0 -16
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +0 -164
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +0 -29
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +0 -156
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +0 -38
- package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +0 -42
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +0 -95
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +0 -133
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +0 -40
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +0 -28
- package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +0 -225
- package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +0 -1262
- package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +0 -344
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { nextPossibleTokensAfter, NextAfterTokenWalker } from "../../grammar/interpreter.mjs";
|
|
2
|
-
import { isUndefined, first } from "lodash-es";
|
|
3
|
-
class ContentAssist {
|
|
4
|
-
initContentAssist() {
|
|
5
|
-
}
|
|
6
|
-
computeContentAssist(startRuleName, precedingInput) {
|
|
7
|
-
const startRuleGast = this.gastProductionsCache[startRuleName];
|
|
8
|
-
if (isUndefined(startRuleGast)) {
|
|
9
|
-
throw Error(`Rule ->${startRuleName}<- does not exist in this grammar.`);
|
|
10
|
-
}
|
|
11
|
-
return nextPossibleTokensAfter([startRuleGast], precedingInput, this.tokenMatcher, this.maxLookahead);
|
|
12
|
-
}
|
|
13
|
-
// TODO: should this be a member method or a utility? it does not have any state or usage of 'this'...
|
|
14
|
-
// TODO: should this be more explicitly part of the public API?
|
|
15
|
-
getNextPossibleTokenTypes(grammarPath) {
|
|
16
|
-
const topRuleName = first(grammarPath.ruleStack);
|
|
17
|
-
const gastProductions = this.getGAstProductions();
|
|
18
|
-
const topProduction = gastProductions[topRuleName];
|
|
19
|
-
const nextPossibleTokenTypes = new NextAfterTokenWalker(topProduction, grammarPath).startWalking();
|
|
20
|
-
return nextPossibleTokenTypes;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
ContentAssist
|
|
25
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { isRecognitionException, EarlyExitException, NoViableAltException } from "../../exceptions_public.mjs";
|
|
2
|
-
import { has, clone } from "lodash-es";
|
|
3
|
-
import { getLookaheadPathsForOptionalProd, getLookaheadPathsForOr } from "../../grammar/lookahead.mjs";
|
|
4
|
-
import { DEFAULT_PARSER_CONFIG } from "../parser.mjs";
|
|
5
|
-
class ErrorHandler {
|
|
6
|
-
initErrorHandler(config) {
|
|
7
|
-
this._errors = [];
|
|
8
|
-
this.errorMessageProvider = has(config, "errorMessageProvider") ? config.errorMessageProvider : DEFAULT_PARSER_CONFIG.errorMessageProvider;
|
|
9
|
-
}
|
|
10
|
-
SAVE_ERROR(error) {
|
|
11
|
-
if (isRecognitionException(error)) {
|
|
12
|
-
error.context = {
|
|
13
|
-
ruleStack: this.getHumanReadableRuleStack(),
|
|
14
|
-
ruleOccurrenceStack: clone(this.RULE_OCCURRENCE_STACK)
|
|
15
|
-
};
|
|
16
|
-
this._errors.push(error);
|
|
17
|
-
return error;
|
|
18
|
-
} else {
|
|
19
|
-
throw Error("Trying to save an Error which is not a RecognitionException");
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
get errors() {
|
|
23
|
-
return clone(this._errors);
|
|
24
|
-
}
|
|
25
|
-
set errors(newErrors) {
|
|
26
|
-
this._errors = newErrors;
|
|
27
|
-
}
|
|
28
|
-
// TODO: consider caching the error message computed information
|
|
29
|
-
raiseEarlyExitException(occurrence, prodType, userDefinedErrMsg) {
|
|
30
|
-
const ruleName = this.getCurrRuleFullName();
|
|
31
|
-
const ruleGrammar = this.getGAstProductions()[ruleName];
|
|
32
|
-
const lookAheadPathsPerAlternative = getLookaheadPathsForOptionalProd(occurrence, ruleGrammar, prodType, this.maxLookahead);
|
|
33
|
-
const insideProdPaths = lookAheadPathsPerAlternative[0];
|
|
34
|
-
const actualTokens = [];
|
|
35
|
-
for (let i = 1; i <= this.maxLookahead; i++) {
|
|
36
|
-
actualTokens.push(this.LA(i));
|
|
37
|
-
}
|
|
38
|
-
const msg = this.errorMessageProvider.buildEarlyExitMessage({
|
|
39
|
-
expectedIterationPaths: insideProdPaths,
|
|
40
|
-
actual: actualTokens,
|
|
41
|
-
previous: this.LA(0),
|
|
42
|
-
customUserDescription: userDefinedErrMsg,
|
|
43
|
-
ruleName
|
|
44
|
-
});
|
|
45
|
-
throw this.SAVE_ERROR(new EarlyExitException(msg, this.LA(1), this.LA(0)));
|
|
46
|
-
}
|
|
47
|
-
// TODO: consider caching the error message computed information
|
|
48
|
-
raiseNoAltException(occurrence, errMsgTypes) {
|
|
49
|
-
const ruleName = this.getCurrRuleFullName();
|
|
50
|
-
const ruleGrammar = this.getGAstProductions()[ruleName];
|
|
51
|
-
const lookAheadPathsPerAlternative = getLookaheadPathsForOr(occurrence, ruleGrammar, this.maxLookahead);
|
|
52
|
-
const actualTokens = [];
|
|
53
|
-
for (let i = 1; i <= this.maxLookahead; i++) {
|
|
54
|
-
actualTokens.push(this.LA(i));
|
|
55
|
-
}
|
|
56
|
-
const previousToken = this.LA(0);
|
|
57
|
-
const errMsg = this.errorMessageProvider.buildNoViableAltMessage({
|
|
58
|
-
expectedPathsPerAlt: lookAheadPathsPerAlternative,
|
|
59
|
-
actual: actualTokens,
|
|
60
|
-
previous: previousToken,
|
|
61
|
-
customUserDescription: errMsgTypes,
|
|
62
|
-
ruleName: this.getCurrRuleFullName()
|
|
63
|
-
});
|
|
64
|
-
throw this.SAVE_ERROR(new NoViableAltException(errMsg, this.LA(1), previousToken));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
export {
|
|
68
|
-
ErrorHandler
|
|
69
|
-
};
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { has, last, isFunction, isArray, some, forEach } from "lodash-es";
|
|
2
|
-
import { Rule, Option, RepetitionMandatory, RepetitionMandatoryWithSeparator, Repetition, RepetitionWithSeparator, NonTerminal, Terminal, Alternation, Alternative } from "../../../../../../../../@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs";
|
|
3
|
-
import { Lexer } from "../../../scan/lexer_public.mjs";
|
|
4
|
-
import { augmentTokenTypes, hasShortKeyProperty } from "../../../scan/tokens.mjs";
|
|
5
|
-
import { createToken, createTokenInstance } from "../../../scan/tokens_public.mjs";
|
|
6
|
-
import { END_OF_FILE } from "../parser.mjs";
|
|
7
|
-
import { BITS_FOR_OCCURRENCE_IDX } from "../../grammar/keys.mjs";
|
|
8
|
-
const RECORDING_NULL_OBJECT = {
|
|
9
|
-
description: "This Object indicates the Parser is during Recording Phase"
|
|
10
|
-
};
|
|
11
|
-
Object.freeze(RECORDING_NULL_OBJECT);
|
|
12
|
-
const HANDLE_SEPARATOR = true;
|
|
13
|
-
const MAX_METHOD_IDX = Math.pow(2, BITS_FOR_OCCURRENCE_IDX) - 1;
|
|
14
|
-
const RFT = createToken({ name: "RECORDING_PHASE_TOKEN", pattern: Lexer.NA });
|
|
15
|
-
augmentTokenTypes([RFT]);
|
|
16
|
-
const RECORDING_PHASE_TOKEN = createTokenInstance(
|
|
17
|
-
RFT,
|
|
18
|
-
"This IToken indicates the Parser is in Recording Phase\n See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",
|
|
19
|
-
// Using "-1" instead of NaN (as in EOF) because an actual number is less likely to
|
|
20
|
-
// cause errors if the output of LA or CONSUME would be (incorrectly) used during the recording phase.
|
|
21
|
-
-1,
|
|
22
|
-
-1,
|
|
23
|
-
-1,
|
|
24
|
-
-1,
|
|
25
|
-
-1,
|
|
26
|
-
-1
|
|
27
|
-
);
|
|
28
|
-
Object.freeze(RECORDING_PHASE_TOKEN);
|
|
29
|
-
const RECORDING_PHASE_CSTNODE = {
|
|
30
|
-
name: "This CSTNode indicates the Parser is in Recording Phase\n See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",
|
|
31
|
-
children: {}
|
|
32
|
-
};
|
|
33
|
-
class GastRecorder {
|
|
34
|
-
initGastRecorder(config) {
|
|
35
|
-
this.recordingProdStack = [];
|
|
36
|
-
this.RECORDING_PHASE = false;
|
|
37
|
-
}
|
|
38
|
-
enableRecording() {
|
|
39
|
-
this.RECORDING_PHASE = true;
|
|
40
|
-
this.TRACE_INIT("Enable Recording", () => {
|
|
41
|
-
for (let i = 0; i < 10; i++) {
|
|
42
|
-
const idx = i > 0 ? i : "";
|
|
43
|
-
this[`CONSUME${idx}`] = function(arg1, arg2) {
|
|
44
|
-
return this.consumeInternalRecord(arg1, i, arg2);
|
|
45
|
-
};
|
|
46
|
-
this[`SUBRULE${idx}`] = function(arg1, arg2) {
|
|
47
|
-
return this.subruleInternalRecord(arg1, i, arg2);
|
|
48
|
-
};
|
|
49
|
-
this[`OPTION${idx}`] = function(arg1) {
|
|
50
|
-
return this.optionInternalRecord(arg1, i);
|
|
51
|
-
};
|
|
52
|
-
this[`OR${idx}`] = function(arg1) {
|
|
53
|
-
return this.orInternalRecord(arg1, i);
|
|
54
|
-
};
|
|
55
|
-
this[`MANY${idx}`] = function(arg1) {
|
|
56
|
-
this.manyInternalRecord(i, arg1);
|
|
57
|
-
};
|
|
58
|
-
this[`MANY_SEP${idx}`] = function(arg1) {
|
|
59
|
-
this.manySepFirstInternalRecord(i, arg1);
|
|
60
|
-
};
|
|
61
|
-
this[`AT_LEAST_ONE${idx}`] = function(arg1) {
|
|
62
|
-
this.atLeastOneInternalRecord(i, arg1);
|
|
63
|
-
};
|
|
64
|
-
this[`AT_LEAST_ONE_SEP${idx}`] = function(arg1) {
|
|
65
|
-
this.atLeastOneSepFirstInternalRecord(i, arg1);
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
this[`consume`] = function(idx, arg1, arg2) {
|
|
69
|
-
return this.consumeInternalRecord(arg1, idx, arg2);
|
|
70
|
-
};
|
|
71
|
-
this[`subrule`] = function(idx, arg1, arg2) {
|
|
72
|
-
return this.subruleInternalRecord(arg1, idx, arg2);
|
|
73
|
-
};
|
|
74
|
-
this[`option`] = function(idx, arg1) {
|
|
75
|
-
return this.optionInternalRecord(arg1, idx);
|
|
76
|
-
};
|
|
77
|
-
this[`or`] = function(idx, arg1) {
|
|
78
|
-
return this.orInternalRecord(arg1, idx);
|
|
79
|
-
};
|
|
80
|
-
this[`many`] = function(idx, arg1) {
|
|
81
|
-
this.manyInternalRecord(idx, arg1);
|
|
82
|
-
};
|
|
83
|
-
this[`atLeastOne`] = function(idx, arg1) {
|
|
84
|
-
this.atLeastOneInternalRecord(idx, arg1);
|
|
85
|
-
};
|
|
86
|
-
this.ACTION = this.ACTION_RECORD;
|
|
87
|
-
this.BACKTRACK = this.BACKTRACK_RECORD;
|
|
88
|
-
this.LA = this.LA_RECORD;
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
disableRecording() {
|
|
92
|
-
this.RECORDING_PHASE = false;
|
|
93
|
-
this.TRACE_INIT("Deleting Recording methods", () => {
|
|
94
|
-
const that = this;
|
|
95
|
-
for (let i = 0; i < 10; i++) {
|
|
96
|
-
const idx = i > 0 ? i : "";
|
|
97
|
-
delete that[`CONSUME${idx}`];
|
|
98
|
-
delete that[`SUBRULE${idx}`];
|
|
99
|
-
delete that[`OPTION${idx}`];
|
|
100
|
-
delete that[`OR${idx}`];
|
|
101
|
-
delete that[`MANY${idx}`];
|
|
102
|
-
delete that[`MANY_SEP${idx}`];
|
|
103
|
-
delete that[`AT_LEAST_ONE${idx}`];
|
|
104
|
-
delete that[`AT_LEAST_ONE_SEP${idx}`];
|
|
105
|
-
}
|
|
106
|
-
delete that[`consume`];
|
|
107
|
-
delete that[`subrule`];
|
|
108
|
-
delete that[`option`];
|
|
109
|
-
delete that[`or`];
|
|
110
|
-
delete that[`many`];
|
|
111
|
-
delete that[`atLeastOne`];
|
|
112
|
-
delete that.ACTION;
|
|
113
|
-
delete that.BACKTRACK;
|
|
114
|
-
delete that.LA;
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
// Parser methods are called inside an ACTION?
|
|
118
|
-
// Maybe try/catch/finally on ACTIONS while disabling the recorders state changes?
|
|
119
|
-
// @ts-expect-error -- noop place holder
|
|
120
|
-
ACTION_RECORD(impl) {
|
|
121
|
-
}
|
|
122
|
-
// Executing backtracking logic will break our recording logic assumptions
|
|
123
|
-
BACKTRACK_RECORD(grammarRule, args) {
|
|
124
|
-
return () => true;
|
|
125
|
-
}
|
|
126
|
-
// LA is part of the official API and may be used for custom lookahead logic
|
|
127
|
-
// by end users who may forget to wrap it in ACTION or inside a GATE
|
|
128
|
-
LA_RECORD(howMuch) {
|
|
129
|
-
return END_OF_FILE;
|
|
130
|
-
}
|
|
131
|
-
topLevelRuleRecord(name, def) {
|
|
132
|
-
try {
|
|
133
|
-
const newTopLevelRule = new Rule({ definition: [], name });
|
|
134
|
-
newTopLevelRule.name = name;
|
|
135
|
-
this.recordingProdStack.push(newTopLevelRule);
|
|
136
|
-
def.call(this);
|
|
137
|
-
this.recordingProdStack.pop();
|
|
138
|
-
return newTopLevelRule;
|
|
139
|
-
} catch (originalError) {
|
|
140
|
-
if (originalError.KNOWN_RECORDER_ERROR !== true) {
|
|
141
|
-
try {
|
|
142
|
-
originalError.message = originalError.message + '\n This error was thrown during the "grammar recording phase" For more info see:\n https://chevrotain.io/docs/guide/internals.html#grammar-recording';
|
|
143
|
-
} catch (mutabilityError) {
|
|
144
|
-
throw originalError;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
throw originalError;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
// Implementation of parsing DSL
|
|
151
|
-
optionInternalRecord(actionORMethodDef, occurrence) {
|
|
152
|
-
return recordProd.call(this, Option, actionORMethodDef, occurrence);
|
|
153
|
-
}
|
|
154
|
-
atLeastOneInternalRecord(occurrence, actionORMethodDef) {
|
|
155
|
-
recordProd.call(this, RepetitionMandatory, actionORMethodDef, occurrence);
|
|
156
|
-
}
|
|
157
|
-
atLeastOneSepFirstInternalRecord(occurrence, options) {
|
|
158
|
-
recordProd.call(this, RepetitionMandatoryWithSeparator, options, occurrence, HANDLE_SEPARATOR);
|
|
159
|
-
}
|
|
160
|
-
manyInternalRecord(occurrence, actionORMethodDef) {
|
|
161
|
-
recordProd.call(this, Repetition, actionORMethodDef, occurrence);
|
|
162
|
-
}
|
|
163
|
-
manySepFirstInternalRecord(occurrence, options) {
|
|
164
|
-
recordProd.call(this, RepetitionWithSeparator, options, occurrence, HANDLE_SEPARATOR);
|
|
165
|
-
}
|
|
166
|
-
orInternalRecord(altsOrOpts, occurrence) {
|
|
167
|
-
return recordOrProd.call(this, altsOrOpts, occurrence);
|
|
168
|
-
}
|
|
169
|
-
subruleInternalRecord(ruleToCall, occurrence, options) {
|
|
170
|
-
assertMethodIdxIsValid(occurrence);
|
|
171
|
-
if (!ruleToCall || has(ruleToCall, "ruleName") === false) {
|
|
172
|
-
const error = new Error(`<SUBRULE${getIdxSuffix(occurrence)}> argument is invalid expecting a Parser method reference but got: <${JSON.stringify(ruleToCall)}>
|
|
173
|
-
inside top level rule: <${this.recordingProdStack[0].name}>`);
|
|
174
|
-
error.KNOWN_RECORDER_ERROR = true;
|
|
175
|
-
throw error;
|
|
176
|
-
}
|
|
177
|
-
const prevProd = last(this.recordingProdStack);
|
|
178
|
-
const ruleName = ruleToCall.ruleName;
|
|
179
|
-
const newNoneTerminal = new NonTerminal({
|
|
180
|
-
idx: occurrence,
|
|
181
|
-
nonTerminalName: ruleName,
|
|
182
|
-
label: options === null || options === void 0 ? void 0 : options.LABEL,
|
|
183
|
-
// The resolving of the `referencedRule` property will be done once all the Rule's GASTs have been created
|
|
184
|
-
referencedRule: void 0
|
|
185
|
-
});
|
|
186
|
-
prevProd.definition.push(newNoneTerminal);
|
|
187
|
-
return this.outputCst ? RECORDING_PHASE_CSTNODE : RECORDING_NULL_OBJECT;
|
|
188
|
-
}
|
|
189
|
-
consumeInternalRecord(tokType, occurrence, options) {
|
|
190
|
-
assertMethodIdxIsValid(occurrence);
|
|
191
|
-
if (!hasShortKeyProperty(tokType)) {
|
|
192
|
-
const error = new Error(`<CONSUME${getIdxSuffix(occurrence)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(tokType)}>
|
|
193
|
-
inside top level rule: <${this.recordingProdStack[0].name}>`);
|
|
194
|
-
error.KNOWN_RECORDER_ERROR = true;
|
|
195
|
-
throw error;
|
|
196
|
-
}
|
|
197
|
-
const prevProd = last(this.recordingProdStack);
|
|
198
|
-
const newNoneTerminal = new Terminal({
|
|
199
|
-
idx: occurrence,
|
|
200
|
-
terminalType: tokType,
|
|
201
|
-
label: options === null || options === void 0 ? void 0 : options.LABEL
|
|
202
|
-
});
|
|
203
|
-
prevProd.definition.push(newNoneTerminal);
|
|
204
|
-
return RECORDING_PHASE_TOKEN;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
function recordProd(prodConstructor, mainProdArg, occurrence, handleSep = false) {
|
|
208
|
-
assertMethodIdxIsValid(occurrence);
|
|
209
|
-
const prevProd = last(this.recordingProdStack);
|
|
210
|
-
const grammarAction = isFunction(mainProdArg) ? mainProdArg : mainProdArg.DEF;
|
|
211
|
-
const newProd = new prodConstructor({ definition: [], idx: occurrence });
|
|
212
|
-
if (handleSep) {
|
|
213
|
-
newProd.separator = mainProdArg.SEP;
|
|
214
|
-
}
|
|
215
|
-
if (has(mainProdArg, "MAX_LOOKAHEAD")) {
|
|
216
|
-
newProd.maxLookahead = mainProdArg.MAX_LOOKAHEAD;
|
|
217
|
-
}
|
|
218
|
-
this.recordingProdStack.push(newProd);
|
|
219
|
-
grammarAction.call(this);
|
|
220
|
-
prevProd.definition.push(newProd);
|
|
221
|
-
this.recordingProdStack.pop();
|
|
222
|
-
return RECORDING_NULL_OBJECT;
|
|
223
|
-
}
|
|
224
|
-
function recordOrProd(mainProdArg, occurrence) {
|
|
225
|
-
assertMethodIdxIsValid(occurrence);
|
|
226
|
-
const prevProd = last(this.recordingProdStack);
|
|
227
|
-
const hasOptions = isArray(mainProdArg) === false;
|
|
228
|
-
const alts = hasOptions === false ? mainProdArg : mainProdArg.DEF;
|
|
229
|
-
const newOrProd = new Alternation({
|
|
230
|
-
definition: [],
|
|
231
|
-
idx: occurrence,
|
|
232
|
-
ignoreAmbiguities: hasOptions && mainProdArg.IGNORE_AMBIGUITIES === true
|
|
233
|
-
});
|
|
234
|
-
if (has(mainProdArg, "MAX_LOOKAHEAD")) {
|
|
235
|
-
newOrProd.maxLookahead = mainProdArg.MAX_LOOKAHEAD;
|
|
236
|
-
}
|
|
237
|
-
const hasPredicates = some(alts, (currAlt) => isFunction(currAlt.GATE));
|
|
238
|
-
newOrProd.hasPredicates = hasPredicates;
|
|
239
|
-
prevProd.definition.push(newOrProd);
|
|
240
|
-
forEach(alts, (currAlt) => {
|
|
241
|
-
const currAltFlat = new Alternative({ definition: [] });
|
|
242
|
-
newOrProd.definition.push(currAltFlat);
|
|
243
|
-
if (has(currAlt, "IGNORE_AMBIGUITIES")) {
|
|
244
|
-
currAltFlat.ignoreAmbiguities = currAlt.IGNORE_AMBIGUITIES;
|
|
245
|
-
} else if (has(currAlt, "GATE")) {
|
|
246
|
-
currAltFlat.ignoreAmbiguities = true;
|
|
247
|
-
}
|
|
248
|
-
this.recordingProdStack.push(currAltFlat);
|
|
249
|
-
currAlt.ALT.call(this);
|
|
250
|
-
this.recordingProdStack.pop();
|
|
251
|
-
});
|
|
252
|
-
return RECORDING_NULL_OBJECT;
|
|
253
|
-
}
|
|
254
|
-
function getIdxSuffix(idx) {
|
|
255
|
-
return idx === 0 ? "" : `${idx}`;
|
|
256
|
-
}
|
|
257
|
-
function assertMethodIdxIsValid(idx) {
|
|
258
|
-
if (idx < 0 || idx > MAX_METHOD_IDX) {
|
|
259
|
-
const error = new Error(
|
|
260
|
-
// The stack trace will contain all the needed details
|
|
261
|
-
`Invalid DSL Method idx value: <${idx}>
|
|
262
|
-
Idx value must be a none negative value smaller than ${MAX_METHOD_IDX + 1}`
|
|
263
|
-
);
|
|
264
|
-
error.KNOWN_RECORDER_ERROR = true;
|
|
265
|
-
throw error;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
export {
|
|
269
|
-
GastRecorder
|
|
270
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { END_OF_FILE } from "../parser.mjs";
|
|
2
|
-
class LexerAdapter {
|
|
3
|
-
initLexerAdapter() {
|
|
4
|
-
this.tokVector = [];
|
|
5
|
-
this.tokVectorLength = 0;
|
|
6
|
-
this.currIdx = -1;
|
|
7
|
-
}
|
|
8
|
-
set input(newInput) {
|
|
9
|
-
if (this.selfAnalysisDone !== true) {
|
|
10
|
-
throw Error(`Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.`);
|
|
11
|
-
}
|
|
12
|
-
this.reset();
|
|
13
|
-
this.tokVector = newInput;
|
|
14
|
-
this.tokVectorLength = newInput.length;
|
|
15
|
-
}
|
|
16
|
-
get input() {
|
|
17
|
-
return this.tokVector;
|
|
18
|
-
}
|
|
19
|
-
// skips a token and returns the next token
|
|
20
|
-
SKIP_TOKEN() {
|
|
21
|
-
if (this.currIdx <= this.tokVector.length - 2) {
|
|
22
|
-
this.consumeToken();
|
|
23
|
-
return this.LA(1);
|
|
24
|
-
} else {
|
|
25
|
-
return END_OF_FILE;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
// Lexer (accessing Token vector) related methods which can be overridden to implement lazy lexers
|
|
29
|
-
// or lexers dependent on parser context.
|
|
30
|
-
LA(howMuch) {
|
|
31
|
-
const soughtIdx = this.currIdx + howMuch;
|
|
32
|
-
if (soughtIdx < 0 || this.tokVectorLength <= soughtIdx) {
|
|
33
|
-
return END_OF_FILE;
|
|
34
|
-
} else {
|
|
35
|
-
return this.tokVector[soughtIdx];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
consumeToken() {
|
|
39
|
-
this.currIdx++;
|
|
40
|
-
}
|
|
41
|
-
exportLexerState() {
|
|
42
|
-
return this.currIdx;
|
|
43
|
-
}
|
|
44
|
-
importLexerState(newState) {
|
|
45
|
-
this.currIdx = newState;
|
|
46
|
-
}
|
|
47
|
-
resetLexerState() {
|
|
48
|
-
this.currIdx = -1;
|
|
49
|
-
}
|
|
50
|
-
moveToTerminatedState() {
|
|
51
|
-
this.currIdx = this.tokVector.length - 1;
|
|
52
|
-
}
|
|
53
|
-
getLexerPosition() {
|
|
54
|
-
return this.exportLexerState();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export {
|
|
58
|
-
LexerAdapter
|
|
59
|
-
};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { has, forEach } from "lodash-es";
|
|
2
|
-
import { DEFAULT_PARSER_CONFIG } from "../parser.mjs";
|
|
3
|
-
import { getKeyForAutomaticLookahead, OR_IDX, MANY_IDX, OPTION_IDX, AT_LEAST_ONE_IDX, AT_LEAST_ONE_SEP_IDX, MANY_SEP_IDX } from "../../grammar/keys.mjs";
|
|
4
|
-
import { GAstVisitor } from "../../../../../../../../@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs";
|
|
5
|
-
import { getProductionDslName } from "../../../../../../../../@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs";
|
|
6
|
-
import { LLkLookaheadStrategy } from "../../grammar/llk_lookahead.mjs";
|
|
7
|
-
class LooksAhead {
|
|
8
|
-
initLooksAhead(config) {
|
|
9
|
-
this.dynamicTokensEnabled = has(config, "dynamicTokensEnabled") ? config.dynamicTokensEnabled : DEFAULT_PARSER_CONFIG.dynamicTokensEnabled;
|
|
10
|
-
this.maxLookahead = has(config, "maxLookahead") ? config.maxLookahead : DEFAULT_PARSER_CONFIG.maxLookahead;
|
|
11
|
-
this.lookaheadStrategy = has(config, "lookaheadStrategy") ? config.lookaheadStrategy : new LLkLookaheadStrategy({ maxLookahead: this.maxLookahead });
|
|
12
|
-
this.lookAheadFuncsCache = /* @__PURE__ */ new Map();
|
|
13
|
-
}
|
|
14
|
-
preComputeLookaheadFunctions(rules) {
|
|
15
|
-
forEach(rules, (currRule) => {
|
|
16
|
-
this.TRACE_INIT(`${currRule.name} Rule Lookahead`, () => {
|
|
17
|
-
const { alternation, repetition, option, repetitionMandatory, repetitionMandatoryWithSeparator, repetitionWithSeparator } = collectMethods(currRule);
|
|
18
|
-
forEach(alternation, (currProd) => {
|
|
19
|
-
const prodIdx = currProd.idx === 0 ? "" : currProd.idx;
|
|
20
|
-
this.TRACE_INIT(`${getProductionDslName(currProd)}${prodIdx}`, () => {
|
|
21
|
-
const laFunc = this.lookaheadStrategy.buildLookaheadForAlternation({
|
|
22
|
-
prodOccurrence: currProd.idx,
|
|
23
|
-
rule: currRule,
|
|
24
|
-
maxLookahead: currProd.maxLookahead || this.maxLookahead,
|
|
25
|
-
hasPredicates: currProd.hasPredicates,
|
|
26
|
-
dynamicTokensEnabled: this.dynamicTokensEnabled
|
|
27
|
-
});
|
|
28
|
-
const key = getKeyForAutomaticLookahead(this.fullRuleNameToShort[currRule.name], OR_IDX, currProd.idx);
|
|
29
|
-
this.setLaFuncCache(key, laFunc);
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
forEach(repetition, (currProd) => {
|
|
33
|
-
this.computeLookaheadFunc(currRule, currProd.idx, MANY_IDX, "Repetition", currProd.maxLookahead, getProductionDslName(currProd));
|
|
34
|
-
});
|
|
35
|
-
forEach(option, (currProd) => {
|
|
36
|
-
this.computeLookaheadFunc(currRule, currProd.idx, OPTION_IDX, "Option", currProd.maxLookahead, getProductionDslName(currProd));
|
|
37
|
-
});
|
|
38
|
-
forEach(repetitionMandatory, (currProd) => {
|
|
39
|
-
this.computeLookaheadFunc(currRule, currProd.idx, AT_LEAST_ONE_IDX, "RepetitionMandatory", currProd.maxLookahead, getProductionDslName(currProd));
|
|
40
|
-
});
|
|
41
|
-
forEach(repetitionMandatoryWithSeparator, (currProd) => {
|
|
42
|
-
this.computeLookaheadFunc(currRule, currProd.idx, AT_LEAST_ONE_SEP_IDX, "RepetitionMandatoryWithSeparator", currProd.maxLookahead, getProductionDslName(currProd));
|
|
43
|
-
});
|
|
44
|
-
forEach(repetitionWithSeparator, (currProd) => {
|
|
45
|
-
this.computeLookaheadFunc(currRule, currProd.idx, MANY_SEP_IDX, "RepetitionWithSeparator", currProd.maxLookahead, getProductionDslName(currProd));
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
computeLookaheadFunc(rule, prodOccurrence, prodKey, prodType, prodMaxLookahead, dslMethodName) {
|
|
51
|
-
this.TRACE_INIT(`${dslMethodName}${prodOccurrence === 0 ? "" : prodOccurrence}`, () => {
|
|
52
|
-
const laFunc = this.lookaheadStrategy.buildLookaheadForOptional({
|
|
53
|
-
prodOccurrence,
|
|
54
|
-
rule,
|
|
55
|
-
maxLookahead: prodMaxLookahead || this.maxLookahead,
|
|
56
|
-
dynamicTokensEnabled: this.dynamicTokensEnabled,
|
|
57
|
-
prodType
|
|
58
|
-
});
|
|
59
|
-
const key = getKeyForAutomaticLookahead(this.fullRuleNameToShort[rule.name], prodKey, prodOccurrence);
|
|
60
|
-
this.setLaFuncCache(key, laFunc);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
// this actually returns a number, but it is always used as a string (object prop key)
|
|
64
|
-
getKeyForAutomaticLookahead(dslMethodIdx, occurrence) {
|
|
65
|
-
const currRuleShortName = this.getLastExplicitRuleShortName();
|
|
66
|
-
return getKeyForAutomaticLookahead(currRuleShortName, dslMethodIdx, occurrence);
|
|
67
|
-
}
|
|
68
|
-
getLaFuncFromCache(key) {
|
|
69
|
-
return this.lookAheadFuncsCache.get(key);
|
|
70
|
-
}
|
|
71
|
-
/* istanbul ignore next */
|
|
72
|
-
setLaFuncCache(key, value) {
|
|
73
|
-
this.lookAheadFuncsCache.set(key, value);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
class DslMethodsCollectorVisitor extends GAstVisitor {
|
|
77
|
-
constructor() {
|
|
78
|
-
super(...arguments);
|
|
79
|
-
this.dslMethods = {
|
|
80
|
-
option: [],
|
|
81
|
-
alternation: [],
|
|
82
|
-
repetition: [],
|
|
83
|
-
repetitionWithSeparator: [],
|
|
84
|
-
repetitionMandatory: [],
|
|
85
|
-
repetitionMandatoryWithSeparator: []
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
reset() {
|
|
89
|
-
this.dslMethods = {
|
|
90
|
-
option: [],
|
|
91
|
-
alternation: [],
|
|
92
|
-
repetition: [],
|
|
93
|
-
repetitionWithSeparator: [],
|
|
94
|
-
repetitionMandatory: [],
|
|
95
|
-
repetitionMandatoryWithSeparator: []
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
visitOption(option) {
|
|
99
|
-
this.dslMethods.option.push(option);
|
|
100
|
-
}
|
|
101
|
-
visitRepetitionWithSeparator(manySep) {
|
|
102
|
-
this.dslMethods.repetitionWithSeparator.push(manySep);
|
|
103
|
-
}
|
|
104
|
-
visitRepetitionMandatory(atLeastOne) {
|
|
105
|
-
this.dslMethods.repetitionMandatory.push(atLeastOne);
|
|
106
|
-
}
|
|
107
|
-
visitRepetitionMandatoryWithSeparator(atLeastOneSep) {
|
|
108
|
-
this.dslMethods.repetitionMandatoryWithSeparator.push(atLeastOneSep);
|
|
109
|
-
}
|
|
110
|
-
visitRepetition(many) {
|
|
111
|
-
this.dslMethods.repetition.push(many);
|
|
112
|
-
}
|
|
113
|
-
visitAlternation(or) {
|
|
114
|
-
this.dslMethods.alternation.push(or);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
const collectorVisitor = new DslMethodsCollectorVisitor();
|
|
118
|
-
function collectMethods(rule) {
|
|
119
|
-
collectorVisitor.reset();
|
|
120
|
-
rule.accept(collectorVisitor);
|
|
121
|
-
const dslMethods = collectorVisitor.dslMethods;
|
|
122
|
-
collectorVisitor.reset();
|
|
123
|
-
return dslMethods;
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
LooksAhead,
|
|
127
|
-
collectMethods
|
|
128
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { has } from "lodash-es";
|
|
2
|
-
import { timer } from "../../../../../../../../@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs";
|
|
3
|
-
import { DEFAULT_PARSER_CONFIG } from "../parser.mjs";
|
|
4
|
-
class PerformanceTracer {
|
|
5
|
-
initPerformanceTracer(config) {
|
|
6
|
-
if (has(config, "traceInitPerf")) {
|
|
7
|
-
const userTraceInitPerf = config.traceInitPerf;
|
|
8
|
-
const traceIsNumber = typeof userTraceInitPerf === "number";
|
|
9
|
-
this.traceInitMaxIdent = traceIsNumber ? userTraceInitPerf : Infinity;
|
|
10
|
-
this.traceInitPerf = traceIsNumber ? userTraceInitPerf > 0 : userTraceInitPerf;
|
|
11
|
-
} else {
|
|
12
|
-
this.traceInitMaxIdent = 0;
|
|
13
|
-
this.traceInitPerf = DEFAULT_PARSER_CONFIG.traceInitPerf;
|
|
14
|
-
}
|
|
15
|
-
this.traceInitIndent = -1;
|
|
16
|
-
}
|
|
17
|
-
TRACE_INIT(phaseDesc, phaseImpl) {
|
|
18
|
-
if (this.traceInitPerf === true) {
|
|
19
|
-
this.traceInitIndent++;
|
|
20
|
-
const indent = new Array(this.traceInitIndent + 1).join(" ");
|
|
21
|
-
if (this.traceInitIndent < this.traceInitMaxIdent) {
|
|
22
|
-
console.log(`${indent}--> <${phaseDesc}>`);
|
|
23
|
-
}
|
|
24
|
-
const { time, value } = timer(phaseImpl);
|
|
25
|
-
const traceMethod = time > 10 ? console.warn : console.log;
|
|
26
|
-
if (this.traceInitIndent < this.traceInitMaxIdent) {
|
|
27
|
-
traceMethod(`${indent}<-- <${phaseDesc}> time: ${time}ms`);
|
|
28
|
-
}
|
|
29
|
-
this.traceInitIndent--;
|
|
30
|
-
return value;
|
|
31
|
-
} else {
|
|
32
|
-
return phaseImpl();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
PerformanceTracer
|
|
38
|
-
};
|