monaco-editor11 1.2.1 → 1.2.4

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 (197) hide show
  1. package/dist/assets/editor.worker-iXcRX1Tq.js +26 -0
  2. package/dist/index.d.ts +2 -3
  3. package/dist/monaco-editor11.es.js +55 -0
  4. package/dist/monaco-editor11.umd.js +1 -0
  5. package/dist/views/Home.vue.d.ts +1 -1
  6. package/dist/worker/json.worker.js +0 -0
  7. package/package.json +9 -13
  8. package/dist/abap-BmV14C8H.js +0 -1
  9. package/dist/abap-CrvW7_qN.mjs +0 -1398
  10. package/dist/apex-BAOI8p1v.mjs +0 -327
  11. package/dist/apex-vQDebnNk.js +0 -1
  12. package/dist/azcli-BlCk_UqW.mjs +0 -68
  13. package/dist/azcli-C4hxwus7.js +0 -1
  14. package/dist/bat-DPoEelVx.mjs +0 -100
  15. package/dist/bat-DYHIOgJW.js +0 -1
  16. package/dist/bicep-BJDZ3U7c.js +0 -2
  17. package/dist/bicep-Cp1F394l.mjs +0 -102
  18. package/dist/cameligo-CWqtSlQs.mjs +0 -174
  19. package/dist/cameligo-l0J6eaPU.js +0 -1
  20. package/dist/clojure-BUv_1vEn.js +0 -1
  21. package/dist/clojure-CKBp32Gf.mjs +0 -761
  22. package/dist/coffee-CDo6vc-J.mjs +0 -232
  23. package/dist/coffee-Cw3141X6.js +0 -1
  24. package/dist/cpp-CHPWmTTa.js +0 -1
  25. package/dist/cpp-DokufPgf.mjs +0 -389
  26. package/dist/csharp-0ISFInBU.js +0 -1
  27. package/dist/csharp-BQi3szM0.mjs +0 -326
  28. package/dist/csp-BSGtCCZ-.mjs +0 -53
  29. package/dist/csp-Dcy9EUAZ.js +0 -1
  30. package/dist/css-DEPFDJfb.mjs +0 -187
  31. package/dist/css-UDjyEDNM.js +0 -3
  32. package/dist/css.worker.js +0 -66
  33. package/dist/cssMode-CZvh5Cxi.js +0 -1
  34. package/dist/cssMode-D5wFpBcJ.mjs +0 -141
  35. package/dist/cypher-BoSKj8sy.js +0 -1
  36. package/dist/cypher-DAb1vOxS.mjs +0 -263
  37. package/dist/dart-75fOVMIC.js +0 -1
  38. package/dist/dart-C8p4jewR.mjs +0 -281
  39. package/dist/dockerfile-CeTDdZJB.js +0 -1
  40. package/dist/dockerfile-DP0iLFPN.mjs +0 -130
  41. package/dist/ecl-BDQHA6fi.mjs +0 -456
  42. package/dist/ecl-BZ8GfbIS.js +0 -1
  43. package/dist/editor.worker.js +0 -1
  44. package/dist/editorWorkerHost-CXSl__Sw.mjs +0 -11917
  45. package/dist/editorWorkerHost-J3OLr02l.js +0 -33
  46. package/dist/elixir-D4II6kDM.mjs +0 -569
  47. package/dist/elixir-HwUoMs-6.js +0 -1
  48. package/dist/flow9-Co-egZvn.js +0 -1
  49. package/dist/flow9-StcnL-VB.mjs +0 -142
  50. package/dist/freemarker2-0KWO0y3D.mjs +0 -982
  51. package/dist/freemarker2-CWgJ4a-p.js +0 -3
  52. package/dist/fsharp-By4FMj_K.js +0 -1
  53. package/dist/fsharp-DdUVp3EN.mjs +0 -217
  54. package/dist/go-D0-3Iavh.js +0 -1
  55. package/dist/go-D1-I258M.mjs +0 -218
  56. package/dist/graphql-DWkL3f8U.mjs +0 -151
  57. package/dist/graphql-arXy5b1U.js +0 -1
  58. package/dist/handlebars-B3DRUYqI.js +0 -1
  59. package/dist/handlebars-CtTh3MzK.mjs +0 -412
  60. package/dist/hcl-DQpT3BXv.js +0 -1
  61. package/dist/hcl-D_0MNifv.mjs +0 -183
  62. package/dist/html-Bfagd5f8.mjs +0 -301
  63. package/dist/html-Cq6ODg2A.js +0 -1
  64. package/dist/htmlMode-BCWHN8H1.js +0 -1
  65. package/dist/htmlMode-Ca4o_48E.mjs +0 -152
  66. package/dist/index-BnVmN2qp.js +0 -875
  67. package/dist/index-CcXLAo11.js +0 -1
  68. package/dist/index-D7fx9aNv.mjs +0 -498
  69. package/dist/index-DnKFAZ-F.mjs +0 -117301
  70. package/dist/index.js +0 -1
  71. package/dist/ini-C4I2-MT7.mjs +0 -71
  72. package/dist/ini-CHrdBSR6.js +0 -1
  73. package/dist/initialize-7Tsg9DJ6.mjs +0 -44
  74. package/dist/initialize-8Cpp42Fp.js +0 -1
  75. package/dist/java-DkNlCtA8.js +0 -1
  76. package/dist/java-OBvaP_SS.mjs +0 -232
  77. package/dist/javascript-C_YSapv9.js +0 -1
  78. package/dist/javascript-D2KmymLa.mjs +0 -70
  79. package/dist/json.worker.js +0 -17
  80. package/dist/jsonMode-DaXUMuRa.js +0 -1
  81. package/dist/jsonMode-Dnqj4FWW.mjs +0 -306
  82. package/dist/julia-BmDH8Kkf.mjs +0 -511
  83. package/dist/julia-D2YHJdZy.js +0 -1
  84. package/dist/kotlin-BSyr2f_w.js +0 -1
  85. package/dist/kotlin-Dhu5AGOD.mjs +0 -252
  86. package/dist/less-C8csD237.js +0 -2
  87. package/dist/less-CzmjXREq.mjs +0 -162
  88. package/dist/lexon-CV2c4pN9.mjs +0 -157
  89. package/dist/lexon-Dg5XMXM-.js +0 -1
  90. package/dist/liquid-CQtA4TA-.mjs +0 -233
  91. package/dist/liquid-Dc6vO2KK.js +0 -1
  92. package/dist/lspLanguageFeatures-CeustN1U.js +0 -2
  93. package/dist/lspLanguageFeatures-DUzyYYsS.mjs +0 -534
  94. package/dist/lua-BOoO7Ej7.js +0 -1
  95. package/dist/lua-CFY5U8qF.mjs +0 -162
  96. package/dist/m3-BL_AnZVh.mjs +0 -210
  97. package/dist/m3-Bny7JARg.js +0 -1
  98. package/dist/main-B2xgQ6G2.mjs +0 -687
  99. package/dist/main-C27EQSK2.mjs +0 -947
  100. package/dist/main-DXJICgQq.js +0 -3
  101. package/dist/main-Dt1Bdcpc.js +0 -15
  102. package/dist/markdown-CWKQPXCv.mjs +0 -229
  103. package/dist/markdown-cseWCS9n.js +0 -1
  104. package/dist/mdx-C2nK3qTe.js +0 -1
  105. package/dist/mdx-cjfOdSKt.mjs +0 -158
  106. package/dist/mips-7JuqcyJ4.js +0 -1
  107. package/dist/mips-ButYmJ5E.mjs +0 -198
  108. package/dist/monaco-editor11.css +0 -1
  109. package/dist/msdax-BmYA5eV5.js +0 -1
  110. package/dist/msdax-C3cnXqDh.mjs +0 -375
  111. package/dist/mysql-CHTrPhJ_.js +0 -1
  112. package/dist/mysql-YlSHaf6G.mjs +0 -878
  113. package/dist/objective-c-CUdbM2R7.js +0 -1
  114. package/dist/objective-c-Dwnlproe.mjs +0 -183
  115. package/dist/pascal-CNC6uGuD.js +0 -1
  116. package/dist/pascal-UzGbSWEN.mjs +0 -251
  117. package/dist/pascaligo-BEZzSZnI.js +0 -1
  118. package/dist/pascaligo-CslTgu68.mjs +0 -164
  119. package/dist/perl-JOl0jAD9.js +0 -1
  120. package/dist/perl-oj6r_mgw.mjs +0 -626
  121. package/dist/pgsql-BlC3cJBr.js +0 -1
  122. package/dist/pgsql-DSBO0Mev.mjs +0 -851
  123. package/dist/php-6ijfJ2jK.js +0 -1
  124. package/dist/php-YzCD--7j.mjs +0 -500
  125. package/dist/pla-CmylB8vQ.mjs +0 -137
  126. package/dist/pla-DB8tU9Tm.js +0 -1
  127. package/dist/postiats-BMJJQsUH.js +0 -1
  128. package/dist/postiats-CLFW5gNY.mjs +0 -907
  129. package/dist/powerquery-CmOWUvlh.mjs +0 -890
  130. package/dist/powerquery-CoLfQ6__.js +0 -1
  131. package/dist/powershell-BA5owzqH.js +0 -1
  132. package/dist/powershell-fHQcmBLK.mjs +0 -239
  133. package/dist/protobuf-DUMRTG9C.js +0 -2
  134. package/dist/protobuf-p5BArb-9.mjs +0 -420
  135. package/dist/pug-D3HDBCR9.js +0 -1
  136. package/dist/pug-gVdUDvqf.mjs +0 -402
  137. package/dist/python-BaSW5leI.js +0 -1
  138. package/dist/python-DA6ByLCZ.mjs +0 -294
  139. package/dist/qsharp-DN7Y6XhL.js +0 -1
  140. package/dist/qsharp-DnrWSUlt.mjs +0 -301
  141. package/dist/r-Bc6rlFXl.js +0 -1
  142. package/dist/r-Cv309K2z.mjs +0 -243
  143. package/dist/razor-3z9XYGZf.mjs +0 -543
  144. package/dist/razor-nQE2Djhf.js +0 -1
  145. package/dist/redis-BVBmvApp.js +0 -1
  146. package/dist/redis-DTcS4wMj.mjs +0 -302
  147. package/dist/redshift-BdEMv0YI.js +0 -1
  148. package/dist/redshift-hLxZVESM.mjs +0 -809
  149. package/dist/restructuredtext-C898lK4f.mjs +0 -174
  150. package/dist/restructuredtext-Cwgkbiv3.js +0 -1
  151. package/dist/ruby-BPqQ0TOE.js +0 -1
  152. package/dist/ruby-CgKtnJIQ.mjs +0 -511
  153. package/dist/rust-DGojqpAN.js +0 -1
  154. package/dist/rust-bj8oxVnh.mjs +0 -343
  155. package/dist/sb-B572kJZe.js +0 -1
  156. package/dist/sb-DWynz26l.mjs +0 -115
  157. package/dist/scala-BL5z1UEd.mjs +0 -370
  158. package/dist/scala-CDQ1h1Nd.js +0 -1
  159. package/dist/scheme-CgaAfqMQ.js +0 -1
  160. package/dist/scheme-DUJsH6VU.mjs +0 -108
  161. package/dist/scss-CxjmhvaL.mjs +0 -262
  162. package/dist/scss-DZHIl239.js +0 -3
  163. package/dist/shell-D14Zs1dF.mjs +0 -221
  164. package/dist/shell-D5kOdfAA.js +0 -1
  165. package/dist/solidity-D6vCwnFo.js +0 -1
  166. package/dist/solidity-WyRm-BGK.mjs +0 -1367
  167. package/dist/sophia-BJdevZpo.js +0 -1
  168. package/dist/sophia-CKk-_Oa5.mjs +0 -199
  169. package/dist/sparql-DHtmINMZ.mjs +0 -201
  170. package/dist/sparql-v4dsLpAQ.js +0 -1
  171. package/dist/sql-Dqaj5JHC.mjs +0 -853
  172. package/dist/sql-RAt0uxGh.js +0 -1
  173. package/dist/st-Bj2IIaop.mjs +0 -416
  174. package/dist/st-CjwpLApO.js +0 -1
  175. package/dist/swift-BcIVfYEa.js +0 -3
  176. package/dist/swift-DwxP72iM.mjs +0 -312
  177. package/dist/systemverilog-CX2A8v2w.js +0 -1
  178. package/dist/systemverilog-D7wJfuql.mjs +0 -576
  179. package/dist/tcl-0ApMt-eC.mjs +0 -232
  180. package/dist/tcl-CCvdS1Ng.js +0 -1
  181. package/dist/ts.worker.js +0 -67706
  182. package/dist/tsMode-CieVaThB.js +0 -11
  183. package/dist/tsMode-pbVGEqHg.mjs +0 -946
  184. package/dist/twig-DxwbdmvQ.mjs +0 -392
  185. package/dist/twig-KWJe-gee.js +0 -1
  186. package/dist/typescript-CL7lZGgL.mjs +0 -336
  187. package/dist/typescript-D-fgoGBJ.js +0 -1
  188. package/dist/typespec-Fd-JwSuS.mjs +0 -117
  189. package/dist/typespec-gb5rMy4D.js +0 -1
  190. package/dist/vb-CxuyYE1I.mjs +0 -372
  191. package/dist/vb-D2rfixXK.js +0 -1
  192. package/dist/wgsl-DoEGc31J.mjs +0 -439
  193. package/dist/wgsl-Dpy8Oyoq.js +0 -298
  194. package/dist/xml-Dm8zU0Zq.mjs +0 -88
  195. package/dist/xml-luJ1w-__.js +0 -1
  196. package/dist/yaml-DDKFPb37.mjs +0 -199
  197. package/dist/yaml-DZkx0RTO.js +0 -1
