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,327 +0,0 @@
1
- const n = {
2
- // the default separators except `@$`
3
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
- comments: {
5
- lineComment: "//",
6
- blockComment: ["/*", "*/"]
7
- },
8
- brackets: [
9
- ["{", "}"],
10
- ["[", "]"],
11
- ["(", ")"]
12
- ],
13
- autoClosingPairs: [
14
- { open: "{", close: "}" },
15
- { open: "[", close: "]" },
16
- { open: "(", close: ")" },
17
- { open: '"', close: '"' },
18
- { open: "'", close: "'" }
19
- ],
20
- surroundingPairs: [
21
- { open: "{", close: "}" },
22
- { open: "[", close: "]" },
23
- { open: "(", close: ")" },
24
- { open: '"', close: '"' },
25
- { open: "'", close: "'" },
26
- { open: "<", close: ">" }
27
- ],
28
- folding: {
29
- markers: {
30
- start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
31
- end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
32
- }
33
- }
34
- }, s = [
35
- "abstract",
36
- "activate",
37
- "and",
38
- "any",
39
- "array",
40
- "as",
41
- "asc",
42
- "assert",
43
- "autonomous",
44
- "begin",
45
- "bigdecimal",
46
- "blob",
47
- "boolean",
48
- "break",
49
- "bulk",
50
- "by",
51
- "case",
52
- "cast",
53
- "catch",
54
- "char",
55
- "class",
56
- "collect",
57
- "commit",
58
- "const",
59
- "continue",
60
- "convertcurrency",
61
- "decimal",
62
- "default",
63
- "delete",
64
- "desc",
65
- "do",
66
- "double",
67
- "else",
68
- "end",
69
- "enum",
70
- "exception",
71
- "exit",
72
- "export",
73
- "extends",
74
- "false",
75
- "final",
76
- "finally",
77
- "float",
78
- "for",
79
- "from",
80
- "future",
81
- "get",
82
- "global",
83
- "goto",
84
- "group",
85
- "having",
86
- "hint",
87
- "if",
88
- "implements",
89
- "import",
90
- "in",
91
- "inner",
92
- "insert",
93
- "instanceof",
94
- "int",
95
- "interface",
96
- "into",
97
- "join",
98
- "last_90_days",
99
- "last_month",
100
- "last_n_days",
101
- "last_week",
102
- "like",
103
- "limit",
104
- "list",
105
- "long",
106
- "loop",
107
- "map",
108
- "merge",
109
- "native",
110
- "new",
111
- "next_90_days",
112
- "next_month",
113
- "next_n_days",
114
- "next_week",
115
- "not",
116
- "null",
117
- "nulls",
118
- "number",
119
- "object",
120
- "of",
121
- "on",
122
- "or",
123
- "outer",
124
- "override",
125
- "package",
126
- "parallel",
127
- "pragma",
128
- "private",
129
- "protected",
130
- "public",
131
- "retrieve",
132
- "return",
133
- "returning",
134
- "rollback",
135
- "savepoint",
136
- "search",
137
- "select",
138
- "set",
139
- "short",
140
- "sort",
141
- "stat",
142
- "static",
143
- "strictfp",
144
- "super",
145
- "switch",
146
- "synchronized",
147
- "system",
148
- "testmethod",
149
- "then",
150
- "this",
151
- "this_month",
152
- "this_week",
153
- "throw",
154
- "throws",
155
- "today",
156
- "tolabel",
157
- "tomorrow",
158
- "transaction",
159
- "transient",
160
- "trigger",
161
- "true",
162
- "try",
163
- "type",
164
- "undelete",
165
- "update",
166
- "upsert",
167
- "using",
168
- "virtual",
169
- "void",
170
- "volatile",
171
- "webservice",
172
- "when",
173
- "where",
174
- "while",
175
- "yesterday"
176
- ], o = (e) => e.charAt(0).toUpperCase() + e.substr(1);
177
- let t = [];
178
- s.forEach((e) => {
179
- t.push(e), t.push(e.toUpperCase()), t.push(o(e));
180
- });
181
- const i = {
182
- defaultToken: "",
183
- tokenPostfix: ".apex",
184
- keywords: t,
185
- operators: [
186
- "=",
187
- ">",
188
- "<",
189
- "!",
190
- "~",
191
- "?",
192
- ":",
193
- "==",
194
- "<=",
195
- ">=",
196
- "!=",
197
- "&&",
198
- "||",
199
- "++",
200
- "--",
201
- "+",
202
- "-",
203
- "*",
204
- "/",
205
- "&",
206
- "|",
207
- "^",
208
- "%",
209
- "<<",
210
- ">>",
211
- ">>>",
212
- "+=",
213
- "-=",
214
- "*=",
215
- "/=",
216
- "&=",
217
- "|=",
218
- "^=",
219
- "%=",
220
- "<<=",
221
- ">>=",
222
- ">>>="
223
- ],
224
- // we include these common regular expressions
225
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
226
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
227
- digits: /\d+(_+\d+)*/,
228
- octaldigits: /[0-7]+(_+[0-7]+)*/,
229
- binarydigits: /[0-1]+(_+[0-1]+)*/,
230
- hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
231
- // The main tokenizer for our languages
232
- tokenizer: {
233
- root: [
234
- // identifiers and keywords
235
- [
236
- /[a-z_$][\w$]*/,
237
- {
238
- cases: {
239
- "@keywords": { token: "keyword.$0" },
240
- "@default": "identifier"
241
- }
242
- }
243
- ],
244
- // assume that identifiers starting with an uppercase letter are types
245
- [
246
- /[A-Z][\w\$]*/,
247
- {
248
- cases: {
249
- "@keywords": { token: "keyword.$0" },
250
- "@default": "type.identifier"
251
- }
252
- }
253
- ],
254
- // whitespace
255
- { include: "@whitespace" },
256
- // delimiters and operators
257
- [/[{}()\[\]]/, "@brackets"],
258
- [/[<>](?!@symbols)/, "@brackets"],
259
- [
260
- /@symbols/,
261
- {
262
- cases: {
263
- "@operators": "delimiter",
264
- "@default": ""
265
- }
266
- }
267
- ],
268
- // @ annotations.
269
- [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
270
- // numbers
271
- [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
272
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
273
- [/(@digits)[fFdD]/, "number.float"],
274
- [/(@digits)[lL]?/, "number"],
275
- // delimiter: after number because of .\d floats
276
- [/[;,.]/, "delimiter"],
277
- // strings
278
- [/"([^"\\]|\\.)*$/, "string.invalid"],
279
- // non-teminated string
280
- [/'([^'\\]|\\.)*$/, "string.invalid"],
281
- // non-teminated string
282
- [/"/, "string", '@string."'],
283
- [/'/, "string", "@string.'"],
284
- // characters
285
- [/'[^\\']'/, "string"],
286
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
287
- [/'/, "string.invalid"]
288
- ],
289
- whitespace: [
290
- [/[ \t\r\n]+/, ""],
291
- [/\/\*\*(?!\/)/, "comment.doc", "@apexdoc"],
292
- [/\/\*/, "comment", "@comment"],
293
- [/\/\/.*$/, "comment"]
294
- ],
295
- comment: [
296
- [/[^\/*]+/, "comment"],
297
- // [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
298
- // [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
299
- [/\*\//, "comment", "@pop"],
300
- [/[\/*]/, "comment"]
301
- ],
302
- //Identical copy of comment above, except for the addition of .doc
303
- apexdoc: [
304
- [/[^\/*]+/, "comment.doc"],
305
- [/\*\//, "comment.doc", "@pop"],
306
- [/[\/*]/, "comment.doc"]
307
- ],
308
- string: [
309
- [/[^\\"']+/, "string"],
310
- [/@escapes/, "string.escape"],
311
- [/\\./, "string.escape.invalid"],
312
- [
313
- /["']/,
314
- {
315
- cases: {
316
- "$#==$S2": { token: "string", next: "@pop" },
317
- "@default": "string"
318
- }
319
- }
320
- ]
321
- ]
322
- }
323
- };
324
- export {
325
- n as conf,
326
- i as language
327
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],n=e=>e.charAt(0).toUpperCase()+e.substr(1);let t=[];o.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(n(e))});const i={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};exports.conf=s;exports.language=i;
@@ -1,68 +0,0 @@
1
- const e = {
2
- comments: {
3
- lineComment: "#"
4
- }
5
- }, t = {
6
- defaultToken: "keyword",
7
- ignoreCase: !0,
8
- tokenPostfix: ".azcli",
9
- str: /[^#\s]/,
10
- tokenizer: {
11
- root: [
12
- { include: "@comment" },
13
- [
14
- /\s-+@str*\s*/,
15
- {
16
- cases: {
17
- "@eos": { token: "key.identifier", next: "@popall" },
18
- "@default": { token: "key.identifier", next: "@type" }
19
- }
20
- }
21
- ],
22
- [
23
- /^-+@str*\s*/,
24
- {
25
- cases: {
26
- "@eos": { token: "key.identifier", next: "@popall" },
27
- "@default": { token: "key.identifier", next: "@type" }
28
- }
29
- }
30
- ]
31
- ],
32
- type: [
33
- { include: "@comment" },
34
- [
35
- /-+@str*\s*/,
36
- {
37
- cases: {
38
- "@eos": { token: "key.identifier", next: "@popall" },
39
- "@default": "key.identifier"
40
- }
41
- }
42
- ],
43
- [
44
- /@str+\s*/,
45
- {
46
- cases: {
47
- "@eos": { token: "string", next: "@popall" },
48
- "@default": "string"
49
- }
50
- }
51
- ]
52
- ],
53
- comment: [
54
- [
55
- /#.*$/,
56
- {
57
- cases: {
58
- "@eos": { token: "comment", next: "@popall" }
59
- }
60
- }
61
- ]
62
- ]
63
- }
64
- };
65
- export {
66
- e as conf,
67
- t as language
68
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"#"}},t={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};exports.conf=e;exports.language=t;
@@ -1,100 +0,0 @@
1
- const e = {
2
- comments: {
3
- lineComment: "REM"
4
- },
5
- brackets: [
6
- ["{", "}"],
7
- ["[", "]"],
8
- ["(", ")"]
9
- ],
10
- autoClosingPairs: [
11
- { open: "{", close: "}" },
12
- { open: "[", close: "]" },
13
- { open: "(", close: ")" },
14
- { open: '"', close: '"' }
15
- ],
16
- surroundingPairs: [
17
- { open: "[", close: "]" },
18
- { open: "(", close: ")" },
19
- { open: '"', close: '"' }
20
- ],
21
- folding: {
22
- markers: {
23
- start: new RegExp("^\\s*(::\\s*|REM\\s+)#region"),
24
- end: new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")
25
- }
26
- }
27
- }, s = {
28
- defaultToken: "",
29
- ignoreCase: !0,
30
- tokenPostfix: ".bat",
31
- brackets: [
32
- { token: "delimiter.bracket", open: "{", close: "}" },
33
- { token: "delimiter.parenthesis", open: "(", close: ")" },
34
- { token: "delimiter.square", open: "[", close: "]" }
35
- ],
36
- keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,
37
- // we include these common regular expressions
38
- symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
39
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
40
- // The main tokenizer for our languages
41
- tokenizer: {
42
- root: [
43
- [/^(\s*)(rem(?:\s.*|))$/, ["", "comment"]],
44
- [/(\@?)(@keywords)(?!\w)/, [{ token: "keyword" }, { token: "keyword.$2" }]],
45
- // whitespace
46
- [/[ \t\r\n]+/, ""],
47
- // blocks
48
- [/setlocal(?!\w)/, "keyword.tag-setlocal"],
49
- [/endlocal(?!\w)/, "keyword.tag-setlocal"],
50
- // words
51
- [/[a-zA-Z_]\w*/, ""],
52
- // labels
53
- [/:\w*/, "metatag"],
54
- // variables
55
- [/%[^%]+%/, "variable"],
56
- [/%%[\w]+(?!\w)/, "variable"],
57
- // punctuations
58
- [/[{}()\[\]]/, "@brackets"],
59
- [/@symbols/, "delimiter"],
60
- // numbers
61
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
62
- [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
63
- [/\d+/, "number"],
64
- // punctuation: after number because of .\d floats
65
- [/[;,.]/, "delimiter"],
66
- // strings:
67
- [/"/, "string", '@string."'],
68
- [/'/, "string", "@string.'"]
69
- ],
70
- string: [
71
- [
72
- /[^\\"'%]+/,
73
- {
74
- cases: {
75
- "@eos": { token: "string", next: "@popall" },
76
- "@default": "string"
77
- }
78
- }
79
- ],
80
- [/@escapes/, "string.escape"],
81
- [/\\./, "string.escape.invalid"],
82
- [/%[\w ]+%/, "variable"],
83
- [/%%[\w]+(?!\w)/, "variable"],
84
- [
85
- /["']/,
86
- {
87
- cases: {
88
- "$#==$S2": { token: "string", next: "@pop" },
89
- "@default": "string"
90
- }
91
- }
92
- ],
93
- [/$/, "string", "@popall"]
94
- ]
95
- }
96
- };
97
- export {
98
- e as conf,
99
- s as language
100
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}};exports.conf=e;exports.language=o;
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=e=>`\\b${e}\\b`,t="[_a-zA-Z]",o="[_a-zA-Z0-9]",i=n(`${t}${o}*`),r=["targetScope","resource","module","param","var","output","for","in","if","existing"],c=["true","false","null"],s="[ \\t\\r\\n]",a="[0-9]+",g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])'
2
- `,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},l={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:r,namedLiterals:c,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:s},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:a,action:{token:"number"}},{regex:i,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}};exports.conf=g;exports.language=l;
@@ -1,102 +0,0 @@
1
- const n = (e) => `\\b${e}\\b`, t = "[_a-zA-Z]", o = "[_a-zA-Z0-9]", i = n(`${t}${o}*`), r = [
2
- "targetScope",
3
- "resource",
4
- "module",
5
- "param",
6
- "var",
7
- "output",
8
- "for",
9
- "in",
10
- "if",
11
- "existing"
12
- ], s = ["true", "false", "null"], c = "[ \\t\\r\\n]", a = "[0-9]+", g = {
13
- comments: {
14
- lineComment: "//",
15
- blockComment: ["/*", "*/"]
16
- },
17
- brackets: [
18
- ["{", "}"],
19
- ["[", "]"],
20
- ["(", ")"]
21
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: "'", close: "'" },
27
- { open: "'''", close: "'''" }
28
- ],
29
- autoClosingPairs: [
30
- { open: "{", close: "}" },
31
- { open: "[", close: "]" },
32
- { open: "(", close: ")" },
33
- { open: "'", close: "'", notIn: ["string", "comment"] },
34
- { open: "'''", close: "'''", notIn: ["string", "comment"] }
35
- ],
36
- autoCloseBefore: `:.,=}])'
37
- `,
38
- indentationRules: {
39
- increaseIndentPattern: new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),
40
- decreaseIndentPattern: new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")
41
- }
42
- }, l = {
43
- defaultToken: "",
44
- tokenPostfix: ".bicep",
45
- brackets: [
46
- { open: "{", close: "}", token: "delimiter.curly" },
47
- { open: "[", close: "]", token: "delimiter.square" },
48
- { open: "(", close: ")", token: "delimiter.parenthesis" }
49
- ],
50
- symbols: /[=><!~?:&|+\-*/^%]+/,
51
- keywords: r,
52
- namedLiterals: s,
53
- escapes: "\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",
54
- tokenizer: {
55
- root: [{ include: "@expression" }, { include: "@whitespace" }],
56
- stringVerbatim: [
57
- { regex: "(|'|'')[^']", action: { token: "string" } },
58
- { regex: "'''", action: { token: "string.quote", next: "@pop" } }
59
- ],
60
- stringLiteral: [
61
- { regex: "\\${", action: { token: "delimiter.bracket", next: "@bracketCounting" } },
62
- { regex: "[^\\\\'$]+", action: { token: "string" } },
63
- { regex: "@escapes", action: { token: "string.escape" } },
64
- { regex: "\\\\.", action: { token: "string.escape.invalid" } },
65
- { regex: "'", action: { token: "string", next: "@pop" } }
66
- ],
67
- bracketCounting: [
68
- { regex: "{", action: { token: "delimiter.bracket", next: "@bracketCounting" } },
69
- { regex: "}", action: { token: "delimiter.bracket", next: "@pop" } },
70
- { include: "expression" }
71
- ],
72
- comment: [
73
- { regex: "[^\\*]+", action: { token: "comment" } },
74
- { regex: "\\*\\/", action: { token: "comment", next: "@pop" } },
75
- { regex: "[\\/*]", action: { token: "comment" } }
76
- ],
77
- whitespace: [
78
- { regex: c },
79
- { regex: "\\/\\*", action: { token: "comment", next: "@comment" } },
80
- { regex: "\\/\\/.*$", action: { token: "comment" } }
81
- ],
82
- expression: [
83
- { regex: "'''", action: { token: "string.quote", next: "@stringVerbatim" } },
84
- { regex: "'", action: { token: "string.quote", next: "@stringLiteral" } },
85
- { regex: a, action: { token: "number" } },
86
- {
87
- regex: i,
88
- action: {
89
- cases: {
90
- "@keywords": { token: "keyword" },
91
- "@namedLiterals": { token: "keyword" },
92
- "@default": { token: "identifier" }
93
- }
94
- }
95
- }
96
- ]
97
- }
98
- };
99
- export {
100
- g as conf,
101
- l as language
102
- };