monacozen 0.5.1 → 0.6.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 (163) hide show
  1. package/README.md +4 -0
  2. package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
  3. package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
  4. package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
  5. package/assets/antimono-400-b0f584bd.woff2 +0 -0
  6. package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
  7. package/assets/antimono-700-2072e038.woff2 +0 -0
  8. package/assets/antimono-700-italic-78952312.woff2 +0 -0
  9. package/assets/antimono-XFdMCgZb.js +2 -0
  10. package/assets/antimono-zBXMptjq.css +1 -1
  11. package/assets/bat-DkMb6tS9.js +1 -0
  12. package/assets/bicep-gz7oXw8V.js +2 -0
  13. package/assets/clojure-BeArCv4U.js +1 -0
  14. package/assets/codicon-77f90255.ttf +0 -0
  15. package/assets/coffee-hLOn_V5A.js +1 -0
  16. package/assets/cpp-DxRo2s7O.js +1 -0
  17. package/assets/csharp-C1LINnKt.js +1 -0
  18. package/assets/css-1Eg8GPA8.js +3 -0
  19. package/assets/cypher-Ca1JvSwk.js +1 -0
  20. package/assets/dart-Bje7CIuI.js +1 -0
  21. package/assets/dist-DiJdi6br.js +11 -0
  22. package/assets/dockerfile-DZFCIeNp.js +1 -0
  23. package/assets/editor.api-ClTSSybg.js +912 -0
  24. package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
  25. package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
  26. package/assets/elixir-6RTg0lbw.js +1 -0
  27. package/assets/fsharp-p7RecL-a.js +1 -0
  28. package/assets/go-B21Jr2Lc.js +1 -0
  29. package/assets/graphql-fmXr3nnJ.js +1 -0
  30. package/assets/handlebars-CyuWwLhs.js +1 -0
  31. package/assets/hcl-CpzslTdj.js +1 -0
  32. package/assets/html-D-6ViuBT.js +1 -0
  33. package/assets/ini-sBoK_t0W.js +1 -0
  34. package/assets/java-ByyLeZXC.js +1 -0
  35. package/assets/javascript-Cs-KDyqn.js +1 -0
  36. package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
  37. package/assets/json.worker-D4KZT3k0.js +1 -0
  38. package/assets/jsonMode-CgXNHhiW.js +12 -0
  39. package/assets/julia-BNQOXozl.js +1 -0
  40. package/assets/kotlin-fjNqnENY.js +1 -0
  41. package/assets/less-B9-X_OHM.js +2 -0
  42. package/assets/liquid-Co_Rw9yK.js +1 -0
  43. package/assets/lua-CsQS60Ue.js +1 -0
  44. package/assets/main-DhJSBJDT.js +1 -0
  45. package/assets/main-HAVFq1WZ.js +1 -0
  46. package/assets/main-e2I2uRcQ.js +1 -0
  47. package/assets/markdown-D9M8UCDQ.js +1 -0
  48. package/assets/mdx-QikHivq4.js +1 -0
  49. package/assets/mips-DwkTBQD5.js +1 -0
  50. package/assets/monaco-9bd99409.css +3 -0
  51. package/assets/monaco-BPDUy015.js +59 -0
  52. package/assets/mysql-B9tHR_c9.js +1 -0
  53. package/assets/objective-c-Csug38Zp.js +1 -0
  54. package/assets/pascal-BruRBdsr.js +1 -0
  55. package/assets/perl-Dql_Egn0.js +1 -0
  56. package/assets/pgsql-DI4tfWYt.js +1 -0
  57. package/assets/php-DjHJy6xV.js +1 -0
  58. package/assets/powershell-DOR_yACD.js +1 -0
  59. package/assets/protobuf-B6qBET1H.js +2 -0
  60. package/assets/pug-BC7GTg9W.js +1 -0
  61. package/assets/python-ywrvpsv-.js +1 -0
  62. package/assets/r-B-J1yMT1.js +1 -0
  63. package/assets/redis-DZRGuxk2.js +1 -0
  64. package/assets/ruby-aklVn8qB.js +1 -0
  65. package/assets/rust-nh76nEti.js +1 -0
  66. package/assets/scala-BvnaqAb1.js +1 -0
  67. package/assets/scss-9xZSuRET.js +3 -0
  68. package/assets/shell-BOwo4WfX.js +1 -0
  69. package/assets/solidity-hGP85dDs.js +1 -0
  70. package/assets/sql-CIrXk7iQ.js +1 -0
  71. package/assets/swift-B0ETVgO9.js +1 -0
  72. package/assets/systemverilog-C0rJIDsQ.js +1 -0
  73. package/assets/twig-B_taSrVf.js +1 -0
  74. package/assets/typescript-pjjiBLxk.js +1 -0
  75. package/assets/typespec-uhVOI7Qs.js +1 -0
  76. package/assets/vb-4iFT4G4y.js +1 -0
  77. package/assets/wgsl-DpFanUEy.js +298 -0
  78. package/assets/xml-CuyY6WsM.js +1 -0
  79. package/assets/yaml-BDf1vVDq.js +1 -0
  80. package/assets/yaml.worker-D0QDX0Zj.js +1 -0
  81. package/assets/yaml.worker-DD5NU0Ed.js +431 -0
  82. package/package.json +1 -1
  83. package/src/main.js +19 -19
  84. package/assets/antimono-ClsI0fxy.js +0 -5
  85. package/assets/bat-CAz1OfAu.js +0 -125
  86. package/assets/bicep-B6UDBWZN.js +0 -220
  87. package/assets/clojure-BmcSQAck.js +0 -148
  88. package/assets/coffee-BjQKeqpj.js +0 -262
  89. package/assets/cpp-SbfDT5PL.js +0 -232
  90. package/assets/csharp-DIgVBsD4.js +0 -262
  91. package/assets/css-CyL9hcFb.js +0 -286
  92. package/assets/css.worker-BIsSvM_Q.js +0 -96
  93. package/assets/css.worker-ZGAWMrD5.js +0 -6
  94. package/assets/cssMode-CJXOwqou.js +0 -65
  95. package/assets/cypher-CFQunzEa.js +0 -214
  96. package/assets/dart-DeIsDVRt.js +0 -238
  97. package/assets/dist-Bx9hOuoB.js +0 -624
  98. package/assets/dockerfile-Yk3LuDQk.js +0 -193
  99. package/assets/editor.api-BzOtwRIu.js +0 -85776
  100. package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
  101. package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
  102. package/assets/elixir-y_NY5k67.js +0 -525
  103. package/assets/fsharp-DdRbc-sH.js +0 -149
  104. package/assets/go-D7w79i6g.js +0 -167
  105. package/assets/graphql-BsDuKp-c.js +0 -176
  106. package/assets/handlebars-CBxzRnT2.js +0 -412
  107. package/assets/hcl-CXnaLDBx.js +0 -221
  108. package/assets/html-2O_gNlhN.js +0 -333
  109. package/assets/html.worker-CEvqvEpu.js +0 -509
  110. package/assets/html.worker-CjDeE2MB.js +0 -6
  111. package/assets/htmlMode-DXEYjoJO.js +0 -74
  112. package/assets/ini-DAoNsTkV.js +0 -96
  113. package/assets/java-Cp0vrvO9.js +0 -175
  114. package/assets/javascript-b4MphFng.js +0 -20
  115. package/assets/json.worker-C4u3dDHp.js +0 -6
  116. package/assets/jsonMode-CJ6m-6ix.js +0 -450
  117. package/assets/julia-CVutXSdh.js +0 -416
  118. package/assets/kotlin-DYeWZuUb.js +0 -184
  119. package/assets/less-INmgXeDn.js +0 -244
  120. package/assets/liquid-vTiq1Xyj.js +0 -199
  121. package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
  122. package/assets/lua-COF3XwLj.js +0 -202
  123. package/assets/main-16cPxgwS.js +0 -107
  124. package/assets/main-CB71Lf5W.js +0 -129
  125. package/assets/main-HEYSEiwe.js +0 -66
  126. package/assets/markdown-CCGC2kAW.js +0 -264
  127. package/assets/mdx-CDmJWd6e.js +0 -329
  128. package/assets/mips-ll8pdQLQ.js +0 -130
  129. package/assets/monaco-d37b1a8f.css +0 -3
  130. package/assets/monaco-eCLjoH9K.js +0 -40922
  131. package/assets/mysql-CnCmYLcK.js +0 -170
  132. package/assets/objective-c-D-xZGaTr.js +0 -146
  133. package/assets/pascal-CKVRL3bp.js +0 -178
  134. package/assets/perl-DqL2sfnN.js +0 -318
  135. package/assets/pgsql-BpvbArh-.js +0 -160
  136. package/assets/php-BbqlrNqC.js +0 -473
  137. package/assets/powershell-0oEoSDwW.js +0 -213
  138. package/assets/protobuf-DlOMtU4U.js +0 -661
  139. package/assets/pug-CTxaaQKP.js +0 -302
  140. package/assets/python-H0euVUAi.js +0 -254
  141. package/assets/r-DF_g8_2l.js +0 -191
  142. package/assets/redis-B09Z6nB5.js +0 -125
  143. package/assets/ruby-CWBObvDC.js +0 -529
  144. package/assets/rust-DdLDSWVK.js +0 -180
  145. package/assets/scala-Bg3GaqPc.js +0 -553
  146. package/assets/scss-D-qk8UVY.js +0 -419
  147. package/assets/shell-CpVOERQd.js +0 -225
  148. package/assets/solidity-CVmhJ22u.js +0 -149
  149. package/assets/sql-DHvzW7ba.js +0 -173
  150. package/assets/swift-DIkzszb_.js +0 -215
  151. package/assets/systemverilog-T3rz_k7V.js +0 -300
  152. package/assets/ts.worker-BydNuElr.js +0 -6
  153. package/assets/ts.worker-DZhhT1EO.js +0 -67741
  154. package/assets/tsMode-x1GCvxZU.js +0 -566
  155. package/assets/twig-CWOr6DII.js +0 -390
  156. package/assets/typescript-DGfbroT9.js +0 -257
  157. package/assets/typespec-4ubJw-FV.js +0 -236
  158. package/assets/vb-SSAHHOVh.js +0 -262
  159. package/assets/wgsl-hf5cqFtC.js +0 -147
  160. package/assets/xml-Bz6VGB5E.js +0 -130
  161. package/assets/yaml-D00PSO5v.js +0 -223
  162. package/assets/yaml.worker-DzOKX3TP.js +0 -474
  163. package/assets/yaml.worker-Y0uWi-gi.js +0 -6