@@ -1,402 +0,0 @@
1
- const e = {
2
- comments: {
3
- lineComment: "//"
4
- },
5
- brackets: [
6
- ["{", "}"],
7
- ["[", "]"],
8
- ["(", ")"]
9
- ],
10
- autoClosingPairs: [
11
- { open: '"', close: '"', notIn: ["string", "comment"] },
12
- { open: "'", close: "'", notIn: ["string", "comment"] },
13
- { open: "{", close: "}", notIn: ["string", "comment"] },
14
- { open: "[", close: "]", notIn: ["string", "comment"] },
15
- { open: "(", close: ")", notIn: ["string", "comment"] }
16
- ],
17
- folding: {
18
- offSide: !0
19
- }
20
- }, t = {
21
- defaultToken: "",
22
- tokenPostfix: ".pug",
23
- ignoreCase: !0,
24
- brackets: [
25
- { token: "delimiter.curly", open: "{", close: "}" },
26
- { token: "delimiter.array", open: "[", close: "]" },
27
- { token: "delimiter.parenthesis", open: "(", close: ")" }
28
- ],
29
- keywords: [
30
- "append",
31
- "block",
32
- "case",
33
- "default",
34
- "doctype",
35
- "each",
36
- "else",
37
- "extends",
38
- "for",
39
- "if",
40
- "in",
41
- "include",
42
- "mixin",
43
- "typeof",
44
- "unless",
45
- "var",
46
- "when"
47
- ],
48
- tags: [
49
- "a",
50
- "abbr",
51
- "acronym",
52
- "address",
53
- "area",
54
- "article",
55
- "aside",
56
- "audio",
57
- "b",
58
- "base",
59
- "basefont",
60
- "bdi",
61
- "bdo",
62
- "blockquote",
63
- "body",
64
- "br",
65
- "button",
66
- "canvas",
67
- "caption",
68
- "center",
69
- "cite",
70
- "code",
71
- "col",
72
- "colgroup",
73
- "command",
74
- "datalist",
75
- "dd",
76
- "del",
77
- "details",
78
- "dfn",
79
- "div",
80
- "dl",
81
- "dt",
82
- "em",
83
- "embed",
84
- "fieldset",
85
- "figcaption",
86
- "figure",
87
- "font",
88
- "footer",
89
- "form",
90
- "frame",
91
- "frameset",
92
- "h1",
93
- "h2",
94
- "h3",
95
- "h4",
96
- "h5",
97
- "h6",
98
- "head",
99
- "header",
100
- "hgroup",
101
- "hr",
102
- "html",
103
- "i",
104
- "iframe",
105
- "img",
106
- "input",
107
- "ins",
108
- "keygen",
109
- "kbd",
110
- "label",
111
- "li",
112
- "link",
113
- "map",
114
- "mark",
115
- "menu",
116
- "meta",
117
- "meter",
118
- "nav",
119
- "noframes",
120
- "noscript",
121
- "object",
122
- "ol",
123
- "optgroup",
124
- "option",
125
- "output",
126
- "p",
127
- "param",
128
- "pre",
129
- "progress",
130
- "q",
131
- "rp",
132
- "rt",
133
- "ruby",
134
- "s",
135
- "samp",
136
- "script",
137
- "section",
138
- "select",
139
- "small",
140
- "source",
141
- "span",
142
- "strike",
143
- "strong",
144
- "style",
145
- "sub",
146
- "summary",
147
- "sup",
148
- "table",
149
- "tbody",
150
- "td",
151
- "textarea",
152
- "tfoot",
153
- "th",
154
- "thead",
155
- "time",
156
- "title",
157
- "tr",
158
- "tracks",
159
- "tt",
160
- "u",
161
- "ul",
162
- "video",
163
- "wbr"
164
- ],
165
- // we include these common regular expressions
166
- symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
167
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
168
- tokenizer: {
169
- root: [
170
- // Tag or a keyword at start
171
- [
172
- /^(\s*)([a-zA-Z_-][\w-]*)/,
173
- {
174
- cases: {
175
- "$2@tags": {
176
- cases: {
177
- "@eos": ["", "tag"],
178
- "@default": ["", { token: "tag", next: "@tag.$1" }]
179
- }
180
- },
181
- "$2@keywords": ["", { token: "keyword.$2" }],
182
- "@default": ["", ""]
183
- }
184
- }
185
- ],
186
- // id
187
- [
188
- /^(\s*)(#[a-zA-Z_-][\w-]*)/,
189
- {
190
- cases: {
191
- "@eos": ["", "tag.id"],
192
- "@default": ["", { token: "tag.id", next: "@tag.$1" }]
193
- }
194
- }
195
- ],
196
- // class
197
- [
198
- /^(\s*)(\.[a-zA-Z_-][\w-]*)/,
199
- {
200
- cases: {
201
- "@eos": ["", "tag.class"],
202
- "@default": ["", { token: "tag.class", next: "@tag.$1" }]
203
- }
204
- }
205
- ],
206
- // plain text with pipe
207
- [/^(\s*)(\|.*)$/, ""],
208
- { include: "@whitespace" },
209
- // keywords
210
- [
211
- /[a-zA-Z_$][\w$]*/,
212
- {
213
- cases: {
214
- "@keywords": { token: "keyword.$0" },
215
- "@default": ""
216
- }
217
- }
218
- ],
219
- // delimiters and operators
220
- [/[{}()\[\]]/, "@brackets"],
221
- [/@symbols/, "delimiter"],
222
- // numbers
223
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
224
- [/\d+/, "number"],
225
- // strings:
226
- [/"/, "string", '@string."'],
227
- [/'/, "string", "@string.'"]
228
- ],
229
- tag: [
230
- [/(\.)(\s*$)/, [{ token: "delimiter", next: "@blockText.$S2." }, ""]],
231
- [/\s+/, { token: "", next: "@simpleText" }],
232
- // id
233
- [
234
- /#[a-zA-Z_-][\w-]*/,
235
- {
236
- cases: {
237
- "@eos": { token: "tag.id", next: "@pop" },
238
- "@default": "tag.id"
239
- }
240
- }
241
- ],
242
- // class
243
- [
244
- /\.[a-zA-Z_-][\w-]*/,
245
- {
246
- cases: {
247
- "@eos": { token: "tag.class", next: "@pop" },
248
- "@default": "tag.class"
249
- }
250
- }
251
- ],
252
- // attributes
253
- [/\(/, { token: "delimiter.parenthesis", next: "@attributeList" }]
254
- ],
255
- simpleText: [
256
- [/[^#]+$/, { token: "", next: "@popall" }],
257
- [/[^#]+/, { token: "" }],
258
- // interpolation
259
- [
260
- /(#{)([^}]*)(})/,
261
- {
262
- cases: {
263
- "@eos": [
264
- "interpolation.delimiter",
265
- "interpolation",
266
- {
267
- token: "interpolation.delimiter",
268
- next: "@popall"
269
- }
270
- ],
271
- "@default": ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]
272
- }
273
- }
274
- ],
275
- [/#$/, { token: "", next: "@popall" }],
276
- [/#/, ""]
277
- ],
278
- attributeList: [
279
- [/\s+/, ""],
280
- [
281
- /(\w+)(\s*=\s*)("|')/,
282
- ["attribute.name", "delimiter", { token: "attribute.value", next: "@value.$3" }]
283
- ],
284
- [/\w+/, "attribute.name"],
285
- [
286
- /,/,
287
- {
288
- cases: {
289
- "@eos": {
290
- token: "attribute.delimiter",
291
- next: "@popall"
292
- },
293
- "@default": "attribute.delimiter"
294
- }
295
- }
296
- ],
297
- [/\)$/, { token: "delimiter.parenthesis", next: "@popall" }],
298
- [/\)/, { token: "delimiter.parenthesis", next: "@pop" }]
299
- ],
300
- whitespace: [
301
- [/^(\s*)(\/\/.*)$/, { token: "comment", next: "@blockText.$1.comment" }],
302
- [/[ \t\r\n]+/, ""],
303
- [/<!--/, { token: "comment", next: "@comment" }]
304
- ],
305
- blockText: [
306
- [
307
- /^\s+.*$/,
308
- {
309
- cases: {
310
- "($S2\\s+.*$)": { token: "$S3" },
311
- "@default": { token: "@rematch", next: "@popall" }
312
- }
313
- }
314
- ],
315
- [/./, { token: "@rematch", next: "@popall" }]
316
- ],
317
- comment: [
318
- [/[^<\-]+/, "comment.content"],
319
- [/-->/, { token: "comment", next: "@pop" }],
320
- [/<!--/, "comment.content.invalid"],
321
- [/[<\-]/, "comment.content"]
322
- ],
323
- string: [
324
- [
325
- /[^\\"'#]+/,
326
- {
327
- cases: {
328
- "@eos": { token: "string", next: "@popall" },
329
- "@default": "string"
330
- }
331
- }
332
- ],
333
- [
334
- /@escapes/,
335
- {
336
- cases: {
337
- "@eos": { token: "string.escape", next: "@popall" },
338
- "@default": "string.escape"
339
- }
340
- }
341
- ],
342
- [
343
- /\\./,
344
- {
345
- cases: {
346
- "@eos": {
347
- token: "string.escape.invalid",
348
- next: "@popall"
349
- },
350
- "@default": "string.escape.invalid"
351
- }
352
- }
353
- ],
354
- // interpolation
355
- [/(#{)([^}]*)(})/, ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]],
356
- [/#/, "string"],
357
- [
358
- /["']/,
359
- {
360
- cases: {
361
- "$#==$S2": { token: "string", next: "@pop" },
362
- "@default": { token: "string" }
363
- }
364
- }
365
- ]
366
- ],
367
- // Almost identical to above, except for escapes and the output token
368
- value: [
369
- [
370
- /[^\\"']+/,
371
- {
372
- cases: {
373
- "@eos": { token: "attribute.value", next: "@popall" },
374
- "@default": "attribute.value"
375
- }
376
- }
377
- ],
378
- [
379
- /\\./,
380
- {
381
- cases: {
382
- "@eos": { token: "attribute.value", next: "@popall" },
383
- "@default": "attribute.value"
384
- }
385
- }
386
- ],
387
- [
388
- /["']/,
389
- {
390
- cases: {
391
- "$#==$S2": { token: "attribute.value", next: "@pop" },
392
- "@default": { token: "attribute.value" }
393
- }
394
- }
395
- ]
396
- ]
397
- }
398
- };
399
- export {
400
- e as conf,
401
- t as language
402
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BnVmN2qp.js"),n={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:e.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},t={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}};exports.conf=n;exports.language=t;
@@ -1,294 +0,0 @@
1
- import { l as e } from "./index-DnKFAZ-F.mjs";
2
- const t = {
3
- comments: {
4
- lineComment: "#",
5
- blockComment: ["'''", "'''"]
6
- },
7
- brackets: [
8
- ["{", "}"],
9
- ["[", "]"],
10
- ["(", ")"]
11
- ],
12
- autoClosingPairs: [
13
- { open: "{", close: "}" },
14
- { open: "[", close: "]" },
15
- { open: "(", close: ")" },
16
- { open: '"', close: '"', notIn: ["string"] },
17
- { open: "'", close: "'", notIn: ["string", "comment"] }
18
- ],
19
- surroundingPairs: [
20
- { open: "{", close: "}" },
21
- { open: "[", close: "]" },
22
- { open: "(", close: ")" },
23
- { open: '"', close: '"' },
24
- { open: "'", close: "'" }
25
- ],
26
- onEnterRules: [
27
- {
28
- beforeText: new RegExp(
29
- "^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
30
- ),
31
- action: { indentAction: e.IndentAction.Indent }
32
- }
33
- ],
34
- folding: {
35
- offSide: !0,
36
- markers: {
37
- start: new RegExp("^\\s*#region\\b"),
38
- end: new RegExp("^\\s*#endregion\\b")
39
- }
40
- }
41
- }, s = {
42
- defaultToken: "",
43
- tokenPostfix: ".python",
44
- keywords: [
45
- // This section is the result of running
46
- // `import keyword; for k in sorted(keyword.kwlist + keyword.softkwlist): print(" '" + k + "',")`
47
- // in a Python REPL,
48
- // though note that the output from Python 3 is not a strict superset of the
49
- // output from Python 2.
50
- "False",
51
- // promoted to keyword.kwlist in Python 3
52
- "None",
53
- // promoted to keyword.kwlist in Python 3
54
- "True",
55
- // promoted to keyword.kwlist in Python 3
56
- "_",
57
- // new in Python 3.10
58
- "and",
59
- "as",
60
- "assert",
61
- "async",
62
- // new in Python 3
63
- "await",
64
- // new in Python 3
65
- "break",
66
- "case",
67
- // new in Python 3.10
68
- "class",
69
- "continue",
70
- "def",
71
- "del",
72
- "elif",
73
- "else",
74
- "except",
75
- "exec",
76
- // Python 2, but not 3.
77
- "finally",
78
- "for",
79
- "from",
80
- "global",
81
- "if",
82
- "import",
83
- "in",
84
- "is",
85
- "lambda",
86
- "match",
87
- // new in Python 3.10
88
- "nonlocal",
89
- // new in Python 3
90
- "not",
91
- "or",
92
- "pass",
93
- "print",
94
- // Python 2, but not 3.
95
- "raise",
96
- "return",
97
- "try",
98
- "type",
99
- // new in Python 3.12
100
- "while",
101
- "with",
102
- "yield",
103
- "int",
104
- "float",
105
- "long",
106
- "complex",
107
- "hex",
108
- "abs",
109
- "all",
110
- "any",
111
- "apply",
112
- "basestring",
113
- "bin",
114
- "bool",
115
- "buffer",
116
- "bytearray",
117
- "callable",
118
- "chr",
119
- "classmethod",
120
- "cmp",
121
- "coerce",
122
- "compile",
123
- "complex",
124
- "delattr",
125
- "dict",
126
- "dir",
127
- "divmod",
128
- "enumerate",
129
- "eval",
130
- "execfile",
131
- "file",
132
- "filter",
133
- "format",
134
- "frozenset",
135
- "getattr",
136
- "globals",
137
- "hasattr",
138
- "hash",
139
- "help",
140
- "id",
141
- "input",
142
- "intern",
143
- "isinstance",
144
- "issubclass",
145
- "iter",
146
- "len",
147
- "locals",
148
- "list",
149
- "map",
150
- "max",
151
- "memoryview",
152
- "min",
153
- "next",
154
- "object",
155
- "oct",
156
- "open",
157
- "ord",
158
- "pow",
159
- "print",
160
- "property",
161
- "reversed",
162
- "range",
163
- "raw_input",
164
- "reduce",
165
- "reload",
166
- "repr",
167
- "reversed",
168
- "round",
169
- "self",
170
- "set",
171
- "setattr",
172
- "slice",
173
- "sorted",
174
- "staticmethod",
175
- "str",
176
- "sum",
177
- "super",
178
- "tuple",
179
- "type",
180
- "unichr",
181
- "unicode",
182
- "vars",
183
- "xrange",
184
- "zip",
185
- "__dict__",
186
- "__methods__",
187
- "__members__",
188
- "__class__",
189
- "__bases__",
190
- "__name__",
191
- "__mro__",
192
- "__subclasses__",
193
- "__init__",
194
- "__import__"
195
- ],
196
- brackets: [
197
- { open: "{", close: "}", token: "delimiter.curly" },
198
- { open: "[", close: "]", token: "delimiter.bracket" },
199
- { open: "(", close: ")", token: "delimiter.parenthesis" }
200
- ],
201
- tokenizer: {
202
- root: [
203
- { include: "@whitespace" },
204
- { include: "@numbers" },
205
- { include: "@strings" },
206
- [/[,:;]/, "delimiter"],
207
- [/[{}\[\]()]/, "@brackets"],
208
- [/@[a-zA-Z_]\w*/, "tag"],
209
- [
210
- /[a-zA-Z_]\w*/,
211
- {
212
- cases: {
213
- "@keywords": "keyword",
214
- "@default": "identifier"
215
- }
216
- }
217
- ]
218
- ],
219
- // Deal with white space, including single and multi-line comments
220
- whitespace: [
221
- [/\s+/, "white"],
222
- [/(^#.*$)/, "comment"],
223
- [/'''/, "string", "@endDocString"],
224
- [/"""/, "string", "@endDblDocString"]
225
- ],
226
- endDocString: [
227
- [/[^']+/, "string"],
228
- [/\\'/, "string"],
229
- [/'''/, "string", "@popall"],
230
- [/'/, "string"]
231
- ],
232
- endDblDocString: [
233
- [/[^"]+/, "string"],
234
- [/\\"/, "string"],
235
- [/"""/, "string", "@popall"],
236
- [/"/, "string"]
237
- ],
238
- // Recognize hex, negatives, decimals, imaginaries, longs, and scientific notation
239
- numbers: [
240
- [/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
241
- [/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
242
- ],
243
- // Recognize strings, including those broken across lines with \ (but not without)
244
- strings: [
245
- [/'$/, "string.escape", "@popall"],
246
- [/f'{1,3}/, "string.escape", "@fStringBody"],
247
- [/'/, "string.escape", "@stringBody"],
248
- [/"$/, "string.escape", "@popall"],
249
- [/f"{1,3}/, "string.escape", "@fDblStringBody"],
250
- [/"/, "string.escape", "@dblStringBody"]
251
- ],
252
- fStringBody: [
253
- [/[^\\'\{\}]+$/, "string", "@popall"],
254
- [/[^\\'\{\}]+/, "string"],
255
- [/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
256
- [/\\./, "string"],
257
- [/'/, "string.escape", "@popall"],
258
- [/\\$/, "string"]
259
- ],
260
- stringBody: [
261
- [/[^\\']+$/, "string", "@popall"],
262
- [/[^\\']+/, "string"],
263
- [/\\./, "string"],
264
- [/'/, "string.escape", "@popall"],
265
- [/\\$/, "string"]
266
- ],
267
- fDblStringBody: [
268
- [/[^\\"\{\}]+$/, "string", "@popall"],
269
- [/[^\\"\{\}]+/, "string"],
270
- [/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
271
- [/\\./, "string"],
272
- [/"/, "string.escape", "@popall"],
273
- [/\\$/, "string"]
274
- ],
275
- dblStringBody: [
276
- [/[^\\"]+$/, "string", "@popall"],
277
- [/[^\\"]+/, "string"],
278
- [/\\./, "string"],
279
- [/"/, "string.escape", "@popall"],
280
- [/\\$/, "string"]
281
- ],
282
- fStringDetail: [
283
- [/[:][^}]+/, "string"],
284
- [/[!][ars]/, "string"],
285
- // only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
286
- [/=/, "string"],
287
- [/\}/, "identifier", "@pop"]
288
- ]
289
- }
290
- };
291
- export {
292
- t as conf,
293
- s as language
294
- };