@kong-ui-public/documentation 0.3.42 → 0.4.0

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.
Files changed (155) hide show
  1. package/dist/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
  2. package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
  3. package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
  4. package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
  5. package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
  6. package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
  7. package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
  8. package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
  9. package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
  10. package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
  11. package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
  12. package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
  13. package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
  14. package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
  15. package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
  16. package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
  17. package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
  18. package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  19. package/dist/docker-B10O2enb-B10O2enb.js +7 -0
  20. package/dist/documentation.es.js +5 -3130
  21. package/dist/documentation.umd.js +10152 -50
  22. package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
  23. package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
  24. package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
  25. package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
  26. package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
  27. package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
  28. package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
  29. package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
  30. package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
  31. package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
  32. package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
  33. package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
  34. package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
  35. package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
  36. package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
  37. package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
  38. package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
  39. package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
  40. package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
  41. package/dist/index-B-5DuDrq.js +29996 -0
  42. package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
  43. package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
  44. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  45. package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
  46. package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  47. package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
  48. package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
  49. package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
  50. package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
  51. package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
  52. package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
  53. package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
  54. package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
  55. package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
  56. package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
  57. package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
  58. package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
  59. package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
  60. package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
  61. package/dist/make-whncTQWE-whncTQWE.js +7 -0
  62. package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
  63. package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
  64. package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
  65. package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
  66. package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
  67. package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
  68. package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
  69. package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
  70. package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
  71. package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
  72. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  73. package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
  74. package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
  75. package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
  76. package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
  77. package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
  78. package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
  79. package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
  80. package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
  81. package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
  82. package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
  83. package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
  84. package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
  85. package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
  86. package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
  87. package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
  88. package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
  89. package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
  90. package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
  91. package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
  92. package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
  93. package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
  94. package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
  95. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
  96. package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
  97. package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
  98. package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
  99. package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
  100. package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
  101. package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
  102. package/dist/style.css +1 -1
  103. package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
  104. package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
  105. package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
  106. package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
  107. package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
  108. package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
  109. package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
  110. package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
  111. package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
  112. package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
  113. package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
  114. package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
  115. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
  116. package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
  117. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
  118. package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
  119. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
  120. package/dist/types/composables/useI18n.d.ts +4 -0
  121. package/dist/types/composables/useI18n.d.ts.map +1 -1
  122. package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  123. package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
  124. package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
  125. package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
  126. package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
  127. package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
  128. package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
  129. package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
  130. package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
  131. package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
  132. package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
  133. package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  134. package/package.json +13 -13
  135. package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
  136. package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
  137. package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
  138. package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
  139. package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
  140. package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
  141. package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
  142. package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
  143. package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
  144. package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
  145. package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
  146. package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
  147. package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
  148. package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
  149. package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
  150. package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
  151. package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
  152. package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
  153. package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
  154. package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
  155. package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
