@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
@@ -1,307 +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
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: '"', close: '"', notIn: ["string", "comment"] }
21
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: '"', close: '"' }
27
- ]
28
- }, t = {
29
- // Set defaultToken to invalid to see what you do not tokenize yet
30
- keywords: [
31
- "namespace",
32
- "open",
33
- "import",
34
- "export",
35
- "as",
36
- "operation",
37
- "function",
38
- "body",
39
- "adjoint",
40
- "newtype",
41
- "struct",
42
- "controlled",
43
- "if",
44
- "elif",
45
- "else",
46
- "repeat",
47
- "until",
48
- "fixup",
49
- "for",
50
- "in",
51
- "while",
52
- "return",
53
- "fail",
54
- "within",
55
- "apply",
56
- "Adjoint",
57
- "Controlled",
58
- "Adj",
59
- "Ctl",
60
- "is",
61
- "self",
62
- "auto",
63
- "distribute",
64
- "invert",
65
- "intrinsic",
66
- "let",
67
- "set",
68
- "w/",
69
- "new",
70
- "not",
71
- "and",
72
- "or",
73
- "use",
74
- "borrow",
75
- "using",
76
- "borrowing",
77
- "mutable",
78
- "internal"
79
- ],
80
- typeKeywords: [
81
- "Unit",
82
- "Int",
83
- "BigInt",
84
- "Double",
85
- "Bool",
86
- "String",
87
- "Qubit",
88
- "Result",
89
- "Pauli",
90
- "Range"
91
- ],
92
- invalidKeywords: [
93
- "abstract",
94
- "base",
95
- "bool",
96
- "break",
97
- "byte",
98
- "case",
99
- "catch",
100
- "char",
101
- "checked",
102
- "class",
103
- "const",
104
- "continue",
105
- "decimal",
106
- "default",
107
- "delegate",
108
- "do",
109
- "double",
110
- "enum",
111
- "event",
112
- "explicit",
113
- "extern",
114
- "finally",
115
- "fixed",
116
- "float",
117
- "foreach",
118
- "goto",
119
- "implicit",
120
- "int",
121
- "interface",
122
- "lock",
123
- "long",
124
- "null",
125
- "object",
126
- "operator",
127
- "out",
128
- "override",
129
- "params",
130
- "private",
131
- "protected",
132
- "public",
133
- "readonly",
134
- "ref",
135
- "sbyte",
136
- "sealed",
137
- "short",
138
- "sizeof",
139
- "stackalloc",
140
- "static",
141
- "string",
142
- "switch",
143
- "this",
144
- "throw",
145
- "try",
146
- "typeof",
147
- "unit",
148
- "ulong",
149
- "unchecked",
150
- "unsafe",
151
- "ushort",
152
- "virtual",
153
- "void",
154
- "volatile"
155
- ],
156
- constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
157
- builtin: [
158
- "X",
159
- "Y",
160
- "Z",
161
- "H",
162
- "HY",
163
- "S",
164
- "T",
165
- "SWAP",
166
- "CNOT",
167
- "CCNOT",
168
- "MultiX",
169
- "R",
170
- "RFrac",
171
- "Rx",
172
- "Ry",
173
- "Rz",
174
- "R1",
175
- "R1Frac",
176
- "Exp",
177
- "ExpFrac",
178
- "Measure",
179
- "M",
180
- "MultiM",
181
- "Message",
182
- "Length",
183
- "Assert",
184
- "AssertProb",
185
- "AssertEqual"
186
- ],
187
- operators: [
188
- "and=",
189
- "<-",
190
- "->",
191
- "*",
192
- "*=",
193
- "@",
194
- "!",
195
- "^",
196
- "^=",
197
- ":",
198
- "::",
199
- ".",
200
- "..",
201
- "==",
202
- "...",
203
- "=",
204
- "=>",
205
- ">",
206
- ">=",
207
- "<",
208
- "<=",
209
- "-",
210
- "-=",
211
- "!=",
212
- "or=",
213
- "%",
214
- "%=",
215
- "|",
216
- "+",
217
- "+=",
218
- "?",
219
- "/",
220
- "/=",
221
- "&&&",
222
- "&&&=",
223
- "^^^",
224
- "^^^=",
225
- ">>>",
226
- ">>>=",
227
- "<<<",
228
- "<<<=",
229
- "|||",
230
- "|||=",
231
- "~~~",
232
- "_",
233
- "w/",
234
- "w/="
235
- ],
236
- namespaceFollows: ["namespace", "open"],
237
- importsFollows: ["import"],
238
- symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
239
- escapes: /\\[\s\S]/,
240
- // The main tokenizer for our languages
241
- tokenizer: {
242
- root: [
243
- // identifiers and keywords
244
- [
245
- /[a-zA-Z_$][\w$]*/,
246
- {
247
- cases: {
248
- "@namespaceFollows": {
249
- token: "keyword.$0",
250
- next: "@namespace"
251
- },
252
- "@importsFollows": {
253
- token: "keyword.$0",
254
- next: "@imports"
255
- },
256
- "@typeKeywords": "type",
257
- "@keywords": "keyword",
258
- "@constants": "constant",
259
- "@builtin": "keyword",
260
- "@invalidKeywords": "invalid",
261
- "@default": "identifier"
262
- }
263
- }
264
- ],
265
- // whitespace
266
- { include: "@whitespace" },
267
- // delimiters and operators
268
- [/[{}()\[\]]/, "@brackets"],
269
- [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
270
- // numbers
271
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
272
- [/\d+/, "number"],
273
- // delimiter: after number because of .\d floats
274
- [/[;,.]/, "delimiter"],
275
- // strings
276
- //[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-terminated string
277
- [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
278
- ],
279
- string: [
280
- [/[^\\"]+/, "string"],
281
- [/@escapes/, "string.escape"],
282
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
283
- ],
284
- namespace: [
285
- { include: "@whitespace" },
286
- [/[A-Za-z]\w*/, "namespace"],
287
- [/[\.]/, "delimiter"],
288
- ["", "", "@pop"]
289
- ],
290
- imports: [
291
- { include: "@whitespace" },
292
- [/[A-Za-z]\w*(?=\.)/, "namespace"],
293
- [/[A-Za-z]\w*/, "identifier"],
294
- [/\*/, "wildcard"],
295
- [/[\.,]/, "delimiter"],
296
- ["", "", "@pop"]
297
- ],
298
- whitespace: [
299
- [/[ \t\r\n]+/, "white"],
300
- [/(\/\/).*/, "comment"]
301
- ]
302
- }
303
- };
304
- export {
305
- e as conf,
306
- t as language
307
- };
package/r-BTwZKg_d.js DELETED
@@ -1,249 +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
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: '"', close: '"' }
21
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: '"', close: '"' }
27
- ]
28
- }, o = {
29
- defaultToken: "",
30
- tokenPostfix: ".r",
31
- roxygen: [
32
- "@alias",
33
- "@aliases",
34
- "@assignee",
35
- "@author",
36
- "@backref",
37
- "@callGraph",
38
- "@callGraphDepth",
39
- "@callGraphPrimitives",
40
- "@concept",
41
- "@describeIn",
42
- "@description",
43
- "@details",
44
- "@docType",
45
- "@encoding",
46
- "@evalNamespace",
47
- "@evalRd",
48
- "@example",
49
- "@examples",
50
- "@export",
51
- "@exportClass",
52
- "@exportMethod",
53
- "@exportPattern",
54
- "@family",
55
- "@field",
56
- "@formals",
57
- "@format",
58
- "@import",
59
- "@importClassesFrom",
60
- "@importFrom",
61
- "@importMethodsFrom",
62
- "@include",
63
- "@inherit",
64
- "@inheritDotParams",
65
- "@inheritParams",
66
- "@inheritSection",
67
- "@keywords",
68
- "@md",
69
- "@method",
70
- "@name",
71
- "@noMd",
72
- "@noRd",
73
- "@note",
74
- "@param",
75
- "@rawNamespace",
76
- "@rawRd",
77
- "@rdname",
78
- "@references",
79
- "@return",
80
- "@S3method",
81
- "@section",
82
- "@seealso",
83
- "@setClass",
84
- "@slot",
85
- "@source",
86
- "@template",
87
- "@templateVar",
88
- "@title",
89
- "@TODO",
90
- "@usage",
91
- "@useDynLib"
92
- ],
93
- constants: [
94
- "NULL",
95
- "FALSE",
96
- "TRUE",
97
- "NA",
98
- "Inf",
99
- "NaN",
100
- "NA_integer_",
101
- "NA_real_",
102
- "NA_complex_",
103
- "NA_character_",
104
- "T",
105
- "F",
106
- "LETTERS",
107
- "letters",
108
- "month.abb",
109
- "month.name",
110
- "pi",
111
- "R.version.string"
112
- ],
113
- keywords: [
114
- "break",
115
- "next",
116
- "return",
117
- "if",
118
- "else",
119
- "for",
120
- "in",
121
- "repeat",
122
- "while",
123
- "array",
124
- "category",
125
- "character",
126
- "complex",
127
- "double",
128
- "function",
129
- "integer",
130
- "list",
131
- "logical",
132
- "matrix",
133
- "numeric",
134
- "vector",
135
- "data.frame",
136
- "factor",
137
- "library",
138
- "require",
139
- "attach",
140
- "detach",
141
- "source"
142
- ],
143
- special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
144
- brackets: [
145
- { open: "{", close: "}", token: "delimiter.curly" },
146
- { open: "[", close: "]", token: "delimiter.bracket" },
147
- { open: "(", close: ")", token: "delimiter.parenthesis" }
148
- ],
149
- tokenizer: {
150
- root: [
151
- { include: "@numbers" },
152
- { include: "@strings" },
153
- [/[{}\[\]()]/, "@brackets"],
154
- { include: "@operators" },
155
- [/#'$/, "comment.doc"],
156
- [/#'/, "comment.doc", "@roxygen"],
157
- [/(^#.*$)/, "comment"],
158
- [/\s+/, "white"],
159
- [/[,:;]/, "delimiter"],
160
- [/@[a-zA-Z]\w*/, "tag"],
161
- [
162
- /[a-zA-Z]\w*/,
163
- {
164
- cases: {
165
- "@keywords": "keyword",
166
- "@constants": "constant",
167
- "@default": "identifier"
168
- }
169
- }
170
- ]
171
- ],
172
- // Recognize Roxygen comments
173
- roxygen: [
174
- [
175
- /@\w+/,
176
- {
177
- cases: {
178
- "@roxygen": "tag",
179
- "@eos": { token: "comment.doc", next: "@pop" },
180
- "@default": "comment.doc"
181
- }
182
- }
183
- ],
184
- [
185
- /\s+/,
186
- {
187
- cases: {
188
- "@eos": { token: "comment.doc", next: "@pop" },
189
- "@default": "comment.doc"
190
- }
191
- }
192
- ],
193
- [/.*/, { token: "comment.doc", next: "@pop" }]
194
- ],
195
- // Recognize positives, negatives, decimals, imaginaries, and scientific notation
196
- numbers: [
197
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
198
- [/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
199
- ],
200
- // Recognize operators
201
- operators: [
202
- [/<{1,2}-/, "operator"],
203
- [/->{1,2}/, "operator"],
204
- [/%[^%\s]+%/, "operator"],
205
- [/\*\*/, "operator"],
206
- [/%%/, "operator"],
207
- [/&&/, "operator"],
208
- [/\|\|/, "operator"],
209
- [/<</, "operator"],
210
- [/>>/, "operator"],
211
- [/[-+=&|!<>^~*/:$]/, "operator"]
212
- ],
213
- // Recognize strings, including those broken across lines
214
- strings: [
215
- [/'/, "string.escape", "@stringBody"],
216
- [/"/, "string.escape", "@dblStringBody"]
217
- ],
218
- stringBody: [
219
- [
220
- /\\./,
221
- {
222
- cases: {
223
- "@special": "string",
224
- "@default": "error-token"
225
- }
226
- }
227
- ],
228
- [/'/, "string.escape", "@popall"],
229
- [/./, "string"]
230
- ],
231
- dblStringBody: [
232
- [
233
- /\\./,
234
- {
235
- cases: {
236
- "@special": "string",
237
- "@default": "error-token"
238
- }
239
- }
240
- ],
241
- [/"/, "string.escape", "@popall"],
242
- [/./, "string"]
243
- ]
244
- }
245
- };
246
- export {
247
- e as conf,
248
- o as language
249
- };