@ansible/ansible-ui-framework 2.4.2597 → 2.4.2599

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/index.js +44791 -148
  2. package/index.umd.cjs +258 -2173
  3. package/package.json +8 -6
  4. package/publish/index.d.ts +337 -148
  5. package/style.css +1 -1
  6. package/abap-BgxiW-yv.js +0 -1404
  7. package/apex-Ci_BavZh.js +0 -332
  8. package/assets/editor.worker-BKD3YLiN.js +0 -12
  9. package/assets/json.worker-D1dAtg0Q.js +0 -49
  10. package/assets/yaml.worker-DS47KmSZ.js +0 -476
  11. package/azcli-dfO4wGjy.js +0 -74
  12. package/bat-DD810Xk_.js +0 -106
  13. package/bicep-8OENIIxl.js +0 -108
  14. package/cameligo-NqPxsDwa.js +0 -180
  15. package/clojure-DuHkQIc1.js +0 -767
  16. package/coffee-B3cpF2mL.js +0 -238
  17. package/cpp-BJvlC8pp.js +0 -395
  18. package/csharp-B-mepg9G.js +0 -332
  19. package/csp-CZDIWMVF.js +0 -59
  20. package/css-CLWUu9O1.js +0 -193
  21. package/cssMode-BW_EgCuT.js +0 -1577
  22. package/cypher-DaPSdc0H.js +0 -269
  23. package/dart-Do9iT_o8.js +0 -287
  24. package/dockerfile-CbJBIDss.js +0 -136
  25. package/ecl-BqVPFR32.js +0 -462
  26. package/elixir-D1QTcrNJ.js +0 -575
  27. package/flow9-8noNFj4g.js +0 -148
  28. package/freemarker2-CZroC-2x.js +0 -995
  29. package/fsharp-C8jetu08.js +0 -223
  30. package/go-CwkaVtEf.js +0 -224
  31. package/graphql-CN0L02lB.js +0 -157
  32. package/handlebars-DdZaSSq2.js +0 -425
  33. package/hcl-B8DTUjkt.js +0 -189
  34. package/html-BStYWvMR.js +0 -314
  35. package/htmlMode-BZ30jslh.js +0 -1587
  36. package/index-_bG9dmst.js +0 -157805
  37. package/ini-BAHk9dez.js +0 -77
  38. package/java-BqU7F-WC.js +0 -238
  39. package/javascript-R1fkmvzs.js +0 -76
  40. package/jsonMode-B3D-ZZhn.js +0 -2002
  41. package/julia-7wzAFYJ_.js +0 -517
  42. package/kotlin-Ds6t9yxb.js +0 -259
  43. package/less-BsKXqSGe.js +0 -168
  44. package/lexon-CxjeM0Fy.js +0 -163
  45. package/liquid-COCYG7jZ.js +0 -246
  46. package/lua-CZeocWyu.js +0 -168
  47. package/m3-DrAa334y.js +0 -216
  48. package/markdown-BKScSdMX.js +0 -235
  49. package/mdx-CnriKNQ4.js +0 -171
  50. package/mips-C2kxK_Lk.js +0 -204
  51. package/msdax-CV-iM8Y9.js +0 -381
  52. package/mysql-0UKhlzQO.js +0 -884
  53. package/objective-c-CbKhSCGr.js +0 -189
  54. package/pascal-CP-K8RTj.js +0 -257
  55. package/pascaligo-DNS345Ec.js +0 -170
  56. package/perl-CU_O2Ux7.js +0 -632
  57. package/pgsql-CvE830Au.js +0 -857
  58. package/php-BvwPLbR6.js +0 -506
  59. package/pla-DJ8gwRb5.js +0 -143
  60. package/postiats-CGZof9No.js +0 -913
  61. package/powerquery-C7bI8brw.js +0 -896
  62. package/powershell-CmptSHHa.js +0 -245
  63. package/protobuf-CNFSy7mI.js +0 -426
  64. package/publish/abap-BgxiW-yv.d.ts +0 -63
  65. package/publish/apex-Ci_BavZh.d.ts +0 -65
  66. package/publish/assets/editor.worker-BKD3YLiN.d.ts +0 -0
  67. package/publish/assets/json.worker-D1dAtg0Q.d.ts +0 -3
  68. package/publish/assets/yaml.worker-DS47KmSZ.d.ts +0 -3
  69. package/publish/azcli-dfO4wGjy.d.ts +0 -47
  70. package/publish/bat-DD810Xk_.d.ts +0 -57
  71. package/publish/bicep-8OENIIxl.d.ts +0 -146
  72. package/publish/cameligo-NqPxsDwa.d.ts +0 -55
  73. package/publish/clojure-DuHkQIc1.d.ts +0 -50
  74. package/publish/coffee-B3cpF2mL.d.ts +0 -102
  75. package/publish/cpp-BJvlC8pp.d.ts +0 -83
  76. package/publish/csharp-B-mepg9G.d.ts +0 -113
  77. package/publish/csp-CZDIWMVF.d.ts +0 -17
  78. package/publish/css-CLWUu9O1.d.ts +0 -144
  79. package/publish/cssMode-BW_EgCuT.d.ts +0 -130
  80. package/publish/cypher-DaPSdc0H.d.ts +0 -65
  81. package/publish/dart-Do9iT_o8.d.ts +0 -83
  82. package/publish/dockerfile-CbJBIDss.d.ts +0 -73
  83. package/publish/ecl-BqVPFR32.d.ts +0 -60
  84. package/publish/elixir-D1QTcrNJ.d.ts +0 -307
  85. package/publish/flow9-8noNFj4g.d.ts +0 -45
  86. package/publish/freemarker2-CZroC-2x.d.ts +0 -1543
  87. package/publish/fsharp-C8jetu08.d.ts +0 -61
  88. package/publish/go-CwkaVtEf.d.ts +0 -51
  89. package/publish/graphql-CN0L02lB.d.ts +0 -75
  90. package/publish/handlebars-DdZaSSq2.d.ts +0 -176
  91. package/publish/hcl-B8DTUjkt.d.ts +0 -77
  92. package/publish/html-BStYWvMR.d.ts +0 -129
  93. package/publish/htmlMode-BZ30jslh.d.ts +0 -131
  94. package/publish/index-_bG9dmst.d.ts +0 -2914
  95. package/publish/ini-BAHk9dez.d.ts +0 -35
  96. package/publish/java-BqU7F-WC.d.ts +0 -57
  97. package/publish/javascript-R1fkmvzs.d.ts +0 -111
  98. package/publish/jsonMode-B3D-ZZhn.d.ts +0 -131
  99. package/publish/julia-7wzAFYJ_.d.ts +0 -92
  100. package/publish/kotlin-Ds6t9yxb.d.ts +0 -57
  101. package/publish/less-BsKXqSGe.d.ts +0 -88
  102. package/publish/lexon-CxjeM0Fy.d.ts +0 -81
  103. package/publish/liquid-COCYG7jZ.d.ts +0 -73
  104. package/publish/lua-CZeocWyu.d.ts +0 -66
  105. package/publish/m3-DrAa334y.d.ts +0 -63
  106. package/publish/markdown-BKScSdMX.d.ts +0 -129
  107. package/publish/mdx-CnriKNQ4.d.ts +0 -139
  108. package/publish/mips-C2kxK_Lk.d.ts +0 -79
  109. package/publish/msdax-CV-iM8Y9.d.ts +0 -68
  110. package/publish/mysql-0UKhlzQO.d.ts +0 -76
  111. package/publish/objective-c-CbKhSCGr.d.ts +0 -46
  112. package/publish/pascal-CP-K8RTj.d.ts +0 -62
  113. package/publish/pascaligo-DNS345Ec.d.ts +0 -55
  114. package/publish/perl-CU_O2Ux7.d.ts +0 -116
  115. package/publish/pgsql-CvE830Au.d.ts +0 -80
  116. package/publish/php-BvwPLbR6.d.ts +0 -193
  117. package/publish/pla-DJ8gwRb5.d.ts +0 -71
  118. package/publish/postiats-CGZof9No.d.ts +0 -212
  119. package/publish/powerquery-C7bI8brw.d.ts +0 -63
  120. package/publish/powershell-CmptSHHa.d.ts +0 -119
  121. package/publish/protobuf-CNFSy7mI.d.ts +0 -364
  122. package/publish/pug-CzItlbqs.d.ts +0 -170
  123. package/publish/python-8vPuu566.d.ts +0 -65
  124. package/publish/qsharp-C1B8howk.d.ts +0 -75
  125. package/publish/r-BTwZKg_d.d.ts +0 -77
  126. package/publish/razor-CtOmeuwi.d.ts +0 -194
  127. package/publish/redis-BUv7CvJd.d.ts +0 -63
  128. package/publish/redshift-jrBDFghq.d.ts +0 -80
  129. package/publish/restructuredtext-BxbR-VyS.d.ts +0 -69
  130. package/publish/ruby-B0TfnHZH.d.ts +0 -239
  131. package/publish/rust-D_saCUFK.d.ts +0 -94
  132. package/publish/sb-DcgiWk7t.d.ts +0 -54
  133. package/publish/scala-BfLWIEFR.d.ts +0 -135
  134. package/publish/scheme-CZaOrAgo.d.ts +0 -46
  135. package/publish/scss-Du10_18v.d.ts +0 -220
  136. package/publish/shell-D1p7ZuXl.d.ts +0 -53
  137. package/publish/solidity-DzIDOgno.d.ts +0 -50
  138. package/publish/sophia-BU-qT3RS.d.ts +0 -50
  139. package/publish/sparql-DVtIp1VH.d.ts +0 -47
  140. package/publish/sql-1GwNodTS.d.ts +0 -86
  141. package/publish/st-DPXgTepQ.d.ts +0 -87
  142. package/publish/swift-ZhwunzBf.d.ts +0 -80
  143. package/publish/systemverilog-CVvtzxud.d.ts +0 -109
  144. package/publish/tcl-CYCJd6bV.d.ts +0 -87
  145. package/publish/tsMode-BSdN2klD.d.ts +0 -436
  146. package/publish/twig-JIfYOL6u.d.ts +0 -135
  147. package/publish/typescript-DWjYWuYm.d.ts +0 -110
  148. package/publish/typespec-BH4BOGFR.d.ts +0 -146
  149. package/publish/vb-6Rp6KK9h.d.ts +0 -60
  150. package/publish/wgsl-kJTvkQmx.d.ts +0 -72
  151. package/publish/xml-BqVRyB3K.d.ts +0 -72
  152. package/publish/yaml-DEH8xqyy.d.ts +0 -87
  153. package/pug-CzItlbqs.js +0 -408
  154. package/python-8vPuu566.js +0 -307
  155. package/qsharp-C1B8howk.js +0 -307
  156. package/r-BTwZKg_d.js +0 -249
  157. package/razor-CtOmeuwi.js +0 -556
  158. package/redis-BUv7CvJd.js +0 -308
  159. package/redshift-jrBDFghq.js +0 -815
  160. package/restructuredtext-BxbR-VyS.js +0 -180
  161. package/ruby-B0TfnHZH.js +0 -517
  162. package/rust-D_saCUFK.js +0 -349
  163. package/sb-DcgiWk7t.js +0 -121
  164. package/scala-BfLWIEFR.js +0 -376
  165. package/scheme-CZaOrAgo.js +0 -114
  166. package/scss-Du10_18v.js +0 -268
  167. package/shell-D1p7ZuXl.js +0 -227
  168. package/solidity-DzIDOgno.js +0 -1373
  169. package/sophia-BU-qT3RS.js +0 -205
  170. package/sparql-DVtIp1VH.js +0 -207
  171. package/sql-1GwNodTS.js +0 -859
  172. package/st-DPXgTepQ.js +0 -422
  173. package/swift-ZhwunzBf.js +0 -318
  174. package/systemverilog-CVvtzxud.js +0 -582
  175. package/tcl-CYCJd6bV.js +0 -238
  176. package/tsMode-BSdN2klD.js +0 -895
  177. package/twig-JIfYOL6u.js +0 -398
  178. package/typescript-DWjYWuYm.js +0 -349
  179. package/typespec-BH4BOGFR.js +0 -123
  180. package/vb-6Rp6KK9h.js +0 -378
  181. package/wgsl-kJTvkQmx.js +0 -445
  182. package/xml-BqVRyB3K.js +0 -101
  183. package/yaml-DEH8xqyy.js +0 -212