@@ -1,236 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/typespec/typespec.js
2
- var e = (e) => `\\b${e}\\b`, t = (e) => `(?!${e})`, n = e("[_a-zA-Z][_a-zA-Z0-9]*"), r = e("[_a-zA-Z-0-9]+"), i = [
3
- "import",
4
- "model",
5
- "scalar",
6
- "namespace",
7
- "op",
8
- "interface",
9
- "union",
10
- "using",
11
- "is",
12
- "extends",
13
- "enum",
14
- "alias",
15
- "return",
16
- "void",
17
- "if",
18
- "else",
19
- "projection",
20
- "dec",
21
- "extern",
22
- "fn"
23
- ], a = [
24
- "true",
25
- "false",
26
- "null",
27
- "unknown",
28
- "never"
29
- ], o = "[ \\t\\r\\n]", s = "[0-9]+", c = {
30
- comments: {
31
- lineComment: "//",
32
- blockComment: ["/*", "*/"]
33
- },
34
- brackets: [
35
- ["{", "}"],
36
- ["[", "]"],
37
- ["(", ")"]
38
- ],
39
- autoClosingPairs: [
40
- {
41
- open: "{",
42
- close: "}"
43
- },
44
- {
45
- open: "[",
46
- close: "]"
47
- },
48
- {
49
- open: "(",
50
- close: ")"
51
- },
52
- {
53
- open: "\"",
54
- close: "\""
55
- },
56
- {
57
- open: "/**",
58
- close: " */",
59
- notIn: ["string"]
60
- }
61
- ],
62
- surroundingPairs: [
63
- {
64
- open: "{",
65
- close: "}"
66
- },
67
- {
68
- open: "[",
69
- close: "]"
70
- },
71
- {
72
- open: "(",
73
- close: ")"
74
- },
75
- {
76
- open: "\"",
77
- close: "\""
78
- }
79
- ],
80
- indentationRules: {
81
- decreaseIndentPattern: /* @__PURE__ */ RegExp("^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"),
82
- increaseIndentPattern: /* @__PURE__ */ RegExp("^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"),
83
- unIndentedLinePattern: /* @__PURE__ */ RegExp("^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$")
84
- }
85
- }, l = {
86
- defaultToken: "",
87
- tokenPostfix: ".tsp",
88
- brackets: [
89
- {
90
- open: "{",
91
- close: "}",
92
- token: "delimiter.curly"
93
- },
94
- {
95
- open: "[",
96
- close: "]",
97
- token: "delimiter.square"
98
- },
99
- {
100
- open: "(",
101
- close: ")",
102
- token: "delimiter.parenthesis"
103
- }
104
- ],
105
- symbols: /[=:;<>]+/,
106
- keywords: i,
107
- namedLiterals: a,
108
- escapes: "\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|\"|\\${)",
109
- tokenizer: {
110
- root: [{ include: "@expression" }, { include: "@whitespace" }],
111
- stringVerbatim: [{
112
- regex: "(|\"|\"\")[^\"]",
113
- action: { token: "string" }
114
- }, {
115
- regex: `"""${t("\"")}`,
116
- action: {
117
- token: "string",
118
- next: "@pop"
119
- }
120
- }],
121
- stringLiteral: [
122
- {
123
- regex: "\\${",
124
- action: {
125
- token: "delimiter.bracket",
126
- next: "@bracketCounting"
127
- }
128
- },
129
- {
130
- regex: "[^\\\\\"$]+",
131
- action: { token: "string" }
132
- },
133
- {
134
- regex: "@escapes",
135
- action: { token: "string.escape" }
136
- },
137
- {
138
- regex: "\\\\.",
139
- action: { token: "string.escape.invalid" }
140
- },
141
- {
142
- regex: "\"",
143
- action: {
144
- token: "string",
145
- next: "@pop"
146
- }
147
- }
148
- ],
149
- bracketCounting: [
150
- {
151
- regex: "{",
152
- action: {
153
- token: "delimiter.bracket",
154
- next: "@bracketCounting"
155
- }
156
- },
157
- {
158
- regex: "}",
159
- action: {
160
- token: "delimiter.bracket",
161
- next: "@pop"
162
- }
163
- },
164
- { include: "@expression" }
165
- ],
166
- comment: [
167
- {
168
- regex: "[^\\*]+",
169
- action: { token: "comment" }
170
- },
171
- {
172
- regex: "\\*\\/",
173
- action: {
174
- token: "comment",
175
- next: "@pop"
176
- }
177
- },
178
- {
179
- regex: "[\\/*]",
180
- action: { token: "comment" }
181
- }
182
- ],
183
- whitespace: [
184
- { regex: o },
185
- {
186
- regex: "\\/\\*",
187
- action: {
188
- token: "comment",
189
- next: "@comment"
190
- }
191
- },
192
- {
193
- regex: "\\/\\/.*$",
194
- action: { token: "comment" }
195
- }
196
- ],
197
- expression: [
198
- {
199
- regex: "\"\"\"",
200
- action: {
201
- token: "string",
202
- next: "@stringVerbatim"
203
- }
204
- },
205
- {
206
- regex: `"${t("\"\"")}`,
207
- action: {
208
- token: "string",
209
- next: "@stringLiteral"
210
- }
211
- },
212
- {
213
- regex: s,
214
- action: { token: "number" }
215
- },
216
- {
217
- regex: n,
218
- action: { cases: {
219
- "@keywords": { token: "keyword" },
220
- "@namedLiterals": { token: "keyword" },
221
- "@default": { token: "identifier" }
222
- } }
223
- },
224
- {
225
- regex: `@${n}`,
226
- action: { token: "tag" }
227
- },
228
- {
229
- regex: `#${r}`,
230
- action: { token: "directive" }
231
- }
232
- ]
233
- }
234
- };
235
- //#endregion
236
- export { c as conf, l as language };
@@ -1,262 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/vb/vb.js
2
- var e = {
3
- comments: {
4
- lineComment: "'",
5
- blockComment: ["/*", "*/"]
6
- },
7
- brackets: [
8
- ["{", "}"],
9
- ["[", "]"],
10
- ["(", ")"],
11
- ["<", ">"],
12
- ["addhandler", "end addhandler"],
13
- ["class", "end class"],
14
- ["enum", "end enum"],
15
- ["event", "end event"],
16
- ["function", "end function"],
17
- ["get", "end get"],
18
- ["if", "end if"],
19
- ["interface", "end interface"],
20
- ["module", "end module"],
21
- ["namespace", "end namespace"],
22
- ["operator", "end operator"],
23
- ["property", "end property"],
24
- ["raiseevent", "end raiseevent"],
25
- ["removehandler", "end removehandler"],
26
- ["select", "end select"],
27
- ["set", "end set"],
28
- ["structure", "end structure"],
29
- ["sub", "end sub"],
30
- ["synclock", "end synclock"],
31
- ["try", "end try"],
32
- ["while", "end while"],
33
- ["with", "end with"],
34
- ["using", "end using"],
35
- ["do", "loop"],
36
- ["for", "next"]
37
- ],
38
- autoClosingPairs: [
39
- {
40
- open: "{",
41
- close: "}",
42
- notIn: ["string", "comment"]
43
- },
44
- {
45
- open: "[",
46
- close: "]",
47
- notIn: ["string", "comment"]
48
- },
49
- {
50
- open: "(",
51
- close: ")",
52
- notIn: ["string", "comment"]
53
- },
54
- {
55
- open: "\"",
56
- close: "\"",
57
- notIn: ["string", "comment"]
58
- },
59
- {
60
- open: "<",
61
- close: ">",
62
- notIn: ["string", "comment"]
63
- }
64
- ],
65
- folding: { markers: {
66
- start: /* @__PURE__ */ RegExp("^\\s*#Region\\b"),
67
- end: /* @__PURE__ */ RegExp("^\\s*#End Region\\b")
68
- } }
69
- }, t = {
70
- defaultToken: "",
71
- tokenPostfix: ".vb",
72
- ignoreCase: !0,
73
- brackets: [
74
- {
75
- token: "delimiter.bracket",
76
- open: "{",
77
- close: "}"
78
- },
79
- {
80
- token: "delimiter.array",
81
- open: "[",
82
- close: "]"
83
- },
84
- {
85
- token: "delimiter.parenthesis",
86
- open: "(",
87
- close: ")"
88
- },
89
- {
90
- token: "delimiter.angle",
91
- open: "<",
92
- close: ">"
93
- },
94
- {
95
- token: "keyword.tag-addhandler",
96
- open: "addhandler",
97
- close: "end addhandler"
98
- },
99
- {
100
- token: "keyword.tag-class",
101
- open: "class",
102
- close: "end class"
103
- },
104
- {
105
- token: "keyword.tag-enum",
106
- open: "enum",
107
- close: "end enum"
108
- },
109
- {
110
- token: "keyword.tag-event",
111
- open: "event",
112
- close: "end event"
113
- },
114
- {
115
- token: "keyword.tag-function",
116
- open: "function",
117
- close: "end function"
118
- },
119
- {
120
- token: "keyword.tag-get",
121
- open: "get",
122
- close: "end get"
123
- },
124
- {
125
- token: "keyword.tag-if",
126
- open: "if",
127
- close: "end if"
128
- },
129
- {
130
- token: "keyword.tag-interface",
131
- open: "interface",
132
- close: "end interface"
133
- },
134
- {
135
- token: "keyword.tag-module",
136
- open: "module",
137
- close: "end module"
138
- },
139
- {
140
- token: "keyword.tag-namespace",
141
- open: "namespace",
142
- close: "end namespace"
143
- },
144
- {
145
- token: "keyword.tag-operator",
146
- open: "operator",
147
- close: "end operator"
148
- },
149
- {
150
- token: "keyword.tag-property",
151
- open: "property",
152
- close: "end property"
153
- },
154
- {
155
- token: "keyword.tag-raiseevent",
156
- open: "raiseevent",
157
- close: "end raiseevent"
158
- },
159
- {
160
- token: "keyword.tag-removehandler",
161
- open: "removehandler",
162
- close: "end removehandler"
163
- },
164
- {
165
- token: "keyword.tag-select",
166
- open: "select",
167
- close: "end select"
168
- },
169
- {
170
- token: "keyword.tag-set",
171
- open: "set",
172
- close: "end set"
173
- },
174
- {
175
- token: "keyword.tag-structure",
176
- open: "structure",
177
- close: "end structure"
178
- },
179
- {
180
- token: "keyword.tag-sub",
181
- open: "sub",
182
- close: "end sub"
183
- },
184
- {
185
- token: "keyword.tag-synclock",
186
- open: "synclock",
187
- close: "end synclock"
188
- },
189
- {
190
- token: "keyword.tag-try",
191
- open: "try",
192
- close: "end try"
193
- },
194
- {
195
- token: "keyword.tag-while",
196
- open: "while",
197
- close: "end while"
198
- },
199
- {
200
- token: "keyword.tag-with",
201
- open: "with",
202
- close: "end with"
203
- },
204
- {
205
- token: "keyword.tag-using",
206
- open: "using",
207
- close: "end using"
208
- },
209
- {
210
- token: "keyword.tag-do",
211
- open: "do",
212
- close: "loop"
213
- },
214
- {
215
- token: "keyword.tag-for",
216
- open: "for",
217
- close: "next"
218
- }
219
- ],
220
- keywords: /* @__PURE__ */ "AddHandler.AddressOf.Alias.And.AndAlso.As.Async.Boolean.ByRef.Byte.ByVal.Call.Case.Catch.CBool.CByte.CChar.CDate.CDbl.CDec.Char.CInt.Class.CLng.CObj.Const.Continue.CSByte.CShort.CSng.CStr.CType.CUInt.CULng.CUShort.Date.Decimal.Declare.Default.Delegate.Dim.DirectCast.Do.Double.Each.Else.ElseIf.End.EndIf.Enum.Erase.Error.Event.Exit.False.Finally.For.Friend.Function.Get.GetType.GetXMLNamespace.Global.GoSub.GoTo.Handles.If.Implements.Imports.In.Inherits.Integer.Interface.Is.IsNot.Let.Lib.Like.Long.Loop.Me.Mod.Module.MustInherit.MustOverride.MyBase.MyClass.NameOf.Namespace.Narrowing.New.Next.Not.Nothing.NotInheritable.NotOverridable.Object.Of.On.Operator.Option.Optional.Or.OrElse.Out.Overloads.Overridable.Overrides.ParamArray.Partial.Private.Property.Protected.Public.RaiseEvent.ReadOnly.ReDim.RemoveHandler.Resume.Return.SByte.Select.Set.Shadows.Shared.Short.Single.Static.Step.Stop.String.Structure.Sub.SyncLock.Then.Throw.To.True.Try.TryCast.TypeOf.UInteger.ULong.UShort.Using.Variant.Wend.When.While.Widening.With.WithEvents.WriteOnly.Xor".split("."),
221
- tagwords: /* @__PURE__ */ "If.Sub.Select.Try.Class.Enum.Function.Get.Interface.Module.Namespace.Operator.Set.Structure.Using.While.With.Do.Loop.For.Next.Property.Continue.AddHandler.RemoveHandler.Event.RaiseEvent.SyncLock".split("."),
222
- symbols: /[=><!~?;\.,:&|+\-*\/\^%]+/,
223
- integersuffix: /U?[DI%L&S@]?/,
224
- floatsuffix: /[R#F!]?/,
225
- tokenizer: {
226
- root: [
227
- { include: "@whitespace" },
228
- [/next(?!\w)/, { token: "keyword.tag-for" }],
229
- [/loop(?!\w)/, { token: "keyword.tag-do" }],
230
- [/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/, { token: "keyword.tag-$1" }],
231
- [/[a-zA-Z_]\w*/, { cases: {
232
- "@tagwords": { token: "keyword.tag-$0" },
233
- "@keywords": { token: "keyword.$0" },
234
- "@default": "identifier"
235
- } }],
236
- [/^\s*#\w+/, "keyword"],
237
- [/\d*\d+e([\-+]?\d+)?(@floatsuffix)/, "number.float"],
238
- [/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/, "number.float"],
239
- [/&H[0-9a-f]+(@integersuffix)/, "number.hex"],
240
- [/&0[0-7]+(@integersuffix)/, "number.octal"],
241
- [/\d+(@integersuffix)/, "number"],
242
- [/#.*#/, "number"],
243
- [/[{}()\[\]]/, "@brackets"],
244
- [/@symbols/, "delimiter"],
245
- [/["\u201c\u201d]/, {
246
- token: "string.quote",
247
- next: "@string"
248
- }]
249
- ],
250
- whitespace: [[/[ \t\r\n]+/, ""], [/(\'|REM(?!\w)).*$/, "comment"]],
251
- string: [
252
- [/[^"\u201c\u201d]+/, "string"],
253
- [/["\u201c\u201d]{2}/, "string.escape"],
254
- [/["\u201c\u201d]C?/, {
255
- token: "string.quote",
256
- next: "@pop"
257
- }]
258
- ]
259
- }
260
- };
261
- //#endregion
262
- export { e as conf, t as language };
@@ -1,147 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/wgsl/wgsl.js
2
- var e = {
3
- comments: {
4
- lineComment: "//",
5
- blockComment: ["/*", "*/"]
6
- },
7
- brackets: [
8
- ["{", "}"],
9
- ["[", "]"],
10
- ["(", ")"]
11
- ],
12
- autoClosingPairs: [
13
- {
14
- open: "[",
15
- close: "]"
16
- },
17
- {
18
- open: "{",
19
- close: "}"
20
- },
21
- {
22
- open: "(",
23
- close: ")"
24
- }
25
- ],
26
- surroundingPairs: [
27
- {
28
- open: "{",
29
- close: "}"
30
- },
31
- {
32
- open: "[",
33
- close: "]"
34
- },
35
- {
36
- open: "(",
37
- close: ")"
38
- }
39
- ]
40
- };
41
- function t(e) {
42
- let t = [], n = e.split(/\t+|\r+|\n+| +/);
43
- for (let e = 0; e < n.length; ++e) n[e].length > 0 && t.push(n[e]);
44
- return t;
45
- }
46
- var n = t("true false"), r = t("\n alias\n break\n case\n const\n const_assert\n continue\n continuing\n default\n diagnostic\n discard\n else\n enable\n fn\n for\n if\n let\n loop\n override\n requires\n return\n struct\n switch\n var\n while\n "), i = t("\n NULL\n Self\n abstract\n active\n alignas\n alignof\n as\n asm\n asm_fragment\n async\n attribute\n auto\n await\n become\n binding_array\n cast\n catch\n class\n co_await\n co_return\n co_yield\n coherent\n column_major\n common\n compile\n compile_fragment\n concept\n const_cast\n consteval\n constexpr\n constinit\n crate\n debugger\n decltype\n delete\n demote\n demote_to_helper\n do\n dynamic_cast\n enum\n explicit\n export\n extends\n extern\n external\n fallthrough\n filter\n final\n finally\n friend\n from\n fxgroup\n get\n goto\n groupshared\n highp\n impl\n implements\n import\n inline\n instanceof\n interface\n layout\n lowp\n macro\n macro_rules\n match\n mediump\n meta\n mod\n module\n move\n mut\n mutable\n namespace\n new\n nil\n noexcept\n noinline\n nointerpolation\n noperspective\n null\n nullptr\n of\n operator\n package\n packoffset\n partition\n pass\n patch\n pixelfragment\n precise\n precision\n premerge\n priv\n protected\n pub\n public\n readonly\n ref\n regardless\n register\n reinterpret_cast\n require\n resource\n restrict\n self\n set\n shared\n sizeof\n smooth\n snorm\n static\n static_assert\n static_cast\n std\n subroutine\n super\n target\n template\n this\n thread_local\n throw\n trait\n try\n type\n typedef\n typeid\n typename\n typeof\n union\n unless\n unorm\n unsafe\n unsized\n use\n using\n varying\n virtual\n volatile\n wgsl\n where\n with\n writeonly\n yield\n "), a = t("\n read write read_write\n function private workgroup uniform storage\n perspective linear flat\n center centroid sample\n vertex_index instance_index position front_facing frag_depth\n local_invocation_id local_invocation_index\n global_invocation_id workgroup_id num_workgroups\n sample_index sample_mask\n rgba8unorm\n rgba8snorm\n rgba8uint\n rgba8sint\n rgba16uint\n rgba16sint\n rgba16float\n r32uint\n r32sint\n r32float\n rg32uint\n rg32sint\n rg32float\n rgba32uint\n rgba32sint\n rgba32float\n bgra8unorm\n"), o = t("\n bool\n f16\n f32\n i32\n sampler sampler_comparison\n texture_depth_2d\n texture_depth_2d_array\n texture_depth_cube\n texture_depth_cube_array\n texture_depth_multisampled_2d\n texture_external\n texture_external\n u32\n "), s = t("\n array\n atomic\n mat2x2\n mat2x3\n mat2x4\n mat3x2\n mat3x3\n mat3x4\n mat4x2\n mat4x3\n mat4x4\n ptr\n texture_1d\n texture_2d\n texture_2d_array\n texture_3d\n texture_cube\n texture_cube_array\n texture_multisampled_2d\n texture_storage_1d\n texture_storage_2d\n texture_storage_2d_array\n texture_storage_3d\n vec2\n vec3\n vec4\n "), c = t("\n vec2i vec3i vec4i\n vec2u vec3u vec4u\n vec2f vec3f vec4f\n vec2h vec3h vec4h\n mat2x2f mat2x3f mat2x4f\n mat3x2f mat3x3f mat3x4f\n mat4x2f mat4x3f mat4x4f\n mat2x2h mat2x3h mat2x4h\n mat3x2h mat3x3h mat3x4h\n mat4x2h mat4x3h mat4x4h\n "), l = t("\n bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2\n ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross\n degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit\n firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length\n log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract\n reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose\n trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine\n textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers\n textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare\n textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge\n textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin\n atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm\n pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm\n unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier\n workgroupUniformLoad\n"), u = t("\n &\n &&\n ->\n /\n =\n ==\n !=\n >\n >=\n <\n <=\n %\n -\n --\n +\n ++\n |\n ||\n *\n <<\n >>\n +=\n -=\n *=\n /=\n %=\n &=\n |=\n ^=\n >>=\n <<=\n "), d = /enable|requires|diagnostic/, f = /[_\p{XID_Start}]\p{XID_Continue}*/u, p = "variable.predefined", m = {
47
- tokenPostfix: ".wgsl",
48
- defaultToken: "invalid",
49
- unicode: !0,
50
- atoms: n,
51
- keywords: r,
52
- reserved: i,
53
- predeclared_enums: a,
54
- predeclared_types: o,
55
- predeclared_type_generators: s,
56
- predeclared_type_aliases: c,
57
- predeclared_intrinsics: l,
58
- operators: u,
59
- symbols: /[!%&*+\-\.\/:;<=>^|_~,]+/,
60
- tokenizer: {
61
- root: [
62
- [
63
- d,
64
- "keyword",
65
- "@directive"
66
- ],
67
- [f, { cases: {
68
- "@atoms": p,
69
- "@keywords": "keyword",
70
- "@reserved": "invalid",
71
- "@predeclared_enums": p,
72
- "@predeclared_types": p,
73
- "@predeclared_type_generators": p,
74
- "@predeclared_type_aliases": p,
75
- "@predeclared_intrinsics": p,
76
- "@default": "identifier"
77
- } }],
78
- { include: "@commentOrSpace" },
79
- { include: "@numbers" },
80
- [/[{}()\[\]]/, "@brackets"],
81
- [
82
- "@",
83
- "annotation",
84
- "@attribute"
85
- ],
86
- [/@symbols/, { cases: {
87
- "@operators": "operator",
88
- "@default": "delimiter"
89
- } }],
90
- [/./, "invalid"]
91
- ],
92
- commentOrSpace: [
93
- [/\s+/, "white"],
94
- [
95
- /\/\*/,
96
- "comment",
97
- "@blockComment"
98
- ],
99
- [/\/\/.*$/, "comment"]
100
- ],
101
- blockComment: [
102
- [/[^\/*]+/, "comment"],
103
- [
104
- /\/\*/,
105
- "comment",
106
- "@push"
107
- ],
108
- [
109
- /\*\//,
110
- "comment",
111
- "@pop"
112
- ],
113
- [/[\/*]/, "comment"]
114
- ],
115
- attribute: [{ include: "@commentOrSpace" }, [
116
- /\w+/,
117
- "annotation",
118
- "@pop"
119
- ]],
120
- directive: [
121
- { include: "@commentOrSpace" },
122
- [/[()]/, "@brackets"],
123
- [/,/, "delimiter"],
124
- [f, "meta.content"],
125
- [
126
- /;/,
127
- "delimiter",
128
- "@pop"
129
- ]
130
- ],
131
- numbers: [
132
- [/0[fh]/, "number.float"],
133
- [/[1-9][0-9]*[fh]/, "number.float"],
134
- [/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
135
- [/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
136
- [/[0-9]+[eE][+-]?[0-9]+[fh]?/, "number.float"],
137
- [/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
138
- [/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
139
- [/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/, "number.hex"],
140
- [/0[xX][0-9a-fA-F]+[iu]?/, "number.hex"],
141
- [/[1-9][0-9]*[iu]?/, "number"],
142
- [/0[iu]?/, "number"]
143
- ]
144
- }
145
- };
146
- //#endregion
147
- export { e as conf, m as language };