@nuxt/hints 1.0.0-alpha.9 → 1.0.1

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 (278) hide show
  1. package/README.md +50 -3
  2. package/dist/client/200.html +1 -1
  3. package/dist/client/404.html +1 -1
  4. package/dist/client/_nuxt/2UxHyX5q.js +1 -0
  5. package/dist/client/_nuxt/4A_iFExJ.js +1 -0
  6. package/dist/client/_nuxt/85-TOEBH.js +1 -0
  7. package/dist/client/_nuxt/B1yitclQ.js +1 -0
  8. package/dist/client/_nuxt/B7c-h3xW.js +1 -0
  9. package/dist/client/_nuxt/{BS0rITwE.js → BAtxTl2q.js} +1 -1
  10. package/dist/client/_nuxt/BBf5iR-q.js +1 -0
  11. package/dist/client/_nuxt/BERRCDM3.js +1 -0
  12. package/dist/client/_nuxt/BETggiCN.js +1 -0
  13. package/dist/client/_nuxt/BEwlwnbL.js +1 -0
  14. package/dist/client/_nuxt/BFfxhgS-.js +1 -0
  15. package/dist/client/_nuxt/BGHnOYBU.js +1 -0
  16. package/dist/client/_nuxt/BH7IYjvW.js +1 -0
  17. package/dist/client/_nuxt/BJDFO7_C.js +1 -0
  18. package/dist/client/_nuxt/BM1_JUlF.js +1 -0
  19. package/dist/client/_nuxt/BMWR74SV.js +1 -0
  20. package/dist/client/_nuxt/BQ8w6xss.js +1 -0
  21. package/dist/client/_nuxt/BR5kRUq4.js +1 -0
  22. package/dist/client/_nuxt/BRHolxvo.js +1 -0
  23. package/dist/client/_nuxt/BRZ36xJF.js +1 -0
  24. package/dist/client/_nuxt/BTJTHyun.js +1 -0
  25. package/dist/client/_nuxt/BTifaqeh.js +1 -0
  26. package/dist/client/_nuxt/BV7otONQ.js +1 -0
  27. package/dist/client/_nuxt/BVQ-GDCI.js +1 -0
  28. package/dist/client/_nuxt/BWvSN4gD.js +1 -0
  29. package/dist/client/_nuxt/{BKRej55Q.js → BY2SE5zy.js} +1 -1
  30. package/dist/client/_nuxt/BYV0-3_D.js +1 -0
  31. package/dist/client/_nuxt/BYunw83y.js +1 -0
  32. package/dist/client/_nuxt/BZvkOJ9d.js +1 -0
  33. package/dist/client/_nuxt/B_m7g4N7.js +1 -0
  34. package/dist/client/_nuxt/BcOcwvcX.js +1 -0
  35. package/dist/client/_nuxt/BcVCzyr7.js +1 -0
  36. package/dist/client/_nuxt/BdImnpbu.js +1 -0
  37. package/dist/client/_nuxt/BdnUsdx6.js +1 -0
  38. package/dist/client/_nuxt/BdyeT68K.js +1 -0
  39. package/dist/client/_nuxt/BeH2EWoN.js +1 -0
  40. package/dist/client/_nuxt/BhOHFoWU.js +1 -0
  41. package/dist/client/_nuxt/BkioyH1T.js +1 -0
  42. package/dist/client/_nuxt/BmXAJ9_W.js +1 -0
  43. package/dist/client/_nuxt/Bmn6On1c.js +1 -0
  44. package/dist/client/_nuxt/Bp6g37R7.js +1 -0
  45. package/dist/client/_nuxt/BqTXFGrv.js +1 -0
  46. package/dist/client/_nuxt/BqWnGSMi.js +1 -0
  47. package/dist/client/_nuxt/BqYA7rlc.js +1 -0
  48. package/dist/client/_nuxt/{DOJAAXAk.js → BsJUmJIm.js} +1 -1
  49. package/dist/client/_nuxt/BsS91CYL.js +1 -0
  50. package/dist/client/_nuxt/BspZqrRM.js +1 -0
  51. package/dist/client/_nuxt/BtCnVYZw.js +1 -0
  52. package/dist/client/_nuxt/BtOb2qkB.js +1 -0
  53. package/dist/client/_nuxt/BtqSS_iP.js +1 -0
  54. package/dist/client/_nuxt/BuQSe7zV.js +13 -0
  55. package/dist/client/_nuxt/Bv_4Rxtq.js +1 -0
  56. package/dist/client/_nuxt/BvzEVeQv.js +1 -0
  57. package/dist/client/_nuxt/BxgE0vQu.js +1 -0
  58. package/dist/client/_nuxt/{CuE35eZa.js → Bz59FrZb.js} +1 -1
  59. package/dist/client/_nuxt/BzTr9Aqm.js +1 -0
  60. package/dist/client/_nuxt/C-HG3fhB.js +1 -0
  61. package/dist/client/_nuxt/C-SQnVFl.js +1 -0
  62. package/dist/client/_nuxt/C0HS_06l.js +1 -0
  63. package/dist/client/_nuxt/C0hk2d4L.js +1 -0
  64. package/dist/client/_nuxt/C151Ov-r.js +1 -0
  65. package/dist/client/_nuxt/C2t-YnRu.js +1 -0
  66. package/dist/client/_nuxt/C3B-1QV4.js +1 -0
  67. package/dist/client/_nuxt/C4EeE6gA.js +1 -0
  68. package/dist/client/_nuxt/C4IJs8-o.js +1 -0
  69. package/dist/client/_nuxt/C5BYcBs_.js +1 -0
  70. package/dist/client/_nuxt/C5YyOfLZ.js +1 -0
  71. package/dist/client/_nuxt/C7zT0LnQ.js +1 -0
  72. package/dist/client/_nuxt/{CTf7BuVz.js → C8XNfCrI.js} +1 -1
  73. package/dist/client/_nuxt/C8lEn-DE.js +1 -0
  74. package/dist/client/_nuxt/C98Dy4si.js +1 -0
  75. package/dist/client/_nuxt/C9XAeP06.js +1 -0
  76. package/dist/client/_nuxt/CDx5xZoG.js +1 -0
  77. package/dist/client/_nuxt/CEL-wOlO.js +1 -0
  78. package/dist/client/_nuxt/CENFIVCM.js +1 -0
  79. package/dist/client/_nuxt/CEu0bR-o.js +1 -0
  80. package/dist/client/_nuxt/CF10PKvl.js +1 -0
  81. package/dist/client/_nuxt/CG8Ifv2g.js +1 -0
  82. package/dist/client/_nuxt/CHLpvVh8.js +1 -0
  83. package/dist/client/_nuxt/CHM0blh-.js +1 -0
  84. package/dist/client/_nuxt/CJc9bBzg.js +1 -0
  85. package/dist/client/_nuxt/CKIfxQSi.js +1 -0
  86. package/dist/client/_nuxt/CLZrNe3w.js +1 -0
  87. package/dist/client/_nuxt/CLxacb5B.js +1 -0
  88. package/dist/client/_nuxt/CO1LY3CK.js +1 -0
  89. package/dist/client/_nuxt/COcwbKMJ.js +1 -0
  90. package/dist/client/_nuxt/COkxafJQ.js +1 -0
  91. package/dist/client/_nuxt/CSXwinHm.js +1 -0
  92. package/dist/client/_nuxt/CXDyekYo.js +3 -0
  93. package/dist/client/_nuxt/CYpkKp66.js +1 -0
  94. package/dist/client/_nuxt/{BFRyJUvr.js → CZ1OMT3Z.js} +1 -1
  95. package/dist/client/_nuxt/CZhp0h8q.js +1 -0
  96. package/dist/client/_nuxt/CbFg5uaA.js +1 -0
  97. package/dist/client/_nuxt/CeAyd5Ju.js +1 -0
  98. package/dist/client/_nuxt/CeZK1NFH.js +1 -0
  99. package/dist/client/_nuxt/CenWIFCC.js +1 -0
  100. package/dist/client/_nuxt/Cg-RD9OK.js +1 -0
  101. package/dist/client/_nuxt/CgK0fS9t.js +1 -0
  102. package/dist/client/_nuxt/CgrjxMR_.js +6 -0
  103. package/dist/client/_nuxt/ChMvpjG-.js +1 -0
  104. package/dist/client/_nuxt/CkByrt1z.js +1 -0
  105. package/dist/client/_nuxt/CklMAg4u.js +1 -0
  106. package/dist/client/_nuxt/Cl_HNi2c.js +4 -0
  107. package/dist/client/_nuxt/Cn7AkR1O.js +1 -0
  108. package/dist/client/_nuxt/CnnmHF94.js +1 -0
  109. package/dist/client/_nuxt/CnsnAmq5.js +1 -0
  110. package/dist/client/_nuxt/Co6uUVPk.js +1 -0
  111. package/dist/client/_nuxt/CoDkCxhg.js +1 -0
  112. package/dist/client/_nuxt/CpOuai2O.js +1 -0
  113. package/dist/client/_nuxt/Cq5zzVJU.js +1 -0
  114. package/dist/client/_nuxt/CquLrc37.js +1 -0
  115. package/dist/client/_nuxt/CsfeWuGM.js +1 -0
  116. package/dist/client/_nuxt/CuPHTKiy.js +1 -0
  117. package/dist/client/_nuxt/CwoSXNpI.js +1 -0
  118. package/dist/client/_nuxt/CxGSJlkm.js +1 -0
  119. package/dist/client/_nuxt/CxLEBnE3.js +1 -0
  120. package/dist/client/_nuxt/Cz2AlsmD.js +1 -0
  121. package/dist/client/_nuxt/CzTSHFRz.js +1 -0
  122. package/dist/client/_nuxt/D0YGMca9.js +1 -0
  123. package/dist/client/_nuxt/D17OF-Vu.js +1 -0
  124. package/dist/client/_nuxt/D1j8_8rp.js +1 -0
  125. package/dist/client/_nuxt/D3lLCCz7.js +1 -0
  126. package/dist/client/_nuxt/D5-asLiD.js +1 -0
  127. package/dist/client/_nuxt/D53aC0YG.js +1 -0
  128. package/dist/client/_nuxt/D7o27uSR.js +1 -0
  129. package/dist/client/_nuxt/D82EKSYY.js +1 -0
  130. package/dist/client/_nuxt/D82vCrfD.js +1 -0
  131. package/dist/client/_nuxt/D8_7TLub.js +1 -0
  132. package/dist/client/_nuxt/D8l8udqQ.js +1 -0
  133. package/dist/client/_nuxt/D93ZcfNL.js +1 -0
  134. package/dist/client/_nuxt/D97Zzqfu.js +1 -0
  135. package/dist/client/_nuxt/DDvzSYfr.js +1 -0
  136. package/dist/client/_nuxt/DFQXde-d.js +1 -0
  137. package/dist/client/_nuxt/DFXneXwc.js +1 -0
  138. package/dist/client/_nuxt/DHCkPAjA.js +1 -0
  139. package/dist/client/_nuxt/DM8c43g1.js +1 -0
  140. package/dist/client/_nuxt/DMLP1f5n.js +24 -0
  141. package/dist/client/_nuxt/DMzUqQB5.js +1 -0
  142. package/dist/client/_nuxt/{DOHcV6MR.js → DO_IqDaw.js} +1 -1
  143. package/dist/client/_nuxt/DPOp833l.js +1 -0
  144. package/dist/client/_nuxt/DRJZaHtK.js +1 -0
  145. package/dist/client/_nuxt/DRg8JJMk.js +1 -0
  146. package/dist/client/_nuxt/DV7GczEv.js +1 -0
  147. package/dist/client/_nuxt/DVFEvuxE.js +1 -0
  148. package/dist/client/_nuxt/DVxCFoDh.js +1 -0
  149. package/dist/client/_nuxt/DWrx1Km3.js +1 -0
  150. package/dist/client/_nuxt/DXmwc3jG.js +1 -0
  151. package/dist/client/_nuxt/DXvB9xmW.js +1 -0
  152. package/dist/client/_nuxt/DZf3V79B.js +1 -0
  153. package/dist/client/_nuxt/DZu-aV2c.js +1 -0
  154. package/dist/client/_nuxt/D_Q5rh1f.js +1 -0
  155. package/dist/client/_nuxt/Da5cRb03.js +1 -0
  156. package/dist/client/_nuxt/Dd19v3D-.js +1 -0
  157. package/dist/client/_nuxt/DdkO51Og.js +1 -0
  158. package/dist/client/_nuxt/Df6bDoY_.js +1 -0
  159. package/dist/client/_nuxt/DhmSosst.js +1 -0
  160. package/dist/client/_nuxt/DjAJT7YJ.js +1 -0
  161. package/dist/client/_nuxt/DkFqJrB1.js +1 -0
  162. package/dist/client/_nuxt/DkwncUOv.js +1 -0
  163. package/dist/client/_nuxt/Dpen1YoG.js +1 -0
  164. package/dist/client/_nuxt/Dph4kLrZ.js +1 -0
  165. package/dist/client/_nuxt/{BHYWC4mf.js → Dq5iEy-J.js} +1 -1
  166. package/dist/client/_nuxt/DsOJ9woJ.js +1 -0
  167. package/dist/client/_nuxt/DsumFeuD.js +1 -0
  168. package/dist/client/_nuxt/{BMheLZQI.js → DuO5kjlf.js} +1 -1
  169. package/dist/client/_nuxt/DvAmuSmV.js +1 -0
  170. package/dist/client/_nuxt/DyxjwDmM.js +1 -0
  171. package/dist/client/_nuxt/Dzze3sRP.js +1 -0
  172. package/dist/client/_nuxt/FtFNcQmh.js +1 -0
  173. package/dist/client/_nuxt/IF9eRakj.js +1 -0
  174. package/dist/client/_nuxt/IeuSbFQv.js +1 -0
  175. package/dist/client/_nuxt/LCb0JLof.js +1 -0
  176. package/dist/client/_nuxt/P80f7IUj.js +1 -0
  177. package/dist/client/_nuxt/Pmp26Uib.js +1 -0
  178. package/dist/client/_nuxt/QIJgUcNo.js +1 -0
  179. package/dist/client/_nuxt/RxLv4Mw1.js +1 -0
  180. package/dist/client/_nuxt/VOosw3JB.js +1 -0
  181. package/dist/client/_nuxt/Ve4PFQV2.js +1 -0
  182. package/dist/client/_nuxt/YqXBG_HV.js +1 -0
  183. package/dist/client/_nuxt/_H4v1dQx.js +1 -0
  184. package/dist/client/_nuxt/_ykCGR6B.js +1 -0
  185. package/dist/client/_nuxt/{BZWgH84o.js → a9uSpr3S.js} +1 -1
  186. package/dist/client/_nuxt/bCR0ucgS.js +1 -0
  187. package/dist/client/_nuxt/builds/latest.json +1 -1
  188. package/dist/client/_nuxt/builds/meta/99ecb9ec-79bf-4090-9942-9ce383dac370.json +1 -0
  189. package/dist/client/_nuxt/dwOrl1Do.js +1 -0
  190. package/dist/client/_nuxt/{entry.bXb283Sw.css → entry.D5OyC1nV.css} +1 -1
  191. package/dist/client/_nuxt/eo99z4R2.js +1 -0
  192. package/dist/client/_nuxt/error-404.B6ZMX39t.css +1 -0
  193. package/dist/client/_nuxt/error-500.dS86tDkg.css +1 -0
  194. package/dist/client/_nuxt/fKv21gyL.js +1 -0
  195. package/dist/client/_nuxt/gcz8RCvz.js +1 -0
  196. package/dist/client/_nuxt/hydration.BczHrsb5.css +1 -0
  197. package/dist/client/_nuxt/k_qm7-4y.js +1 -0
  198. package/dist/client/_nuxt/lXgVvXCa.js +1 -0
  199. package/dist/client/_nuxt/mWjccvbQ.js +1 -0
  200. package/dist/client/_nuxt/mjskCLCv.js +1 -0
  201. package/dist/client/_nuxt/n2N0HUVH.js +1 -0
  202. package/dist/client/_nuxt/oH_c3LbQ.js +1 -0
  203. package/dist/client/_nuxt/rGO070M0.js +1 -0
  204. package/dist/client/_nuxt/rZm6bMo-.js +1 -0
  205. package/dist/client/_nuxt/u5AG7uiY.js +1 -0
  206. package/dist/client/_nuxt/uYugtg8r.js +1 -0
  207. package/dist/client/_nuxt/vGWfd6FD.js +1 -0
  208. package/dist/client/_nuxt/yv6CvBhz.js +1 -0
  209. package/dist/client/component-lazy-load/index.html +1 -1
  210. package/dist/client/html-validate/index.html +1 -0
  211. package/dist/client/hydration/index.html +1 -1
  212. package/dist/client/index.html +1 -1
  213. package/dist/client/third-party-scripts/index.html +1 -1
  214. package/dist/client/web-vitals/index.html +1 -1
  215. package/dist/module.d.mts +5 -1
  216. package/dist/module.json +1 -1
  217. package/dist/module.mjs +75 -37
  218. package/dist/runtime/core/components/nuxt-island.d.ts +136 -1
  219. package/dist/runtime/core/features.d.ts +6 -0
  220. package/dist/runtime/core/features.js +17 -0
  221. package/dist/runtime/core/plugins/features.client.d.ts +2 -0
  222. package/dist/runtime/core/plugins/features.client.js +16 -0
  223. package/dist/runtime/core/plugins/vue-tracer-state.client.d.ts +1 -1
  224. package/dist/runtime/core/types.d.ts +17 -0
  225. package/dist/runtime/core/types.js +0 -0
  226. package/dist/runtime/feature-options.d.ts +8 -0
  227. package/dist/runtime/feature-options.js +0 -0
  228. package/dist/runtime/html-validate/handlers/delete.d.ts +1 -0
  229. package/dist/runtime/html-validate/handlers/delete.js +17 -0
  230. package/dist/runtime/html-validate/handlers/get.d.ts +2 -0
  231. package/dist/runtime/html-validate/handlers/get.js +5 -0
  232. package/dist/runtime/html-validate/handlers/nitro-handlers.plugin.d.ts +3 -0
  233. package/dist/runtime/html-validate/handlers/nitro-handlers.plugin.js +36 -0
  234. package/dist/runtime/html-validate/nitro.plugin.d.ts +3 -0
  235. package/dist/runtime/html-validate/nitro.plugin.js +54 -0
  236. package/dist/runtime/html-validate/plugin.client.d.ts +2 -0
  237. package/dist/runtime/html-validate/plugin.client.js +28 -0
  238. package/dist/runtime/html-validate/storage.d.ts +1 -0
  239. package/dist/runtime/html-validate/storage.js +2 -0
  240. package/dist/runtime/html-validate/types.d.ts +8 -0
  241. package/dist/runtime/html-validate/types.js +0 -0
  242. package/dist/runtime/html-validate/utils.d.ts +3 -0
  243. package/dist/runtime/html-validate/utils.js +12 -0
  244. package/dist/runtime/hydration/composables.js +15 -13
  245. package/dist/runtime/hydration/plugin.client.d.ts +1 -1
  246. package/dist/runtime/hydration/utils.d.ts +1 -0
  247. package/dist/runtime/hydration/utils.js +2 -0
  248. package/dist/runtime/lazy-load/plugin.client.d.ts +1 -1
  249. package/dist/runtime/lazy-load/plugin.client.js +3 -3
  250. package/dist/runtime/lazy-load/utils.d.ts +1 -0
  251. package/dist/runtime/lazy-load/utils.js +2 -0
  252. package/dist/runtime/logger.d.ts +2 -0
  253. package/dist/runtime/logger.js +6 -0
  254. package/dist/runtime/third-party-scripts/plugin.client.d.ts +1 -1
  255. package/dist/runtime/third-party-scripts/plugin.client.js +28 -8
  256. package/dist/runtime/third-party-scripts/types.d.ts +6 -0
  257. package/dist/runtime/third-party-scripts/types.js +0 -0
  258. package/dist/runtime/third-party-scripts/utils.d.ts +1 -0
  259. package/dist/runtime/third-party-scripts/utils.js +2 -0
  260. package/dist/runtime/types.d.ts +12 -0
  261. package/dist/runtime/web-vitals/plugin.client.d.ts +1 -1
  262. package/dist/runtime/web-vitals/plugin.client.js +124 -94
  263. package/dist/runtime/web-vitals/types.d.ts +4 -0
  264. package/dist/runtime/web-vitals/types.js +0 -0
  265. package/dist/runtime/web-vitals/utils.d.ts +1 -0
  266. package/dist/runtime/web-vitals/utils.js +2 -0
  267. package/package.json +21 -17
  268. package/dist/client/_nuxt/16LZ-2rN.js +0 -1
  269. package/dist/client/_nuxt/BOWvZIQC.js +0 -4
  270. package/dist/client/_nuxt/BY53PIN5.js +0 -1
  271. package/dist/client/_nuxt/BYo9cb9R.js +0 -36
  272. package/dist/client/_nuxt/D7xuZOu8.js +0 -1
  273. package/dist/client/_nuxt/DaNrdrhj.js +0 -1
  274. package/dist/client/_nuxt/GiOWC8es.js +0 -6
  275. package/dist/client/_nuxt/builds/meta/9cd25584-d8cd-4e50-8973-949eec6b2524.json +0 -1
  276. package/dist/client/_nuxt/error-404.LspKb3Ne.css +0 -1
  277. package/dist/client/_nuxt/error-500.B_qDdXYW.css +0 -1
  278. package/dist/client/_nuxt/hydration.CLUG10u4.css +0 -1
