@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/php-BvwPLbR6.js DELETED
@@ -1,506 +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
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
- comments: {
10
- lineComment: "//",
11
- blockComment: ["/*", "*/"]
12
- },
13
- brackets: [
14
- ["{", "}"],
15
- ["[", "]"],
16
- ["(", ")"]
17
- ],
18
- autoClosingPairs: [
19
- { open: "{", close: "}", notIn: ["string"] },
20
- { open: "[", close: "]", notIn: ["string"] },
21
- { open: "(", close: ")", notIn: ["string"] },
22
- { open: '"', close: '"', notIn: ["string"] },
23
- { open: "'", close: "'", notIn: ["string", "comment"] }
24
- ],
25
- folding: {
26
- markers: {
27
- start: new RegExp("^\\s*(#|//)region\\b"),
28
- end: new RegExp("^\\s*(#|//)endregion\\b")
29
- }
30
- }
31
- }, t = {
32
- defaultToken: "",
33
- tokenPostfix: "",
34
- // ignoreCase: true,
35
- // The main tokenizer for our languages
36
- tokenizer: {
37
- root: [
38
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
39
- [/<!DOCTYPE/, "metatag.html", "@doctype"],
40
- [/<!--/, "comment.html", "@comment"],
41
- [/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
42
- [/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
43
- [/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
44
- [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
45
- [/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
46
- [/</, "delimiter.html"],
47
- [/[^<]+/]
48
- // text
49
- ],
50
- doctype: [
51
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
52
- [/[^>]+/, "metatag.content.html"],
53
- [/>/, "metatag.html", "@pop"]
54
- ],
55
- comment: [
56
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
57
- [/-->/, "comment.html", "@pop"],
58
- [/[^-]+/, "comment.content.html"],
59
- [/./, "comment.content.html"]
60
- ],
61
- otherTag: [
62
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.otherTag" }],
63
- [/\/?>/, "delimiter.html", "@pop"],
64
- [/"([^"]*)"/, "attribute.value"],
65
- [/'([^']*)'/, "attribute.value"],
66
- [/[\w\-]+/, "attribute.name"],
67
- [/=/, "delimiter"],
68
- [/[ \t\r\n]+/]
69
- // whitespace
70
- ],
71
- // -- BEGIN <script> tags handling
72
- // After <script
73
- script: [
74
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
75
- [/type/, "attribute.name", "@scriptAfterType"],
76
- [/"([^"]*)"/, "attribute.value"],
77
- [/'([^']*)'/, "attribute.value"],
78
- [/[\w\-]+/, "attribute.name"],
79
- [/=/, "delimiter"],
80
- [
81
- />/,
82
- {
83
- token: "delimiter.html",
84
- next: "@scriptEmbedded.text/javascript",
85
- nextEmbedded: "text/javascript"
86
- }
87
- ],
88
- [/[ \t\r\n]+/],
89
- // whitespace
90
- [
91
- /(<\/)(script\s*)(>)/,
92
- ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
93
- ]
94
- ],
95
- // After <script ... type
96
- scriptAfterType: [
97
- [
98
- /<\?((php)|=)?/,
99
- {
100
- token: "@rematch",
101
- switchTo: "@phpInSimpleState.scriptAfterType"
102
- }
103
- ],
104
- [/=/, "delimiter", "@scriptAfterTypeEquals"],
105
- [
106
- />/,
107
- {
108
- token: "delimiter.html",
109
- next: "@scriptEmbedded.text/javascript",
110
- nextEmbedded: "text/javascript"
111
- }
112
- ],
113
- // cover invalid e.g. <script type>
114
- [/[ \t\r\n]+/],
115
- // whitespace
116
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
117
- ],
118
- // After <script ... type =
119
- scriptAfterTypeEquals: [
120
- [
121
- /<\?((php)|=)?/,
122
- {
123
- token: "@rematch",
124
- switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
125
- }
126
- ],
127
- [
128
- /"([^"]*)"/,
129
- {
130
- token: "attribute.value",
131
- switchTo: "@scriptWithCustomType.$1"
132
- }
133
- ],
134
- [
135
- /'([^']*)'/,
136
- {
137
- token: "attribute.value",
138
- switchTo: "@scriptWithCustomType.$1"
139
- }
140
- ],
141
- [
142
- />/,
143
- {
144
- token: "delimiter.html",
145
- next: "@scriptEmbedded.text/javascript",
146
- nextEmbedded: "text/javascript"
147
- }
148
- ],
149
- // cover invalid e.g. <script type=>
150
- [/[ \t\r\n]+/],
151
- // whitespace
152
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
153
- ],
154
- // After <script ... type = $S2
155
- scriptWithCustomType: [
156
- [
157
- /<\?((php)|=)?/,
158
- {
159
- token: "@rematch",
160
- switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
161
- }
162
- ],
163
- [
164
- />/,
165
- {
166
- token: "delimiter.html",
167
- next: "@scriptEmbedded.$S2",
168
- nextEmbedded: "$S2"
169
- }
170
- ],
171
- [/"([^"]*)"/, "attribute.value"],
172
- [/'([^']*)'/, "attribute.value"],
173
- [/[\w\-]+/, "attribute.name"],
174
- [/=/, "delimiter"],
175
- [/[ \t\r\n]+/],
176
- // whitespace
177
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
178
- ],
179
- scriptEmbedded: [
180
- [
181
- /<\?((php)|=)?/,
182
- {
183
- token: "@rematch",
184
- switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
185
- nextEmbedded: "@pop"
186
- }
187
- ],
188
- [/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
189
- ],
190
- // -- END <script> tags handling
191
- // -- BEGIN <style> tags handling
192
- // After <style
193
- style: [
194
- [/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
195
- [/type/, "attribute.name", "@styleAfterType"],
196
- [/"([^"]*)"/, "attribute.value"],
197
- [/'([^']*)'/, "attribute.value"],
198
- [/[\w\-]+/, "attribute.name"],
199
- [/=/, "delimiter"],
200
- [
201
- />/,
202
- {
203
- token: "delimiter.html",
204
- next: "@styleEmbedded.text/css",
205
- nextEmbedded: "text/css"
206
- }
207
- ],
208
- [/[ \t\r\n]+/],
209
- // whitespace
210
- [
211
- /(<\/)(style\s*)(>)/,
212
- ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
213
- ]
214
- ],
215
- // After <style ... type
216
- styleAfterType: [
217
- [
218
- /<\?((php)|=)?/,
219
- {
220
- token: "@rematch",
221
- switchTo: "@phpInSimpleState.styleAfterType"
222
- }
223
- ],
224
- [/=/, "delimiter", "@styleAfterTypeEquals"],
225
- [
226
- />/,
227
- {
228
- token: "delimiter.html",
229
- next: "@styleEmbedded.text/css",
230
- nextEmbedded: "text/css"
231
- }
232
- ],
233
- // cover invalid e.g. <style type>
234
- [/[ \t\r\n]+/],
235
- // whitespace
236
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
237
- ],
238
- // After <style ... type =
239
- styleAfterTypeEquals: [
240
- [
241
- /<\?((php)|=)?/,
242
- {
243
- token: "@rematch",
244
- switchTo: "@phpInSimpleState.styleAfterTypeEquals"
245
- }
246
- ],
247
- [
248
- /"([^"]*)"/,
249
- {
250
- token: "attribute.value",
251
- switchTo: "@styleWithCustomType.$1"
252
- }
253
- ],
254
- [
255
- /'([^']*)'/,
256
- {
257
- token: "attribute.value",
258
- switchTo: "@styleWithCustomType.$1"
259
- }
260
- ],
261
- [
262
- />/,
263
- {
264
- token: "delimiter.html",
265
- next: "@styleEmbedded.text/css",
266
- nextEmbedded: "text/css"
267
- }
268
- ],
269
- // cover invalid e.g. <style type=>
270
- [/[ \t\r\n]+/],
271
- // whitespace
272
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
273
- ],
274
- // After <style ... type = $S2
275
- styleWithCustomType: [
276
- [
277
- /<\?((php)|=)?/,
278
- {
279
- token: "@rematch",
280
- switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
281
- }
282
- ],
283
- [
284
- />/,
285
- {
286
- token: "delimiter.html",
287
- next: "@styleEmbedded.$S2",
288
- nextEmbedded: "$S2"
289
- }
290
- ],
291
- [/"([^"]*)"/, "attribute.value"],
292
- [/'([^']*)'/, "attribute.value"],
293
- [/[\w\-]+/, "attribute.name"],
294
- [/=/, "delimiter"],
295
- [/[ \t\r\n]+/],
296
- // whitespace
297
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
298
- ],
299
- styleEmbedded: [
300
- [
301
- /<\?((php)|=)?/,
302
- {
303
- token: "@rematch",
304
- switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
305
- nextEmbedded: "@pop"
306
- }
307
- ],
308
- [/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
309
- ],
310
- // -- END <style> tags handling
311
- phpInSimpleState: [
312
- [/<\?((php)|=)?/, "metatag.php"],
313
- [/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
314
- { include: "phpRoot" }
315
- ],
316
- phpInEmbeddedState: [
317
- [/<\?((php)|=)?/, "metatag.php"],
318
- [
319
- /\?>/,
320
- {
321
- token: "metatag.php",
322
- switchTo: "@$S2.$S3",
323
- nextEmbedded: "$S3"
324
- }
325
- ],
326
- { include: "phpRoot" }
327
- ],
328
- phpRoot: [
329
- [
330
- /[a-zA-Z_]\w*/,
331
- {
332
- cases: {
333
- "@phpKeywords": { token: "keyword.php" },
334
- "@phpCompileTimeConstants": { token: "constant.php" },
335
- "@default": "identifier.php"
336
- }
337
- }
338
- ],
339
- [
340
- /[$a-zA-Z_]\w*/,
341
- {
342
- cases: {
343
- "@phpPreDefinedVariables": {
344
- token: "variable.predefined.php"
345
- },
346
- "@default": "variable.php"
347
- }
348
- }
349
- ],
350
- // brackets
351
- [/[{}]/, "delimiter.bracket.php"],
352
- [/[\[\]]/, "delimiter.array.php"],
353
- [/[()]/, "delimiter.parenthesis.php"],
354
- // whitespace
355
- [/[ \t\r\n]+/],
356
- // comments
357
- [/(#|\/\/)$/, "comment.php"],
358
- [/(#|\/\/)/, "comment.php", "@phpLineComment"],
359
- // block comments
360
- [/\/\*/, "comment.php", "@phpComment"],
361
- // strings
362
- [/"/, "string.php", "@phpDoubleQuoteString"],
363
- [/'/, "string.php", "@phpSingleQuoteString"],
364
- // delimiters
365
- [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
366
- // numbers
367
- [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
368
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
369
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
370
- [/0[0-7']*[0-7]/, "number.octal.php"],
371
- [/0[bB][0-1']*[0-1]/, "number.binary.php"],
372
- [/\d[\d']*/, "number.php"],
373
- [/\d/, "number.php"]
374
- ],
375
- phpComment: [
376
- [/\*\//, "comment.php", "@pop"],
377
- [/[^*]+/, "comment.php"],
378
- [/./, "comment.php"]
379
- ],
380
- phpLineComment: [
381
- [/\?>/, { token: "@rematch", next: "@pop" }],
382
- [/.$/, "comment.php", "@pop"],
383
- [/[^?]+$/, "comment.php", "@pop"],
384
- [/[^?]+/, "comment.php"],
385
- [/./, "comment.php"]
386
- ],
387
- phpDoubleQuoteString: [
388
- [/[^\\"]+/, "string.php"],
389
- [/@escapes/, "string.escape.php"],
390
- [/\\./, "string.escape.invalid.php"],
391
- [/"/, "string.php", "@pop"]
392
- ],
393
- phpSingleQuoteString: [
394
- [/[^\\']+/, "string.php"],
395
- [/@escapes/, "string.escape.php"],
396
- [/\\./, "string.escape.invalid.php"],
397
- [/'/, "string.php", "@pop"]
398
- ]
399
- },
400
- phpKeywords: [
401
- "abstract",
402
- "and",
403
- "array",
404
- "as",
405
- "break",
406
- "callable",
407
- "case",
408
- "catch",
409
- "cfunction",
410
- "class",
411
- "clone",
412
- "const",
413
- "continue",
414
- "declare",
415
- "default",
416
- "do",
417
- "else",
418
- "elseif",
419
- "enddeclare",
420
- "endfor",
421
- "endforeach",
422
- "endif",
423
- "endswitch",
424
- "endwhile",
425
- "extends",
426
- "false",
427
- "final",
428
- "for",
429
- "foreach",
430
- "function",
431
- "global",
432
- "goto",
433
- "if",
434
- "implements",
435
- "interface",
436
- "instanceof",
437
- "insteadof",
438
- "namespace",
439
- "new",
440
- "null",
441
- "object",
442
- "old_function",
443
- "or",
444
- "private",
445
- "protected",
446
- "public",
447
- "resource",
448
- "static",
449
- "switch",
450
- "throw",
451
- "trait",
452
- "try",
453
- "true",
454
- "use",
455
- "var",
456
- "while",
457
- "xor",
458
- "die",
459
- "echo",
460
- "empty",
461
- "exit",
462
- "eval",
463
- "include",
464
- "include_once",
465
- "isset",
466
- "list",
467
- "require",
468
- "require_once",
469
- "return",
470
- "print",
471
- "unset",
472
- "yield",
473
- "__construct"
474
- ],
475
- phpCompileTimeConstants: [
476
- "__CLASS__",
477
- "__DIR__",
478
- "__FILE__",
479
- "__LINE__",
480
- "__NAMESPACE__",
481
- "__METHOD__",
482
- "__FUNCTION__",
483
- "__TRAIT__"
484
- ],
485
- phpPreDefinedVariables: [
486
- "$GLOBALS",
487
- "$_SERVER",
488
- "$_GET",
489
- "$_POST",
490
- "$_FILES",
491
- "$_REQUEST",
492
- "$_SESSION",
493
- "$_ENV",
494
- "$_COOKIE",
495
- "$php_errormsg",
496
- "$HTTP_RAW_POST_DATA",
497
- "$http_response_header",
498
- "$argc",
499
- "$argv"
500
- ],
501
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
502
- };
503
- export {
504
- e as conf,
505
- t as language
506
- };
package/pla-DJ8gwRb5.js DELETED
@@ -1,143 +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
- ],
21
- surroundingPairs: [
22
- { open: "[", close: "]" },
23
- { open: "<", close: ">" },
24
- { open: "(", close: ")" }
25
- ]
26
- }, o = {
27
- defaultToken: "",
28
- tokenPostfix: ".pla",
29
- brackets: [
30
- { open: "[", close: "]", token: "delimiter.square" },
31
- { open: "<", close: ">", token: "delimiter.angle" },
32
- { open: "(", close: ")", token: "delimiter.parenthesis" }
33
- ],
34
- keywords: [
35
- ".i",
36
- ".o",
37
- ".mv",
38
- ".ilb",
39
- ".ob",
40
- ".label",
41
- ".type",
42
- ".phase",
43
- ".pair",
44
- ".symbolic",
45
- ".symbolic-output",
46
- ".kiss",
47
- ".p",
48
- ".e",
49
- ".end"
50
- ],
51
- // regular expressions
52
- comment: /#.*$/,
53
- identifier: /[a-zA-Z]+[a-zA-Z0-9_\-]*/,
54
- plaContent: /[01\-~\|]+/,
55
- // The main tokenizer for our languages
56
- tokenizer: {
57
- root: [
58
- // comments and whitespace
59
- { include: "@whitespace" },
60
- [/@comment/, "comment"],
61
- // keyword
62
- [
63
- /\.([a-zA-Z_\-]+)/,
64
- {
65
- cases: {
66
- "@eos": { token: "keyword.$1" },
67
- "@keywords": {
68
- cases: {
69
- ".type": { token: "keyword.$1", next: "@type" },
70
- "@default": { token: "keyword.$1", next: "@keywordArg" }
71
- }
72
- },
73
- "@default": { token: "keyword.$1" }
74
- }
75
- }
76
- ],
77
- // identifiers
78
- [/@identifier/, "identifier"],
79
- // PLA row
80
- [/@plaContent/, "string"]
81
- ],
82
- whitespace: [[/[ \t\r\n]+/, ""]],
83
- type: [{ include: "@whitespace" }, [/\w+/, { token: "type", next: "@pop" }]],
84
- keywordArg: [
85
- // whitespace
86
- [
87
- /[ \t\r\n]+/,
88
- {
89
- cases: {
90
- "@eos": { token: "", next: "@pop" },
91
- "@default": ""
92
- }
93
- }
94
- ],
95
- // comments
96
- [/@comment/, "comment", "@pop"],
97
- // brackets
98
- [
99
- /[<>()\[\]]/,
100
- {
101
- cases: {
102
- "@eos": { token: "@brackets", next: "@pop" },
103
- "@default": "@brackets"
104
- }
105
- }
106
- ],
107
- // numbers
108
- [
109
- /\-?\d+/,
110
- {
111
- cases: {
112
- "@eos": { token: "number", next: "@pop" },
113
- "@default": "number"
114
- }
115
- }
116
- ],
117
- // identifiers
118
- [
119
- /@identifier/,
120
- {
121
- cases: {
122
- "@eos": { token: "identifier", next: "@pop" },
123
- "@default": "identifier"
124
- }
125
- }
126
- ],
127
- // delimiter
128
- [
129
- /[;=]/,
130
- {
131
- cases: {
132
- "@eos": { token: "delimiter", next: "@pop" },
133
- "@default": "delimiter"
134
- }
135
- }
136
- ]
137
- ]
138
- }
139
- };
140
- export {
141
- e as conf,
142
- o as language
143
- };