package/rust-D_saCUFK.js DELETED
@@ -1,349 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- lineComment: "//",
10
- blockComment: ["/*", "*/"]
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"]
16
- ],
17
- autoClosingPairs: [
18
- { open: "[", close: "]" },
19
- { open: "{", close: "}" },
20
- { open: "(", close: ")" },
21
- { open: '"', close: '"', notIn: ["string"] }
22
- ],
23
- surroundingPairs: [
24
- { open: "{", close: "}" },
25
- { open: "[", close: "]" },
26
- { open: "(", close: ")" },
27
- { open: '"', close: '"' },
28
- { open: "'", close: "'" }
29
- ],
30
- folding: {
31
- markers: {
32
- start: new RegExp("^\\s*#pragma\\s+region\\b"),
33
- end: new RegExp("^\\s*#pragma\\s+endregion\\b")
34
- }
35
- }
36
- }, t = {
37
- tokenPostfix: ".rust",
38
- defaultToken: "invalid",
39
- keywords: [
40
- "as",
41
- "async",
42
- "await",
43
- "box",
44
- "break",
45
- "const",
46
- "continue",
47
- "crate",
48
- "dyn",
49
- "else",
50
- "enum",
51
- "extern",
52
- "false",
53
- "fn",
54
- "for",
55
- "if",
56
- "impl",
57
- "in",
58
- "let",
59
- "loop",
60
- "match",
61
- "mod",
62
- "move",
63
- "mut",
64
- "pub",
65
- "ref",
66
- "return",
67
- "self",
68
- "static",
69
- "struct",
70
- "super",
71
- "trait",
72
- "true",
73
- "try",
74
- "type",
75
- "unsafe",
76
- "use",
77
- "where",
78
- "while",
79
- "catch",
80
- "default",
81
- "union",
82
- "static",
83
- "abstract",
84
- "alignof",
85
- "become",
86
- "do",
87
- "final",
88
- "macro",
89
- "offsetof",
90
- "override",
91
- "priv",
92
- "proc",
93
- "pure",
94
- "sizeof",
95
- "typeof",
96
- "unsized",
97
- "virtual",
98
- "yield"
99
- ],
100
- typeKeywords: [
101
- "Self",
102
- "m32",
103
- "m64",
104
- "m128",
105
- "f80",
106
- "f16",
107
- "f128",
108
- "int",
109
- "uint",
110
- "float",
111
- "char",
112
- "bool",
113
- "u8",
114
- "u16",
115
- "u32",
116
- "u64",
117
- "f32",
118
- "f64",
119
- "i8",
120
- "i16",
121
- "i32",
122
- "i64",
123
- "str",
124
- "Option",
125
- "Either",
126
- "c_float",
127
- "c_double",
128
- "c_void",
129
- "FILE",
130
- "fpos_t",
131
- "DIR",
132
- "dirent",
133
- "c_char",
134
- "c_schar",
135
- "c_uchar",
136
- "c_short",
137
- "c_ushort",
138
- "c_int",
139
- "c_uint",
140
- "c_long",
141
- "c_ulong",
142
- "size_t",
143
- "ptrdiff_t",
144
- "clock_t",
145
- "time_t",
146
- "c_longlong",
147
- "c_ulonglong",
148
- "intptr_t",
149
- "uintptr_t",
150
- "off_t",
151
- "dev_t",
152
- "ino_t",
153
- "pid_t",
154
- "mode_t",
155
- "ssize_t"
156
- ],
157
- constants: ["true", "false", "Some", "None", "Left", "Right", "Ok", "Err"],
158
- supportConstants: [
159
- "EXIT_FAILURE",
160
- "EXIT_SUCCESS",
161
- "RAND_MAX",
162
- "EOF",
163
- "SEEK_SET",
164
- "SEEK_CUR",
165
- "SEEK_END",
166
- "_IOFBF",
167
- "_IONBF",
168
- "_IOLBF",
169
- "BUFSIZ",
170
- "FOPEN_MAX",
171
- "FILENAME_MAX",
172
- "L_tmpnam",
173
- "TMP_MAX",
174
- "O_RDONLY",
175
- "O_WRONLY",
176
- "O_RDWR",
177
- "O_APPEND",
178
- "O_CREAT",
179
- "O_EXCL",
180
- "O_TRUNC",
181
- "S_IFIFO",
182
- "S_IFCHR",
183
- "S_IFBLK",
184
- "S_IFDIR",
185
- "S_IFREG",
186
- "S_IFMT",
187
- "S_IEXEC",
188
- "S_IWRITE",
189
- "S_IREAD",
190
- "S_IRWXU",
191
- "S_IXUSR",
192
- "S_IWUSR",
193
- "S_IRUSR",
194
- "F_OK",
195
- "R_OK",
196
- "W_OK",
197
- "X_OK",
198
- "STDIN_FILENO",
199
- "STDOUT_FILENO",
200
- "STDERR_FILENO"
201
- ],
202
- supportMacros: [
203
- "format!",
204
- "print!",
205
- "println!",
206
- "panic!",
207
- "format_args!",
208
- "unreachable!",
209
- "write!",
210
- "writeln!"
211
- ],
212
- operators: [
213
- "!",
214
- "!=",
215
- "%",
216
- "%=",
217
- "&",
218
- "&=",
219
- "&&",
220
- "*",
221
- "*=",
222
- "+",
223
- "+=",
224
- "-",
225
- "-=",
226
- "->",
227
- ".",
228
- "..",
229
- "...",
230
- "/",
231
- "/=",
232
- ":",
233
- ";",
234
- "<<",
235
- "<<=",
236
- "<",
237
- "<=",
238
- "=",
239
- "==",
240
- "=>",
241
- ">",
242
- ">=",
243
- ">>",
244
- ">>=",
245
- "@",
246
- "^",
247
- "^=",
248
- "|",
249
- "|=",
250
- "||",
251
- "_",
252
- "?",
253
- "#"
254
- ],
255
- escapes: /\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,
256
- delimiters: /[,]/,
257
- symbols: /[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,
258
- intSuffixes: /[iu](8|16|32|64|128|size)/,
259
- floatSuffixes: /f(32|64)/,
260
- tokenizer: {
261
- root: [
262
- // Raw string literals
263
- [/r(#*)"/, { token: "string.quote", bracket: "@open", next: "@stringraw.$1" }],
264
- [
265
- /[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,
266
- {
267
- cases: {
268
- "@typeKeywords": "keyword.type",
269
- "@keywords": "keyword",
270
- "@supportConstants": "keyword",
271
- "@supportMacros": "keyword",
272
- "@constants": "keyword",
273
- "@default": "identifier"
274
- }
275
- }
276
- ],
277
- // Designator
278
- [/\$/, "identifier"],
279
- // Lifetime annotations
280
- [/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/, "identifier"],
281
- // Byte literal
282
- [/'(\S|@escapes)'/, "string.byteliteral"],
283
- // Strings
284
- [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
285
- { include: "@numbers" },
286
- // Whitespace + comments
287
- { include: "@whitespace" },
288
- [
289
- /@delimiters/,
290
- {
291
- cases: {
292
- "@keywords": "keyword",
293
- "@default": "delimiter"
294
- }
295
- }
296
- ],
297
- [/[{}()\[\]<>]/, "@brackets"],
298
- [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }]
299
- ],
300
- whitespace: [
301
- [/[ \t\r\n]+/, "white"],
302
- [/\/\*/, "comment", "@comment"],
303
- [/\/\/.*$/, "comment"]
304
- ],
305
- comment: [
306
- [/[^\/*]+/, "comment"],
307
- [/\/\*/, "comment", "@push"],
308
- ["\\*/", "comment", "@pop"],
309
- [/[\/*]/, "comment"]
310
- ],
311
- string: [
312
- [/[^\\"]+/, "string"],
313
- [/@escapes/, "string.escape"],
314
- [/\\./, "string.escape.invalid"],
315
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
316
- ],
317
- stringraw: [
318
- [/[^"#]+/, { token: "string" }],
319
- [
320
- /"(#*)/,
321
- {
322
- cases: {
323
- "$1==$S2": { token: "string.quote", bracket: "@close", next: "@pop" },
324
- "@default": { token: "string" }
325
- }
326
- }
327
- ],
328
- [/["#]/, { token: "string" }]
329
- ],
330
- numbers: [
331
- //Octal
332
- [/(0o[0-7_]+)(@intSuffixes)?/, { token: "number" }],
333
- //Binary
334
- [/(0b[0-1_]+)(@intSuffixes)?/, { token: "number" }],
335
- //Exponent
336
- [/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/, { token: "number" }],
337
- //Float
338
- [/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/, { token: "number" }],
339
- //Hexadecimal
340
- [/(0x[\da-fA-F]+)_?(@intSuffixes)?/, { token: "number" }],
341
- //Integer
342
- [/[\d][\d_]*(@intSuffixes?)?/, { token: "number" }]
343
- ]
344
- }
345
- };
346
- export {
347
- e as conf,
348
- t as language
349
- };
package/sb-DcgiWk7t.js DELETED
@@ -1,121 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- lineComment: "'"
10
- },
11
- brackets: [
12
- ["(", ")"],
13
- ["[", "]"],
14
- ["If", "EndIf"],
15
- ["While", "EndWhile"],
16
- ["For", "EndFor"],
17
- ["Sub", "EndSub"]
18
- ],
19
- autoClosingPairs: [
20
- { open: '"', close: '"', notIn: ["string", "comment"] },
21
- { open: "(", close: ")", notIn: ["string", "comment"] },
22
- { open: "[", close: "]", notIn: ["string", "comment"] }
23
- ]
24
- }, o = {
25
- defaultToken: "",
26
- tokenPostfix: ".sb",
27
- ignoreCase: !0,
28
- brackets: [
29
- { token: "delimiter.array", open: "[", close: "]" },
30
- { token: "delimiter.parenthesis", open: "(", close: ")" },
31
- // Special bracket statement pairs
32
- { token: "keyword.tag-if", open: "If", close: "EndIf" },
33
- { token: "keyword.tag-while", open: "While", close: "EndWhile" },
34
- { token: "keyword.tag-for", open: "For", close: "EndFor" },
35
- { token: "keyword.tag-sub", open: "Sub", close: "EndSub" }
36
- ],
37
- keywords: [
38
- "Else",
39
- "ElseIf",
40
- "EndFor",
41
- "EndIf",
42
- "EndSub",
43
- "EndWhile",
44
- "For",
45
- "Goto",
46
- "If",
47
- "Step",
48
- "Sub",
49
- "Then",
50
- "To",
51
- "While"
52
- ],
53
- tagwords: ["If", "Sub", "While", "For"],
54
- operators: [">", "<", "<>", "<=", ">=", "And", "Or", "+", "-", "*", "/", "="],
55
- // we include these common regular expressions
56
- identifier: /[a-zA-Z_][\w]*/,
57
- symbols: /[=><:+\-*\/%\.,]+/,
58
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
59
- // The main tokenizer for our languages
60
- tokenizer: {
61
- root: [
62
- // whitespace
63
- { include: "@whitespace" },
64
- // classes
65
- [/(@identifier)(?=[.])/, "type"],
66
- // identifiers, tagwords, and keywords
67
- [
68
- /@identifier/,
69
- {
70
- cases: {
71
- "@keywords": { token: "keyword.$0" },
72
- "@operators": "operator",
73
- "@default": "variable.name"
74
- }
75
- }
76
- ],
77
- // methods, properties, and events
78
- [
79
- /([.])(@identifier)/,
80
- {
81
- cases: {
82
- $2: ["delimiter", "type.member"],
83
- "@default": ""
84
- }
85
- }
86
- ],
87
- // numbers
88
- [/\d*\.\d+/, "number.float"],
89
- [/\d+/, "number"],
90
- // delimiters and operators
91
- [/[()\[\]]/, "@brackets"],
92
- [
93
- /@symbols/,
94
- {
95
- cases: {
96
- "@operators": "operator",
97
- "@default": "delimiter"
98
- }
99
- }
100
- ],
101
- // strings
102
- [/"([^"\\]|\\.)*$/, "string.invalid"],
103
- // non-teminated string
104
- [/"/, "string", "@string"]
105
- ],
106
- whitespace: [
107
- [/[ \t\r\n]+/, ""],
108
- [/(\').*$/, "comment"]
109
- ],
110
- string: [
111
- [/[^\\"]+/, "string"],
112
- [/@escapes/, "string.escape"],
113
- [/\\./, "string.escape.invalid"],
114
- [/"C?/, "string", "@pop"]
115
- ]
116
- }
117
- };
118
- export {
119
- e as conf,
120
- o as language
121
- };