package/README.md CHANGED
@@ -88,6 +88,12 @@ At build time, a Vite plugin analyzes your component imports to identify statica
88
88
 
89
89
  Suggestions are reported to the console and sent to the DevTools UI via Server-Sent Events, where you can review them per route and dismiss entries you've already addressed. The recommended fix is to either prefix the component with `Lazy` (e.g., `<LazyHeavyComponent>`) or use `defineAsyncComponent` so it is only downloaded when needed.
90
90
 
91
+ ### HTML Validate integration
92
+
93
+ Nuxt Hints includes a built-in HTML validation feature powered by [`html-validate`](https://html-validate.org/). On every server-rendered response, the module intercepts the HTML output and runs it through `html-validate`.
94
+
95
+ ![hints html-validate screenshot](./.github/assets/devtools-html-validate.png)
96
+
91
97
  ### Example Console Output
92
98
 
93
99
  When Nuxt Hints detects issues, you'll see clear warnings in your browser console:
@@ -102,6 +108,47 @@ Learn more: https://web.dev/optimize-lcp/#optimize-the-priority-the-resource-is-
102
108
  Consider adding crossorigin="anonymous" for better security and error reporting.
103
109
  ```
104
110
 
111
+ ## Module Options
112
+
113
+ Configure the module in your `nuxt.config.ts` under the `hints` key:
114
+
115
+ ```typescript
116
+ export default defineNuxtConfig({
117
+ hints: {
118
+ devtools: true,
119
+
120
+ // Enable or configure individual features
121
+ // if you feel overwhelmed by logs, you can disable some features and fix things step by step.
122
+ features: {
123
+ // Defaults to true for each feature
124
+ hydration: true,
125
+ },
126
+ },
127
+ })
128
+ ```
129
+
130
+ ### Feature toggles
131
+
132
+ Each feature accepts either a **boolean** or an **object** for finer control:
133
+
134
+ | Key | Description |
135
+ |-----|-------------|
136
+ | `hydration` | Detect and inspect hydration mismatches |
137
+ | `lazyLoad` | Flag unused imported components that could be lazy-loaded |
138
+ | `webVitals` | Track LCP, INP, and CLS metrics |
139
+ | `thirdPartyScripts` | Audit third-party scripts for performance and security |
140
+ | `htmlValidate` | Validate server-rendered HTML with [html-validate](https://html-validate.org/) |
141
+
142
+ When using the object syntax, the following flags are available:
143
+
144
+ ```typescript
145
+ {
146
+ logs: true, // Print warnings to the browser console
147
+ devtools: true, // Show this feature in the DevTools panel
148
+ options: { ... }, // Feature-specific options
149
+ }
150
+ ```
151
+
105
152
  ## Development
106
153
 
107
154
  ```bash
@@ -131,10 +178,10 @@ pnpm run release
131
178
  <!-- Badges -->
132
179
 
133
180
  [npm-version-src]: https://img.shields.io/npm/v/@nuxt/hints/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
134
- [npm-version-href]: https://npmjs.com/package/@nuxt/hints
181
+ [npm-version-href]: https://npmx.dev/package/@nuxt/hints
135
182
  [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxt/hints.svg?style=flat&colorA=18181B&colorB=28CF8D
136
- [npm-downloads-href]: https://npmjs.com/package/@nuxt/hints
183
+ [npm-downloads-href]: https://npmx.dev/package/@nuxt/hints
137
184
  [license-src]: https://img.shields.io/npm/l/@nuxt/hints.svg?style=flat&colorA=18181B&colorB=28CF8D
138
- [license-href]: https://npmjs.com/package/@nuxt/hints
185
+ [license-href]: https://npmx.dev/package/@nuxt/hints
139
186
  [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt
140
187
  [nuxt-href]: https://nuxt.com
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.bXb283Sw.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/BOWvZIQC.js"><script type="module" src="/__nuxt-hints/_nuxt/BOWvZIQC.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"9cd25584-d8cd-4e50-8973-949eec6b2524",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1772120375808,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.D5OyC1nV.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Cl_HNi2c.js"><script type="module" src="/__nuxt-hints/_nuxt/Cl_HNi2c.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"99ecb9ec-79bf-4090-9942-9ce383dac370",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773952698540,false]</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.bXb283Sw.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/BOWvZIQC.js"><script type="module" src="/__nuxt-hints/_nuxt/BOWvZIQC.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"9cd25584-d8cd-4e50-8973-949eec6b2524",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1772120375808,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-hints/_nuxt/entry.D5OyC1nV.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-hints/_nuxt/Cl_HNi2c.js"><script type="module" src="/__nuxt-hints/_nuxt/Cl_HNi2c.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-hints",buildId:"99ecb9ec-79bf-4090-9942-9ce383dac370",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-hints-iframe" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773952698541,false]</script></body></html>
@@ -0,0 +1 @@
1
+ const a=Object.freeze(JSON.parse(`{"displayName":"Log file","fileTypes":["log"],"name":"log","patterns":[{"match":"\\\\b([Tt]race|TRACE)\\\\b:?","name":"comment log.verbose"},{"match":"(?i)\\\\[(v(?:erbose|erb|rb|b?))]","name":"comment log.verbose"},{"match":"(?<=^[p\\\\s\\\\d]*)\\\\bV\\\\b","name":"comment log.verbose"},{"match":"\\\\b(D(?:EBUG|ebug))\\\\b|(?i)\\\\b(debug):","name":"markup.changed log.debug"},{"match":"(?i)\\\\[(d(?:ebug|bug|bg|e?))]","name":"markup.changed log.debug"},{"match":"(?<=^[p\\\\s\\\\d]*)\\\\bD\\\\b","name":"markup.changed log.debug"},{"match":"\\\\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\\\\b|(?i)\\\\b(info(?:|rmation)):","name":"markup.inserted log.info"},{"match":"(?i)\\\\[(i(?:nformation|nfo?|n?))]","name":"markup.inserted log.info"},{"match":"(?<=^[p\\\\s\\\\d]*)\\\\bI\\\\b","name":"markup.inserted log.info"},{"match":"\\\\b(W(?:ARNING|ARN|arn|W))\\\\b|(?i)\\\\b(warning):","name":"markup.deleted log.warning"},{"match":"(?i)\\\\[(w(?:arning|arn|rn|n?))]","name":"markup.deleted log.warning"},{"match":"(?<=^[p\\\\s\\\\d]*)\\\\bW\\\\b","name":"markup.deleted log.warning"},{"match":"\\\\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\\\\b|(?i)\\\\b(error):","name":"string.regexp, strong log.error"},{"match":"(?i)\\\\[(error|eror|err?|e|fatal|fatl|ftl|fa?)]","name":"string.regexp, strong log.error"},{"match":"(?<=^[p\\\\s\\\\d]*)\\\\bE\\\\b","name":"string.regexp, strong log.error"},{"match":"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?=T|\\\\b)","name":"comment log.date"},{"match":"(?<=(^|\\\\s))\\\\d{2}[^\\\\w\\\\s]\\\\d{2}[^\\\\w\\\\s]\\\\d{4}\\\\b","name":"comment log.date"},{"match":"T?\\\\d{1,2}:\\\\d{2}(:\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}:\\\\d{2})?\\\\b","name":"comment log.date"},{"match":"T\\\\d{2}\\\\d{2}(\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}\\\\d{2})?\\\\b","name":"comment log.date"},{"match":"\\\\b(\\\\h{40}|\\\\h{10}|\\\\h{7})\\\\b","name":"constant.language"},{"match":"\\\\b\\\\h{8}-?(\\\\h{4}-?){3}\\\\h{12}\\\\b","name":"constant.language log.constant"},{"match":"\\\\b(\\\\h{2,}[-:])+\\\\h{2,}+\\\\b","name":"constant.language log.constant"},{"match":"\\\\b([0-9]+|true|false|null)\\\\b","name":"constant.language log.constant"},{"match":"\\\\b(0x\\\\h+)\\\\b","name":"constant.language log.constant"},{"match":"\\"[^\\"]*\\"","name":"string log.string"},{"match":"(?<!\\\\w)'[^']*'","name":"string log.string"},{"match":"\\\\b([.A-Za-z]*Exception)\\\\b","name":"string.regexp, emphasis log.exceptiontype"},{"begin":"^[\\\\t ]*at[\\\\t ]","end":"$","name":"string.key, emphasis log.exception"},{"match":"\\\\b[a-z]+://\\\\S+\\\\b/?","name":"constant.language log.constant"},{"match":"(?<![/\\\\\\\\\\\\w])([-\\\\w]+\\\\.)+([-\\\\w])+(?![/\\\\\\\\\\\\w])","name":"constant.language log.constant"}],"scopeName":"text.log"}`)),e=[a];export{e as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"Systemd Units","name":"systemd","patterns":[{"include":"#comments"},{"begin":"^\\\\s*(InaccessableDirectories|InaccessibleDirectories|ReadOnlyDirectories|ReadWriteDirectories|Capabilities|TableId|UseDomainName|IPv6AcceptRouterAdvertisements|SysVStartPriority|StartLimitInterval|RequiresOverridable|RequisiteOverridable|PropagateReloadTo|PropagateReloadFrom|OnFailureIsolate|BindTo)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"invalid.deprecated"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","patterns":[{"include":"#comments"},{"include":"#variables"},{"include":"#quotedString"},{"include":"#booleans"},{"include":"#timeSpans"},{"include":"#sizes"},{"include":"#numbers"}]},{"begin":"^\\\\s*(Environment)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"captures":{"1":{"name":"variable.parameter"},"2":{"name":"keyword.operator.assignment"}},"match":"(?<=\\\\G|[\\"'\\\\s])([0-9A-Z_a-z]+)(=)(?=[^\\"'\\\\s])"},{"include":"#variables"},{"include":"#booleans"},{"include":"#numbers"}]},{"begin":"^\\\\s*(OnCalendar)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#variables"},{"include":"#calendarShorthands"},{"include":"#numbers"}]},{"begin":"^\\\\s*(CapabilityBoundingSet|AmbientCapabilities|AddCapability|DropCapability)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#capabilities"}]},{"begin":"^\\\\s*(Restart)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#variables"},{"include":"#restartOptions"}]},{"begin":"^\\\\s*(Type)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#variables"},{"include":"#typeOptions"}]},{"begin":"^\\\\s*(Exec(?:Start(?:P(?:re|ost))?|Reload|Stop(?:Post)?))\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#executablePrefixes"},{"include":"#variables"},{"include":"#quotedString"},{"include":"#booleans"},{"include":"#numbers"}]},{"begin":"^\\\\s*([-.\\\\w]+)\\\\s*(=)[\\\\t ]*","beginCaptures":{"1":{"name":"entity.name.tag"},"2":{"name":"keyword.operator.assignment"}},"end":"(?<!\\\\\\\\)\\\\n","name":"meta.config-entry.systemd","patterns":[{"include":"#comments"},{"include":"#variables"},{"include":"#quotedString"},{"include":"#booleans"},{"include":"#timeSpans"},{"include":"#sizes"},{"include":"#numbers"}]},{"include":"#sections"}],"repository":{"booleans":{"patterns":[{"match":"\\\\b(?<![-./])(true|false|on|off|yes|no)(?![-./])\\\\b","name":"constant.language"}]},"calendarShorthands":{"patterns":[{"match":"\\\\b(?:minute|hour|dai|month|week|quarter|semiannual)ly\\\\b","name":"constant.language"}]},"capabilities":{"patterns":[{"match":"\\\\bCAP_(?:AUDIT_CONTROL|AUDIT_READ|AUDIT_WRITE|BLOCK_SUSPEND|BPF|CHECKPOINT_RESTORE|CHOWN|DAC_OVERRIDE|DAC_READ_SEARCH|FOWNER|FSETID|IPC_LOCK|IPC_OWNER|KILL|LEASE|LINUX_IMMUTABLE|MAC_ADMIN|MAC_OVERRIDE|MKNOD|NET_ADMIN|NET_BIND_SERVICE|NET_BROADCAST|NET_RAW|PERFMON|SETFCAP|SETGID|SETPCAP|SETUID|SYS_ADMIN|SYS_BOOT|SYS_CHROOT|SYS_MODULE|SYS_NICE|SYS_PACCT|SYS_PTRACE|SYS_RAWIO|SYS_RESOURCE|SYS_TIME|SYS_TTY_CONFIG|SYSLOG|WAKE_ALARM)\\\\b","name":"constant.other.systemd"}]},"comments":{"patterns":[{"match":"^\\\\s*[#;].*\\\\n","name":"comment.line.number-sign"}]},"executablePrefixes":{"patterns":[{"match":"\\\\G([-:@]+(?:\\\\+|!!?)?|(?:\\\\+|!!?)[-:@]*)","name":"keyword.operator.prefix.systemd"}]},"numbers":{"patterns":[{"match":"(?<=[=\\\\s])\\\\d+(?:\\\\.\\\\d+)?(?=[:\\\\s]|$)","name":"constant.numeric"}]},"quotedString":{"patterns":[{"begin":"(?<=\\\\G|\\\\s)'","end":"[\\\\n']","name":"string.quoted.single","patterns":[{"match":"\\\\\\\\(?:[\\\\n\\"'\\\\\\\\abfnrstv]|x\\\\h{2}|[0-8]{3}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape"}]},{"begin":"(?<=\\\\G|\\\\s)\\"","end":"[\\\\n\\"]","name":"string.quoted.double","patterns":[{"match":"\\\\\\\\(?:[\\\\n\\"'\\\\\\\\abfnrstv]|x\\\\h{2}|[0-8]{3}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape"}]}]},"restartOptions":{"patterns":[{"match":"\\\\b(no|always|on-(?:success|failure|abnormal|abort|watchdog))\\\\b","name":"constant.language"}]},"sections":{"patterns":[{"match":"^\\\\s*\\\\[(Address|Automount|BFIFO|BandMultiQueueing|BareUDP|BatmanAdvanced|Bond|Bridge|BridgeFDB|BridgeMDB|BridgeVLAN|CAKE|CAN|ClassfulMultiQueueing|Container|Content|ControlledDelay|Coredump|D-BUS Service|DHCP|DHCPPrefixDelegation|DHCPServer|DHCPServerStaticLease|DHCPv4|DHCPv6|DHCPv6PrefixDelegation|DeficitRoundRobinScheduler|DeficitRoundRobinSchedulerClass|Distribution|EnhancedTransmissionSelection|Exec|FairQueueing|FairQueueingControlledDelay|Feature|Files|FlowQueuePIE|FooOverUDP|GENEVE|GenericRandomEarlyDetection|HeavyHitterFilter|HierarchyTokenBucket|HierarchyTokenBucketClass|Home|IOCost|IPVLAN|IPVTAP|IPoIB|IPv6AcceptRA|IPv6AddressLabel|IPv6PREF64Prefix|IPv6Prefix|IPv6PrefixDelegation|IPv6RoutePrefix|IPv6SendRA|Image|Install|Journal|Kube|L2TP|L2TPSession|LLDP|Link|Login|MACVLAN|MACVTAP|MACsec|MACsecReceiveAssociation|MACsecReceiveChannel|MACsecTransmitAssociation|Manager|Match|Mount|Neighbor|NetDev|Network|NetworkEmulator|NextHop|OOM|Output|PFIFO|PFIFOFast|PFIFOHeadDrop|PIE|PStore|Packages|Partition|Path|Peer|Pod|QDisc|Quadlet|QuickFairQueueing|QuickFairQueueingClass|Remote|Resolve|Route|RoutingPolicyRule|SR-IOV|Scope|Service|Sleep|Socket|Source|StochasticFairBlue|StochasticFairnessQueueing|Swap|Tap|Target|Timer??|TokenBucketFilter|TrafficControlQueueingDiscipline|Transfer|TrivialLinkEqualizer|Tun|Tunnel|UKI|Unit|Upload|VLAN|VRF|VXCAN|VXLAN|Volume|WLAN|WireGuard|WireGuardPeer|Xfrm)]","name":"entity.name.section"},{"match":"\\\\s*\\\\[[-\\\\w]+]","name":"entity.name.unknown-section"}]},"sizes":{"patterns":[{"match":"(?<=[=\\\\s])\\\\d+(?:\\\\.\\\\d+)?[GKMT](?=[:\\\\s]|$)","name":"constant.numeric"},{"match":"(?<==)infinity(?=[:\\\\s]|$)","name":"constant.numeric"}]},"timeSpans":{"patterns":[{"match":"\\\\b(?:\\\\d+(?:[uμ]s(?:ec)?|ms(?:ec)?|s(?:ec(?:|onds?))?|m(?:in(?:|utes?))?|h(?:r|ours?)?|d(?:ays?)?|w(?:eeks)?|M|months?|y(?:ears?)?))+\\\\b","name":"constant.numeric"}]},"typeOptions":{"patterns":[{"match":"\\\\b(?:simple|exec|forking|oneshot|dbus|notify(?:-reload)?|idle|unicast|local|broadcast|anycast|multicast|blackhole|unreachable|prohibit|throw|nat|xresolve|blackhole|unreachable|prohibit|ad-hoc|station|ap(?:-vlan)?|wds|monitor|mesh-point|p2p-(?:client|go|device)|ocb|nan)\\\\b","name":"constant.language"}]},"variables":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.systemd"},"2":{"name":"variable.other"}},"match":"(\\\\$)([0-9A-Z_a-z]+)\\\\b"},{"captures":{"1":{"name":"punctuation.definition.variable.systemd"},"2":{"name":"variable.other"},"3":{"name":"punctuation.definition.variable.systemd"}},"match":"(\\\\$\\\\{)([0-9A-Z_a-z]+)(})"},{"match":"%%","name":"constant.other.placeholder"},{"match":"%[ABCEG-JLMNPS-Wabf-jl-ps-w]\\\\b","name":"constant.other.placeholder"}]}},"scopeName":"source.systemd"}`)),n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse('{"displayName":"D","fileTypes":["d","di","dpp"],"name":"d","patterns":[{"include":"#comment"},{"include":"#type"},{"include":"#statement"},{"include":"#expression"}],"repository":{"aggregate-declaration":{"patterns":[{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#struct-declaration"},{"include":"#union-declaration"},{"include":"#mixin-template-declaration"},{"include":"#template-declaration"}]},"alias-declaration":{"patterns":[{"begin":"\\\\b(alias)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.alias.d"}},"end":";","endCaptures":{"0":{"name":"meta.alias.end.d"}},"patterns":[{"include":"#type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"},{"include":"#expression"}]}]},"align-attribute":{"patterns":[{"begin":"\\\\balign\\\\s*\\\\(","end":"\\\\)","name":"storage.modifier.align-attribute.d","patterns":[{"include":"#integer-literal"}]},{"match":"\\\\balign\\\\b\\\\s*(?!\\\\()","name":"storage.modifier.align-attribute.d"}]},"alternate-wysiwyg-string":{"patterns":[{"begin":"`","end":"`[cdw]?","name":"string.alternate-wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"arbitrary-delimited-string":{"begin":"q\\"(\\\\w+)","end":"\\\\1\\"","name":"string.delimited.d","patterns":[{"match":".","name":"string.delimited.d"}]},"arithmetic-expression":{"patterns":[{"match":"\\\\^\\\\^|\\\\+\\\\+|--|(?<!/)\\\\+(?!/)|[-~]|(?<!/)\\\\*(?!/)|(?<![*+/])/(?![*+/])|%","name":"keyword.operator.numeric.d"}]},"asm-instruction":{"patterns":[{"include":"#comment"},{"match":"\\\\b(align|even|naked|db|ds|di|dl|df|dd|de)\\\\b|:","name":"keyword.asm-instruction.d"},{"match":"\\\\b__LOCAL_SIZE\\\\b","name":"constant.language.assembly.d"},{"match":"\\\\b(offsetof|seg)\\\\b","name":"support.type.assembly.d"},{"include":"#asm-type-prefix"},{"include":"#asm-primary-expression"},{"include":"#operands"},{"include":"#register"},{"include":"#register-64"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#identifier"}]},"asm-statement":{"patterns":[{"begin":"\\\\b(asm)\\\\b\\\\s*(?=\\\\{)","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=})","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"keyword.control.asm.begin.d"}},"contentName":"gfm.markup.raw.assembly.d","end":"}","endCaptures":{"0":{"name":"keyword.control.asm.end.d"}},"patterns":[{"include":"#asm-instruction"}]}]}]},"asm-type-prefix":{"patterns":[{"match":"\\\\b((near\\\\s+ptr)|(far\\\\s+ptr)|(byte\\\\s+ptr)|(short\\\\s+ptr)|(int\\\\s+ptr)|(word\\\\s+ptr)|(dword\\\\s+ptr)|(qword\\\\s+ptr)|(float\\\\s+ptr)|(double\\\\s+ptr)|(real\\\\s+ptr))\\\\b","name":"support.type.asm-type-prefix.d"}]},"assert-expression":{"patterns":[{"begin":"\\\\bassert\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.assert.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"assign-expression":{"patterns":[{"match":">>>=|\\\\^\\\\^=|>>=|<<=|~=|\\\\^=|\\\\|=|&=|%=|/=|\\\\*=|-=|\\\\+=|=(?!>)","name":"keyword.operator.assign.d"}]},"attribute":{"patterns":[{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#deprecated-attribute"},{"include":"#protection-attribute"},{"include":"#pragma"},{"match":"\\\\b(static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"entity.other.attribute-name.d"},{"include":"#property"}]},"base-type":{"patterns":[{"match":"\\\\b(auto|bool|byte|ubyte|short|ushort|int|uint|long|ulong|char|wchar|dchar|float|double|real|ifloat|idouble|ireal|cfloat|cdouble|creal|void|noreturn)\\\\b","name":"storage.type.basic-type.d"},{"match":"\\\\b(string|wstring|dstring|size_t|ptrdiff_t)\\\\b(?!\\\\s*=)","name":"storage.type.basic-type.d"}]},"binary-integer":{"patterns":[{"match":"\\\\b(0[Bb])[01_]+(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.binary.d"}]},"bitwise-expression":{"patterns":[{"match":"[\\\\&^|]","name":"keyword.operator.bitwise.d"}]},"block-comment":{"patterns":[{"begin":"/((?!\\\\*/)\\\\*)+","beginCaptures":{"0":{"name":"comment.block.begin.d"}},"end":"\\\\*+/","endCaptures":{"0":{"name":"comment.block.end.d"}},"name":"comment.block.content.d"}]},"break-statement":{"patterns":[{"match":"\\\\bbreak\\\\b","name":"keyword.control.break.d"}]},"case-statement":{"patterns":[{"begin":"\\\\b(case)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.case.range.d"}},"end":":","endCaptures":{"0":{"name":"meta.case.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"cast-expression":{"patterns":[{"begin":"\\\\b(cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.cast.d"},"2":{"name":"keyword.operator.cast.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.cast.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"}]}]},"catch":{"patterns":[{"begin":"\\\\b(catch)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.catch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"catches":{"patterns":[{"include":"#catch"}]},"character":{"patterns":[{"match":"[\\\\w\\\\s]+","name":"string.character.d"}]},"character-literal":{"patterns":[{"begin":"\'","end":"\'","name":"string.character-literal.d","patterns":[{"include":"#character"},{"include":"#escape-sequence"}]}]},"class-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.class.d"},"2":{"name":"entity.name.class.d"}},"match":"\\\\b(class)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"},{"include":"#protection-attribute"},{"include":"#class-members"}]},"class-members":{"patterns":[{"include":"#shared-static-constructor"},{"include":"#shared-static-destructor"},{"include":"#constructor"},{"include":"#destructor"},{"include":"#postblit"},{"include":"#invariant"},{"include":"#member-function-attribute"}]},"colon":{"patterns":[{"match":":","name":"support.type.colon.d"}]},"comma":{"patterns":[{"match":",","name":"keyword.operator.comma.d"}]},"comment":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"},{"include":"#nesting-block-comment"}]},"condition":{"patterns":[{"include":"#version-condition"},{"include":"#debug-condition"},{"include":"#static-if-condition"}]},"conditional-declaration":{"patterns":[{"include":"#condition"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"},{"include":"#colon"},{"include":"#decl-defs"}]},"conditional-expression":{"patterns":[{"match":"\\\\s([:?])\\\\s","name":"keyword.operator.ternary.d"}]},"conditional-statement":{"patterns":[{"include":"#condition"},{"include":"#no-scope-non-empty-statement"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"}]},"constructor":{"patterns":[{"match":"\\\\bthis\\\\b","name":"entity.name.function.constructor.d"}]},"continue-statement":{"patterns":[{"match":"\\\\bcontinue\\\\b","name":"keyword.control.continue.d"}]},"debug-condition":{"patterns":[{"begin":"\\\\bdebug\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.debug.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.debug.identifier.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"match":"\\\\bdebug\\\\b\\\\s*(?!\\\\()","name":"keyword.other.debug.plain.d"}]},"debug-specification":{"patterns":[{"match":"\\\\bdebug\\\\b\\\\s*(?==)","name":"keyword.other.debug-specification.d"}]},"decimal-float":{"patterns":[{"match":"\\\\b((\\\\.[0-9])|(0\\\\.)|(([1-9]|(0[1-9_]))[0-9_]*\\\\.))[0-9_]*((e-|E-|e\\\\+|E\\\\+|[Ee])[0-9][0-9_]*)?[FLf]?i?\\\\b","name":"constant.numeric.float.decimal.d"}]},"decimal-integer":{"patterns":[{"match":"\\\\b(0(?=[^BXbx\\\\d]))|([1-9][0-9_]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.decimal.d"}]},"declaration":{"patterns":[{"include":"#alias-declaration"},{"include":"#aggregate-declaration"},{"include":"#enum-declaration"},{"include":"#import-declaration"},{"include":"#storage-class"},{"include":"#void-initializer"},{"include":"#mixin-declaration"}]},"declaration-statement":{"patterns":[{"include":"#declaration"}]},"default-statement":{"patterns":[{"captures":{"1":{"name":"keyword.control.case.default.d"},"2":{"name":"meta.default.colon.d"}},"match":"\\\\b(default)\\\\s*(:)"}]},"delete-expression":{"patterns":[{"match":"\\\\bdelete\\\\s+","name":"keyword.other.delete.d"}]},"delimited-string":{"begin":"q\\"","end":"\\"","name":"string.delimited.d","patterns":[{"include":"#delimited-string-bracket"},{"include":"#delimited-string-parens"},{"include":"#delimited-string-angle-brackets"},{"include":"#delimited-string-braces"}]},"delimited-string-angle-brackets":{"patterns":[{"begin":"<","end":">","name":"constant.character.angle-brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-braces":{"patterns":[{"begin":"\\\\{","end":"}","name":"constant.character.delimited.braces.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-bracket":{"patterns":[{"begin":"\\\\[","end":"]","name":"constant.characters.delimited.brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-parens":{"patterns":[{"begin":"\\\\(","end":"\\\\)","name":"constant.character.delimited.parens.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"deprecated-statement":{"patterns":[{"begin":"\\\\bdeprecated\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.deprecated.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.deprecated.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]},{"match":"\\\\bdeprecated\\\\b\\\\s*(?!\\\\()","name":"keyword.other.deprecated.plain.d"}]},"destructor":{"patterns":[{"match":"\\\\b~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.d"}]},"do-statement":{"patterns":[{"match":"\\\\bdo\\\\b","name":"keyword.control.do.d"}]},"double-quoted-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"},{"include":"#escape-sequence"}]},"double-quoted-string":{"patterns":[{"begin":"\\"","end":"\\"[cdw]?","name":"string.double-quoted-string.d","patterns":[{"include":"#double-quoted-characters"}]}]},"end-of-line":{"patterns":[{"match":"\\\\n+","name":"string.character.end-of-line.d"}]},"enum-declaration":{"patterns":[{"begin":"\\\\b(enum)\\\\b\\\\s+(?=.*[;=])","beginCaptures":{"1":{"name":"storage.type.enum.d"}},"end":"([A-Z_a-z][_\\\\w\\\\d]*)\\\\s*(?=[(;=])(;)?","endCaptures":{"1":{"name":"entity.name.type.enum.d"},"2":{"name":"meta.enum.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"}]}]},"eof":{"patterns":[{"begin":"__EOF__","beginCaptures":{"0":{"name":"comment.block.documentation.eof.start.d"}},"end":"(?!__NEVER_MATCH__)__NEVER_MATCH__","name":"text.eof.d"}]},"equal":{"patterns":[{"match":"=(?![=>])","name":"keyword.operator.equal.d"}]},"escape-sequence":{"patterns":[{"match":"(\\\\\\\\(?:quot|amp|lt|gt|OElig|oelig|Scaron|scaron|Yuml|circ|tilde|ensp|emsp|thinsp|zwnj|zwj|lrm|rlm|ndash|mdash|lsquo|rsquo|sbquo|ldquo|rdquo|bdquo|dagger|Dagger|permil|lsaquo|rsaquo|euro|nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|Aelig|Ccedil|egrave|eacute|ecirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|fnof|Alpha|Beta|Gamma|Delta|Epsilon|Zeta|Eta|Theta|Iota|Kappa|Lambda|Mu|Nu|Xi|Omicron|Pi|Rho|Sigma|Tau|Upsilon|Phi|Chi|Psi|Omega|alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigmaf?|tau|upsilon|phi|chi|psi|omega|thetasym|upsih|piv|bull|hellip|prime|Prime|oline|frasl|weierp|image|real|trade|alefsym|larr|uarr|rarr|darr|harr|crarr|lArr|uArr|rArr|dArr|hArr|forall|part|exist|empty|nabla|isin|notin|ni|prod|sum|minux|lowast|radic|prop|infin|ang|and|or|cap|cup|int|there4|sim|cong|asymp|ne|equiv|le|ge|sub|sup|nsub|sube|supe|oplus|otimes|perp|sdot|lceil|rceil|lfloor|rfloor|loz|spades|clubs|hearts|diams|lang|rang))","name":"constant.character.escape-sequence.entity.d"},{"match":"(\\\\\\\\(?:x[_\\\\h]{2}|u[_\\\\h]{4}|U[_\\\\h]{8}|[0-7]{1,3}))","name":"constant.character.escape-sequence.number.d"},{"match":"(\\\\\\\\[\\"\'0?\\\\\\\\abfnrtv])","name":"constant.character.escape-sequence.d"}]},"expression":{"patterns":[{"include":"#index-expression"},{"include":"#expression-no-index"}]},"expression-no-index":{"patterns":[{"include":"#function-literal"},{"include":"#assert-expression"},{"include":"#assign-expression"},{"include":"#mixin-expression"},{"include":"#import-expression"},{"include":"#traits-expression"},{"include":"#is-expression"},{"include":"#typeid-expression"},{"include":"#shift-expression"},{"include":"#logical-expression"},{"include":"#rel-expression"},{"include":"#bitwise-expression"},{"include":"#identity-expression"},{"include":"#in-expression"},{"include":"#conditional-expression"},{"include":"#arithmetic-expression"},{"include":"#new-expression"},{"include":"#delete-expression"},{"include":"#cast-expression"},{"include":"#type-specialization"},{"include":"#comma"},{"include":"#special-keyword"},{"include":"#functions"},{"include":"#type"},{"include":"#parentheses-expression"},{"include":"#lexical"}]},"extended-type":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"entity.name.type.d"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"storage.type.array.expression.begin.d"}},"end":"]","endCaptures":{"0":{"name":"storage.type.array.expression.end.d"}},"patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#type"},{"include":"#expression"}]}]},"final-switch-statement":{"patterns":[{"begin":"\\\\b(final\\\\s+switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.final.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"finally-statement":{"patterns":[{"match":"\\\\bfinally\\\\b","name":"keyword.control.throw.d"}]},"float-literal":{"patterns":[{"include":"#decimal-float"},{"include":"#hexadecimal-float"}]},"for-statement":{"patterns":[{"begin":"\\\\b(for)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.for.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"foreach-reverse-statement":{"patterns":[{"begin":"\\\\b(foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach_reverse.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"foreach-statement":{"patterns":[{"begin":"\\\\b(foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"function-attribute":{"patterns":[{"match":"\\\\b(nothrow|pure)\\\\b","name":"storage.type.modifier.function-attribute.d"},{"include":"#property"}]},"function-body":{"patterns":[{"include":"#in-statement"},{"include":"#out-statement"},{"include":"#block-statement"}]},"function-literal":{"patterns":[{"match":"=>","name":"keyword.operator.lambda.d"},{"match":"\\\\b(function|delegate)\\\\b","name":"keyword.other.function-literal.d"},{"begin":"\\\\b([_\\\\w][_\\\\d\\\\w]*)\\\\s*(=>)","beginCaptures":{"1":{"name":"variable.parameter.d"},"2":{"name":"meta.lexical.token.symbolic.d"}},"end":"(?=[]),;}])","patterns":[{"include":"source.d"}]},{"begin":"(?<=[()])(\\\\s*)(\\\\{)","beginCaptures":{"1":{"name":"source.d"},"2":{"name":"source.d"}},"end":"}","patterns":[{"include":"source.d"}]}]},"function-prelude":{"patterns":[{"match":"(?!type(?:of|id))((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\s*(?=\\\\()","name":"entity.name.function.d"}]},"functions":{"patterns":[{"include":"#function-attribute"},{"include":"#function-prelude"}]},"goto-statement":{"patterns":[{"match":"\\\\bgoto\\\\s+default\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\s+case\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.control.goto.d"}]},"hex-string":{"patterns":[{"begin":"x\\"","end":"\\"[cdw]?","name":"string.hex-string.d","patterns":[{"match":"[_s\\\\h]+","name":"constant.character.hex-string.d"}]}]},"hexadecimal-float":{"patterns":[{"match":"\\\\b0[Xx][_\\\\h]*(\\\\.[_\\\\h]*)?(p-|P-|p\\\\+|P\\\\+|[Pp])[0-9][0-9_]*[FLf]?i?\\\\b","name":"constant.numeric.float.hexadecimal.d"}]},"hexadecimal-integer":{"patterns":[{"match":"\\\\b(0[Xx])(\\\\h[_\\\\h]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.hexadecimal.d"}]},"identifier":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"variable.d"}]},"identifier-list":{"patterns":[{"match":",","name":"keyword.other.comma.d"},{"include":"#identifier"}]},"identity-expression":{"patterns":[{"match":"\\\\b(!??is)\\\\b","name":"keyword.operator.identity.d"}]},"ies-string":{"patterns":[{"begin":"i\\"","end":"\\"[cdw]?","name":"string.ies-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#double-quoted-characters"}]}]},"ies-token-string":{"begin":"iq\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#interpolation-sequence"},{"include":"#token-string-content"}]},"ies-wysiwyg-string":{"patterns":[{"begin":"i`","end":"`[cdw]?","name":"string.ies-wysiwyg-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#wysiwyg-characters"}]}]},"if-statement":{"patterns":[{"begin":"\\\\b(if)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.if.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]},{"match":"\\\\belse\\\\b\\\\s*","name":"keyword.control.else.d"}]},"import-declaration":{"patterns":[{"begin":"\\\\b(static\\\\s+)?(import)\\\\s+(?!\\\\()","beginCaptures":{"1":{"name":"keyword.package.import.d"},"2":{"name":"keyword.package.import.d"}},"end":";","endCaptures":{"0":{"name":"meta.import.end.d"}},"patterns":[{"include":"#import-identifier"},{"include":"#comma"},{"include":"#comment"}]}]},"import-expression":{"patterns":[{"begin":"\\\\b(import)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.import.d"},"2":{"name":"keyword.other.import.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.import.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"import-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.import.d"}]},"in-expression":{"patterns":[{"match":"\\\\b(!??in)\\\\b","name":"keyword.operator.in.d"}]},"in-statement":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.control.in.d"}]},"index-expression":{"patterns":[{"begin":"\\\\[","end":"]","patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#expression-no-index"}]}]},"integer-literal":{"patterns":[{"include":"#decimal-integer"},{"include":"#binary-integer"},{"include":"#hexadecimal-integer"}]},"interface-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.interface.d"},"2":{"name":"entity.name.type.interface.d"}},"match":"\\\\b(interface)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"interpolation-escape":{"match":"\\\\\\\\\\\\$","name":"constant.character.escape-sequence.d"},"interpolation-sequence":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.d"}},"name":"meta.interpolation.expression.d","patterns":[{"include":"#expression"}]},"invariant":{"patterns":[{"match":"\\\\binvariant\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.invariant.d"}]},"is-expression":{"patterns":[{"begin":"\\\\bis\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.token.is.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.token.is.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"keyword":{"patterns":[{"match":"\\\\babstract\\\\b","name":"keyword.token.abstract.d"},{"match":"\\\\balias\\\\b","name":"keyword.token.alias.d"},{"match":"\\\\balign\\\\b","name":"keyword.token.align.d"},{"match":"\\\\basm\\\\b","name":"keyword.token.asm.d"},{"match":"\\\\bassert\\\\b","name":"keyword.token.assert.d"},{"match":"\\\\bauto\\\\b","name":"keyword.token.auto.d"},{"match":"\\\\bbool\\\\b","name":"keyword.token.bool.d"},{"match":"\\\\bbreak\\\\b","name":"keyword.token.break.d"},{"match":"\\\\bbyte\\\\b","name":"keyword.token.byte.d"},{"match":"\\\\bcase\\\\b","name":"keyword.token.case.d"},{"match":"\\\\bcast\\\\b","name":"keyword.token.cast.d"},{"match":"\\\\bcatch\\\\b","name":"keyword.token.catch.d"},{"match":"\\\\bcdouble\\\\b","name":"keyword.token.cdouble.d"},{"match":"\\\\bcent\\\\b","name":"keyword.token.cent.d"},{"match":"\\\\bcfloat\\\\b","name":"keyword.token.cfloat.d"},{"match":"\\\\bchar\\\\b","name":"keyword.token.char.d"},{"match":"\\\\bclass\\\\b","name":"keyword.token.class.d"},{"match":"\\\\bconst\\\\b","name":"keyword.token.const.d"},{"match":"\\\\bcontinue\\\\b","name":"keyword.token.continue.d"},{"match":"\\\\bcreal\\\\b","name":"keyword.token.creal.d"},{"match":"\\\\bdchar\\\\b","name":"keyword.token.dchar.d"},{"match":"\\\\bdebug\\\\b","name":"keyword.token.debug.d"},{"match":"\\\\bdefault\\\\b","name":"keyword.token.default.d"},{"match":"\\\\bdelegate\\\\b","name":"keyword.token.delegate.d"},{"match":"\\\\bdelete\\\\b","name":"keyword.token.delete.d"},{"match":"\\\\bdeprecated\\\\b","name":"keyword.token.deprecated.d"},{"match":"\\\\bdo\\\\b","name":"keyword.token.do.d"},{"match":"\\\\bdouble\\\\b","name":"keyword.token.double.d"},{"match":"\\\\belse\\\\b","name":"keyword.token.else.d"},{"match":"\\\\benum\\\\b","name":"keyword.token.enum.d"},{"match":"\\\\bexport\\\\b","name":"keyword.token.export.d"},{"match":"\\\\bextern\\\\b","name":"keyword.token.extern.d"},{"match":"\\\\bfalse\\\\b","name":"constant.language.boolean.false.d"},{"match":"\\\\bfinal\\\\b","name":"keyword.token.final.d"},{"match":"\\\\bfinally\\\\b","name":"keyword.token.finally.d"},{"match":"\\\\bfloat\\\\b","name":"keyword.token.float.d"},{"match":"\\\\bfor\\\\b","name":"keyword.token.for.d"},{"match":"\\\\bforeach\\\\b","name":"keyword.token.foreach.d"},{"match":"\\\\bforeach_reverse\\\\b","name":"keyword.token.foreach_reverse.d"},{"match":"\\\\bfunction\\\\b","name":"keyword.token.function.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.token.goto.d"},{"match":"\\\\bidouble\\\\b","name":"keyword.token.idouble.d"},{"match":"\\\\bif\\\\b","name":"keyword.token.if.d"},{"match":"\\\\bifloat\\\\b","name":"keyword.token.ifloat.d"},{"match":"\\\\bimmutable\\\\b","name":"keyword.token.immutable.d"},{"match":"\\\\bimport\\\\b","name":"keyword.token.import.d"},{"match":"\\\\bin\\\\b","name":"keyword.token.in.d"},{"match":"\\\\binout\\\\b","name":"keyword.token.inout.d"},{"match":"\\\\bint\\\\b","name":"keyword.token.int.d"},{"match":"\\\\binterface\\\\b","name":"keyword.token.interface.d"},{"match":"\\\\binvariant\\\\b","name":"keyword.token.invariant.d"},{"match":"\\\\bireal\\\\b","name":"keyword.token.ireal.d"},{"match":"\\\\bis\\\\b","name":"keyword.token.is.d"},{"match":"\\\\blazy\\\\b","name":"keyword.token.lazy.d"},{"match":"\\\\blong\\\\b","name":"keyword.token.long.d"},{"match":"\\\\bmacro\\\\b","name":"keyword.token.macro.d"},{"match":"\\\\bmixin\\\\b","name":"keyword.token.mixin.d"},{"match":"\\\\bmodule\\\\b","name":"keyword.token.module.d"},{"match":"\\\\bnew\\\\b","name":"keyword.token.new.d"},{"match":"\\\\bnothrow\\\\b","name":"keyword.token.nothrow.d"},{"match":"\\\\bnull\\\\b","name":"constant.language.null.d"},{"match":"\\\\bout\\\\b","name":"keyword.token.out.d"},{"match":"\\\\boverride\\\\b","name":"keyword.token.override.d"},{"match":"\\\\bpackage\\\\b","name":"keyword.token.package.d"},{"match":"\\\\bpragma\\\\b","name":"keyword.token.pragma.d"},{"match":"\\\\bprivate\\\\b","name":"keyword.token.private.d"},{"match":"\\\\bprotected\\\\b","name":"keyword.token.protected.d"},{"match":"\\\\bpublic\\\\b","name":"keyword.token.public.d"},{"match":"\\\\bpure\\\\b","name":"keyword.token.pure.d"},{"match":"\\\\breal\\\\b","name":"keyword.token.real.d"},{"match":"\\\\bref\\\\b","name":"keyword.token.ref.d"},{"match":"\\\\breturn\\\\b","name":"keyword.token.return.d"},{"match":"\\\\bscope\\\\b","name":"keyword.token.scope.d"},{"match":"\\\\bshared\\\\b","name":"keyword.token.shared.d"},{"match":"\\\\bshort\\\\b","name":"keyword.token.short.d"},{"match":"\\\\bstatic\\\\b","name":"keyword.token.static.d"},{"match":"\\\\bstruct\\\\b","name":"keyword.token.struct.d"},{"match":"\\\\bsuper\\\\b","name":"keyword.token.super.d"},{"match":"\\\\bswitch\\\\b","name":"keyword.token.switch.d"},{"match":"\\\\bsynchronized\\\\b","name":"keyword.token.synchronized.d"},{"match":"\\\\btemplate\\\\b","name":"keyword.token.template.d"},{"match":"\\\\bthis\\\\b","name":"keyword.token.this.d"},{"match":"\\\\bthrow\\\\b","name":"keyword.token.throw.d"},{"match":"\\\\btrue\\\\b","name":"constant.language.boolean.true.d"},{"match":"\\\\btry\\\\b","name":"keyword.token.try.d"},{"match":"\\\\btypedef\\\\b","name":"keyword.token.typedef.d"},{"match":"\\\\btypeid\\\\b","name":"keyword.token.typeid.d"},{"match":"\\\\btypeof\\\\b","name":"keyword.token.typeof.d"},{"match":"\\\\bubyte\\\\b","name":"keyword.token.ubyte.d"},{"match":"\\\\bucent\\\\b","name":"keyword.token.ucent.d"},{"match":"\\\\buint\\\\b","name":"keyword.token.uint.d"},{"match":"\\\\bulong\\\\b","name":"keyword.token.ulong.d"},{"match":"\\\\bunion\\\\b","name":"keyword.token.union.d"},{"match":"\\\\bunittest\\\\b","name":"keyword.token.unittest.d"},{"match":"\\\\bushort\\\\b","name":"keyword.token.ushort.d"},{"match":"\\\\bversion\\\\b","name":"keyword.token.version.d"},{"match":"\\\\bvoid\\\\b","name":"keyword.token.void.d"},{"match":"\\\\bvolatile\\\\b","name":"keyword.token.volatile.d"},{"match":"\\\\bwchar\\\\b","name":"keyword.token.wchar.d"},{"match":"\\\\bwhile\\\\b","name":"keyword.token.while.d"},{"match":"\\\\bwith\\\\b","name":"keyword.token.with.d"},{"match":"\\\\b__FILE__\\\\b","name":"keyword.token.__FILE__.d"},{"match":"\\\\b__MODULE__\\\\b","name":"keyword.token.__MODULE__.d"},{"match":"\\\\b__LINE__\\\\b","name":"keyword.token.__LINE__.d"},{"match":"\\\\b__FUNCTION__\\\\b","name":"keyword.token.__FUNCTION__.d"},{"match":"\\\\b__PRETTY_FUNCTION__\\\\b","name":"keyword.token.__PRETTY_FUNCTION__.d"},{"match":"\\\\b__gshared\\\\b","name":"keyword.token.__gshared.d"},{"match":"\\\\b__traits\\\\b","name":"keyword.token.__traits.d"},{"match":"\\\\b__vector\\\\b","name":"keyword.token.__vector.d"},{"match":"\\\\b__parameters\\\\b","name":"keyword.token.__parameters.d"}]},"labeled-statement":{"patterns":[{"match":"\\\\b(?!abstract|alias|align|asm|assert|auto|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|in|inout|int|interface|invariant|ireal|is|lazy|long|macro|mixin|module|new|nothrow|noreturn|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__FILE__|__MODULE__|__LINE__|__FUNCTION__|__PRETTY_FUNCTION__|__gshared|__traits|__vector|__parameters)[A-Z_a-z][0-9A-Z_a-z]*\\\\s*:","name":"entity.name.d"}]},"lexical":{"patterns":[{"include":"#comment"},{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#eof"},{"include":"#special-tokens"},{"include":"#special-token-sequence"},{"include":"#keyword"},{"include":"#identifier"}]},"line-comment":{"patterns":[{"match":"//+.*$","name":"comment.line.d"}]},"linkage-attribute":{"patterns":[{"begin":"\\\\bextern\\\\s*\\\\(\\\\s*C\\\\+\\\\+\\\\s*,","beginCaptures":{"0":{"name":"keyword.other.extern.cplusplus.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.cplusplus.end.d"}},"patterns":[{"include":"#identifier"},{"include":"#comma"}]},{"begin":"\\\\bextern\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.extern.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.end.d"}},"patterns":[{"include":"#linkage-type"}]}]},"linkage-type":{"patterns":[{"match":"C|C\\\\+\\\\+|D|Windows|Pascal|System","name":"storage.modifier.linkage-type.d"}]},"logical-expression":{"patterns":[{"match":"\\\\|\\\\||&&|==|!=?","name":"keyword.operator.logical.d"}]},"member-function-attribute":{"patterns":[{"match":"\\\\b(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.member-function-attribute"}]},"mixin-declaration":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-expression":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-statement":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.mixintemplate.d"},"2":{"name":"entity.name.type.mixintemplate.d"}},"match":"\\\\b(mixin\\\\s*template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"module":{"packages":[{"import":"#module-declaration"}]},"module-declaration":{"patterns":[{"begin":"\\\\b(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.module.d"}},"end":";","endCaptures":{"0":{"name":"meta.module.end.d"}},"patterns":[{"include":"#module-identifier"},{"include":"#comment"}]}]},"module-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.module.d"}]},"nesting-block-comment":{"patterns":[{"begin":"/((?!\\\\+/)\\\\+)+","beginCaptures":{"0":{"name":"comment.block.documentation.begin.d"}},"end":"\\\\++/","endCaptures":{"0":{"name":"comment.block.documentation.end.d"}},"name":"comment.block.documentation.content.d","patterns":[{"include":"#nesting-block-comment"}]}]},"new-expression":{"patterns":[{"match":"\\\\bnew\\\\s+","name":"keyword.other.new.d"}]},"non-block-statement":{"patterns":[{"include":"#module-declaration"},{"include":"#labeled-statement"},{"include":"#if-statement"},{"include":"#while-statement"},{"include":"#do-statement"},{"include":"#for-statement"},{"include":"#static-foreach"},{"include":"#static-foreach-reverse"},{"include":"#foreach-statement"},{"include":"#foreach-reverse-statement"},{"include":"#switch-statement"},{"include":"#final-switch-statement"},{"include":"#case-statement"},{"include":"#default-statement"},{"include":"#continue-statement"},{"include":"#break-statement"},{"include":"#return-statement"},{"include":"#goto-statement"},{"include":"#with-statement"},{"include":"#synchronized-statement"},{"include":"#try-statement"},{"include":"#catches"},{"include":"#scope-guard-statement"},{"include":"#throw-statement"},{"include":"#finally-statement"},{"include":"#asm-statement"},{"include":"#pragma-statement"},{"include":"#mixin-statement"},{"include":"#conditional-statement"},{"include":"#static-assert"},{"include":"#deprecated-statement"},{"include":"#unit-test"},{"include":"#declaration-statement"}]},"operands":{"patterns":[{"match":"[:?]","name":"keyword.operator.ternary.assembly.d"},{"match":"[]\\\\[]","name":"keyword.operator.bracket.assembly.d"},{"match":">>>|\\\\|\\\\||&&|==|!=|<=|>=|<<|>>|[-!%\\\\&*+/<>^|~]","name":"keyword.operator.assembly.d"}]},"out-statement":{"patterns":[{"begin":"\\\\bout\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.out.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.out.end.d"}},"patterns":[{"include":"#identifier"}]},{"match":"\\\\bout\\\\b","name":"keyword.control.out.d"}]},"parentheses-expression":{"patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#expression"}]}]},"postblit":{"patterns":[{"match":"\\\\bthis\\\\s*\\\\(\\\\s*this\\\\s*\\\\)\\\\s","name":"entity.name.class.postblit.d"}]},"pragma":{"patterns":[{"match":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*\\\\)","name":"keyword.other.pragma.d"},{"begin":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*,","end":"\\\\)","name":"keyword.other.pragma.d","patterns":[{"include":"#expression"}]},{"match":"^#!.+","name":"gfm.markup.header.preprocessor.script-tag.d"}]},"pragma-statement":{"patterns":[{"include":"#pragma"}]},"property":{"patterns":[{"match":"@(property|safe|trusted|system|disable|nogc)\\\\b","name":"entity.name.tag.property.d"},{"include":"#user-defined-attribute"}]},"protection-attribute":{"patterns":[{"match":"\\\\b(private|package|protected|public|export)\\\\b","name":"keyword.other.protections.d"}]},"register":{"patterns":[{"match":"\\\\b(XMM0|XMM1|XMM2|XMM3|XMM4|XMM5|XMM6|XMM7|MM0|MM1|MM2|MM3|MM4|MM5|MM6|MM7|ST\\\\(0\\\\)|ST\\\\(1\\\\)|ST\\\\(2\\\\)|ST\\\\(3\\\\)|ST\\\\(4\\\\)|ST\\\\(5\\\\)|ST\\\\(6\\\\)|ST\\\\(7\\\\)|ST|TR1|TR2|TR3|TR4|TR5|TR6|TR7|DR0|DR1|DR2|DR3|DR4|DR5|DR6|DR7|CR0|CR2|CR3|CR4|EAX|EBX|ECX|EDX|EBP|ESP|EDI|ESI|AL|AH|AX|BL|BH|BX|CL|CH|CX|DL|DH|DX|BP|SP|DI|SI|ES|CS|SS|DS|GS|FS)\\\\b","name":"storage.type.assembly.register.d"}]},"register-64":{"patterns":[{"match":"\\\\b(RAX|RBX|RCX|RDX|BPL|RBP|SPL|RSP|DIL|RDI|SIL|RSI|R8B|R8W|R8D?|R9B|R9W|R9D?|R10B|R10W|R10D?|R11B|R11W|R11D?|R12B|R12W|R12D?|R13B|R13W|R13D?|R14B|R14W|R14D?|R15B|R15W|R15D?|XMM8|XMM9|XMM10|XMM11|XMM12|XMM13|XMM14|XMM15|YMM0|YMM1|YMM2|YMM3|YMM4|YMM5|YMM6|YMM7|YMM8|YMM9|YMM10|YMM11|YMM12|YMM13|YMM14|YMM15)\\\\b","name":"storage.type.assembly.register-64.d"}]},"rel-expression":{"patterns":[{"match":"!<>=?|<>=|!>=|!<=|<=|>=|<>|!>|!<|[<>]","name":"keyword.operator.rel.d"}]},"return-statement":{"patterns":[{"match":"\\\\breturn\\\\b","name":"keyword.control.return.d"}]},"scope-guard-statement":{"patterns":[{"match":"\\\\bscope\\\\s*\\\\((exit|success|failure)\\\\)","name":"keyword.control.scope.d"}]},"semi-colon":{"patterns":[{"match":";","name":"meta.statement.end.d"}]},"shared-static-constructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.constructor.shared-static.d"},{"include":"#function-body"}]},"shared-static-destructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.static.d"}]},"shift-expression":{"patterns":[{"match":"<<|>>>??","name":"keyword.operator.shift.d"},{"include":"#add-expression"}]},"special-keyword":{"patterns":[{"match":"\\\\b(__(?:FILE|FILE_FULL_PATH|MODULE|LINE|FUNCTION|PRETTY_FUNCTION)__)\\\\b","name":"constant.language.special-keyword.d"}]},"special-token-sequence":{"patterns":[{"match":"#\\\\s*line.*","name":"gfm.markup.italic.special-token-sequence.d"}]},"special-tokens":{"patterns":[{"match":"\\\\b(__(?:DATE|TIME|TIMESTAMP|VENDOR|VERSION)__)\\\\b","name":"gfm.markup.raw.special-tokens.d"}]},"statement":{"patterns":[{"include":"#non-block-statement"},{"include":"#semi-colon"}]},"static-assert":{"patterns":[{"begin":"\\\\bstatic\\\\s+assert\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.static-assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.static-assert.end.d"}},"patterns":[{"include":"#expression"}]}]},"static-foreach":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-foreach-reverse":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-if-condition":{"patterns":[{"begin":"\\\\bstatic\\\\s+if\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.static-if.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.static-if.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"}]}]},"storage-class":{"patterns":[{"match":"\\\\b(deprecated|enum|static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"storage.class.d"},{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#property"}]},"string-literal":{"patterns":[{"include":"#wysiwyg-string"},{"include":"#alternate-wysiwyg-string"},{"include":"#hex-string"},{"include":"#arbitrary-delimited-string"},{"include":"#delimited-string"},{"include":"#double-quoted-string"},{"include":"#token-string"},{"include":"#ies-string"},{"include":"#ies-wysiwyg-string"},{"include":"#ies-token-string"}]},"struct-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.struct.d"},"2":{"name":"entity.name.type.struct.d"}},"match":"\\\\b(struct)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"switch-statement":{"patterns":[{"begin":"\\\\b(switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"synchronized-statement":{"patterns":[{"begin":"\\\\b(synchronized)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.synchronized.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.template.d"},"2":{"name":"entity.name.type.template.d"}},"match":"\\\\b(template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"throw-statement":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.d"}]},"token-string":{"begin":"q\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#token-string-content"}]},"token-string-content":{"patterns":[{"begin":"\\\\{","end":"}","patterns":[{"include":"#token-string-content"}]},{"include":"#comment"},{"include":"#tokens"}]},"tokens":{"patterns":[{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#integer-literal"},{"include":"#float-literal"},{"include":"#keyword"},{"match":"~=?|>>>|>>=?|>=?|=>|==?|<>|<=|<<?|%=|[#%]|&=|&&|[$\\\\&]|\\\\|=|\\\\|\\\\|?|\\\\+=|\\\\+\\\\+?|\\\\^=|\\\\^\\\\^=?|\\\\^|\\\\*=|[]()*\\\\[{}]|\\\\.\\\\.\\\\.?|[.?]|!>=?|!=|!<>=?|!<=?|!|/=|[,/:;@]|-=|--?","name":"meta.lexical.token.symbolic.d"},{"include":"#identifier"}]},"traits-argument":{"patterns":[{"include":"#expression"},{"include":"#type"}]},"traits-arguments":{"patterns":[{"include":"#traits-argument"},{"include":"#comma"}]},"traits-expression":{"patterns":[{"begin":"\\\\b__traits\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.traits.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.traits.end.d"}},"patterns":[{"include":"#traits-keyword"},{"include":"#comma"},{"include":"#traits-argument"}]}]},"traits-keyword":{"patterns":[{"match":"isAbstractClass|isArithmetic|isAssociativeArray|isFinalClass|isPOD|isNested|isFloating|isIntegral|isScalar|isStaticArray|isUnsigned|isVirtualFunction|isVirtualMethod|isAbstractFunction|isFinalFunction|isStaticFunction|isOverrideFunction|isRef|isOut|isLazy|hasMember|identifier|getAliasThis|getAttributes|getMember|getOverloads|getProtection|getVirtualFunctions|getVirtualMethods|getUnitTests|parent|classInstanceSize|getVirtualIndex|allMembers|derivedMembers|isSame|compiles","name":"support.constant.traits-keyword.d"}]},"try-statement":{"patterns":[{"match":"\\\\btry\\\\b","name":"keyword.control.try.d"}]},"type":{"patterns":[{"include":"#typeof"},{"include":"#base-type"},{"include":"#type-ctor"},{"begin":"!\\\\(","end":"\\\\)","patterns":[{"include":"#type"},{"include":"#expression"}]}]},"type-ctor":{"patterns":[{"match":"(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.d"}]},"type-specialization":{"patterns":[{"match":"\\\\b(struct|union|class|interface|enum|function|delegate|super|const|immutable|inout|shared|return|__parameters)\\\\b","name":"keyword.other.storage.type-specialization.d"}]},"typeid-expression":{"patterns":[{"match":"\\\\btypeid\\\\s*(?=\\\\()","name":"keyword.other.typeid.d"}]},"typeof":{"begin":"typeof\\\\s*\\\\(","end":"\\\\)","name":"keyword.token.typeof.d","patterns":[{"match":"return","name":"keyword.control.return.d"},{"include":"#expression"}]},"union-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.union.d"},"2":{"name":"entity.name.type.union.d"}},"match":"\\\\b(union)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"user-defined-attribute":{"patterns":[{"match":"@([_\\\\w][_\\\\d\\\\w]*)\\\\b","name":"entity.name.tag.user-defined-property.d"},{"begin":"@([_\\\\w][_\\\\d\\\\w]*)?\\\\(","end":"\\\\)","name":"entity.name.tag.user-defined-property.d","patterns":[{"include":"#expression"}]}]},"version-condition":{"patterns":[{"match":"\\\\bversion\\\\s*\\\\(\\\\s*unittest\\\\s*\\\\)","name":"keyword.other.version.unittest.d"},{"match":"\\\\bversion\\\\s*\\\\(\\\\s*assert\\\\s*\\\\)","name":"keyword.other.version.assert.d"},{"begin":"\\\\bversion\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.version.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.version.identifer.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"include":"#version-specification"}]},"version-specification":{"patterns":[{"match":"\\\\bversion\\\\b\\\\s*(?==)","name":"keyword.other.version-specification.d"}]},"void-initializer":{"patterns":[{"match":"\\\\bvoid\\\\b","name":"support.type.void.d"}]},"while-statement":{"patterns":[{"begin":"\\\\b(while)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.while.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"with-statement":{"patterns":[{"begin":"\\\\b(with)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.with.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"wysiwyg-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"}]},"wysiwyg-string":{"patterns":[{"begin":"r\\"","end":"\\"[cdw]?","name":"string.wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]}},"scopeName":"source.d"}')),t=[e];export{t as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"Rust","name":"rust","patterns":[{"begin":"(<)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.brackets.angle.rust"},"2":{"name":"punctuation.brackets.square.rust"}},"end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#gtypes"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"3":{"name":"keyword.other.crate.rust"},"4":{"name":"entity.name.type.metavariable.rust"},"6":{"name":"keyword.operator.key-value.rust"},"7":{"name":"variable.other.metavariable.specifier.rust"}},"match":"(\\\\$)((crate)|([A-Z]\\\\w*))(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?","name":"meta.macro.metavariable.type.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"2":{"name":"variable.other.metavariable.name.rust"},"4":{"name":"keyword.operator.key-value.rust"},"5":{"name":"variable.other.metavariable.specifier.rust"}},"match":"(\\\\$)([a-z]\\\\w*)(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?","name":"meta.macro.metavariable.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"entity.name.function.macro.rules.rust"},"3":{"name":"entity.name.function.macro.rust"},"4":{"name":"entity.name.type.macro.rust"},"5":{"name":"punctuation.brackets.curly.rust"}},"match":"\\\\b(macro_rules!)\\\\s+(([0-9_a-z]+)|([A-Z][0-9_a-z]*))\\\\s+(\\\\{)","name":"meta.macro.rules.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"entity.name.module.rust"}},"match":"(mod)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][0-9A-Z_a-z]*)"},{"begin":"\\\\b(extern)\\\\s+(crate)","beginCaptures":{"1":{"name":"storage.type.rust"},"2":{"name":"keyword.other.crate.rust"}},"end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.import.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#punctuation"}]},{"begin":"\\\\b(use)\\\\s","beginCaptures":{"1":{"name":"keyword.other.rust"}},"end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.use.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#types"},{"include":"#lvariables"}]},{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#types"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#variables"}],"repository":{"attributes":{"begin":"(#)(!?)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.attribute.rust"},"3":{"name":"punctuation.brackets.attribute.rust"}},"end":"]","endCaptures":{"0":{"name":"punctuation.brackets.attribute.rust"}},"name":"meta.attribute.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#gtypes"},{"include":"#types"}]},"block-comments":{"patterns":[{"match":"/\\\\*\\\\*/","name":"comment.block.rust"},{"begin":"/\\\\*\\\\*","end":"\\\\*/","name":"comment.block.documentation.rust","patterns":[{"include":"#block-comments"}]},{"begin":"/\\\\*(?!\\\\*)","end":"\\\\*/","name":"comment.block.rust","patterns":[{"include":"#block-comments"}]}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"match":"(///).*$","name":"comment.line.documentation.rust"},{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"match":"(//).*$","name":"comment.line.double-slash.rust"}]},"constants":{"patterns":[{"match":"\\\\b[A-Z]{2}[0-9A-Z_]*\\\\b","name":"constant.other.caps.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"constant.other.caps.rust"}},"match":"\\\\b(const)\\\\s+([A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"punctuation.separator.dot.decimal.rust"},"2":{"name":"keyword.operator.exponent.rust"},"3":{"name":"keyword.operator.exponent.sign.rust"},"4":{"name":"constant.numeric.decimal.exponent.mantissa.rust"},"5":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b\\\\d[_\\\\d]*(\\\\.?)[_\\\\d]*(?:([Ee])([-+]?)([_\\\\d]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.decimal.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0x[A-F_a-f\\\\d]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.hex.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.oct.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.bin.rust"},{"match":"\\\\b(true|false)\\\\b","name":"constant.language.bool.rust"}]},"escapes":{"captures":{"1":{"name":"constant.character.escape.backslash.rust"},"2":{"name":"constant.character.escape.bit.rust"},"3":{"name":"constant.character.escape.unicode.rust"},"4":{"name":"constant.character.escape.unicode.punctuation.rust"},"5":{"name":"constant.character.escape.unicode.punctuation.rust"}},"match":"(\\\\\\\\)(?:(x[0-7][A-Fa-f\\\\d])|(u(\\\\{)[A-Fa-f\\\\d]{4,6}(}))|.)","name":"constant.character.escape.rust"},"functions":{"patterns":[{"captures":{"1":{"name":"keyword.other.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"match":"\\\\b(pub)(\\\\()"},{"begin":"\\\\b(fn)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)((\\\\()|(<))","beginCaptures":{"1":{"name":"keyword.other.fn.rust"},"2":{"name":"entity.name.function.rust"},"4":{"name":"punctuation.brackets.round.rust"},"5":{"name":"punctuation.brackets.angle.rust"}},"end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.brackets.curly.rust"},"2":{"name":"punctuation.semi.rust"}},"name":"meta.function.definition.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)(?=::<.*>\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]}]},"gtypes":{"patterns":[{"match":"\\\\b(Some|None)\\\\b","name":"entity.name.type.option.rust"},{"match":"\\\\b(Ok|Err)\\\\b","name":"entity.name.type.result.rust"}]},"interpolations":{"captures":{"1":{"name":"punctuation.definition.interpolation.rust"},"2":{"name":"punctuation.definition.interpolation.rust"}},"match":"(\\\\{)[^\\"{}]*(})","name":"meta.interpolation.rust"},"keywords":{"patterns":[{"match":"\\\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\\\b","name":"keyword.control.rust"},{"match":"\\\\b(extern|let|macro|mod)\\\\b","name":"keyword.other.rust storage.type.rust"},{"match":"\\\\b(const)\\\\b","name":"storage.modifier.rust"},{"match":"\\\\b(type)\\\\b","name":"keyword.declaration.type.rust storage.type.rust"},{"match":"\\\\b(enum)\\\\b","name":"keyword.declaration.enum.rust storage.type.rust"},{"match":"\\\\b(trait)\\\\b","name":"keyword.declaration.trait.rust storage.type.rust"},{"match":"\\\\b(struct)\\\\b","name":"keyword.declaration.struct.rust storage.type.rust"},{"match":"\\\\b(abstract|static)\\\\b","name":"storage.modifier.rust"},{"match":"\\\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\\\b","name":"keyword.other.rust"},{"match":"\\\\bfn\\\\b","name":"keyword.other.fn.rust"},{"match":"\\\\bcrate\\\\b","name":"keyword.other.crate.rust"},{"match":"\\\\bmut\\\\b","name":"storage.modifier.mut.rust"},{"match":"([\\\\^|]|\\\\|\\\\||&&|<<|>>|!)(?!=)","name":"keyword.operator.logical.rust"},{"match":"&(?![\\\\&=])","name":"keyword.operator.borrow.and.rust"},{"match":"((?:[-%\\\\&*+/^|]|<<|>>)=)","name":"keyword.operator.assignment.rust"},{"match":"(?<![<>])=(?![=>])","name":"keyword.operator.assignment.equal.rust"},{"match":"(=(=)?(?!>)|!=|<=|(?<!=)>=)","name":"keyword.operator.comparison.rust"},{"match":"(([%+]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))","name":"keyword.operator.math.rust"},{"captures":{"1":{"name":"punctuation.brackets.round.rust"},"2":{"name":"punctuation.brackets.square.rust"},"3":{"name":"punctuation.brackets.curly.rust"},"4":{"name":"keyword.operator.comparison.rust"},"5":{"name":"punctuation.brackets.round.rust"},"6":{"name":"punctuation.brackets.square.rust"},"7":{"name":"punctuation.brackets.curly.rust"}},"match":"(?:\\\\b|(?:(\\\\))|(])|(})))[\\\\t ]+([<>])[\\\\t ]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))"},{"match":"::","name":"keyword.operator.namespace.rust"},{"captures":{"1":{"name":"keyword.operator.dereference.rust"}},"match":"(\\\\*)(?=\\\\w+)"},{"match":"@","name":"keyword.operator.subpattern.rust"},{"match":"\\\\.(?!\\\\.)","name":"keyword.operator.access.dot.rust"},{"match":"\\\\.{2}([.=])?","name":"keyword.operator.range.rust"},{"match":":(?!:)","name":"keyword.operator.key-value.rust"},{"match":"->|<-","name":"keyword.operator.arrow.skinny.rust"},{"match":"=>","name":"keyword.operator.arrow.fat.rust"},{"match":"\\\\$","name":"keyword.operator.macro.dollar.rust"},{"match":"\\\\?","name":"keyword.operator.question.rust"}]},"lifetimes":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.lifetime.rust"},"2":{"name":"entity.name.type.lifetime.rust"}},"match":"(')([A-Z_a-z][0-9A-Z_a-z]*)(?!')\\\\b"},{"captures":{"1":{"name":"keyword.operator.borrow.rust"},"2":{"name":"punctuation.definition.lifetime.rust"},"3":{"name":"entity.name.type.lifetime.rust"}},"match":"(&)(')([A-Z_a-z][0-9A-Z_a-z]*)(?!')\\\\b"}]},"lvariables":{"patterns":[{"match":"\\\\b[Ss]elf\\\\b","name":"variable.language.self.rust"},{"match":"\\\\bsuper\\\\b","name":"variable.language.super.rust"}]},"macros":{"patterns":[{"captures":{"2":{"name":"entity.name.function.macro.rust"},"3":{"name":"entity.name.type.macro.rust"}},"match":"(([_a-z][0-9A-Z_a-z]*!)|([A-Z_][0-9A-Z_a-z]*!))","name":"meta.macro.rust"}]},"namespaces":{"patterns":[{"captures":{"1":{"name":"entity.name.namespace.rust"},"2":{"name":"keyword.operator.namespace.rust"}},"match":"(?<![0-9A-Z_a-z])([0-9A-Z_a-z]+)((?<!s(?:uper|elf))::)"}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.comma.rust"},{"match":"[{}]","name":"punctuation.brackets.curly.rust"},{"match":"[()]","name":"punctuation.brackets.round.rust"},{"match":";","name":"punctuation.semi.rust"},{"match":"[]\\\\[]","name":"punctuation.brackets.square.rust"},{"match":"(?<!=)[<>]","name":"punctuation.brackets.angle.rust"}]},"strings":{"patterns":[{"begin":"(b?)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.rust"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.rust"}},"name":"string.quoted.double.rust","patterns":[{"include":"#escapes"},{"include":"#interpolations"}]},{"begin":"(b?r)(#*)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.raw.rust"},"3":{"name":"punctuation.definition.string.rust"}},"end":"(\\")(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.rust"},"2":{"name":"punctuation.definition.string.raw.rust"}},"name":"string.quoted.double.rust"},{"begin":"(b)?(')","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.char.rust"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.char.rust"}},"name":"string.quoted.single.char.rust","patterns":[{"include":"#escapes"}]}]},"types":{"patterns":[{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\\\b"},{"begin":"\\\\b(_?[A-Z][0-9A-Z_a-z]*)(<)","beginCaptures":{"1":{"name":"entity.name.type.rust"},"2":{"name":"punctuation.brackets.angle.rust"}},"end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"},{"include":"#variables"}]},{"match":"\\\\b(bool|char|str)\\\\b","name":"entity.name.type.primitive.rust"},{"captures":{"1":{"name":"keyword.declaration.trait.rust storage.type.rust"},"2":{"name":"entity.name.type.trait.rust"}},"match":"\\\\b(trait)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.struct.rust storage.type.rust"},"2":{"name":"entity.name.type.struct.rust"}},"match":"\\\\b(struct)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.enum.rust storage.type.rust"},"2":{"name":"entity.name.type.enum.rust"}},"match":"\\\\b(enum)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.type.rust storage.type.rust"},"2":{"name":"entity.name.type.declaration.rust"}},"match":"\\\\b(type)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"match":"\\\\b_?[A-Z][0-9A-Z_a-z]*\\\\b(?!!)","name":"entity.name.type.rust"}]},"variables":{"patterns":[{"match":"\\\\b(?<!(?<!\\\\.)\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[0-9_a-z]+\\\\b","name":"variable.other.rust"}]}},"scopeName":"source.rust","aliases":["rs"]}`)),t=[e];export{t as default};
@@ -0,0 +1 @@
1
+ import e from"./BxgE0vQu.js";const n=Object.freeze(JSON.parse('{"displayName":"Fortran (Fixed Form)","fileTypes":["f","F","f77","F77","for","FOR"],"injections":{"source.fortran.fixed - ( string | comment )":{"patterns":[{"include":"#line-header"},{"include":"#line-end-comment"}]}},"name":"fortran-fixed-form","patterns":[{"include":"#comments"},{"begin":"(?i)^(?=.{5}|(?<!^)\\\\t)\\\\s*(?:([0-9]{1,5})\\\\s+)?(format)\\\\b","beginCaptures":{"1":{"name":"constant.numeric.fortran"},"2":{"name":"keyword.control.format.fortran"}},"end":"(?=^(?![^\\\\n!#]{5}\\\\S))","name":"meta.statement.IO.fortran","patterns":[{"include":"#comments"},{"include":"#line-header"},{"match":"!.*$","name":"comment.line.fortran"},{"include":"source.fortran.free#string-constant"},{"include":"source.fortran.free#numeric-constant"},{"include":"source.fortran.free#operators"},{"include":"source.fortran.free#format-parentheses"}]},{"include":"#line-header"},{"include":"source.fortran.free"}],"repository":{"comments":{"patterns":[{"begin":"^[*Cc]","end":"\\\\n","name":"comment.line.fortran"},{"begin":"^ *!","end":"\\\\n","name":"comment.line.fortran"}]},"line-end-comment":{"begin":"(?<=^.{72})(?!\\\\n)","end":"(?=\\\\n)","name":"comment.line-end.fortran"},"line-header":{"captures":{"1":{"name":"constant.numeric.fortran"},"2":{"name":"keyword.line-continuation-operator.fortran"},"3":{"name":"source.fortran.free"},"4":{"name":"invalid.error.fortran"}},"match":"^(?!\\\\s*[!#])(?:([ \\\\d]{5} )|( {5}.)|(\\\\t)|(.{1,5}))"}},"scopeName":"source.fortran.fixed","embeddedLangs":["fortran-free-form"],"aliases":["f","for","f77"]}')),t=[...e,n];export{t as default};
@@ -1 +1 @@
1
- import{_ as S}from"./BFRyJUvr.js";import{_ as D}from"./CTf7BuVz.js";import E from"./GiOWC8es.js";import{_ as A}from"./BZWgH84o.js";import{g as H,A as q,o as d,c as b,a as t,b as u,w as n,k as m,l as a,m as p,F as I,x as M,t as i,d as c,n as f}from"./BOWvZIQC.js";import"./BKRej55Q.js";import"./D7xuZOu8.js";const U={class:"p-4 space-y-4"},V={class:"grid gap-3 md:grid-cols-5 grid-cols-2"},$={class:"text-2xl font-bold"},F={class:"text-2xl font-bold"},O={class:"text-xs text-neutral-500"},j={class:"text-2xl font-bold text-yellow-600"},G={class:"text-xs text-neutral-500"},J={class:"text-2xl font-bold text-orange-600"},K={class:"text-2xl font-bold text-red-600"},Q={class:"grid gap-3 md:grid-cols-2"},W={class:"flex items-start justify-between gap-3"},X={class:"min-w-0"},Y={class:"text-xs text-neutral-500"},Z=["href"],ee={class:"flex items-center gap-2 shrink-0"},te={class:"mt-2 flex flex-wrap gap-2 text-[11px]"},se={class:"mt-3 grid grid-cols-2 gap-2"},oe={class:"n-border-base border rounded p-2"},re={class:"font-mono"},ne={class:"n-border-base border rounded p-2"},ie={class:"font-mono"},le={class:"n-border-base border rounded p-2"},de={class:"font-mono"},ae={class:"n-border-base border rounded p-2"},ce={class:"font-mono"},ue={class:"mt-3 flex items-center gap-2"},ve=H({__name:"third-party-scripts",setup(me){const{scripts:w,isUsingNuxtScripts:T}=q(),g={network:300,parse:200},x=f(()=>(w.value||[]).map(e=>{const s=e.element,l=s.src,_=new URL(l,location.href),o=!!(s.ownerDocument&&s.ownerDocument.head&&s.ownerDocument.head.contains(s))&&!s.async&&!s.defer&&s.type!=="module";return{element:s,url:l,domain:_.host,https:_.protocol==="https:",loaded:e.loaded,renderBlocking:o,requestTime:s.requestTime,downloadTime:s.downloadTime,totalNetworkTime:s.totalNetworkTime,parseExecuteTime:s.parseExecuteTime,crossorigin:s.getAttribute("crossorigin"),integrity:s.getAttribute("integrity"),referrerPolicy:s.getAttribute("referrerpolicy"),async:s.async,defer:s.defer,isModule:s.type==="module"}})),h=f(()=>x.value.slice().sort((r,e)=>{const s=(r.totalNetworkTime||0)+(r.parseExecuteTime||0);return(e.totalNetworkTime||0)+(e.parseExecuteTime||0)-s})),v=f(()=>x.value.length),C=f(()=>x.value.filter(r=>r.loaded).length),N=f(()=>x.value.filter(r=>(r.totalNetworkTime||0)>g.network).length),z=f(()=>x.value.filter(r=>(r.parseExecuteTime||0)>g.parse).length),P=f(()=>x.value.filter(r=>r.renderBlocking).length);function y(r){return typeof r=="number"?`${r.toFixed(0)}ms`:"N/A"}function B(r){console.log("[@nuxt/hints]: Third-party script element",r)}async function L(r){try{await navigator.clipboard.writeText(r)}catch{}}return(r,e)=>{const s=S,l=D,_=E,k=A;return d(),b("div",U,[t("div",V,[u(s,{"p-3":""},{default:n(()=>[e[0]||(e[0]=t("div",{class:"text-xs text-neutral-500"}," 3rd-party scripts ",-1)),t("div",$,i(m(v)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[e[1]||(e[1]=t("div",{class:"text-xs text-neutral-500"}," Loaded ",-1)),t("div",F,i(m(C)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[t("div",O," Slow network (>"+i(g.network)+"ms) ",1),t("div",j,i(m(N)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[t("div",G," Long parse (>"+i(g.parse)+"ms) ",1),t("div",J,i(m(z)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[e[2]||(e[2]=t("div",{class:"text-xs text-neutral-500"}," Render-blocking ",-1)),t("div",K,i(m(P)),1)]),_:1})]),m(v)>0&&!m(T)?(d(),a(l,{key:0,n:"yellow6"},{default:n(()=>[...e[3]||(e[3]=[c(" Third-party scripts detected. Consider using @nuxt/scripts for best-practice loading and management. ",-1)])]),_:1})):p("",!0),t("div",Q,[(d(!0),b(I,null,M(m(h),o=>(d(),a(s,{key:o.url,"p-3":""},{default:n(()=>[t("div",W,[t("div",X,[t("div",Y,i(o.domain),1),t("a",{href:o.url,target:"_blank",rel:"noopener",class:"block truncate text-sm text-blue-600"},i(o.url),9,Z)]),t("div",ee,[u(l,{type:o.loaded?"success":"warning",size:"small"},{default:n(()=>[c(i(o.loaded?"Loaded":"Pending"),1)]),_:2},1032,["type"])])]),t("div",te,[o.renderBlocking?(d(),a(l,{key:0,type:"error",size:"small",title:"In document head and not async/defer/module; blocks HTML parsing and delays first paint. Prefer defer or type=module."},{default:n(()=>[...e[4]||(e[4]=[c(" render-blocking ",-1)])]),_:1})):p("",!0),o.isModule?(d(),a(l,{key:1,size:"small",title:"Module scripts are deferred by default and don't block parsing; execution order differs from classic scripts."},{default:n(()=>[...e[5]||(e[5]=[c(" module ",-1)])]),_:1})):p("",!0),o.async?(d(),a(l,{key:2,size:"small",title:"Doesn't block parsing; executes as soon as it's downloaded. Order is not guaranteed."},{default:n(()=>[...e[6]||(e[6]=[c(" async ",-1)])]),_:1})):p("",!0),o.defer?(d(),a(l,{key:3,size:"small",title:"Doesn't block parsing; executes after document parsing, preserving script order."},{default:n(()=>[...e[7]||(e[7]=[c(" defer ",-1)])]),_:1})):p("",!0),o.crossorigin?(d(),a(l,{key:4,size:"small",title:"CORS mode for this script. Use 'anonymous' for cross-origin with SRI and better error reporting."},{default:n(()=>[c(" crossorigin="+i(o.crossorigin),1)]),_:2},1024)):(d(),a(l,{key:5,type:"warning",size:"small",title:"Cross-origin script without crossorigin. Add crossorigin='anonymous' for SRI and better error reporting."},{default:n(()=>[...e[8]||(e[8]=[c(" missing crossorigin ",-1)])]),_:1})),o.integrity?(d(),a(l,{key:6,size:"small",title:"Subresource Integrity: protects against CDN/script tampering."},{default:n(()=>[...e[9]||(e[9]=[c(" sri ",-1)])]),_:1})):p("",!0),o.referrerPolicy?(d(),a(l,{key:7,size:"small",title:"Referrer policy controls the Referer header for this request."},{default:n(()=>[c(" referrer="+i(o.referrerPolicy),1)]),_:2},1024)):p("",!0),o.https===!1?(d(),a(l,{key:8,type:"error",size:"small",title:"Loaded over HTTP; use HTTPS to avoid mixed content and security risks."},{default:n(()=>[...e[10]||(e[10]=[c(" insecure http ",-1)])]),_:1})):p("",!0)]),t("div",se,[t("div",oe,[e[11]||(e[11]=t("div",{class:"text-xs text-neutral-500"}," Total network ",-1)),t("div",re,i(y(o.totalNetworkTime)),1)]),t("div",ne,[e[12]||(e[12]=t("div",{class:"text-xs text-neutral-500"}," Parse + execute ",-1)),t("div",ie,i(y(o.parseExecuteTime)),1)]),t("div",le,[e[13]||(e[13]=t("div",{class:"text-xs text-neutral-500"}," Request ",-1)),t("div",de,i(y(o.requestTime)),1)]),t("div",ae,[e[14]||(e[14]=t("div",{class:"text-xs text-neutral-500"}," Download ",-1)),t("div",ce,i(y(o.downloadTime)),1)])]),t("div",ue,[u(k,{onClick:R=>B(o.element)},{default:n(()=>[u(_,{name:"material-symbols:terminal",class:"text-lg"}),e[15]||(e[15]=t("span",{class:"ml-1"},"Log element",-1))]),_:1},8,["onClick"]),u(k,{onClick:R=>L(o.url)},{default:n(()=>[u(_,{name:"material-symbols:content-copy-outline",class:"text-lg"}),e[16]||(e[16]=t("span",{class:"ml-1"},"Copy URL",-1))]),_:1},8,["onClick"])])]),_:2},1024))),128))])])}}});export{ve as default};
1
+ import{_ as R}from"./CZ1OMT3Z.js";import{_ as S}from"./C8XNfCrI.js";import E from"./CgrjxMR_.js";import{_ as H}from"./a9uSpr3S.js";import{g as q,D as A,o as d,c as b,a as t,b as u,w as n,l as m,k as a,m as p,F as I,y as M,t as i,d as c,n as f}from"./Cl_HNi2c.js";import"./BY2SE5zy.js";import"./LCb0JLof.js";const U={class:"p-4 space-y-4"},V={class:"grid gap-3 md:grid-cols-5 grid-cols-2"},$={class:"text-2xl font-bold"},F={class:"text-2xl font-bold"},O={class:"text-xs text-neutral-500"},j={class:"text-2xl font-bold text-yellow-600"},G={class:"text-xs text-neutral-500"},J={class:"text-2xl font-bold text-orange-600"},K={class:"text-2xl font-bold text-red-600"},Q={class:"grid gap-3 md:grid-cols-2"},W={class:"flex items-start justify-between gap-3"},X={class:"min-w-0"},Y={class:"text-xs text-neutral-500"},Z=["href"],ee={class:"flex items-center gap-2 shrink-0"},te={class:"mt-2 flex flex-wrap gap-2 text-[11px]"},se={class:"mt-3 grid grid-cols-2 gap-2"},oe={class:"n-border-base border rounded p-2"},re={class:"font-mono"},ne={class:"n-border-base border rounded p-2"},ie={class:"font-mono"},le={class:"n-border-base border rounded p-2"},de={class:"font-mono"},ae={class:"n-border-base border rounded p-2"},ce={class:"font-mono"},ue={class:"mt-3 flex items-center gap-2"},ve=q({__name:"third-party-scripts",setup(me){const{scripts:w,isUsingNuxtScripts:T}=A(),g={network:300,parse:200},x=f(()=>(w.value||[]).map(e=>{const s=e.element,l=s.src,_=new URL(l,location.href),o=!!(s.ownerDocument&&s.ownerDocument.head&&s.ownerDocument.head.contains(s))&&!s.async&&!s.defer&&s.type!=="module";return{element:s,url:l,domain:_.host,https:_.protocol==="https:",loaded:e.loaded,renderBlocking:o,requestTime:s.requestTime,downloadTime:s.downloadTime,totalNetworkTime:s.totalNetworkTime,parseExecuteTime:s.parseExecuteTime,crossorigin:s.getAttribute("crossorigin"),integrity:s.getAttribute("integrity"),referrerPolicy:s.getAttribute("referrerpolicy"),async:s.async,defer:s.defer,isModule:s.type==="module"}})),h=f(()=>x.value.slice().sort((r,e)=>{const s=(r.totalNetworkTime||0)+(r.parseExecuteTime||0);return(e.totalNetworkTime||0)+(e.parseExecuteTime||0)-s})),v=f(()=>x.value.length),C=f(()=>x.value.filter(r=>r.loaded).length),N=f(()=>x.value.filter(r=>(r.totalNetworkTime||0)>g.network).length),z=f(()=>x.value.filter(r=>(r.parseExecuteTime||0)>g.parse).length),P=f(()=>x.value.filter(r=>r.renderBlocking).length);function y(r){return typeof r=="number"?`${r.toFixed(0)}ms`:"N/A"}function B(r){console.log("[@nuxt/hints]: Third-party script element",r)}async function D(r){try{await navigator.clipboard.writeText(r)}catch{}}return(r,e)=>{const s=R,l=S,_=E,k=H;return d(),b("div",U,[t("div",V,[u(s,{"p-3":""},{default:n(()=>[e[0]||(e[0]=t("div",{class:"text-xs text-neutral-500"}," 3rd-party scripts ",-1)),t("div",$,i(m(v)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[e[1]||(e[1]=t("div",{class:"text-xs text-neutral-500"}," Loaded ",-1)),t("div",F,i(m(C)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[t("div",O," Slow network (>"+i(g.network)+"ms) ",1),t("div",j,i(m(N)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[t("div",G," Long parse (>"+i(g.parse)+"ms) ",1),t("div",J,i(m(z)),1)]),_:1}),u(s,{"p-3":""},{default:n(()=>[e[2]||(e[2]=t("div",{class:"text-xs text-neutral-500"}," Render-blocking ",-1)),t("div",K,i(m(P)),1)]),_:1})]),m(v)>0&&!m(T)?(d(),a(l,{key:0,n:"yellow6"},{default:n(()=>[...e[3]||(e[3]=[c(" Third-party scripts detected. Consider using @nuxt/scripts for best-practice loading and management. ",-1)])]),_:1})):p("",!0),t("div",Q,[(d(!0),b(I,null,M(m(h),o=>(d(),a(s,{key:o.url,"p-3":""},{default:n(()=>[t("div",W,[t("div",X,[t("div",Y,i(o.domain),1),t("a",{href:o.url,target:"_blank",rel:"noopener",class:"block truncate text-sm text-blue-600"},i(o.url),9,Z)]),t("div",ee,[u(l,{type:o.loaded?"success":"warning",size:"small"},{default:n(()=>[c(i(o.loaded?"Loaded":"Pending"),1)]),_:2},1032,["type"])])]),t("div",te,[o.renderBlocking?(d(),a(l,{key:0,type:"error",size:"small",title:"In document head and not async/defer/module; blocks HTML parsing and delays first paint. Prefer defer or type=module."},{default:n(()=>[...e[4]||(e[4]=[c(" render-blocking ",-1)])]),_:1})):p("",!0),o.isModule?(d(),a(l,{key:1,size:"small",title:"Module scripts are deferred by default and don't block parsing; execution order differs from classic scripts."},{default:n(()=>[...e[5]||(e[5]=[c(" module ",-1)])]),_:1})):p("",!0),o.async?(d(),a(l,{key:2,size:"small",title:"Doesn't block parsing; executes as soon as it's downloaded. Order is not guaranteed."},{default:n(()=>[...e[6]||(e[6]=[c(" async ",-1)])]),_:1})):p("",!0),o.defer?(d(),a(l,{key:3,size:"small",title:"Doesn't block parsing; executes after document parsing, preserving script order."},{default:n(()=>[...e[7]||(e[7]=[c(" defer ",-1)])]),_:1})):p("",!0),o.crossorigin?(d(),a(l,{key:4,size:"small",title:"CORS mode for this script. Use 'anonymous' for cross-origin with SRI and better error reporting."},{default:n(()=>[c(" crossorigin="+i(o.crossorigin),1)]),_:2},1024)):(d(),a(l,{key:5,type:"warning",size:"small",title:"Cross-origin script without crossorigin. Add crossorigin='anonymous' for SRI and better error reporting."},{default:n(()=>[...e[8]||(e[8]=[c(" missing crossorigin ",-1)])]),_:1})),o.integrity?(d(),a(l,{key:6,size:"small",title:"Subresource Integrity: protects against CDN/script tampering."},{default:n(()=>[...e[9]||(e[9]=[c(" sri ",-1)])]),_:1})):p("",!0),o.referrerPolicy?(d(),a(l,{key:7,size:"small",title:"Referrer policy controls the Referer header for this request."},{default:n(()=>[c(" referrer="+i(o.referrerPolicy),1)]),_:2},1024)):p("",!0),o.https===!1?(d(),a(l,{key:8,type:"error",size:"small",title:"Loaded over HTTP; use HTTPS to avoid mixed content and security risks."},{default:n(()=>[...e[10]||(e[10]=[c(" insecure http ",-1)])]),_:1})):p("",!0)]),t("div",se,[t("div",oe,[e[11]||(e[11]=t("div",{class:"text-xs text-neutral-500"}," Total network ",-1)),t("div",re,i(y(o.totalNetworkTime)),1)]),t("div",ne,[e[12]||(e[12]=t("div",{class:"text-xs text-neutral-500"}," Parse + execute ",-1)),t("div",ie,i(y(o.parseExecuteTime)),1)]),t("div",le,[e[13]||(e[13]=t("div",{class:"text-xs text-neutral-500"}," Request ",-1)),t("div",de,i(y(o.requestTime)),1)]),t("div",ae,[e[14]||(e[14]=t("div",{class:"text-xs text-neutral-500"}," Download ",-1)),t("div",ce,i(y(o.downloadTime)),1)])]),t("div",ue,[u(k,{onClick:L=>B(o.element)},{default:n(()=>[u(_,{name:"material-symbols:terminal",class:"text-lg"}),e[15]||(e[15]=t("span",{class:"ml-1"},"Log element",-1))]),_:1},8,["onClick"]),u(k,{onClick:L=>D(o.url)},{default:n(()=>[u(_,{name:"material-symbols:content-copy-outline",class:"text-lg"}),e[16]||(e[16]=t("span",{class:"ml-1"},"Copy URL",-1))]),_:1},8,["onClick"])])]),_:2},1024))),128))])])}}});export{ve as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"Odin","name":"odin","patterns":[{"include":"#file-tags"},{"include":"#package-name-declaration"},{"include":"#import-declaration"},{"include":"#statements"}],"repository":{"assignments":{"patterns":[{"include":"#procedure-assignment"},{"include":"#type-assignment"},{"include":"#distinct-type-assignment"},{"include":"#constant-assignment"},{"include":"#variable-assignment"},{"include":"#type-annotation"}]},"attribute":{"patterns":[{"captures":{"1":{"name":"keyword.control.attribute.odin"},"2":{"name":"entity.other.attribute-name.odin"}},"match":"(@)\\\\s*([A-Z_a-z]\\\\w*)\\\\b","name":"meta.attribute.odin"},{"begin":"(@)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.attribute.odin"},"2":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"name":"meta.attribute.odin","patterns":[{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"entity.other.attribute-name.odin"},{"match":",","name":"punctuation.odin"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.odin"}},"end":"(?=[),])","patterns":[{"include":"#expressions"}]}]}]},"basic-types":{"patterns":[{"match":"\\\\b(i(?:8|16|32|64|128|nt))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(u(?:8|16|32|64|128|int|intptr))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b((?:u16|u32|u64|u128|i16|i32|i64|i128)le)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b((?:i16|i32|i64|i128|u16|u32|u64|u128)be)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(f(?:16|32|64))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(f(?:16|32|64)le)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(f(?:16|32|64)be)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(complex(?:32|64|128))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(quaternion(?:64|128|256))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(b(?:ool|8|16|32|64))\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(string|cstring|rune)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(rawptr)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(any|typeid)\\\\b","name":"support.type.primitive.odin"},{"match":"\\\\b(byte)\\\\b","name":"support.type.primitive.odin"}]},"block-comment":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.odin"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.odin"}},"name":"comment.block.odin","patterns":[{"include":"#block-comment"}]},"block-definition":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.odin"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.odin"}},"name":"meta.block.odin","patterns":[{"include":"#statements"}]},"block-label":{"captures":{"1":{"name":"entity.name.label.odin"},"2":{"name":"punctuation.definition.label.odin"}},"match":"(\\\\w+)(:)\\\\s*(?=for|switch|if|\\\\{)","name":"meta.block.label.odin"},"case-clause":{"begin":"\\\\b(case)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.odin"}},"end":":","endCaptures":{"0":{"name":"punctuation.definition.section.case-statement.odin"}},"name":"meta.case-clause.expr.odin","patterns":[{"include":"#expressions"}]},"comments":{"patterns":[{"include":"#block-comment"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.odin"}},"end":"\\\\n","name":"comment.line.double-slash.odin"},{"begin":"#!","beginCaptures":{"0":{"name":"punctuation.definition.comment.odin"}},"end":"\\\\n","name":"comment.line.shebang.odin"}]},"constant-assignment":{"captures":{"1":{"name":"variable.other.constant.odin"},"2":{"name":"keyword.operator.assignment.odin"}},"match":"([A-Z_a-z]\\\\w*)\\\\s*(:\\\\s*:)","name":"meta.definition.variable.odin"},"distinct-type-assignment":{"begin":"\\\\b([A-Z_a-z]\\\\w*)\\\\s*(:\\\\s*:)\\\\s*(?=(distinct)\\\\b)","beginCaptures":{"1":{"name":"entity.name.type.odin"},"2":{"name":"keyword.operator.assignment.odin"},"3":{"name":"storage.type.odin"}},"end":"(?=^)|(?<=})","name":"meta.definition.variable.odin","patterns":[{"include":"#type-declaration"}]},"expressions":{"patterns":[{"include":"#comments"},{"include":"#ternary"},{"include":"#map-bitset"},{"include":"#slice"},{"include":"#keywords"},{"include":"#type-parameter"},{"include":"#basic-types"},{"include":"#procedure-calls"},{"include":"#property-access"},{"include":"#union-member-access"},{"include":"#union-non-nil-access"},{"include":"#strings"},{"include":"#punctuation"},{"include":"#variable-name"}]},"file-tags":{"begin":"#\\\\+[A-Z_a-z][-0-9A-Z_a-z]*","beginCaptures":{"0":{"name":"entity.name.tag.odin"}},"end":"\\\\n","name":"comment.line.double-slash.odin","patterns":[{"match":",","name":"punctuation.odin"},{"match":"!","name":"keyword.operator.logical.odin"},{"match":"[A-Z_a-z][-0-9A-Z_a-z]*","name":"entity.other.attribute-name.odin"}]},"import-declaration":{"begin":"\\\\b((?:|foreign\\\\s+)import)\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.odin"}},"end":"(?=^|;)","name":"meta.import.odin","patterns":[{"begin":"\\\\b[A-Z_a-z]\\\\w*","beginCaptures":{"0":{"name":"entity.name.namespace.odin"}},"end":"(?=^|;)","name":"entity.name.alias.odin","patterns":[{"include":"#strings"},{"include":"#comments"}]},{"include":"#strings"},{"include":"#comments"}]},"keywords":{"patterns":[{"match":"\\\\b(import|foreign|package)\\\\b","name":"keyword.control.odin"},{"match":"\\\\b(if|else|or_else|when|where|for|in|not_in|defer|switch|return|or_return)\\\\b","name":"keyword.control.odin"},{"captures":{"1":{"name":"keyword.control.odin"},"2":{"name":"entity.name.label.odin"}},"match":"\\\\b((?:|or_)(?:break|continue))\\\\b\\\\s*(\\\\w+)?"},{"match":"\\\\b(fallthrough|case|dynamic)\\\\b","name":"keyword.control.odin"},{"match":"\\\\b(do|force_inline|no_inline)\\\\b","name":"keyword.control.odin"},{"match":"\\\\b(asm)\\\\b","name":"keyword.control.odin"},{"match":"\\\\b(auto_cast|distinct|using)\\\\b","name":"storage.modifier.odin"},{"match":"\\\\b(context)\\\\b","name":"keyword.context.odin"},{"match":"\\\\b(ODIN_(?:ARCH|OS))\\\\b","name":"variable.other.constant.odin"},{"match":"\\\\b(nil|true|false)\\\\b","name":"constant.language.odin"},{"match":"---","name":"constant.language.odin"},{"match":"\\\\b(\\\\d([_\\\\d])*(\\\\.\\\\d([_\\\\d])*)?)(([Ee])([-+])?\\\\d+)?[ijk]?\\\\b","name":"constant.numeric.odin"},{"match":"\\\\b((0b([01_])+)|(0o([_\\\\d])+)|(0d([_\\\\d])+)|(0[Xhx]([_\\\\h])+))i?\\\\b","name":"constant.numeric.odin"},{"match":"\\\\b(struct|enum|union|map|bit_set|bit_field|matrix)\\\\b","name":"storage.type.odin"},{"match":"[-%*+/]=|%%=","name":"keyword.operator.assignment.compound.odin"},{"match":"(?:[|~]|&~?|<<|>>)=","name":"keyword.operator.assignment.compound.bitwise.odin"},{"match":"[!=]=","name":"keyword.operator.comparison.odin"},{"match":"[<>]=?","name":"keyword.operator.relational.odin"},{"match":"\\\\.\\\\.[<=]","name":"keyword.operator.range.odin"},{"match":"\\\\.\\\\.","name":"keyword.operator.spread.odin"},{"match":":[:=]|=","name":"keyword.operator.assignment.odin"},{"match":"&","name":"keyword.operator.address.odin"},{"match":"\\\\^","name":"keyword.operator.address.odin"},{"match":"->","name":"storage.type.function.arrow.odin"},{"match":"@|([-!%*+/:|]|<<?|>>?|~)=?|=|: : ?|\\\\$","name":"keyword.operator.odin"},{"match":"#[A-Z_a-z]\\\\w*","name":"entity.name.tag.odin"}]},"map-bitset":{"begin":"\\\\b(bit_set|map)\\\\b","beginCaptures":{"0":{"name":"storage.type.odin"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.bracket.square.odin"}},"patterns":[{"match":"\\\\[","name":"punctuation.definition.bracket.square.odin"},{"include":"#type-declaration"}]},"object-definition":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.odin"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.odin"}},"name":"meta.object.type.odin","patterns":[{"include":"#statements"}]},"package-name-declaration":{"captures":{"1":{"name":"keyword.control.odin"},"2":{"name":"entity.name.type.module.odin"}},"match":"^\\\\s*(package)\\\\s+([A-Z_a-z]\\\\w*)"},"parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.odin"}},"name":"meta.parameters.odin","patterns":[{"include":"#assignments"},{"include":"#expressions"}]},"procedure-assignment":{"begin":"\\\\b([A-Z_a-z]\\\\w*)\\\\s*(:\\\\s*:|=)\\\\s*(#\\\\w+)?\\\\s*(?=proc\\\\b)","beginCaptures":{"1":{"name":"meta.definition.function.odin entity.name.function.odin"},"2":{"name":"keyword.operator.assignment.odin"},"3":{"name":"keyword.other.odin"}},"end":"(?=^)|(?<=})","name":"meta.definition.variable.odin","patterns":[{"include":"#type-declaration"}]},"procedure-calls":{"patterns":[{"begin":"\\\\b(cast|transmute)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.function.odin"},"2":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"name":"meta.function-call.odin","patterns":[{"include":"#type-declaration"}]},{"begin":"\\\\b((?:size|align)_of)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.function.builtin.odin"},"2":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"name":"meta.function-call.odin","patterns":[{"include":"#type-declaration"}]},{"begin":"\\\\b(len|cap|offset_of_selector|offset_of_member|offset_of|offset_of_by_string|type_of|type_info_of|typeid_of|swizzle|complex|quaternion|real|imag|jmag|kmag|conj|expand_values|min|max|abs|clamp|soa_zip|soa_unzip|make|new|new_clone|resize|reserve|append|delete|free|free_all|assert|panic)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.function.builtin.odin"},"2":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"name":"meta.function-call.odin","patterns":[{"include":"#expressions"}]},{"begin":"([A-Z_a-z]\\\\w*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.odin"},"2":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"name":"meta.function-call.odin","patterns":[{"include":"#expressions"}]}]},"property-access":{"captures":{"1":{"name":"variable.other.object.odin"},"2":{"name":"punctuation.accessor.odin"}},"match":"([A-Z_a-z]\\\\w*)\\\\s*(\\\\.)\\\\s*(?=[A-Z_a-z]\\\\w*)"},"punctuation":{"match":"[](),.;\\\\[\\\\\\\\{}]","name":"punctuation.odin"},"return-type-declaration":{"begin":"->","beginCaptures":{"0":{"name":"storage.type.function.arrow.odin"}},"end":"(?=^|[),;{]|where)","name":"meta.return.type.odin","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#basic-types"},{"include":"#property-access"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.odin"}},"name":"meta.parameters.odin","patterns":[{"include":"#comments"},{"include":"#assignments"},{"include":"#keywords"},{"include":"#basic-types"},{"include":"#property-access"},{"include":"#type-name"},{"include":"#punctuation"}]},{"include":"#type-name"}]},"slice":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.odin"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.odin"}},"name":"meta.slice.odin","patterns":[{"match":"\\\\?","name":"keyword.operator.array.odin"},{"match":":","name":"keyword.operator.slice.odin"},{"include":"#expressions"}]},"statements":{"patterns":[{"include":"#attribute"},{"include":"#procedure-assignment"},{"include":"#type-assignment"},{"include":"#distinct-type-assignment"},{"include":"#constant-assignment"},{"include":"#variable-assignment"},{"include":"#case-clause"},{"include":"#block-label"},{"include":"#type-annotation"},{"include":"#block-definition"},{"include":"#expressions"}]},"string-escaped-char":{"patterns":[{"match":"\\\\\\\\(x1b|e|033)\\\\[[0-9;]*m","name":"constant.character.escape.ansi-color-sequence.odin"},{"match":"\\\\\\\\([\\"'\\\\\\\\abefnrtuv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8}|[0-7]{3})","name":"constant.character.escape.odin"},{"match":"%([%E-HMTUXb-imo-tvwxz])","name":"constant.character.escape.placeholders.odin"},{"match":"%(\\\\d*\\\\.?\\\\d*f)","name":"constant.character.escape.placeholders-floats.odin"},{"match":"\\\\\\\\.","name":"invalid.illegal.unknown-escape.odin"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.odin"}},"name":"string.quoted.double.odin","patterns":[{"include":"#string-escaped-char"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.odin"}},"name":"string.quoted.single.odin","patterns":[{"include":"#string-escaped-char"}]},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.odin"}},"name":"string.quoted.raw.odin"}]},"ternary":{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.odin"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.odin"}},"name":"meta.ternary.odin","patterns":[{"include":"#expressions"}]},"type-annotation":{"begin":"(?:([A-Z_a-z]\\\\w*)\\\\s*(,)\\\\s*)?(?:([A-Z_a-z]\\\\w*)\\\\s*(,)\\\\s*)?([A-Z_a-z]\\\\w*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.name.odin"},"2":{"name":"punctuation.odin"},"3":{"name":"variable.name.odin"},"4":{"name":"punctuation.odin"},"5":{"name":"variable.name.odin"},"6":{"name":"keyword.operator.type.annotation.odin"}},"end":"(?=^|[),:;=]|for|switch|if|\\\\{)","name":"meta.type.annotation.odin","patterns":[{"include":"#type-declaration"}]},"type-assignment":{"begin":"\\\\b([A-Z_a-z]\\\\w*)\\\\s*(:\\\\s*:)\\\\s*(?=(struct|union|enum|bit_set|bit_field)\\\\b)","beginCaptures":{"1":{"name":"entity.name.type.odin"},"2":{"name":"keyword.operator.assignment.odin"},"3":{"name":"storage.type.odin"}},"end":"(?=^)|(?<=})","name":"meta.definition.variable.odin","patterns":[{"include":"#type-declaration"}]},"type-declaration":{"name":"meta.type.declaration.odin","patterns":[{"include":"#map-bitset"},{"begin":"\\\\b(proc|struct|union|enum|bit_field)\\\\b","beginCaptures":{"1":{"name":"storage.type.odin"}},"end":"(?=^|[),;])|(?<=})","patterns":[{"include":"#parameters"},{"include":"#return-type-declaration"},{"include":"#object-definition"},{"include":"#expressions"}]},{"include":"#comments"},{"include":"#strings"},{"include":"#block-definition"},{"include":"#keywords"},{"include":"#basic-types"},{"include":"#slice"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.odin"}},"patterns":[{"include":"#type-declaration"}]},{"include":"#property-access"},{"include":"#punctuation"},{"include":"#type-name"}]},"type-name":{"match":"\\\\b[A-Z_a-z]\\\\w*\\\\b","name":"entity.name.type.odin"},"type-parameter":{"captures":{"1":{"name":"keyword.operator.odin"},"2":{"name":"entity.name.type.parameter.odin"}},"match":"(\\\\$)\\\\s*\\\\b([A-Z_a-z]\\\\w*)\\\\b"},"union-member-access":{"begin":"([A-Z_a-z]\\\\w*)\\\\s*(\\\\.)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"variable.other.object.odin"},"2":{"name":"punctuation.accessor.odin"},"3":{"name":"meta.brace.round.odin"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.odin"}},"patterns":[{"include":"#type-declaration"}]},"union-non-nil-access":{"captures":{"1":{"name":"variable.other.object.odin"},"2":{"name":"punctuation.accessor.odin"},"3":{"name":"punctuation.accessor.optional.odin"}},"match":"([A-Z_a-z]\\\\w*)\\\\s*(\\\\.)\\\\s*(\\\\?)"},"variable-assignment":{"captures":{"1":{"name":"variable.name.odin"},"2":{"name":"punctuation.odin"},"3":{"name":"variable.name.odin"},"4":{"name":"punctuation.odin"},"5":{"name":"variable.name.odin"},"6":{"name":"keyword.operator.assignment.odin"}},"match":"(?:([A-Z_a-z]\\\\w*)\\\\s*(,)\\\\s*)?(?:([A-Z_a-z]\\\\w*)\\\\s*(,)\\\\s*)?([A-Z_a-z]\\\\w*)\\\\s*(:\\\\s*=)","name":"meta.definition.variable.odin"},"variable-name":{"match":"\\\\b[A-Z_a-z]\\\\w*\\\\b","name":"variable.name.odin"}},"scopeName":"source.odin"}`)),n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ const a=Object.freeze(JSON.parse(`{"displayName":"Smalltalk","fileTypes":["st"],"foldingStartMarker":"\\\\[","foldingStopMarker":"^(?:\\\\s*|\\\\s)]","name":"smalltalk","patterns":[{"match":"\\\\^","name":"keyword.control.flow.return.smalltalk"},{"captures":{"1":{"name":"punctuation.definition.method.begin.smalltalk"},"2":{"name":"entity.name.type.class.smalltalk"},"3":{"name":"keyword.declaration.method.smalltalk"},"4":{"name":"string.quoted.single.protocol.smalltalk"},"5":{"name":"string.quoted.single.protocol.smalltalk"},"6":{"name":"keyword.declaration.method.stamp.smalltalk"},"7":{"name":"string.quoted.single.stamp.smalltalk"},"8":{"name":"string.quoted.single.stamp.smalltalk"},"9":{"name":"punctuation.definition.method.end.smalltalk"}},"match":"^(!)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+(methodsFor:)\\\\s*('([^']*)')(?:\\\\s+(stamp:)\\\\s*('([^']*)'))?\\\\s*(!?)$","name":"meta.method.definition.header.smalltalk"},{"match":"^! !$","name":"punctuation.definition.method.end.smalltalk"},{"match":"\\\\$.","name":"constant.character.smalltalk"},{"match":"\\\\b(class)\\\\b","name":"storage.type.$1.smalltalk"},{"match":"\\\\b(extend|super|self)\\\\b","name":"storage.modifier.$1.smalltalk"},{"match":"\\\\b(yourself|new|Smalltalk)\\\\b","name":"keyword.control.$1.smalltalk"},{"match":"/^:\\\\w*\\\\s*\\\\|/","name":"constant.other.block.smalltalk"},{"captures":{"1":{"name":"punctuation.definition.variable.begin.smalltalk"},"2":{"patterns":[{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.local.smalltalk"}]},"3":{"name":"punctuation.definition.variable.end.smalltalk"}},"match":"(\\\\|)(\\\\s*[A-Z_a-z][0-9A-Z_a-z]*(?:\\\\s+[A-Z_a-z][0-9A-Z_a-z]*)*\\\\s*)(\\\\|)"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.smalltalk"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.block.end.smalltalk"}},"name":"meta.block.smalltalk","patterns":[{"captures":{"1":{"patterns":[{"match":":[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.parameter.block.smalltalk"}]},"2":{"name":"punctuation.separator.arguments.block.smalltalk"}},"match":"((?:\\\\s*:[A-Z_a-z][0-9A-Z_a-z]*)+)\\\\s*(\\\\|)","name":"meta.block.arguments.smalltalk"},{"include":"$self"}]},{"include":"#numeric"},{"match":";","name":"punctuation.separator.cascade.smalltalk"},{"match":"\\\\.","name":"punctuation.terminator.statement.smalltalk"},{"match":":=","name":"keyword.operator.assignment.smalltalk"},{"match":"<(?![<=])|>(?![<=>])|<=|>=|==??|~=|~~|>>","name":"keyword.operator.comparison.smalltalk"},{"match":"([-*+/\\\\\\\\])","name":"keyword.operator.arithmetic.smalltalk"},{"match":"(?<=[\\\\t ])!+|\\\\bnot\\\\b|&|\\\\band\\\\b|\\\\||\\\\bor\\\\b","name":"keyword.operator.logical.smalltalk"},{"match":"->|[,@]","name":"keyword.operator.misc.smalltalk"},{"match":"(?<!\\\\.)\\\\b(ensure|resume|retry|signal)\\\\b(?![!?])","name":"keyword.control.smalltalk"},{"match":"\\\\b((?:ifCurtailed|ifTrue|ifFalse|whileFalse|whileTrue):)\\\\b","name":"keyword.control.conditionals.smalltalk"},{"match":"\\\\b(to:do:|do:|timesRepeat:|even|collect:|select:|reject:)\\\\b","name":"keyword.control.loop.smalltalk"},{"match":"\\\\b(initialize|show:|cr|printString|space|new:|at:|at:put:|size|value:??|nextPut:)\\\\b","name":"support.function.smalltalk"},{"begin":"^\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+(subclass:)\\\\s*('#?([A-Z_a-z][0-9A-Z_a-z]*)')","beginCaptures":{"1":{"name":"entity.other.inherited-class.smalltalk"},"2":{"name":"keyword.declaration.class.smalltalk"},"3":{"name":"entity.name.type.class.smalltalk"},"4":{"name":"entity.name.type.class.smalltalk"}},"end":"(?=^\\\\s*!)","name":"meta.class.definition.smalltalk","patterns":[{"match":"\\\\b(instanceVariableNames:|classVariableNames:|poolDictionaries:|category:)\\\\b","name":"keyword.declaration.class.variables.smalltalk"},{"include":"#string_single_quoted"},{"include":"#comment_block"}]},{"begin":"\\"","beginCaptures":[{"name":"punctuation.definition.comment.begin.smalltalk"}],"end":"\\"","endCaptures":[{"name":"punctuation.definition.comment.end.smalltalk"}],"name":"comment.block.smalltalk"},{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.smalltalk"},{"match":"\\\\b(nil)\\\\b","name":"constant.language.nil.smalltalk"},{"captures":{"1":{"name":"punctuation.definition.constant.smalltalk"}},"match":"(#)[A-Z_a-z][0-:A-Z_a-z]*","name":"constant.other.symbol.smalltalk"},{"begin":"#\\\\[","beginCaptures":[{"name":"punctuation.definition.constant.begin.smalltalk"}],"end":"]","endCaptures":[{"name":"punctuation.definition.constant.end.smalltalk"}],"name":"meta.array.byte.smalltalk","patterns":[{"match":"[0-9]+(r[0-9A-Za-z]+)?","name":"constant.numeric.integer.smalltalk"},{"match":"[^]\\\\s]+","name":"invalid.illegal.character-not-allowed-here.smalltalk"}]},{"begin":"#\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.constant.array.begin.smalltalk"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.constant.array.end.smalltalk"}},"name":"constant.other.array.literal.smalltalk","patterns":[{"include":"#numeric"},{"include":"#string_single_quoted"},{"include":"#symbol"},{"include":"#comment_block"},{"include":"$self"}]},{"begin":"'","beginCaptures":[{"name":"punctuation.definition.string.begin.smalltalk"}],"end":"'","endCaptures":[{"name":"punctuation.definition.string.end.smalltalk"}],"name":"string.quoted.single.smalltalk"},{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.class.smalltalk"}],"repository":{"comment_block":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.smalltalk"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.comment.end.smalltalk"}},"name":"comment.block.smalltalk"},"numeric":{"patterns":[{"match":"(?<!\\\\w)[0-9]+\\\\.[0-9]+s[0-9]*","name":"constant.numeric.float.scaled.smalltalk"},{"match":"(?<!\\\\w)[0-9]+\\\\.[0-9]+([deq]-?[0-9]+)?","name":"constant.numeric.float.smalltalk"},{"match":"(?<!\\\\w)-?[0-9]+r[0-9A-Za-z]+","name":"constant.numeric.integer.radix.smalltalk"},{"match":"(?<!\\\\w)-?[0-9]+([deq]-?[0-9]+)?","name":"constant.numeric.integer.smalltalk"}]},"string_single_quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.smalltalk"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.smalltalk"}},"name":"string.quoted.single.smalltalk"},"symbol":{"captures":{"1":{"name":"punctuation.definition.constant.symbol.smalltalk"}},"match":"(#)[A-Z_a-z][0-:A-Z_a-z]*","name":"constant.other.symbol.smalltalk"}},"scopeName":"source.smalltalk"}`)),t=[a];export{t as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse('{"displayName":"Terraform","fileTypes":["tf","tfvars"],"name":"terraform","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#block"},{"include":"#expressions"}],"repository":{"attribute_access":{"begin":"\\\\.(?!\\\\*)","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\p{alpha}[-\\\\w]*|\\\\d*","endCaptures":{"0":{"patterns":[{"match":"(?!null|false|true)\\\\p{alpha}[-\\\\w]*","name":"variable.other.member.hcl"},{"match":"\\\\d+","name":"constant.numeric.integer.hcl"}]}}},"attribute_definition":{"captures":{"1":{"name":"punctuation.section.parens.begin.hcl"},"2":{"name":"variable.other.readwrite.hcl"},"3":{"name":"punctuation.section.parens.end.hcl"},"4":{"name":"keyword.operator.assignment.hcl"}},"match":"(\\\\()?\\\\b((?!(?:null|false|true)\\\\b)\\\\p{alpha}[-_[:alnum:]]*)(\\\\))?\\\\s*(=(?![=>]))\\\\s*","name":"variable.declaration.hcl"},"attribute_splat":{"begin":"\\\\.","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\*","endCaptures":{"0":{"name":"keyword.operator.splat.hcl"}}},"block":{"begin":"(\\\\w[-\\\\w]*)([-\\"\\\\s\\\\w]*)(\\\\{)","beginCaptures":{"1":{"patterns":[{"match":"\\\\bdata|check|import|locals|module|output|provider|resource|terraform|variable\\\\b","name":"entity.name.type.terraform"},{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"entity.name.type.hcl"}]},"2":{"patterns":[{"match":"[-\\"\\\\w]+","name":"variable.other.enummember.hcl"}]},"3":{"name":"punctuation.section.block.begin.hcl"},"5":{"name":"punctuation.section.block.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.hcl"}},"name":"meta.block.hcl","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#block"},{"include":"#expressions"}]},"block_inline_comments":{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"\\\\*/","name":"comment.block.hcl"},"brackets":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"match":"\\\\*","name":"keyword.operator.splat.hcl"},{"include":"#comma"},{"include":"#comments"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"char_escapes":{"match":"\\\\\\\\(?:[\\"\\\\\\\\nrt]|u(\\\\h{8}|\\\\h{4}))","name":"constant.character.escape.hcl"},"comma":{"match":",","name":"punctuation.separator.hcl"},"comments":{"patterns":[{"include":"#hash_line_comments"},{"include":"#double_slash_line_comments"},{"include":"#block_inline_comments"}]},"double_slash_line_comments":{"begin":"//","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.double-slash.hcl"},"expressions":{"patterns":[{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#brackets"},{"include":"#objects"},{"include":"#attribute_access"},{"include":"#attribute_splat"},{"include":"#functions"},{"include":"#parens"}]},"for_expression_body":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.operator.word.hcl"},{"match":"\\\\bif\\\\b","name":"keyword.control.conditional.hcl"},{"match":":","name":"keyword.operator.hcl"},{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"functions":{"begin":"([-:\\\\w]+)(\\\\()","beginCaptures":{"1":{"patterns":[{"match":"\\\\b(core::)?(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnets??|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\\\\b","name":"support.function.builtin.terraform"},{"match":"\\\\bprovider::\\\\p{alpha}[-_\\\\w]*::\\\\p{alpha}[-_\\\\w]*\\\\b","name":"support.function.provider.terraform"}]},"2":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"name":"meta.function-call.hcl","patterns":[{"include":"#comments"},{"include":"#expressions"},{"include":"#comma"}]},"hash_line_comments":{"begin":"#","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.number-sign.hcl"},"hcl_type_keywords":{"match":"\\\\b(any|string|number|bool|list|set|map|tuple|object)\\\\b","name":"storage.type.hcl"},"heredoc":{"begin":"(<<-?)\\\\s*(\\\\w+)\\\\s*$","beginCaptures":{"1":{"name":"keyword.operator.heredoc.hcl"},"2":{"name":"keyword.control.heredoc.hcl"}},"end":"^\\\\s*\\\\2\\\\s*$","endCaptures":{"0":{"name":"keyword.control.heredoc.hcl"}},"name":"string.unquoted.heredoc.hcl","patterns":[{"include":"#string_interpolation"}]},"inline_for_expression":{"captures":{"1":{"name":"keyword.control.hcl"},"2":{"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]}},"match":"(for)\\\\b(.*)\\\\n"},"inline_if_expression":{"begin":"(if)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.hcl"}},"end":"\\\\n","patterns":[{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"language_constants":{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hcl"},"literal_values":{"patterns":[{"include":"#numeric_literals"},{"include":"#language_constants"},{"include":"#string_literals"},{"include":"#heredoc"},{"include":"#hcl_type_keywords"},{"include":"#named_value_references"}]},"local_identifiers":{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"variable.other.readwrite.hcl"},"named_value_references":{"match":"\\\\b(var|local|module|data|path|terraform)\\\\b","name":"variable.other.readwrite.terraform"},"numeric_literals":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+([Ee][-+]?)\\\\d+\\\\b","name":"constant.numeric.float.hcl"},{"captures":{"1":{"name":"punctuation.separator.decimal.hcl"},"2":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+(\\\\.)\\\\d+(?:([Ee][-+]?)\\\\d+)?\\\\b","name":"constant.numeric.float.hcl"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.integer.hcl"}]},"object_for_expression":{"begin":"(\\\\{)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.braces.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]},"object_key_values":{"patterns":[{"include":"#comments"},{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#heredoc"},{"include":"#functions"}]},"objects":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.braces.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"name":"meta.braces.hcl","patterns":[{"include":"#comments"},{"include":"#objects"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"captures":{"1":{"name":"meta.mapping.key.hcl variable.other.readwrite.hcl"},"2":{"name":"keyword.operator.assignment.hcl","patterns":[{"match":"=>","name":"storage.type.function.hcl"}]}},"match":"\\\\b((?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*)\\\\s*(=>?)\\\\s*"},{"captures":{"0":{"patterns":[{"include":"#named_value_references"}]},"1":{"name":"meta.mapping.key.hcl string.quoted.double.hcl"},"2":{"name":"punctuation.definition.string.begin.hcl"},"3":{"name":"punctuation.definition.string.end.hcl"},"4":{"name":"keyword.operator.hcl"}},"match":"\\\\b((\\").*(\\"))\\\\s*(=)\\\\s*"},{"begin":"^\\\\s*\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"(\\\\))\\\\s*([:=])\\\\s*","endCaptures":{"1":{"name":"punctuation.section.parens.end.hcl"},"2":{"name":"keyword.operator.hcl"}},"name":"meta.mapping.key.hcl","patterns":[{"include":"#named_value_references"},{"include":"#attribute_access"}]},{"include":"#object_key_values"}]},"operators":{"patterns":[{"match":">=","name":"keyword.operator.hcl"},{"match":"<=","name":"keyword.operator.hcl"},{"match":"==","name":"keyword.operator.hcl"},{"match":"!=","name":"keyword.operator.hcl"},{"match":"\\\\+","name":"keyword.operator.arithmetic.hcl"},{"match":"-","name":"keyword.operator.arithmetic.hcl"},{"match":"\\\\*","name":"keyword.operator.arithmetic.hcl"},{"match":"/","name":"keyword.operator.arithmetic.hcl"},{"match":"%","name":"keyword.operator.arithmetic.hcl"},{"match":"&&","name":"keyword.operator.logical.hcl"},{"match":"\\\\|\\\\|","name":"keyword.operator.logical.hcl"},{"match":"!","name":"keyword.operator.logical.hcl"},{"match":">","name":"keyword.operator.hcl"},{"match":"<","name":"keyword.operator.hcl"},{"match":"\\\\?","name":"keyword.operator.hcl"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.hcl"},{"match":":","name":"keyword.operator.hcl"},{"match":"=>","name":"keyword.operator.hcl"}]},"parens":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"patterns":[{"include":"#comments"},{"include":"#expressions"}]},"string_interpolation":{"begin":"(?<![$%])([$%]\\\\{)","beginCaptures":{"1":{"name":"keyword.other.interpolation.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"keyword.other.interpolation.end.hcl"}},"name":"meta.interpolation.hcl","patterns":[{"match":"~\\\\s","name":"keyword.operator.template.left.trim.hcl"},{"match":"\\\\s~","name":"keyword.operator.template.right.trim.hcl"},{"match":"\\\\b(if|else|endif|for|in|endfor)\\\\b","name":"keyword.control.hcl"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"string_literals":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hcl"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hcl"}},"name":"string.quoted.double.hcl","patterns":[{"include":"#string_interpolation"},{"include":"#char_escapes"}]},"tuple_for_expression":{"begin":"(\\\\[)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.brackets.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"include":"#for_expression_body"}]}},"scopeName":"source.hcl.terraform","aliases":["tf","tfvars"]}')),n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ const n=Object.freeze(JSON.parse(`{"displayName":"INI","name":"ini","patterns":[{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[\\\\t ]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\\\b([-.0-9A-Z_a-z]+)\\\\b\\\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\\\[)(.*?)(])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}],"scopeName":"source.ini","aliases":["properties"]}`)),i=[n];export{i as default};