@@ -0,0 +1,319 @@
1
+ import { l as U, aK as K, i as X } from "./index-B-5DuDrq.js";
2
+ var A = function() {
3
+ var a = function(c, t, n, e) {
4
+ for (n = n || {}, e = c.length; e--; n[c[e]] = t)
5
+ ;
6
+ return n;
7
+ }, p = [6, 9, 10], _ = {
8
+ trace: function() {
9
+ },
10
+ yy: {},
11
+ symbols_: { error: 2, start: 3, info: 4, document: 5, EOF: 6, line: 7, statement: 8, NL: 9, showInfo: 10, $accept: 0, $end: 1 },
12
+ terminals_: { 2: "error", 4: "info", 6: "EOF", 9: "NL", 10: "showInfo" },
13
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 1], [7, 1], [8, 1]],
14
+ performAction: function(c, t, n, e, s, i, o) {
15
+ switch (i.length - 1, s) {
16
+ case 1:
17
+ return e;
18
+ case 4:
19
+ break;
20
+ case 6:
21
+ e.setInfo(!0);
22
+ break;
23
+ }
24
+ },
25
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, a(p, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: 6, 9: [1, 7], 10: [1, 8] }, { 1: [2, 1] }, a(p, [2, 3]), a(p, [2, 4]), a(p, [2, 5]), a(p, [2, 6])],
26
+ defaultActions: { 4: [2, 1] },
27
+ parseError: function(c, t) {
28
+ if (t.recoverable)
29
+ this.trace(c);
30
+ else {
31
+ var n = new Error(c);
32
+ throw n.hash = t, n;
33
+ }
34
+ },
35
+ parse: function(c) {
36
+ var t = this, n = [0], e = [], s = [null], i = [], o = this.table, O = "", k = 0, $ = 0, T = 2, L = 1, z = i.slice.call(arguments, 1), r = Object.create(this.lexer), f = { yy: {} };
37
+ for (var I in this.yy)
38
+ Object.prototype.hasOwnProperty.call(this.yy, I) && (f.yy[I] = this.yy[I]);
39
+ r.setInput(c, f.yy), f.yy.lexer = r, f.yy.parser = this, typeof r.yylloc > "u" && (r.yylloc = {});
40
+ var S = r.yylloc;
41
+ i.push(S);
42
+ var F = r.options && r.options.ranges;
43
+ typeof f.yy.parseError == "function" ? this.parseError = f.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
44
+ function R() {
45
+ var u;
46
+ return u = e.pop() || r.lex() || L, typeof u != "number" && (u instanceof Array && (e = u, u = e.pop()), u = t.symbols_[u] || u), u;
47
+ }
48
+ for (var h, g, l, w, m = {}, x, y, j, b; ; ) {
49
+ if (g = n[n.length - 1], this.defaultActions[g] ? l = this.defaultActions[g] : ((h === null || typeof h > "u") && (h = R()), l = o[g] && o[g][h]), typeof l > "u" || !l.length || !l[0]) {
50
+ var E = "";
51
+ b = [];
52
+ for (x in o[g])
53
+ this.terminals_[x] && x > T && b.push("'" + this.terminals_[x] + "'");
54
+ r.showPosition ? E = "Parse error on line " + (k + 1) + `:
55
+ ` + r.showPosition() + `
56
+ Expecting ` + b.join(", ") + ", got '" + (this.terminals_[h] || h) + "'" : E = "Parse error on line " + (k + 1) + ": Unexpected " + (h == L ? "end of input" : "'" + (this.terminals_[h] || h) + "'"), this.parseError(E, {
57
+ text: r.match,
58
+ token: this.terminals_[h] || h,
59
+ line: r.yylineno,
60
+ loc: S,
61
+ expected: b
62
+ });
63
+ }
64
+ if (l[0] instanceof Array && l.length > 1)
65
+ throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + h);
66
+ switch (l[0]) {
67
+ case 1:
68
+ n.push(h), s.push(r.yytext), i.push(r.yylloc), n.push(l[1]), h = null, $ = r.yyleng, O = r.yytext, k = r.yylineno, S = r.yylloc;
69
+ break;
70
+ case 2:
71
+ if (y = this.productions_[l[1]][1], m.$ = s[s.length - y], m._$ = {
72
+ first_line: i[i.length - (y || 1)].first_line,
73
+ last_line: i[i.length - 1].last_line,
74
+ first_column: i[i.length - (y || 1)].first_column,
75
+ last_column: i[i.length - 1].last_column
76
+ }, F && (m._$.range = [
77
+ i[i.length - (y || 1)].range[0],
78
+ i[i.length - 1].range[1]
79
+ ]), w = this.performAction.apply(m, [
80
+ O,
81
+ $,
82
+ k,
83
+ f.yy,
84
+ l[1],
85
+ s,
86
+ i
87
+ ].concat(z)), typeof w < "u")
88
+ return w;
89
+ y && (n = n.slice(0, -1 * y * 2), s = s.slice(0, -1 * y), i = i.slice(0, -1 * y)), n.push(this.productions_[l[1]][0]), s.push(m.$), i.push(m._$), j = o[n[n.length - 2]][n[n.length - 1]], n.push(j);
90
+ break;
91
+ case 3:
92
+ return !0;
93
+ }
94
+ }
95
+ return !0;
96
+ }
97
+ }, d = /* @__PURE__ */ function() {
98
+ var c = {
99
+ EOF: 1,
100
+ parseError: function(t, n) {
101
+ if (this.yy.parser)
102
+ this.yy.parser.parseError(t, n);
103
+ else
104
+ throw new Error(t);
105
+ },
106
+ // resets the lexer, sets new input
107
+ setInput: function(t, n) {
108
+ return this.yy = n || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
109
+ first_line: 1,
110
+ first_column: 0,
111
+ last_line: 1,
112
+ last_column: 0
113
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
114
+ },
115
+ // consumes and returns one char from the input
116
+ input: function() {
117
+ var t = this._input[0];
118
+ this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
119
+ var n = t.match(/(?:\r\n?|\n).*/g);
120
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
121
+ },
122
+ // unshifts one char (or a string) into the input
123
+ unput: function(t) {
124
+ var n = t.length, e = t.split(/(?:\r\n?|\n)/g);
125
+ this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
126
+ var s = this.match.split(/(?:\r\n?|\n)/g);
127
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), e.length - 1 && (this.yylineno -= e.length - 1);
128
+ var i = this.yylloc.range;
129
+ return this.yylloc = {
130
+ first_line: this.yylloc.first_line,
131
+ last_line: this.yylineno + 1,
132
+ first_column: this.yylloc.first_column,
133
+ last_column: e ? (e.length === s.length ? this.yylloc.first_column : 0) + s[s.length - e.length].length - e[0].length : this.yylloc.first_column - n
134
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
135
+ },
136
+ // When called from action, caches matched text and appends it on next action
137
+ more: function() {
138
+ return this._more = !0, this;
139
+ },
140
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
141
+ reject: function() {
142
+ if (this.options.backtrack_lexer)
143
+ this._backtrack = !0;
144
+ else
145
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
146
+ ` + this.showPosition(), {
147
+ text: "",
148
+ token: null,
149
+ line: this.yylineno
150
+ });
151
+ return this;
152
+ },
153
+ // retain first n characters of the match
154
+ less: function(t) {
155
+ this.unput(this.match.slice(t));
156
+ },
157
+ // displays already matched input, i.e. for error messages
158
+ pastInput: function() {
159
+ var t = this.matched.substr(0, this.matched.length - this.match.length);
160
+ return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
161
+ },
162
+ // displays upcoming input, i.e. for error messages
163
+ upcomingInput: function() {
164
+ var t = this.match;
165
+ return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
166
+ },
167
+ // displays the character position where the lexing error occurred, i.e. for error messages
168
+ showPosition: function() {
169
+ var t = this.pastInput(), n = new Array(t.length + 1).join("-");
170
+ return t + this.upcomingInput() + `
171
+ ` + n + "^";
172
+ },
173
+ // test the lexed token: return FALSE when not a match, otherwise return token
174
+ test_match: function(t, n) {
175
+ var e, s, i;
176
+ if (this.options.backtrack_lexer && (i = {
177
+ yylineno: this.yylineno,
178
+ yylloc: {
179
+ first_line: this.yylloc.first_line,
180
+ last_line: this.last_line,
181
+ first_column: this.yylloc.first_column,
182
+ last_column: this.yylloc.last_column
183
+ },
184
+ yytext: this.yytext,
185
+ match: this.match,
186
+ matches: this.matches,
187
+ matched: this.matched,
188
+ yyleng: this.yyleng,
189
+ offset: this.offset,
190
+ _more: this._more,
191
+ _input: this._input,
192
+ yy: this.yy,
193
+ conditionStack: this.conditionStack.slice(0),
194
+ done: this.done
195
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), s = t[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
196
+ first_line: this.yylloc.last_line,
197
+ last_line: this.yylineno + 1,
198
+ first_column: this.yylloc.last_column,
199
+ last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
200
+ }, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], e = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), e)
201
+ return e;
202
+ if (this._backtrack) {
203
+ for (var o in i)
204
+ this[o] = i[o];
205
+ return !1;
206
+ }
207
+ return !1;
208
+ },
209
+ // return next match in input
210
+ next: function() {
211
+ if (this.done)
212
+ return this.EOF;
213
+ this._input || (this.done = !0);
214
+ var t, n, e, s;
215
+ this._more || (this.yytext = "", this.match = "");
216
+ for (var i = this._currentRules(), o = 0; o < i.length; o++)
217
+ if (e = this._input.match(this.rules[i[o]]), e && (!n || e[0].length > n[0].length)) {
218
+ if (n = e, s = o, this.options.backtrack_lexer) {
219
+ if (t = this.test_match(e, i[o]), t !== !1)
220
+ return t;
221
+ if (this._backtrack) {
222
+ n = !1;
223
+ continue;
224
+ } else
225
+ return !1;
226
+ } else if (!this.options.flex)
227
+ break;
228
+ }
229
+ return n ? (t = this.test_match(n, i[s]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
230
+ ` + this.showPosition(), {
231
+ text: "",
232
+ token: null,
233
+ line: this.yylineno
234
+ });
235
+ },
236
+ // return next match that has a token
237
+ lex: function() {
238
+ var t = this.next();
239
+ return t || this.lex();
240
+ },
241
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
242
+ begin: function(t) {
243
+ this.conditionStack.push(t);
244
+ },
245
+ // pop the previously active lexer condition state off the condition stack
246
+ popState: function() {
247
+ var t = this.conditionStack.length - 1;
248
+ return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
249
+ },
250
+ // produce the lexer rule set which is active for the currently active lexer condition state
251
+ _currentRules: function() {
252
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
253
+ },
254
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
255
+ topState: function(t) {
256
+ return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
257
+ },
258
+ // alias for begin(condition)
259
+ pushState: function(t) {
260
+ this.begin(t);
261
+ },
262
+ // return the number of states currently on the stack
263
+ stateStackSize: function() {
264
+ return this.conditionStack.length;
265
+ },
266
+ options: { "case-insensitive": !0 },
267
+ performAction: function(t, n, e, s) {
268
+ switch (e) {
269
+ case 0:
270
+ return 4;
271
+ case 1:
272
+ return 9;
273
+ case 2:
274
+ return "space";
275
+ case 3:
276
+ return 10;
277
+ case 4:
278
+ return 6;
279
+ case 5:
280
+ return "TXT";
281
+ }
282
+ },
283
+ rules: [/^(?:info\b)/i, /^(?:[\s\n\r]+)/i, /^(?:[\s]+)/i, /^(?:showInfo\b)/i, /^(?:$)/i, /^(?:.)/i],
284
+ conditions: { INITIAL: { rules: [0, 1, 2, 3, 4, 5], inclusive: !0 } }
285
+ };
286
+ return c;
287
+ }();
288
+ _.lexer = d;
289
+ function v() {
290
+ this.yy = {};
291
+ }
292
+ return v.prototype = _, _.Parser = v, new v();
293
+ }();
294
+ A.parser = A;
295
+ const q = A, N = {
296
+ info: !1
297
+ };
298
+ let P = N.info;
299
+ const B = (a) => {
300
+ P = a;
301
+ }, C = () => P, G = () => {
302
+ P = N.info;
303
+ }, H = {
304
+ clear: G,
305
+ setInfo: B,
306
+ getInfo: C
307
+ }, M = (a, p, _) => {
308
+ U.debug(`rendering info diagram
309
+ ` + a);
310
+ const d = K(p);
311
+ X(d, 100, 400, !0), d.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${_}`);
312
+ }, V = { draw: M }, D = {
313
+ parser: q,
314
+ db: H,
315
+ renderer: V
316
+ };
317
+ export {
318
+ D as diagram
319
+ };
@@ -0,0 +1,7 @@
1
+ const n = Object.freeze({ displayName: "INI", name: "ini", patterns: [{ begin: "(^[ \\t]+)?(?=#)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.ini" } }, end: "(?!\\G)", patterns: [{ begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.ini" } }, end: "\\n", name: "comment.line.number-sign.ini" }] }, { begin: "(^[ \\t]+)?(?=;)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.ini" } }, end: "(?!\\G)", patterns: [{ begin: ";", beginCaptures: { 0: { name: "punctuation.definition.comment.ini" } }, end: "\\n", name: "comment.line.semicolon.ini" }] }, { captures: { 1: { name: "keyword.other.definition.ini" }, 2: { name: "punctuation.separator.key-value.ini" } }, match: "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)" }, { captures: { 1: { name: "punctuation.definition.entity.ini" }, 3: { name: "punctuation.definition.entity.ini" } }, match: "^(\\[)(.*?)(\\])", name: "entity.name.section.group-title.ini" }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.ini" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.ini" } }, name: "string.quoted.single.ini", patterns: [{ match: "\\\\.", name: "constant.character.escape.ini" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.ini" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.ini" } }, name: "string.quoted.double.ini" }], scopeName: "source.ini", aliases: ["properties"] });
2
+ var i = [
3
+ n
4
+ ];
5
+ export {
6
+ i as default
7
+ };
@@ -0,0 +1,16 @@
1
+ function a(e, t) {
2
+ switch (arguments.length) {
3
+ case 0:
4
+ break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(t).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+ export {
15
+ a as t
16
+ };
@@ -0,0 +1,74 @@
1
+ const e = Object.freeze({ displayName: "Java", name: "java", patterns: [{ begin: "\\b(package)\\b\\s*", beginCaptures: { 1: { name: "keyword.other.package.java" } }, contentName: "storage.modifier.package.java", end: "\\s*(;)", endCaptures: { 1: { name: "punctuation.terminator.java" } }, name: "meta.package.java", patterns: [{ include: "#comments" }, { match: "(?<=\\.)\\s*\\.|\\.(?=\\s*;)", name: "invalid.illegal.character_not_allowed_here.java" }, { match: "(?<!_)_(?=\\s*(\\.|;))|\\b\\d+|-+", name: "invalid.illegal.character_not_allowed_here.java" }, { match: "[A-Z]+", name: "invalid.deprecated.package_name_not_lowercase.java" }, { match: `(?x)\\b(?<!\\$)
2
+ (abstract|assert|boolean|break|byte|case|catch|char|class|
3
+ const|continue|default|do|double|else|enum|extends|final|
4
+ finally|float|for|goto|if|implements|import|instanceof|int|
5
+ interface|long|native|new|non-sealed|package|permits|private|protected|public|
6
+ return|sealed|short|static|strictfp|super|switch|syncronized|this|
7
+ throw|throws|transient|try|void|volatile|while|yield|
8
+ true|false|null)\\b`, name: "invalid.illegal.character_not_allowed_here.java" }, { match: "\\.", name: "punctuation.separator.java" }] }, { begin: "\\b(import)\\b\\s*\\b(static)?\\b\\s", beginCaptures: { 1: { name: "keyword.other.import.java" }, 2: { name: "storage.modifier.java" } }, contentName: "storage.modifier.import.java", end: "\\s*(;)", endCaptures: { 1: { name: "punctuation.terminator.java" } }, name: "meta.import.java", patterns: [{ include: "#comments" }, { match: "(?<=\\.)\\s*\\.|\\.(?=\\s*;)", name: "invalid.illegal.character_not_allowed_here.java" }, { match: "(?<!\\.)\\s*\\*", name: "invalid.illegal.character_not_allowed_here.java" }, { match: "(?<!_)_(?=\\s*(\\.|;))|\\b\\d+|-+", name: "invalid.illegal.character_not_allowed_here.java" }, { match: `(?x)\\b(?<!\\$)
9
+ (abstract|assert|boolean|break|byte|case|catch|char|class|
10
+ const|continue|default|do|double|else|enum|extends|final|
11
+ finally|float|for|goto|if|implements|import|instanceof|int|
12
+ interface|long|native|new|non-sealed|package|permits|private|protected|public|
13
+ return|sealed|short|static|strictfp|super|switch|syncronized|this|
14
+ throw|throws|transient|try|void|volatile|while|yield|
15
+ true|false|null)\\b`, name: "invalid.illegal.character_not_allowed_here.java" }, { match: "\\.", name: "punctuation.separator.java" }, { match: "\\*", name: "variable.language.wildcard.java" }] }, { include: "#comments-javadoc" }, { include: "#code" }, { include: "#module" }], repository: { "all-types": { patterns: [{ include: "#primitive-arrays" }, { include: "#primitive-types" }, { include: "#object-types" }] }, annotations: { patterns: [{ begin: "((@)\\s*([^\\s(]+))(\\()", beginCaptures: { 2: { name: "punctuation.definition.annotation.java" }, 3: { name: "storage.type.annotation.java" }, 4: { name: "punctuation.definition.annotation-arguments.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.annotation-arguments.end.bracket.round.java" } }, name: "meta.declaration.annotation.java", patterns: [{ captures: { 1: { name: "constant.other.key.java" }, 2: { name: "keyword.operator.assignment.java" } }, match: "(\\w*)\\s*(=)" }, { include: "#code" }] }, { captures: { 1: { name: "punctuation.definition.annotation.java" }, 2: { name: "storage.modifier.java" }, 3: { name: "storage.type.annotation.java" }, 5: { name: "punctuation.definition.annotation.java" }, 6: { name: "storage.type.annotation.java" } }, match: "(@)(interface)\\s+(\\w*)|((@)\\s*(\\w+))", name: "meta.declaration.annotation.java" }] }, "anonymous-block-and-instance-initializer": { begin: "{", beginCaptures: { 0: { name: "punctuation.section.block.begin.bracket.curly.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.block.end.bracket.curly.java" } }, patterns: [{ include: "#code" }] }, "anonymous-classes-and-new": { begin: "\\bnew\\b", beginCaptures: { 0: { name: "keyword.control.new.java" } }, end: "(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)", patterns: [{ include: "#comments" }, { include: "#function-call" }, { include: "#all-types" }, { begin: "(?<=\\))", end: "(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)", patterns: [{ include: "#comments" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.inner-class.begin.bracket.curly.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.inner-class.end.bracket.curly.java" } }, name: "meta.inner-class.java", patterns: [{ include: "#class-body" }] }] }, { begin: "(?<=\\])", end: "(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)", patterns: [{ include: "#comments" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.array-initializer.begin.bracket.curly.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.array-initializer.end.bracket.curly.java" } }, name: "meta.array-initializer.java", patterns: [{ include: "#code" }] }] }, { include: "#parens" }] }, assertions: { patterns: [{ begin: "\\b(assert)\\s", beginCaptures: { 1: { name: "keyword.control.assert.java" } }, end: "$", name: "meta.declaration.assertion.java", patterns: [{ match: ":", name: "keyword.operator.assert.expression-separator.java" }, { include: "#code" }] }] }, class: { begin: "(?=\\w?[\\w\\s-]*\\b(?:class|(?<!@)interface|enum)\\s+[\\w$]+)", end: "}", endCaptures: { 0: { name: "punctuation.section.class.end.bracket.curly.java" } }, name: "meta.class.java", patterns: [{ include: "#storage-modifiers" }, { include: "#generics" }, { include: "#comments" }, { captures: { 1: { name: "storage.modifier.java" }, 2: { name: "entity.name.type.class.java" } }, match: "(class|(?<!@)interface|enum)\\s+([\\w$]+)", name: "meta.class.identifier.java" }, { begin: "extends", beginCaptures: { 0: { name: "storage.modifier.extends.java" } }, end: "(?={|implements|permits)", name: "meta.definition.class.inherited.classes.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { begin: "(implements)\\s", beginCaptures: { 1: { name: "storage.modifier.implements.java" } }, end: "(?=\\s*extends|permits|\\{)", name: "meta.definition.class.implemented.interfaces.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { begin: "(permits)\\s", beginCaptures: { 1: { name: "storage.modifier.permits.java" } }, end: "(?=\\s*extends|implements|\\{)", name: "meta.definition.class.permits.classes.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.class.begin.bracket.curly.java" } }, contentName: "meta.class.body.java", end: "(?=})", patterns: [{ include: "#class-body" }] }] }, "class-body": { patterns: [{ include: "#comments-javadoc" }, { include: "#comments" }, { include: "#enums" }, { include: "#class" }, { include: "#generics" }, { include: "#static-initializer" }, { include: "#class-fields-and-methods" }, { include: "#annotations" }, { include: "#storage-modifiers" }, { include: "#member-variables" }, { include: "#code" }] }, "class-fields-and-methods": { patterns: [{ begin: "(?=\\=)", end: "(?=;)", patterns: [{ include: "#code" }] }, { include: "#methods" }] }, code: { patterns: [{ include: "#annotations" }, { include: "#comments" }, { include: "#enums" }, { include: "#class" }, { include: "#record" }, { include: "#anonymous-block-and-instance-initializer" }, { include: "#try-catch-finally" }, { include: "#assertions" }, { include: "#parens" }, { include: "#constants-and-special-vars" }, { include: "#numbers" }, { include: "#anonymous-classes-and-new" }, { include: "#lambda-expression" }, { include: "#keywords" }, { include: "#storage-modifiers" }, { include: "#method-call" }, { include: "#function-call" }, { include: "#variables" }, { include: "#variables-local" }, { include: "#objects" }, { include: "#properties" }, { include: "#strings" }, { include: "#all-types" }, { match: ",", name: "punctuation.separator.delimiter.java" }, { match: "\\.", name: "punctuation.separator.period.java" }, { match: ";", name: "punctuation.terminator.java" }] }, comments: { patterns: [{ captures: { 0: { name: "punctuation.definition.comment.java" } }, match: "/\\*\\*/", name: "comment.block.empty.java" }, { include: "#comments-inline" }] }, "comments-inline": { patterns: [{ begin: "/\\*", captures: { 0: { name: "punctuation.definition.comment.java" } }, end: "\\*/", name: "comment.block.java" }, { begin: "(^[ \\t]+)?(?=//)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.java" } }, end: "(?!\\G)", patterns: [{ begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.java" } }, end: "\\n", name: "comment.line.double-slash.java" }] }] }, "comments-javadoc": { patterns: [{ begin: "^\\s*(/\\*\\*)(?!/)", beginCaptures: { 1: { name: "punctuation.definition.comment.java" } }, end: "\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.java" } }, name: "comment.block.javadoc.java", patterns: [{ match: "@(author|deprecated|return|see|serial|since|version)\\b", name: "keyword.other.documentation.javadoc.java" }, { captures: { 1: { name: "keyword.other.documentation.javadoc.java" }, 2: { name: "variable.parameter.java" } }, match: "(@param)\\s+(\\S+)" }, { captures: { 1: { name: "keyword.other.documentation.javadoc.java" }, 2: { name: "entity.name.type.class.java" } }, match: "(@(?:exception|throws))\\s+(\\S+)" }, { captures: { 1: { name: "keyword.other.documentation.javadoc.java" }, 2: { name: "entity.name.type.class.java" }, 3: { name: "variable.parameter.java" } }, match: "{(@link)\\s+(\\S+)?#([\\w$]+\\s*\\([^\\(\\)]*\\)).*?}" }] }] }, "constants-and-special-vars": { patterns: [{ match: "\\b(true|false|null)\\b", name: "constant.language.java" }, { match: "\\bthis\\b", name: "variable.language.this.java" }, { match: "\\bsuper\\b", name: "variable.language.java" }] }, enums: { begin: "^\\s*([\\w\\s]*)(enum)\\s+(\\w+)", beginCaptures: { 1: { patterns: [{ include: "#storage-modifiers" }] }, 2: { name: "storage.modifier.java" }, 3: { name: "entity.name.type.enum.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.enum.end.bracket.curly.java" } }, name: "meta.enum.java", patterns: [{ begin: "\\b(extends)\\b", beginCaptures: { 1: { name: "storage.modifier.extends.java" } }, end: "(?={|\\bimplements\\b)", name: "meta.definition.class.inherited.classes.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { begin: "\\b(implements)\\b", beginCaptures: { 1: { name: "storage.modifier.implements.java" } }, end: "(?={|\\bextends\\b)", name: "meta.definition.class.implemented.interfaces.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.enum.begin.bracket.curly.java" } }, end: "(?=})", patterns: [{ begin: "(?<={)", end: "(?=;|})", patterns: [{ include: "#comments-javadoc" }, { include: "#comments" }, { begin: "\\b(\\w+)\\b", beginCaptures: { 1: { name: "constant.other.enum.java" } }, end: "(,)|(?=;|})", endCaptures: { 1: { name: "punctuation.separator.delimiter.java" } }, patterns: [{ include: "#comments-javadoc" }, { include: "#comments" }, { begin: "\\(", beginCaptures: { 0: { name: "punctuation.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.bracket.round.java" } }, patterns: [{ include: "#code" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.bracket.curly.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.bracket.curly.java" } }, patterns: [{ include: "#class-body" }] }] }] }, { include: "#class-body" }] }] }, "function-call": { begin: "([A-Za-z_$][\\w$]*)\\s*(\\()", beginCaptures: { 1: { name: "entity.name.function.java" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.java" } }, name: "meta.function-call.java", patterns: [{ include: "#code" }] }, generics: { begin: "<", beginCaptures: { 0: { name: "punctuation.bracket.angle.java" } }, end: ">", endCaptures: { 0: { name: "punctuation.bracket.angle.java" } }, patterns: [{ match: "\\b(extends|super)\\b", name: "storage.modifier.$1.java" }, { captures: { 1: { name: "storage.type.java" } }, match: "(?<!\\.)([a-zA-Z$_][a-zA-Z0-9$_]*)(?=\\s*<)" }, { include: "#primitive-arrays" }, { match: "[a-zA-Z$_][a-zA-Z0-9$_]*", name: "storage.type.generic.java" }, { match: "\\?", name: "storage.type.generic.wildcard.java" }, { match: "&", name: "punctuation.separator.types.java" }, { match: ",", name: "punctuation.separator.delimiter.java" }, { match: "\\.", name: "punctuation.separator.period.java" }, { include: "#parens" }, { include: "#generics" }, { include: "#comments" }] }, keywords: { patterns: [{ match: "\\bthrow\\b", name: "keyword.control.throw.java" }, { match: "\\?|:", name: "keyword.control.ternary.java" }, { match: "\\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\\b", name: "keyword.control.java" }, { match: "\\b(instanceof)\\b", name: "keyword.operator.instanceof.java" }, { match: "(<<|>>>?|~|\\^)", name: "keyword.operator.bitwise.java" }, { match: "((&|\\^|\\||<<|>>>?)=)", name: "keyword.operator.assignment.bitwise.java" }, { match: "(===?|!=|<=|>=|<>|<|>)", name: "keyword.operator.comparison.java" }, { match: "([+*/%-]=)", name: "keyword.operator.assignment.arithmetic.java" }, { match: "(=)", name: "keyword.operator.assignment.java" }, { match: "(\\-\\-|\\+\\+)", name: "keyword.operator.increment-decrement.java" }, { match: "(\\-|\\+|\\*|\\/|%)", name: "keyword.operator.arithmetic.java" }, { match: "(!|&&|\\|\\|)", name: "keyword.operator.logical.java" }, { match: "(\\||&)", name: "keyword.operator.bitwise.java" }, { match: "\\b(const|goto)\\b", name: "keyword.reserved.java" }] }, "lambda-expression": { patterns: [{ match: "->", name: "storage.type.function.arrow.java" }] }, "member-variables": { begin: "(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)", end: "(?=\\=|;)", patterns: [{ include: "#storage-modifiers" }, { include: "#variables" }, { include: "#primitive-arrays" }, { include: "#object-types" }] }, "method-call": { begin: "(\\.)\\s*([A-Za-z_$][\\w$]*)\\s*(\\()", beginCaptures: { 1: { name: "punctuation.separator.period.java" }, 2: { name: "entity.name.function.java" }, 3: { name: "punctuation.definition.parameters.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.java" } }, name: "meta.method-call.java", patterns: [{ include: "#code" }] }, methods: { begin: "(?!new)(?=[\\w<].*\\s+)(?=([^=/]|/(?!/))+\\()", end: "(})|(?=;)", endCaptures: { 1: { name: "punctuation.section.method.end.bracket.curly.java" } }, name: "meta.method.java", patterns: [{ include: "#storage-modifiers" }, { begin: "(\\w+)\\s*(\\()", beginCaptures: { 1: { name: "entity.name.function.java" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.java" } }, name: "meta.method.identifier.java", patterns: [{ include: "#parameters" }, { include: "#parens" }, { include: "#comments" }] }, { include: "#generics" }, { begin: "(?=\\w.*\\s+\\w+\\s*\\()", end: "(?=\\s+\\w+\\s*\\()", name: "meta.method.return-type.java", patterns: [{ include: "#all-types" }, { include: "#parens" }, { include: "#comments" }] }, { include: "#throws" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.method.begin.bracket.curly.java" } }, contentName: "meta.method.body.java", end: "(?=})", patterns: [{ include: "#code" }] }, { include: "#comments" }] }, module: { begin: "((open)\\s)?(module)\\s+(\\w+)", beginCaptures: { 1: { name: "storage.modifier.java" }, 3: { name: "storage.modifier.java" }, 4: { name: "entity.name.type.module.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.module.end.bracket.curly.java" } }, name: "meta.module.java", patterns: [{ begin: "{", beginCaptures: { 0: { name: "punctuation.section.module.begin.bracket.curly.java" } }, contentName: "meta.module.body.java", end: "(?=})", patterns: [{ include: "#comments" }, { include: "#comments-javadoc" }, { match: "\\b(requires|transitive|exports|opens|to|uses|provides|with)\\b", name: "keyword.module.java" }] }] }, numbers: { patterns: [{ match: `(?x)
16
+ \\b(?<!\\$)
17
+ 0(x|X)
18
+ (
19
+ (?<!\\.)[0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?[Ll]?(?!\\.)
20
+ |
21
+ (
22
+ [0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?\\.?
23
+ |
24
+ ([0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?)?\\.[0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?
25
+ )
26
+ [Pp][+-]?[0-9]([0-9_]*[0-9])?[FfDd]?
27
+ )
28
+ \\b(?!\\$)`, name: "constant.numeric.hex.java" }, { match: "\\b(?<!\\$)0(b|B)[01]([01_]*[01])?[Ll]?\\b(?!\\$)", name: "constant.numeric.binary.java" }, { match: "\\b(?<!\\$)0[0-7]([0-7_]*[0-7])?[Ll]?\\b(?!\\$)", name: "constant.numeric.octal.java" }, { match: `(?x)
29
+ (?<!\\$)
30
+ (
31
+ \\b[0-9]([0-9_]*[0-9])?\\.\\B(?!\\.)
32
+ |
33
+ \\b[0-9]([0-9_]*[0-9])?\\.([Ee][+-]?[0-9]([0-9_]*[0-9])?)[FfDd]?\\b
34
+ |
35
+ \\b[0-9]([0-9_]*[0-9])?\\.([Ee][+-]?[0-9]([0-9_]*[0-9])?)?[FfDd]\\b
36
+ |
37
+ \\b[0-9]([0-9_]*[0-9])?\\.([0-9]([0-9_]*[0-9])?)([Ee][+-]?[0-9]([0-9_]*[0-9])?)?[FfDd]?\\b
38
+ |
39
+ (?<!\\.)\\B\\.[0-9]([0-9_]*[0-9])?([Ee][+-]?[0-9]([0-9_]*[0-9])?)?[FfDd]?\\b
40
+ |
41
+ \\b[0-9]([0-9_]*[0-9])?([Ee][+-]?[0-9]([0-9_]*[0-9])?)[FfDd]?\\b
42
+ |
43
+ \\b[0-9]([0-9_]*[0-9])?([Ee][+-]?[0-9]([0-9_]*[0-9])?)?[FfDd]\\b
44
+ |
45
+ \\b(0|[1-9]([0-9_]*[0-9])?)(?!\\.)[Ll]?\\b
46
+ )
47
+ (?!\\$)`, name: "constant.numeric.decimal.java" }] }, "object-types": { patterns: [{ include: "#generics" }, { begin: "\\b((?:[A-Za-z_]\\w*\\s*\\.\\s*)*)([A-Z_]\\w*)\\s*(?=\\[)", beginCaptures: { 1: { patterns: [{ match: "[A-Za-z_]\\w*", name: "storage.type.java" }, { match: "\\.", name: "punctuation.separator.period.java" }] }, 2: { name: "storage.type.object.array.java" } }, end: "(?!\\s*\\[)", patterns: [{ include: "#comments" }, { include: "#parens" }] }, { captures: { 1: { patterns: [{ match: "[A-Za-z_]\\w*", name: "storage.type.java" }, { match: "\\.", name: "punctuation.separator.period.java" }] } }, match: "\\b((?:[A-Za-z_]\\w*\\s*\\.\\s*)*[A-Z_]\\w*)\\s*(?=<)" }, { captures: { 1: { patterns: [{ match: "[A-Za-z_]\\w*", name: "storage.type.java" }, { match: "\\.", name: "punctuation.separator.period.java" }] } }, match: "\\b((?:[A-Za-z_]\\w*\\s*\\.\\s*)*[A-Z_]\\w*)\\b((?=\\s*[A-Za-z$_\\n])|(?=\\s*\\.\\.\\.))" }] }, "object-types-inherited": { patterns: [{ include: "#generics" }, { captures: { 1: { name: "punctuation.separator.period.java" } }, match: "\\b(?:[A-Z]\\w*\\s*(\\.)\\s*)*[A-Z]\\w*\\b", name: "entity.other.inherited-class.java" }, { match: ",", name: "punctuation.separator.delimiter.java" }] }, objects: { match: "(?<![\\w$])[a-zA-Z_$][\\w$]*(?=\\s*\\.\\s*[\\w$]+)", name: "variable.other.object.java" }, parameters: { patterns: [{ match: "\\bfinal\\b", name: "storage.modifier.java" }, { include: "#annotations" }, { include: "#all-types" }, { include: "#strings" }, { match: "\\w+", name: "variable.parameter.java" }, { match: ",", name: "punctuation.separator.delimiter.java" }, { match: "\\.\\.\\.", name: "punctuation.definition.parameters.varargs.java" }] }, parens: { patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.bracket.round.java" } }, patterns: [{ include: "#code" }] }, { begin: "\\[", beginCaptures: { 0: { name: "punctuation.bracket.square.java" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.bracket.square.java" } }, patterns: [{ include: "#code" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.bracket.curly.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.bracket.curly.java" } }, patterns: [{ include: "#code" }] }] }, "primitive-arrays": { patterns: [{ begin: "\\b(void|boolean|byte|char|short|int|float|long|double)\\b\\s*(?=\\[)", beginCaptures: { 1: { name: "storage.type.primitive.array.java" } }, end: "(?!\\s*\\[)", patterns: [{ include: "#comments" }, { include: "#parens" }] }] }, "primitive-types": { match: "\\b(void|boolean|byte|char|short|int|float|long|double)\\b", name: "storage.type.primitive.java" }, properties: { patterns: [{ captures: { 1: { name: "punctuation.separator.period.java" }, 2: { name: "keyword.control.new.java" } }, match: "(\\.)\\s*(new)" }, { captures: { 1: { name: "punctuation.separator.period.java" }, 2: { name: "variable.other.object.property.java" } }, match: "(\\.)\\s*([a-zA-Z_$][\\w$]*)(?=\\s*\\.\\s*[a-zA-Z_$][\\w$]*)" }, { captures: { 1: { name: "punctuation.separator.period.java" }, 2: { name: "variable.other.object.property.java" } }, match: "(\\.)\\s*([a-zA-Z_$][\\w$]*)" }, { captures: { 1: { name: "punctuation.separator.period.java" }, 2: { name: "invalid.illegal.identifier.java" } }, match: "(\\.)\\s*([0-9][\\w$]*)" }] }, record: { begin: "(?=\\w?[\\w\\s]*\\b(?:record)\\s+[\\w$]+)", end: "}", endCaptures: { 0: { name: "punctuation.section.class.end.bracket.curly.java" } }, name: "meta.record.java", patterns: [{ include: "#storage-modifiers" }, { include: "#generics" }, { include: "#comments" }, { begin: "(record)\\s+([\\w$]+)(<[\\w$]+>)?(\\()", beginCaptures: { 1: { name: "storage.modifier.java" }, 2: { name: "entity.name.type.record.java" }, 3: { patterns: [{ include: "#generics" }] }, 4: { name: "punctuation.definition.parameters.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.java" } }, name: "meta.record.identifier.java", patterns: [{ include: "#code" }] }, { begin: "(implements)\\s", beginCaptures: { 1: { name: "storage.modifier.implements.java" } }, end: "(?=\\s*\\{)", name: "meta.definition.class.implemented.interfaces.java", patterns: [{ include: "#object-types-inherited" }, { include: "#comments" }] }, { include: "#record-body" }] }, "record-body": { begin: "{", beginCaptures: { 0: { name: "punctuation.section.class.begin.bracket.curly.java" } }, end: "(?=})", name: "meta.record.body.java", patterns: [{ include: "#record-constructor" }, { include: "#class-body" }] }, "record-constructor": { begin: "(?!new)(?=[\\w<].*\\s+)(?=([^\\(=/]|/(?!/))+(?={))", end: "(})|(?=;)", endCaptures: { 1: { name: "punctuation.section.method.end.bracket.curly.java" } }, name: "meta.method.java", patterns: [{ include: "#storage-modifiers" }, { begin: "(\\w+)", beginCaptures: { 1: { name: "entity.name.function.java" } }, end: "(?=\\s*{)", name: "meta.method.identifier.java", patterns: [{ include: "#comments" }] }, { include: "#comments" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.method.begin.bracket.curly.java" } }, contentName: "meta.method.body.java", end: "(?=})", patterns: [{ include: "#code" }] }] }, "static-initializer": { patterns: [{ include: "#anonymous-block-and-instance-initializer" }, { match: "static", name: "storage.modifier.java" }] }, "storage-modifiers": { match: "\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\\b", name: "storage.modifier.java" }, strings: { patterns: [{ begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.java" } }, end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.java" } }, name: "string.quoted.triple.java", patterns: [{ match: '(\\\\""")(?!")|(\\\\.)', name: "constant.character.escape.java" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.java" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.java" } }, name: "string.quoted.double.java", patterns: [{ match: "\\\\.", name: "constant.character.escape.java" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.java" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.java" } }, name: "string.quoted.single.java", patterns: [{ match: "\\\\.", name: "constant.character.escape.java" }] }] }, throws: { begin: "throws", beginCaptures: { 0: { name: "storage.modifier.java" } }, end: "(?={|;)", name: "meta.throwables.java", patterns: [{ match: ",", name: "punctuation.separator.delimiter.java" }, { match: "[a-zA-Z$_][\\.a-zA-Z0-9$_]*", name: "storage.type.java" }, { include: "#comments" }] }, "try-catch-finally": { patterns: [{ begin: "\\btry\\b", beginCaptures: { 0: { name: "keyword.control.try.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.try.end.bracket.curly.java" } }, name: "meta.try.java", patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.section.try.resources.begin.bracket.round.java" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.section.try.resources.end.bracket.round.java" } }, name: "meta.try.resources.java", patterns: [{ include: "#code" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.try.begin.bracket.curly.java" } }, contentName: "meta.try.body.java", end: "(?=})", patterns: [{ include: "#code" }] }] }, { begin: "\\b(catch)\\b", beginCaptures: { 1: { name: "keyword.control.catch.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.catch.end.bracket.curly.java" } }, name: "meta.catch.java", patterns: [{ include: "#comments" }, { begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.parameters.begin.bracket.round.java" } }, contentName: "meta.catch.parameters.java", end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.java" } }, patterns: [{ include: "#comments" }, { include: "#storage-modifiers" }, { begin: "[a-zA-Z$_][\\.a-zA-Z0-9$_]*", beginCaptures: { 0: { name: "storage.type.java" } }, end: "(\\|)|(?=\\))", endCaptures: { 1: { name: "punctuation.catch.separator.java" } }, patterns: [{ include: "#comments" }, { captures: { 0: { name: "variable.parameter.java" } }, match: "\\w+" }] }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.section.catch.begin.bracket.curly.java" } }, contentName: "meta.catch.body.java", end: "(?=})", patterns: [{ include: "#code" }] }] }, { begin: "\\bfinally\\b", beginCaptures: { 0: { name: "keyword.control.finally.java" } }, end: "}", endCaptures: { 0: { name: "punctuation.section.finally.end.bracket.curly.java" } }, name: "meta.finally.java", patterns: [{ begin: "{", beginCaptures: { 0: { name: "punctuation.section.finally.begin.bracket.curly.java" } }, contentName: "meta.finally.body.java", end: "(?=})", patterns: [{ include: "#code" }] }] }] }, variables: { begin: `(?x)
48
+ (?=
49
+ \\b
50
+ (
51
+ (void|boolean|byte|char|short|int|float|long|double)
52
+ |
53
+ (?>(\\w+\\.)*[A-Z_]+\\w*)
54
+ )
55
+ \\b
56
+ \\s*
57
+ (
58
+ <[\\w<>,\\.?\\s\\[\\]]*>
59
+ )?
60
+ \\s*
61
+ (
62
+ (\\[\\])*
63
+ )?
64
+ \\s+
65
+ [A-Za-z_$][\\w$]*
66
+ ([\\w\\[\\],$][\\w\\[\\],\\s]*)?
67
+ \\s*(=|:|;)
68
+ )`, end: "(?=\\=|:|;)", name: "meta.definition.variable.java", patterns: [{ captures: { 1: { name: "variable.other.definition.java" } }, match: "([A-Za-z$_][\\w$]*)(?=\\s*(\\[\\])*\\s*(;|:|=|,))" }, { include: "#all-types" }, { include: "#code" }] }, "variables-local": { begin: "(?=\\b(var)\\b\\s+[A-Za-z_$][\\w$]*\\s*(=|:|;))", end: "(?=\\=|:|;)", name: "meta.definition.variable.local.java", patterns: [{ match: "\\bvar\\b", name: "storage.type.local.java" }, { captures: { 1: { name: "variable.other.definition.java" } }, match: "([A-Za-z$_][\\w$]*)(?=\\s*(\\[\\])*\\s*(=|:|;))" }, { include: "#code" }] } }, scopeName: "source.java" });
69
+ var a = [
70
+ e
71
+ ];
72
+ export {
73
+ a as default
74
+ };